Telerik Forums
UI for WPF Forum
2 answers
70 views
Using the datePicker inside a Grid in this way

                                            <telerik:GridViewDataColumn
                                                        Header="Termination"
                                                        DataMemberBinding="{Binding TerminationDate}"
                                                        >
                                                <telerik:GridViewDataColumn.CellEditTemplate>
                                                    <DataTemplate>
                                                    <telerik:RadDatePicker SelectedDate="{Binding Path=TerminationDate, Mode=TwoWay}"/>                                                    
                                                    </DataTemplate>
                                                </telerik:GridViewDataColumn.CellEditTemplate>
                                            </telerik:GridViewDataColumn>

I get a 12:00:00 after I select a date and lost focus.

If I use the same control outside, It works ok.
I need to use the radpicker because the user shouldbe able to leave this date empty and with the dateDataColumn that was not possible
Ideas? Is this a bug?
Thx.
Ariel Erlijman
Top achievements
Rank 1
 answered on 17 Aug 2010
3 answers
132 views
Hi,

Can you please help me to know if Telerik provides 3D Surface charts for WPF? If not what is the alternative solution to achieve the 3D Surface charts.

Thanks in Advance

Regards,
NAK
Giuseppe
Telerik team
 answered on 17 Aug 2010
4 answers
137 views
Hi,

I think this is easy but cannot find anywhere how to implement it.
I have two list boxes, one is the source and the othe one is the target, I want to drag items from the source to the target and also be able to reorder the items at the target.
The target lisbox items have form fields and other controls in them that when clicked I dont want the drag operation to happen but be able to input text, click a button, etc.

This is a form builder application I have the diffenrent form elements on the left side and when you drag the element to the right side list the template is the actual form element that you can modify it parts like label, validation, required, etc. That;s why I don't want all the elements to trigger the drag but maybe create a title bar per element where I can click and drag the item to reorder on the list.

Thanks for your help.
Pablo Tola
Top achievements
Rank 2
 answered on 17 Aug 2010
1 answer
99 views
Hi,
I have a transition control call transitionWin.  What do I need to do change the transition style right before changing the content and thereby firing the transition?  Essentially, I want to use "lefttoright" sliding in some contexts and "righttoleft" in others depending on UI state in a SlideAndZoomTransition type.

Thanks,
Dave Gerding

George
Telerik team
 answered on 17 Aug 2010
4 answers
241 views
Is there a straightforward way of hiding the caption of an aggregate function in the footer while showing it in the group header? I'm looking into the footer template now to see how its put together, but was wondering if I'm missing a simple trick...

Thanks!
Geoff Smith
Top achievements
Rank 1
 answered on 17 Aug 2010
1 answer
104 views
I have an editable data bound combobox. I need to know when the user is making a selection or editing.  On the selection changed event I use the prescribed method to capture the selected item "RadComboBoxItem selectedItem = chemical.SelectedValue as RadComboBoxItem;" . However selectedItem is always null even when chemical.SelectedValue is not. I have verified this using a line break in the code. What gives?
Konstantina
Telerik team
 answered on 17 Aug 2010
5 answers
666 views
Hi!

I've a to display a list of  "households", I'm using a telerik component, the "RadGridView".

This is working, I've set the "Datacontext" on a parent element. I've no problem with that
<telerik:RadGridView Name="uxGridViewList" AutoGenerateColumns="False" ItemsSource="{Binding HouseHolds}" IsSynchronizedWithCurrentItem="True" >
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn Header="First Name" DataMemberBinding="{Binding FirstName}"/>
        <telerik:GridViewDataColumn Header="Last Name" DataMemberBinding="{Binding LastName}" />
        <telerik:GridViewDataColumn Header="City" DataMemberBinding="{Binding City}" />
        <telerik:GridViewDataColumn Header="Phone" DataMemberBinding="{Binding Phone1}"/>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>


Now, I'm trying to get get information in some textbox changing to have the current selectedrow.

Changes will be made in two ways, so I've made some tries, but the textbox is still empty.

First try:
<TextBox Name="uxTextFirstName" Text="{Binding FirstName}" DataContext="{Binding ElementName=uxGridViewList, Path=CurrentItem, Mode=TwoWay}" />

Second try
<TextBox Name="uxTextFirstName" Text="{Binding ElementName=uxGridViewList, Path=SelectedItem.Firstname, Mode=TwoWay}"/>

What should I do more?

I tried to do in my code behind to check if I was having data in the correct format.
uxTextFirstName.Text = ((HouseHold)uxGridViewList.SelectedItem).FirstName;
It display correct informations, but don't change when I change lines and I really have to do this in the Xaml code, not in code behind.

EDIT: I just saw I got an error in the "Output":
System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=uxGridViewList'. BindingExpression:Path=SelectedItem.Firstname; DataItem=null; target element is 'TextBox' (Name='uxTextFirstName'); target property is 'Text' (type 'String')
But I still don't understand what is wrong :(

Maya
Telerik team
 answered on 17 Aug 2010
1 answer
259 views
Hello,
I'm sorry, but is it posible to make the HeaderRow always visible? We have hierarchical gridview with a lot of rows, so we need to scroll each child grid and not the whole grid, cause we don't want to loose  column headers from sight.
In general we need each child grid and parent grid have their own scrollbar.
Your article Visual Structure says: "Scroll bars - RadGridView will automatically show and hide scrollbars when needed. Choose between two types of scrolling: Real time and Deferred. Every hierarchical level has its own scrollbars. "
Milan
Telerik team
 answered on 17 Aug 2010
3 answers
117 views
Hi All

   I am New  in using telerik WPF controls.
My questions how to add the select command button inside the radgridview how we use the Datagridview in wndows form like that
how can i acheive this

Thanks
G Dinakaran.
Vlad
Telerik team
 answered on 17 Aug 2010
3 answers
157 views
I feel the arrow for expander and panel bars  points wrongly, it should behave opposite to how it is now.
How to modify  the arrow?
Miroslav
Telerik team
 answered on 17 Aug 2010
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?