Telerik Forums
UI for WPF Forum
4 answers
88 views
Good stuff!

Any idea when the WPF and Silverlight controls will be production ready?

Thanks
Lin
Telerik team
 answered on 18 Sep 2008
0 answers
109 views
Hello,
I have RadPanelBar and some RadPanelBarItem (on Level 0).
How i can get (for example into event RadPanelBar_Expanded) RadPanelBarItem  index

 private void RadPanelBar_Expanded(object sender, Telerik.Windows.RadRoutedEventArgs e) 
    RadPanelBarItem element = e.Source as RadPanelBarItem; 
       
           //How get element.Index or panelBar.SelectedIndex?????  


Thanks.

Find decision panelBar.Items.GetIndexOf(...). Can delete this Thread.
Anton Samarin
Top achievements
Rank 1
 asked on 18 Sep 2008
2 answers
198 views
Hi

I am having trouble with the automaic resizing of the radgridview control. If I place it directly inside a grid column row and then set margins to 0 every thing works great and the radgridview fills the area.

If, however, I package the gridview in a usercontrol (within a grid element), and set the margins to 0, the radgridview fills the area as expected. When I then place the resultant usercontrol within a grid cell on a page the usercontrol does not honour the margin 0 properties. The radgridview seems to keep the usercontrol a constant size when manipulating the anchored margins within expression, Visual Studio or manually in the XAML.

I am wondering firstly if this is a bug, secondly if there is a workaround. In your sample application it seems to work fine.

Thanks in advance
Dylan
dylan
Top achievements
Rank 1
 answered on 17 Sep 2008
1 answer
118 views
How can i change the backgroundcolor and foregroundcolor of a row in C#?

For example i have a grid with two columns Personname and Country
all rows with country xxx should be red and the foregroundcolor should be blue
Atanas
Telerik team
 answered on 16 Sep 2008
2 answers
138 views
Dear All

We are using a theme to restyle the GridView.  We had it looking great in our app before we incorporated the service pack, but now certain things have changed and it looks as if parts of the style for GridViewHeaderCell objects in the header are not being honoured.

In particular, we have this in the ControlTemplate:

<

ContentPresenter Margin="7,4"

HorizontalAlignment="Left"

.../>

-------------
When we use Snoop to look at the resulting visual tree, neither the margin nor the alignment are set to these values.  They are "0" and "Center" respectively and their source is given as "ParentTemplate".  I had to resort to setting a margin on GridViewHeaderCell to get the previous appearance and I can't find a way of getting Left alignment on the header text.

Is the GridView setting these programmatically?  If we had the source for the service pack, we could track this down ourselves.

Thanks for your help

Chris

Pavel Pavlov
Telerik team
 answered on 16 Sep 2008
7 answers
251 views
How set theme into source code?

this.SetValue(Telerik.Windows.Controls.Theming.ThemeProperty,
new SummerTheme());

this is not work.....

I have class, which succeed to RadGridView.
public class MyGridView : RadGridView
{
      protected override void  OnInitialized(EventArgs e)
        {
            base.OnInitialized(e);
            CaramelTheme st = new CaramelTheme();
            this.SetValue(Telerik.Windows.Controls.Theming.ThemeProperty, st);
        }
}

Thanks.
Miroslav
Telerik team
 answered on 15 Sep 2008
1 answer
92 views
Hi all.

I want invalid edited cell stay edited. But the cell moved away viewed area it
exit edit mode and show invalid data.
Can i forbid scroll, grouping and soring for radgirdview?

Regards, Anton.
Atanas
Telerik team
 answered on 15 Sep 2008
1 answer
92 views
i installed the RadControls_for_WPF_Q2_2008_TRIAL.msi.
Clicking on GridView i get an error message:
"An unhandled exception ("System.Data.SqlClient.SqlException") occured in Telrik.Windwos.Examples.exe[10404]"

what must i do to run the example program
Atanas
Telerik team
 answered on 11 Sep 2008
1 answer
88 views
After downloading  RadControl demo I only find an example screen of the Carousel but there is no actual control on the list that i can use with expression blend. please assist. What is the actual name of the carousel control. thanks
Dennis
Jimmy
Telerik team
 answered on 05 Sep 2008
2 answers
131 views
Hi,

I quite liked the grid performance however wanted to have some measures for that.
So can anybody suggest me how to measure Loading/Sorting performance ?
Are there any built-in events you can suggest or any alternative approach.

Thanks,
Anurodh
Anurodh
Top achievements
Rank 1
 answered on 04 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?