Telerik Forums
UI for WPF Forum
2 answers
125 views
I am running Q2 2008, release date 9/10/2008 WPF.

Trying to use 

telerik

:Theming.Theme="Simple" //as stated in documentation

Only have  Caramel, Summer, Telerik available.

How/where can I get the simple theme?  I need to present to mgmt about this product to purchase in 2 days. thx

Jonathan Miller
Top achievements
Rank 1
 answered on 18 Sep 2008
1 answer
162 views
We are currently using a RadDatePicker in an input form and we have discovered a problem with tabbing - when we tab away from the RadDatePicker, we get an exception:

'ContentControl' TargetType does not match type of element 'Control'.

The stack trace shows that the exception is being thrown deep within WPF.

This is very simple to reproduce:

<Window x:Class="RadDatePickerTabBug.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:UI="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
Title="Window1" Height="300" Width="300">
<StackPanel Orientation="Vertical">
<UI:RadDatePicker/>
<TextBox/>
</StackPanel>
</Window>

Running this will reproduce the problem!

Can you help us?  The simplicity of reproducing this shows that it's not anything we're doing with styling, retemplating, etc. on the RadDatePicker.

Regards

Chris
Miroslav
Telerik team
 answered on 18 Sep 2008
4 answers
89 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
110 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
207 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
121 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
254 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
94 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
94 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
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?