Telerik Forums
UI for WPF Forum
1 answer
122 views
Hello,

After editing the RadWindow template with the purpose of deleting control boxes, the RadWindow title bar doesn't support the globally applied theme any more. Is there a fix to this?
Greg
Top achievements
Rank 1
 answered on 21 Sep 2012
3 answers
202 views
Hi, I try to customize Window Header and add some  textblock (see atach).

<t:RadWindow.HeaderTemplate>
    <DataTemplate>
        <Grid Margin="10,0">
            <ContentPresenter Content="{Binding}" HorizontalAlignment="Left"/>
            <TextBlock x:Name="txtblk" Text="XAML" Opacity="0.4" FontSize="16" HorizontalAlignment="Right">
                <TextBlock.Triggers>
                    <EventTrigger RoutedEvent="TextBlock.MouseEnter">
                        <BeginStoryboard>
                            <Storyboard>
                                <DoubleAnimation
                                    Storyboard.TargetName="txtblk"
                                    Storyboard.TargetProperty="(TextBlock.Opacity)"
                                    From="0.4" To="1" Duration="0:0:0.5"/>
                            </Storyboard>
                        </BeginStoryboard>
                    </EventTrigger>
                </TextBlock.Triggers>
            </TextBlock>
        </Grid>
    </DataTemplate>
</t:RadWindow.HeaderTemplate>

But it works when TextBlock FontSize is 20 or more for instance. When I set FontSize to 16, triggers or doubleanimation don't work.
Why?
How to solve this problem?
Thanks.
Georgi
Telerik team
 answered on 21 Sep 2012
1 answer
136 views
Is there a way to tell when the process of selecting a date range is complete with RadCalendar (SelectionMode Extended)? Right now, the SelectionChanged event is firing whenever dates are added or removed from SelectedDates as the user moves the mouse over the calendar, but I would like to do a time intensive process on the selected date range and it would not be appropriate to do so when the user is not finished selecting dates.

I could put some kind of timer on it that would run after a set number of milliseconds, but if the user is still dragging on the calendar this would not work well. I am hoping there is a better solution, maybe I am missing something really obvious. Thanks.

BP

Vladi
Telerik team
 answered on 21 Sep 2012
1 answer
246 views
Hi,

We are using the code below to adjust Header Row and Group Panel height.

<Grid.Resources>

 

 

 

 

<Style TargetType="telerik:GridViewHeaderRow">

 

 

 

 

<Setter Property="MinHeight" Value="25"/>

 

 

 

 

<Setter Property="Height" Value="25" />

 

 

 

 

</Style>

 

 

 

 

<Style TargetType="telerik:GridViewGroupPanel">

 

 

 

 

<Setter Property="MinHeight" Value="25" />

 

 

 

 

<Setter Property="Height" Value="25" />

 

 

 

 

</Style>

 

 

 

 

</Grid.Resources>

 

 

 

 

After upgrading to the latest control version to get the Group Panel height working, the Header Row height started to behave differently then the previous version.

In the previousl version, the Header Row height is redueced by reducing the padding space around the header text.

In the latest verison, the Header Row height is reduced by reducing the padding space only from the bottom of the header text.

Did I miss any thing?

Thanks

 

 

 

Vera
Telerik team
 answered on 21 Sep 2012
2 answers
470 views
Hello,

Why don't you let the SizeToContent property of the RadWindow work even when the Width and Height are set?

You have made the SizeToContent property a bool, but it would've been good if it could use the SizeToContent enumerations, that way even if the window was set to a specified width and height, the window would still auto-resize until the user would manually resize the window by dragging its margins.
The problem with this now is that the user has to specify MinWidth and MinHeight to explicit values instead of using MinWidth=Width and MinHeight=Height when the application loads, so the design-time sizes can't be used any more. Also, MinWidth=Width/MinHeight=Height cause the application to crash if trying to set the minimum value to size that is set to auto.

Also, auto-resize stops working as soon as the MaxWidth and MaxHeight are reached. The Window doesn't contract back any more after content gets smaller.

Are there any fixes to this, or easy alternative solutions?
Greg
Top achievements
Rank 1
 answered on 21 Sep 2012
7 answers
163 views
Dear Telerik Support Team!

In one of our applictions we use your Telerik RadTimeBar. It is necessary that the labels in the time bar (e. g. Quarter 1) are shown in German.
We tried to set the localization information to "de" with all methods we could find in your online documentation but no one of this methods brought the wanted result.

Only the designations of the months are shown in German, but even if we do not do any localization settings.

Please help!

Kind regards,
Andreas Krassnig - AUSTRIA
Tsvetie
Telerik team
 answered on 21 Sep 2012
2 answers
156 views
I have a radgridview with a nested radgridview in the RowDetails.
I would like to bind a column width in the nested gridview to a
column ActualWidth in the parent gridview. I tried using a simple 
elementName binding and giving the column a name, but that doesn't 
seem to work. Is there a better way to do this, or another way to
reference the grids column that I am missing.

Cheers,
James

<
DataTemplate x:Key="DetailGrid">
    <telerik:RadGridView>      
        <telerik:RadGridView.Columns>
            <telerik:GridViewDataColumn
                Width="{Binding ActualWidth, ElementName=MainGridFirstColumn}" />          
        </telerik:RadGridView.Columns>
    </telerik:RadGridView>
</DataTemplate>
 
<telerik:RadGridView Name="MainGrid" RowDetailsTemplate="{DynamicResource DetailGrid}">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn
                                Name="MainGridFirstColumn"
                    Width="*"/>
            </telerik:RadGridView.Columns>
</telerik:RadGridView>
James
Top achievements
Rank 1
 answered on 21 Sep 2012
1 answer
90 views
Hello Everyone,

I have a gridview, which I use to drag items from. I can generate the drag cue and get it to show up, but it looks like it starts from the first column wherever I choose to start dragging.

I attached a picture to explain a bit better, in this case I started dragging from description column, whereas drag cue showed up around the first column.

Can someone shed a bit light on this? How can I solve this?

Thanks.
Ahmet
Top achievements
Rank 1
 answered on 20 Sep 2012
1 answer
407 views
I use a RadButton in a GridView and its content is set to a strings, that contain an underscore ('_'), e.g. 'CT_SRV_ERROR_700'.
Instead of the given string the content of the button is shown without the first underscore, in the example as 'CTSRV_ERROR_700'.
Pressing 'Alt' the first underscore appears as a shortcut key, that means the 'S' is underlined.

I would like to have the content as is, that means with the first '_' shown. Shortcut keys are not necessary and not desired.
Could you please help me?

Thanks.

Thomas
Stefan
Telerik team
 answered on 20 Sep 2012
0 answers
99 views
Hello,

I noticed that RadControls doesn't have classic radio buttons and check boxes, instead there are controls with the same functionality but which look like regular buttons. I know I could just use common radio buttons and check boxes, but then they wouldn't inherit Telerik themes, so it would be nice if you'd create classical looking radio buttons and check boxes, but the Telerik style, so they can be skinned/themed along with the other beautiful controls you provide.

In case they already exist, pardon my ignorance and tell me where can I find them, but if they really don't exist, please consider adding them.

Also, If I may ask, is there a way to implement Telerik themes into custom controls? Or how would I have to prepare a custom control so it can support a Telerik theme?
Greg
Top achievements
Rank 1
 asked on 20 Sep 2012
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?