Telerik Forums
UI for Silverlight Forum
1 answer
128 views

Hello,

I want to have a RadDatePicker without showing year on it, only day and month, I've tried many solutions and the last one was to make a setter on the calendar of my DatePicker, to make a property on "MonthViewHeaderFormat" but this doesn't work.

Can you please help or tell me if it is possible or not to get only the day and the month on a RadDatePicker?

Thanks

Martin Ivanov
Telerik team
 answered on 14 Mar 2019
3 answers
52 views

Hi,

I've problem with TabControl inside RadBusyIndicator. Lower navigation arrow is disabled when there is no space for all TabItem headers. It's enabled only when I'm click on random header. If I remove TabControl from indicator, arrow is enabled and everything works fine. I attached sample project with this problem (change jpg extension to zip).

 

OS: Windows 10

Silverlight: 5

Telerik product version: 2019.1.128.1050

Vladimir Stoyanov
Telerik team
 answered on 12 Mar 2019
2 answers
63 views

Hi,

We've been using the pdf viewer for years, and a new requirement has arisen around extraction of data. What we'd like to do is to allow users to draw a box around an area of the pdf on screen, and to export that area as a graphic (jpg / png etc).

Is this possible? I've had a look at the forums etc, but can't see that this question has been asked before.

(What we'd like to do in particular, is draw a box around a table and then use this API to parse the image and return structured data to us: https://azure.microsoft.com/en-us/services/cognitive-services/computer-vision/ )

Thanks, James.

James
Top achievements
Rank 1
 answered on 08 Mar 2019
7 answers
516 views
Hi,
 within your combobox control, there is a functionality to scroll in the combobox item when the mouse is over a combobox even is the combobox doesn't have the focus.

Is there any way to remove this behavior, because if the client scroll down the screen or even hit the mouse wheel by error when the mouse is over a combobox, the data might change without the user seeing it.

I hope you have a way to disable this behavior because I couldn't find any.

Kalin
Telerik team
 answered on 04 Mar 2019
7 answers
1.0K+ views
I am trying to setup a trigger for when a value in my grid is Null, but I am getting an "Attachable property 'Triggers' was not found in type 'Style' ('DataTemplate')" error in the XAML. I've seen this done before, but I don't know what I'm missing.

Includes:
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"


Trying with Style.Triggers
<UserControl>
 <UserControl.Resources>
  <Style x:Key="Test" TargetType="TextBlock">
   <Style.Triggers>
    <DataTrigger Binding="{Binding Count}" Value="{x:Null}">
     <Setter Property="Text" Value="~"/>
    </DataTrigger>
   </Style.Triggers>
  </Style>
 </UserControl.Resources>
</UserControl>

Trying with DataTemplate.Triggers:
<telerik:RadGridView.Columns>
 <telerik:GridViewDataColumn>
  <telerik:GridViewDataColumn.CellTemplate>
   <DataTemplate>
    <TextBlock x:Name="txtTest" Text="{Binding Count}" />
     <DataTemplate.Triggers>
      <DataTrigger Binding="{Binding Count}" Value="x:Null">
       <Setter TargetName="txtTest" Property="Text" Value="~"/>
      </DataTrigger>
     </DataTemplate.Triggers>
   </DataTemplate>
  </telerik:GridViewDataColumn.CellTemplate>
 </telerik:GridViewDataColumn>
</telerik:RadGridView.Columns>
Himanshu
Top achievements
Rank 1
 answered on 25 Feb 2019
3 answers
66 views
RadDataServiceDataSource does not support service operations that return an IQuerable<T> ?
Muneeb
Top achievements
Rank 2
 answered on 22 Feb 2019
3 answers
104 views
Hi,
I have a raddataservicedatasource setup in my xaml like below:
<telerik:RadDataServiceDataSource x:Name="dataServiceDataSource" 
    AutoLoad="True"   QueryName="Accounts" Margin="320,21,320,193">
                <telerik:RadDataServiceDataSource.DataServiceContext>
                    <local:MyEntities />
                </telerik:RadDataServiceDataSource.DataServiceContext>
            </telerik:RadDataServiceDataSource>
I am trying to filter in the backend using FilterDescriptors but for some reason it never seems to go back to the server and apply the filter descriptors. Also the canload property is false after I add the descriptor to the data source.
Here is the code I am using to do the filtering:
AccountDetailsFilter = new FilterDescriptor("accountID_pk", FilterOperator.IsEqualTo, a.accountID);
dataServiceDataSource.FilterDescriptors.Add(AccountDetailsFilter);

Any advice would be greatly appreciated.
Muneeb
Top achievements
Rank 2
 answered on 22 Feb 2019
1 answer
56 views

$("#mediaplayer").kendoMediaPlayer({
                    autoPlay: true,
                    navigatable: true,
                    media: {
                        title: "Build HIPAA-Compliant Healthcare Apps Fast",
                        source: "https://www.youtube.com/watch?v=dyvxivS5EcI"
                    }
                });

  $("#playButton").click(function () {

mediaPlayer.play();

 mediaPlayer.seek(40000);
                    
                });

Martin Ivanov
Telerik team
 answered on 11 Feb 2019
1 answer
55 views
It complains '0x00 hexadecimal is invalid.' *sometimes* (not all the time) what's wrong with xlsx format?
Martin Ivanov
Telerik team
 answered on 23 Jan 2019
5 answers
1.6K+ views
Hi,

I need to make the header text to bold while exporting Grid to excel.

In my page ,there no Grid control.
So to use export option of Grid , i have created a dynamic Grid Control and binding the data to it. 

As per requirements, i need to provide show-dialog box with a  default name (user can change name if he wants)

Below is my code

             AuthGridView authGridView = new AuthGridView();
            authGridView.AutoGenerateColumns = true;
            authGridView.ItemsSource = this.searchResults;

            SaveFileDialog dialog = new SaveFileDialog();
            dialog.DefaultExt = "*.xls";
            dialog.Filter = "Excel files (*.xls)|*.xls";
            dialog.DefaultFileName = DateTime.Now.ToString("yyyyMMddHHmmss");

            if (dialog.ShowDialog() == true)
            {
                using (Stream stream = dialog.OpenFile())
                {
                    GridViewExportOptions exportOptions = new GridViewExportOptions();
                    exportOptions.Format = ExportFormat.ExcelML;
                    exportOptions.ShowColumnFooters = true;
                    exportOptions.ShowColumnHeaders = true;
                    exportOptions.ShowGroupFooters = true;      

                    authGridView.Export(stream, exportOptions);
                }
            }

Darshan
Top achievements
Rank 1
 answered on 10 Jan 2019
Top users last month
Michael
Top achievements
Rank 2
Iron
Wilfred
Top achievements
Rank 1
Alexander
Top achievements
Rank 2
Iron
Iron
Matthew
Top achievements
Rank 1
Iron
ibra
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?