Telerik Forums
UI for WPF Forum
4 answers
153 views
Hello,

I've got a WPF application with  radmenu and a radgrid. (v.2010.3.110.35)
When I click on a row in te grid, the menu-items are disabled in the main-menu, when I drag a column from the grid on the grouping header and remove it again the menu-items in de main menu are enabled again.

What could cause this problem?

I am using the code below to create the menu. 
var cba = new CommandBinding(MenuCommands.TileView, GoToPageExecuteHandler, GoToPageCanExecuteHandler);
            CommandBindings.Add(cba);
            var cbas = new CommandBinding(MenuCommands.Search, GoToPageExecuteHandler, GoToPageCanExecuteHandler);
            CommandBindings.Add(cbas);

MenuResources.Culture = Thread.CurrentThread.CurrentCulture;
               var baseItem = new RadMenuItem();
               var TileView = new RadMenuItem();
               var Search = new RadMenuItem();
               var Carousel = new RadMenuItem();
               baseItem.Header = MenuResources.Base;
               //TileView
               TileView.Command = MenuCommands.TileView;
               TileView.CommandParameter = MenuUrls.Url(MenuResources.InTileView);
               TileView.Header = MenuResources.InTileView;
               TileView.IsEnabled = true;
               baseItem.Items.Add(TileView);
               //Search
               Search.Command = MenuCommands.Search;
               Search.CommandParameter = MenuUrls.Url(MenuResources.Search);
               Search.Header = MenuResources.Search;
               Search.IsEnabled = true;
               baseItem.Items.Add(Search);
               ApplicationMenu.Items.Insert(0, baseItem);
               MenuCommands.MenuSet = true;

private void GoToPageCanExecuteHandler(object sender, CanExecuteRoutedEventArgs e)
       {
           e.CanExecute = true;
       }

Aardlek
Top achievements
Rank 1
 answered on 08 Feb 2011
1 answer
120 views
Hi,
I'm trying to apply filter in the rad tree list view, but i want one thing to not to be happend.

Please find the attached image of my result after filtering.

In the image i applied filter to "Project Technical Leaders" including its only next childs.

Now, what I want is that, its child should not be expanded.
i.e.
SrMgr_SRMgr13
SrMgr_SRMgr10
SrMgr_SRMgr9
should be visible only in collapsed form.
Because if we expand them, it take a lot of time to fetch data for all the child, but as filtering is applied, that data is not visible.

Please help me as soon as possible.

Thanks.
Vlad
Telerik team
 answered on 08 Feb 2011
3 answers
190 views
Hi,

I have a requirement to show a grid with a column which is when clicked, a rich text box in a popup (adjacent to the clicked cell) should appear.

I saw a similar implementation of DatePicker in online documentation. Is there anything in-built way of implementing my requirement? If not, recommended solution?

Thanks,
AK
Vlad
Telerik team
 answered on 08 Feb 2011
4 answers
84 views
I am using the standard filtering with the the GridView control.  When I click on the filter button in the column header the filter dialog is displayed.  When I attempt to click anything inside the filter dialog it immediately closes.  It does not matter where in the filter dialog I click.
Stefan
Top achievements
Rank 1
 answered on 08 Feb 2011
3 answers
204 views
If I open a popup window which contains a text box the contents of the box lags behind the keyboard.

The window is opened as:
           
RadWindow host = new RadWindow();
host.Content = new UserControl1();
host.ShowDialog();

where UserControl1 contains a combo box and a text box inside a standard UserControl

Konstantina
Telerik team
 answered on 08 Feb 2011
3 answers
105 views
can we have a radpager for Treelistview control? if yes, how it works in case of ondemand load(upon expand a node, get the data).

Thanks,
Suman
Rossen Hristov
Telerik team
 answered on 08 Feb 2011
5 answers
155 views
Hi,
  I recently noticed the memory usage of my application increasing when I repeatedly expanded and collapsed items.  I immediately assumed that I had set something up incorrectly, so I immediately created an application using the code in the getting started tutorial, and indeed it appears to suffer from the same issue.  In order to reproduce this issue you can run the code from the getting started tutorial and repeatedly expand and collapse one of the items.  I am referencing telerik controls version 2010.2.812.35.  All work was completed in Visual Studio 2008.

Is this a known issue?  Is there a known workaround?

Thanks,
-Gabe
Hristo
Telerik team
 answered on 08 Feb 2011
0 answers
85 views
Hi
My requirement is to have tab control having all its tab items horizontally where each tabitem  will be overlapping with another tab item
Asish
Top achievements
Rank 1
 asked on 08 Feb 2011
2 answers
150 views
I am working on my first WPF app and am trying to find similar functionality in the RadGridView that exists in the RadGrid for ASP.NET which I have lots of experience in.

With RadGrids, I could create a GridTemplateColumn that contains various controls like labels and dropdowns that I could acquire instances of using .FindControl() in the codebehind's ItemDataBound event.  I could then put any text I wanted into these controls based on logic in the codebehind.

I discovered the DataTemplate object in the RadGridView, but it seems I can only use this to bind data from an object's member property.  What I want to do is insert my own custom information directly rather than rely on an object member since the data I want to display might not be offered by any member within the object.

Links to where this information can be found will be all I need unless you'd like to offer any other additional info here.
gunther
Top achievements
Rank 1
 answered on 07 Feb 2011
4 answers
140 views
I am experiencing some odd behavior with Grouping.

1) Image Grouping 1.jpg relates to this behavior.  I have dragged my column (called 'TDC') to the Grouping Header.   Grouping shows correct, except for the rows where the value in the TDC column exceeded 8 characters.  For that the heading above the grouped row is blank. All other rows are grouped correctly and the heading shows correctly.  Note that the Grouped by displays TDC, which is correct.

2) Image Grouping 2.jpg relates to this behavior.   Instead of dragging the TDC column to the Grouping Header I am using the Right Click Context menu.  The code for this comes verbatim from the Telerik Examples for WPF.  The same grouping behavior as in 1 is observed.  The Grouped by displays CurrentTDCString instead of the TDC. The Unique Name is displayed instead of the Header Name.

3) Image Grouping 3.jpg relates to this behavior.  I have dragged my column (called 'Sub TDC') to the Grouping Header.   Grouping is done correctly, but the heading above all the grouped rows are always empty. 

Both the TDC and Sub TDC columns are bound to Combobox items. The difference between the TDC and Sub TDC columns are that the TDC column use the ItemsSource binding while the Sub TDC use the ItemsSourceBinding binding.  I have to do this because the items source for the Sub TDC column depends on the value selected in the TD column.

Help appreciated.
Stefan
Top achievements
Rank 1
 answered on 07 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?