Telerik Forums
UI for WPF Forum
4 answers
673 views
Hi,
I am using Telerik Q3 2011 release version of RadGridView. In the GridView, after modifications in the gridview items, after I call Rebind(), the vertical scroll position gets reset to the start of the grid. My requirement is to maintain the position of the vertical scroll to the same position as was before modification of the items. I have tried using ScrollIntoView() and BringIntoView() methods but they dont fulfill the requirement. Request herebye to provide assinstance in this regard.

Regards,
Chandan.
Maya
Telerik team
 answered on 01 Jul 2015
1 answer
141 views

Hi,

 I am new to learning WPF application programming, stemming from a Java and Matlab background.

 In my sample application to learn GUI programming I created a simple menu for a simple round based strategy game seen in the attached menu.PNG.

 Upon activation of one of the buttons I'd like to switch the screen shown into an appropriate second layer of menu. So in the case of the Single Player button it would open progress into a new menu with game options. How do I most effectively do this in XAML. The opaque rectangle alongside the buttons is arranged in a grid. So can I just disable this grid and load a new one that I define to be non-visible at first?

Or is there a better way to do this?

 

Thanks!

Franz
Top achievements
Rank 1
 answered on 30 Jun 2015
9 answers
308 views
Is it possible to have the schedule view show a hierarcy of group descriptions where each group has it's own sub groups?

For example can we have it for several Dentist Surgeries that have different dentists that can have appointments assigned from a central location

The hierarchy would be

DateGroupDescription
- Surgery A
-- Dentist A
-- Dentist B
-- Dentist C
- Surgery B
-- Dentist D
-- Dentist E

This would allow us then to filter on Surgeries, amongst other requirements that we need to fulfil.
Rosi
Telerik team
 answered on 30 Jun 2015
1 answer
140 views

Hi Team,

    I am using RadTreeview with HierarchicalDataTemplate using MVVM. How can i add node under the selected node.

Thanks

Sankar a

 

 

Milena
Telerik team
 answered on 30 Jun 2015
3 answers
140 views

Hi I'm using the RadGridView to display some data to a custom SQL data provider.

I have to handle the filtering of the grid in an unbound manner, I was able to achieve this using the RadDataFilter together with the RadGridView.

I would rather like to use the built in filtering controls of the grid for composing the filters than using the RadDataFilter. 

Using the RadDataFilter.FilterDescripters I could get the  and translate them to our back end filtering contracts.

With the RadGridView I can also get the RadDataFilter.FilterDescripters and so the translation to our back end contracts,

but sadly I cannot get the RadGridView to NOT handle the actual filtering of the data, I want to disable the built in filtering engine and filter the data myself using the RadGridView .FilterDescripters.

 

Is there any way to achieve this, please :)

Dimitrina
Telerik team
 answered on 30 Jun 2015
1 answer
105 views
Hello ,

I have a cluster Bar series with 2 clusters or may 3 clusters. Now I want one more reference line, like we have on the bullet chart on these clustered bar series. Is it possible in telerik? . I think its combining the cluster bar series feature and reference line feature of bullet chart. 

Please see the attachment of the kind of graph I am expecting. 
Petar Marchev
Telerik team
 answered on 30 Jun 2015
3 answers
191 views
When trying to do a loadlayout on a RadDocking control, it will throw an ArgumentOutOfRangeException. This exception is thrown, due to II use custom controls in the RadDocking Control. I also saw this thread, http://www.telerik.com/community/forums/silverlight/docking/loadlayout-argumentoutofrangeexception.aspx. The thread mentioned, is about SIlverLight and I use the WPF version. So is this a known bug, or is there maybe a workaround available?
Nasko
Telerik team
 answered on 30 Jun 2015
1 answer
661 views

Hi,telerik:
I want to show some images in the listbox with VirtualizingWrapPanel and some will not. It depends on the property(IsDefault) that i have defined.
here is the code:

<P><ListBox.ItemContainerStyle><BR>               
<Style TargetType="{x:Type
ListBoxItem}"><BR>                                     
<Style.Triggers><BR>                       
<DataTrigger Binding="{Binding IsDefault}"
Value="true"><BR>                           
<Setter Property="Visibility"
Value="Collapsed"/><BR>                       
</DataTrigger></P>
<P>                       </P>
<P>                   
</Style.Triggers><BR>               
</Style><BR>           
</ListBox.ItemContainerStyle><BR></P>

but even through the value of the "IsDefault" is set to "true",the listboxitem still display in the listbox ,and the item is blank.
How do I do before they can get the effect I want?
Thanks and Regards,
Bill.

Chuck
Top achievements
Rank 1
 answered on 29 Jun 2015
5 answers
200 views
Hi,

We are currently using the tabcontrol with IsContentPreserved="true".  This works beautifully at preserving the viewmodels, that is until we drag the tabs to re-order them.  When the tabs are reordered the tab being dragged loses it content and the viewmodel is recreated.  As a result a user loses all their data etc.

Background
  • We are utilising the CINCH V2 MVVM framework which makes use of MEF as a viewmodel locator
  • Our viewmodels are all set to non-shared (in MEF) and are set to the views datacontext via

    meffed

     :ViewModelLocator.ViewModel="{x:Static ViewModels:ViewModelKeys.MainWindowViewModel}"

  • Our tabcontrol has it's item source bound as ItemsSource="{Binding Views}"
  • We dynamically add tabs programmatically via

var workspace = new ValidatingAwareWorkspace(null, viewToDisplayInTab, workspaceDataParameter, tabLabel, true);

 Views.Add(workspace); 

  • This also uses MEF to determine which view to display via the key "viewToDisplayInTab" and displays that view on the tab via the following datatemplate

<DataTemplate DataType="{x:Type CinchV2:WorkspaceData}">

    <AdornerDecorator>

        <Border HorizontalAlignment="Stretch"

                VerticalAlignment="Stretch"

                Margin="2"

                CinchV2:NavProps.ViewCreator="{Binding}"/>

    </AdornerDecorator>

</DataTemplate>

 

What i'm after:
I understand that there are obviously a lot of factors at play here that could be breaking the IsContentPreserved when reordering tabs but i thought i would post here to see if you guys have any ideas because it only breaks when i set AllowDragReorder to true

Thanks,
Brock

 

Martin Ivanov
Telerik team
 answered on 29 Jun 2015
2 answers
111 views

I am having problem with FirstVisibleTime Property, I have set it to 8 but when the calendar is displayed it shows 12:00 AM. This property works is working for other calendars, there is really no difference between them. the only difference is that i have set the width of the claendar to 55 becasue i just want to use it to display the time ruler.

 

Vikas

 

Vikas
Top achievements
Rank 1
 answered on 29 Jun 2015
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?