Telerik Forums
UI for WPF Forum
0 answers
129 views
I have to move focus on the newly added row in gridview through viewmodel. If anybody know please share the solution.
Vishwajeet
Top achievements
Rank 1
 asked on 27 Dec 2011
4 answers
55 views
Just a few days ago I posted a question in WPF/DataServiceDataSource - today this post is gone. Why was it deleted?

Regards
Neils
Heiko
Top achievements
Rank 1
Iron
Veteran
 answered on 27 Dec 2011
7 answers
92 views
In a forum thread not too long ago, the Telerik team member mentioned that there will be focus on improving coded UI support in the Q3 2011 release.  Your automation support page still lists a lot of control as "Not Supported" or just "Partially OK".

Can you detail which controls have now gone from "Not Supported" or "Partially OK" to "Fully Supported"?

Before I take on a development effort to upgrade our telerik control references, I wanted to make sure that there is a big benefit of more Coded UI support included in this new release.

Links that I referenced above:
Hristo
Telerik team
 answered on 27 Dec 2011
2 answers
177 views
Hi,

I've been browsing the Themes subfolder in the Telerik installation folder and I've noticed that each style for a control is named as follows, for example:
<Style TargetType="telerik:RadToolTip"       
    x:Key="{telerik:ThemeResourceKey ThemeType=
    external:Office_SilverThemeExternal , ElementType=telerik:RadToolTip}"
     >

How can I reference the x:Key this style? For example, I want to create a style as follows:
<Style TargetType="telerik:RadToolTip"
    BasedOn="{StaticReference ResourceKey={telerik:ThemeResourceKey ThemeType=
    external:Office_SilverThemeExternal , ElementType=telerik:RadToolTip}}"
     >

What do I use for the ResourceKey to reference the Telerik style? The above example fails because I can't define the external namespace. This namespace is defined in the Telerik resource dictionaries as:
    xmlns:external="clr-namespace:Telerik.Windows.Controls.External"
     >

However there is no "Telerik.Windows.Controls.External" reference to add to my project. What can I use for the ResourceKey?

Kind regards,
Dave.
David
Top achievements
Rank 2
 answered on 27 Dec 2011
4 answers
457 views
How can I draw a dashed line in a line chart? Is there a way to set the pen instead of the brush only?

Regards
Hartmut
David
Top achievements
Rank 2
 answered on 27 Dec 2011
3 answers
195 views
Hello,
I'm tring to use MVVM pattern with RadMenu,I'm almost at... but I'm not able to extract with blend the default itemtemplate for RadMenuItem's itemtemplate.... can someone post it please?
Thanks
Dani
Telerik team
 answered on 27 Dec 2011
1 answer
128 views
Hello

I am using the evaluation copy of RAD controls for WPF.

I was wondering is there a tool that allows you to merge dictionaries?  E.g.  merge words from my custom dictionary into the en_gb.tdf dictionary.

Thanks in advance

Tracey
Boby
Telerik team
 answered on 27 Dec 2011
0 answers
48 views
Dear sir,

 I have used RadGridViews(Telerik.Windows.Controls.GridView) in WPF that has some column. The header of column is a CheckBox. Some times header CheckBox content binding is works fine, but when i changed to another form and return back to the same form CheckBox content binding doesn't work ie, its not showing the CheckBox contant.

the code is below
   <telerikGrid:RadGridView >
 <telerikGrid:RadGridView.Columns>                                
                            <telerikGrid:GridViewDataColumn  DataMemberBinding="{Binding Name}" >
                                <telerikGrid:GridViewBoundColumnBase.Header  >
                                    <CheckBox IsChecked="False"  Content="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type telerikGrid:RadGridView}}, Path=DataContext.HeaderName}" />
                                </telerikGrid:GridViewBoundColumnBase.Header>
                            </telerikGrid:GridViewDataColumn>
</telerikGrid:RadGridView >

its shows some time like this

any solution pls send me, very urgent..
thanks
Govind


Govind
Top achievements
Rank 1
 asked on 27 Dec 2011
