Telerik Forums
UI for WPF Forum
0 answers
63 views

 

Hi,

we are using telerik checkboxeditor in our project.
we are  adding  some text to checkboxeditor.
The background color of Checkboxeditor we are getting is orange.
When we change the back ground color of check box . Only the border of checkbox is getting changed.
 I want to change the back ground of text as well which is given to check box.....
Please reply me with a solution to solve this problem

Sowjanya MV
Top achievements
Rank 1
 asked on 25 Feb 2010
4 answers
84 views
I have a hierachical grid view that binds to a datasource with autogenerate columns set to true.

I have a timer on my screen that the user can switch on and off to 'auto refresh' the grid

I have noticed that when i next cycle trhough and fetch data and bind, the data in the child tables doesnt get cleared

for example i have 4 rows in my table, each with 2 rows underneath .. next time i refresh i still have 4 rows but they each have 4 underneath

I can clear this by clearing them all before i rebind .. by i thought that binding would sort this out without having to clear them

is the working as it should?
Cameron Molyneux
Top achievements
Rank 1
 answered on 25 Feb 2010
1 answer
82 views
Hi,

I had a reqirement that i need to generate the dynamic grids in my window and on the button click i need to sort the grids.
i'm able to generate the dynamic grids and i took the array list in which im adding the grid name but now in the button click how can i sort the grids?

can anyone please help me on this issue please.
Vlad
Telerik team
 answered on 25 Feb 2010
4 answers
122 views
we are using picker text box in place of wpf textbox but we are unable to set the background property for pickertextbox.please reply to this.
Sowjanya MV
Top achievements
Rank 1
 answered on 25 Feb 2010
1 answer
117 views
The most bizarre situation.  I am trying to do a drag/drop within the treeview.  But for some reason, my DragEnded event will never fire.  I have put it on both the Treeview and it code.  But when I run the code, I just get the error "There is not source code available for the current location".  Other events will work fine like PreviewDragEnded.  I have tried two different datasources.  Both an ObservableCollection and then also a link query cast ToList().  I have also tried to re-create these events and it makes no difference.  By the error, it acts as if I don't have a handler, but I do!  You will notice I have tried the handler in both code and markup.

Version: 2009.3.1314.35

This is based off a sample you put up describing how to change the index of the sort

Here is what I have in XAML and in code:

<

 

<Telerik:RadTreeView x:Name="treeColumns" MinHeight="500" DragEnded="treeColumns_DragEnded"
                        VerticalAlignment="Top" SelectionMode="Multiple" IsEditable="True" IsDragDropEnabled="True"
                        ItemTemplate="{StaticResource ItemTemplate}"
                        ItemsSource="{Binding Converter={StaticResource convWorkflow}}"></Telerik:RadTreeView> 

 

 

 

 

 

 

treeColumns.DragEnded +=

new RadTreeViewDragEndedEventHandler(treeColumns_DragEnded);

 

 

 

 

 

 

private void treeColumns_DragEnded(object sender, RadTreeViewDragEndedEventArgs e)
        {
            int index;
            WorkFlow draggedItem = e.DraggedItems[0] as WorkFlow;
            WorkFlow targetItem=e.TargetDropItem.DataContext as WorkFlow;
            if (draggedItem != targetItem)
            {
                switch (e.DropPosition)
                {
                    case DropPosition.After:
                        index = e.TargetDropItem.Index + 1;
                        break;
                    case DropPosition.Before:
                        index = e.TargetDropItem.Index - 1;
                        break;
                    case DropPosition.Inside:
                        index = e.TargetDropItem.Items.IndexOf(draggedItem);
                        break;
                    default:
                        index = -1;
                        break;
                }
            }
            else
            {
                index = e.TargetDropItem.Index;
            }
            draggedItem.SortOrder = index;
            DataAccess.ctx.SubmitChanges();
        }

heavywoody
Top achievements
Rank 1
 answered on 25 Feb 2010
2 answers
118 views
Hi,Telerik.

I have got a problem when using RadCarouselPanel.
How to select the last Image when using RadCarouselPanel? It seems that the last image cannot be selected.
Is there any way to do this?

Wish your help!
Thank you!
xu jundong
Top achievements
Rank 1
 answered on 25 Feb 2010
2 answers
282 views

Hi everyone,

whit others component suite it is possible, example:

 
    <Style TargetType="ComboBox" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ComboBoxKey}}" />  
    <Style TargetType="TextBox" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.TextBoxKey}}" />  
    <Style TargetType="PasswordBox" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.PasswordBoxKey}}" />  
    <Style TargetType="Button" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ButtonKey}}" />  
    <Style TargetType="ToolTip" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ToolTipKey}}" />  
    <Style TargetType="CheckBox" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.CheckBoxKey}}" />  
    <Style TargetType="RadioButton" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.RadioButtonKey}}" />  
    <Style TargetType="ContextMenu" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ContextMenuKey}}" />  
    <Style TargetType="ScrollViewer" BasedOn="{StaticResource {x:Static ribbon:RibbonStyles.ScrollViewerKey}}" /> 


This is possible with the WPF Telerik's suite ?

Thanks,

Massimiliano.
Massimiliano Sorce
Top achievements
Rank 1
 answered on 24 Feb 2010
1 answer
71 views
Hi, 
we updated to Telerik 2010 Q1 Beta, and now we can drag the floating window outside of the main window, but we no longer can drag and drop from one floating window into another or into the main window.
What should we do to make the drag and drop work between the windows?
Thanks
Nick
Boyan
Telerik team
 answered on 24 Feb 2010
1 answer
46 views
Greetings All!

Looking for a way to restrict a RadPanel to only be "dockable" in it's original parent RadPanelGroup? Basically, preventing my tool panels from being able to dock with my DocumentPanel.

Any ideas?

Thanks!


Dave Brock
Top achievements
Rank 1
 answered on 24 Feb 2010
4 answers
304 views
Hi,

We've replaced our earlier use of child grids with a simplified RowDetails, something that looks like this:

       <telerik:RadGridView.RowDetailsTemplate> 
            <DataTemplate> 
                <Grid> 
                    <Grid.ColumnDefinitions> 
                        <ColumnDefinition Width="80" /> <!-- A kind of margin we're using --> 
                        <ColumnDefinition Width="*" /> 
                    </Grid.ColumnDefinitions> 
                    <!-- Here there is a component that appears in column 0 --> 
                     
                    <!-- The actual description  --> 
                    <TextBlock  
                        Grid.Column="1" 
                        Text="{Binding Description, Mode=OneWay}"  
                        TextWrapping="Wrap"/> 
                </Grid> 
            </DataTemplate> 
        </telerik:RadGridView.RowDetailsTemplate> 

When viewing this, the TextBlock fails to wrap the text.

Based on our understanding, this is because the owning Grid is taking more than the visible width. However, it's possible there's a mistake here.

Can you help us understand why the TextBlock is not wrapping?

Thanks,
yonadav
yonadav
Top achievements
Rank 1
 answered on 24 Feb 2010
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?