Telerik Forums
UI for WPF Forum
1 answer
457 views
How can I increase the font size of a RadMenuItem when it's displayed as a child item (in a popup)? Simply setting the FontSize property doesn't seem to do it.
Rosen Vladimirov
Telerik team
 answered on 23 Jul 2012
3 answers
125 views
Hi Telerik Team,

I have 5 RadGridViews placed in different RadPane inside RadPaneGroup. I need to implement batch export for these 5 grids with a single button export click. the problem is when the user never switch to other tab and straight away click on export button. the data would never been populated and the grids in will export empty data to excel (only grid headers are exported). is there a way to populate all data to grids before i run export to excel function?

Thanks,
James
Nick
Telerik team
 answered on 23 Jul 2012
1 answer
109 views
Hi,

We are successfully copying and pasting values from a grid to the clipboard and to Excel. However, we also wish to copy/paste the grid as an image.  In other words, add both the tabular values and a bitmap copy of the image to the clipboard. And the user may paste special values or image.

How do we copy a grid as an image?

Thanks, TJ
Pavel Pavlov
Telerik team
 answered on 23 Jul 2012
1 answer
208 views
Hi,
I am porting an application that uses the Silverlight Deepzoom functionality from Silverlight to WPF. Since WPF doesn't support this, I am evaluating using the the RadMap control to mimic that behavior.

I saw in this thread (http://www.telerik.com/community/forums/silverlight/map/radmap-as-zoom-pan-custom-image-navigation.aspx) that it is possible to do this with the Silverlight version of the RadMap control. Is it possible with the WPF control as well?

Can the WPF RadMap accept as source an image that was proccessed my the microsoft Deep Zoom composer?

Kind regards,
Mathieu
Andrey
Telerik team
 answered on 23 Jul 2012
4 answers
587 views
Hi,

I have a grid, that I want to print, but is has to scale to fit the paper. I tried the printing example at http://www.telerik.com/community/code-library/wpf/gridview/radgridview-print-and-print-preview.aspx, but as my grid is too wide, it prints it on two pages.

So how can I scale the grid to the paper's width, so that the grid is not spread over multiple pages?

Thanks,
L
Vic
Top achievements
Rank 1
Iron
 answered on 22 Jul 2012
2 answers
167 views
Hi there,
I have bound the ItemsSource property of RadTileView to an ObservableCollection containing items with INotifyPropertyChanged interface implementation, and also I am using a ContentTemplateSelector that determines the template for the content of TileViewItems based on a property of the corresponding item named "Template".
The first time the RadTileView loads, it calls the template selector and sets the templates correctly, but if I change the "Template" property of any item in items source bound collection, the RadTileView does not call the template selector to determine the appropriate template again. It needs to set the ItemsSource of the RadTileView again to reflect the changes.
Is ther any solution to avoid setting the ItemsSource property every time I change the "Template" property of bound items?
Thanks
M
Top achievements
Rank 1
 answered on 21 Jul 2012
3 answers
131 views
Hi,
I had implemented the search as you type feature for gridview using CustomFilterDescriptor.
I followed the demo example.
after entering first search letter my grid will become empty. Even no exceptions are thrown.
I had debugged the whole code and cross checked with demo example.I could't find any problem.

What could be the possible problems while implementing search as type feature ?
Any suggestions ?

Thanks and Regards
Naresh Mesineni



Tim
Top achievements
Rank 1
 answered on 21 Jul 2012
1 answer
268 views
Just uninstalled all Telerik controls and installed the Control Panel. After downloading the latest version of WPF controls VS 2010 Extension Manager informs me an update is available. The version from the Control Panel is 2012.2.606.0, the VS Extensions version available is 2012.2.709.0.

Will the Control Panel eventually update? What happens if I let the Extension Manager update?

Thanks.

Update... I've now installed Silverlight and Asp.net Ajax and they are indicating updates as well.
Vesko
Telerik team
 answered on 20 Jul 2012
1 answer
121 views

Hi,

I'm using data bound Commands in my application. I'm using ReadonlyCollections storing the RoutedUICommands bound to ItemsSource of the Menu. This works fine when using the standard WPF context menu. However when i try to use RadContextMenu a NotSupportedException is thrown, saying that CommandConverter cannot convert RoutedUICommand to String. Why would it want do to this conversion anyway?

Any help would be appreciated.

This is the original code using ContextMenu (MyCommandList is of type ReadOnlyCollection<RoutedUICommand>) which is working:

<telerik:RadTreeView.ContextMenu>
<ContextMenu ItemsSource="{Binding Path=MyCommandList}"/>
</telerik:RadTreeView.ContextMenu>

Here is the code with RadContextMenu that is not working:

<telerik:RadContextMenu.ContextMenu>
 <telerik:RadContextMenu ItemsSource="{Binding Path=MyCommandList}"/>
</telerik:RadContextMenu.ContextMenu>

Hristo
Telerik team
 answered on 20 Jul 2012
3 answers
1.0K+ views
Hi,

I am binding the grid with datasource(that contains four tables and datarelation) . When I expand the grids in heirarchy,It takes lots of seconds .Please note that this grid hardly contain only one record at top level.Here is my code:

  <telerik:RadGridView RowIndicatorVisibility="Collapsed" AutoGenerateColumns="True" ItemsSource="{Binding}"
                             ScrollViewer.CanContentScroll="True" Name="radGridView2"  Height="500" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible"
                                             LoadingRowDetails="radGridView2_LoadingRowDetails"
                                              RowLoaded="radGridView2_RowLoaded"  DataLoadMode="Asynchronous"
                                             CellLoaded="radGridView2_CellLoaded" Initialized="radGridView2_Initialized" DataLoading="radGridView2_DataLoading" CanUserReorderColumns="False"  VerticalAlignment="Stretch" EnableColumnVirtualization="True" EnableRowVirtualization="True">
                                            </telerik:RadGridView> 

,I have set the height of nested grids at runtime .this is the code behind for that:
  private void radGridView2_DataLoading(object sender, GridViewDataLoadingEventArgs e)
        {
              GridViewDataControl dataControl = (GridViewDataControl) sender;
           
              if (dataControl.ParentRow != null)
              {              
                  dataControl.ShowGroupPanel = false;
                  dataControl.ShowColumnHeaders = false;            
                  dataControl.RowLoaded += new EventHandler<RowLoadedEventArgs>(dataControl_RowLoaded);
                  dataControl.Height = 300;
           
              }
             
        }

Please let me know what is the issue ?

Thanks in Advance
Dimitrina
Telerik team
 answered on 20 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?