2 answers
178 views
Hi team,
  I am using Treeview (Templated Node). I want to confirm that is a child leaves can have multiple parent leaves. If yes kindly explain with example. Here is simple scenario that i want to populate with templated node

A user has two Teamleads, and two team members. In first row there should be teamleads, 2nd row logined user and 3rd row contains team member of logined user.
Now as Teamleads are at top hierarchy, therefore, user has more then one parent. how i will implement this example. Detail cant be found in attached Screen shot 
Kamran
Top achievements
Rank 3
Iron
Iron
Veteran
 answered on 27 Dec 2011
1 answer
153 views

Problem:

 

In my application I am displaying data in grid. I also want a radio button to be inserted in 1 st column. On the selection of that radio button new pop-up screen should appear having details of the selected row.

I am using Telerik:RadGridView to display data . I am able to fetch the data and display.

I am getting around 4000 records fetched, now when i select a radio button and scroll down the selected row is deselected and some other random row gets selected.Sometimes no rows gets selected.

 

Approach followed:

 

 

 

I have followed following approach using virtualization

Inside my RadGridView i worte

 

 

 

VirtualizingStackPanel.IsVirtualizing

 

 

="True"

 

 

 

ScrollMode="RealTime"

 

 

 

VirtualizingStackPanel.VirtualizationMode="Recycling"

 

 

 

 

 

 

 

 

ScrollViewer.IsDeferredScrollingEnabled="True"

 

 

 

 

 

 

and

 

 

 

 

 

 

<telerik:GridViewDataColumn Header="" Width="35" DataMemberBinding="{Binding IsSelected, Mode=TwoWay}">

 

 

 

 

 

 

 

 

<telerik:GridViewDataColumn.CellTemplate>

 

 

 

 

 

 

 

 

<DataTemplate>

 

 

 

 

 

 

 

 

<RadioButton Click="radEditGroup_Click" HorizontalAlignment="Center" Checked="radEditGroup_Checked" IsChecked="{Binding Path=IsSelected, Mode=TwoWay}" x:Name="radEditGroup" GroupName="Groups" />

 

 

 

 

 

 

 

 

</DataTemplate>

 

 

 

 

 

 

 

 

</telerik:GridViewDataColumn.CellTemplate>

 

 

 

 

 

 

 

 

</telerik:GridViewDataColumn>

 

 

 

 

 

 

 

 

 

In .cs file for Checked ="radEditGroup_Checked" i looped through groups and deselected the radio buttons and displayed last checked button value.

 

 

 

private

 

 

void radEditGroup_Checked(object sender, RoutedEventArgs e)

 

{

 

 

try

 

 

 

 

 

 

{

ClearMessage();

 

 

if ((sender as RadioButton) != null &&

 

((sender

 

as RadioButton).DataContext as Groups) != null)

 

{

 

 

var lobjSelectedGroups = from lobGroup in _Groups

 

 

 

where lobGroup.IsSelected == true

 

 

 

 

 

 

 

 

select lobGroup;

 

 

 

if (lobjSelectedGroups != null)

 

{

 

 

foreach (Groups lobGroup in lobjSelectedGroups)

 

{

lobGroup.IsSelected =

 

false;

 

}

}

 

 

this._intGroupID = ((sender as RadioButton).DataContext as Groups).FUNCTION_GRP_ID;

 

 

 

this._intFunctionId = ((sender as RadioButton).DataContext as Groups).Function_Id;

 

(sender

 

as RadioButton).Checked -= radEditGroup_Checked;

 

(sender

 

as RadioButton).IsChecked = true;

 

(sender

 

as RadioButton).Checked += radEditGroup_Checked;

 

}

}

 

 

catch (Exception objEx)

 

{

 

 

ErrorHandling.CatchAllExceptions(objEx);

 

}

}

 

 

 

 

Issue facing:

 

When i am selecting the radio button and scrolling down Checked event gets called and slected row gets deselected.

How can i ensure that the radio button which is checked remain same even when i scoll up and down.

Pavel Pavlov
Telerik team
 answered on 26 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?