Telerik Forums
UI for WPF Forum
3 answers
121 views
Hello,

I am implementing a drag drop between a listview and a rad treeview. Everything is fine except that when i drag an item to the treeview, the selected hovered item on the treeview does not show.
Is there any 'out of box' solution for this, or it should be implemented manually by detecting the hovered tree view item and changing its color? if it does require manual coding, do you have some short example for it?

Thanks,
Oran
Top achievements
Rank 1
 answered on 28 Dec 2010
3 answers
76 views
Has anyone implemented type-ahead capability in the WPF RadGridView like in a windows grid where you can click on a given cell, start to type and have the grid position the current row to the row that starts with whatever letters have been typed?  If so can you share some code?
Vlad
Telerik team
 answered on 28 Dec 2010
0 answers
242 views
Hello,
I want to keep value before usercontrol unloaded event in WPF.

Thanks.
bluberry
Top achievements
Rank 1
 asked on 28 Dec 2010
1 answer
83 views
When setting e.Cancel = true on the event args of RadGridVoew.Sorting event, the grid nevertheless modifies the SortingState of columns.
Say the column was in Descending. In the event handler I set it to Ascending, and set e.Cancel = true.

I expect the final state to be Ascending, but the grid changes it to None, according to its internal logic.

Using Reflector, I can see that UpdateColumnSortStatesOnSort() is called in GridViewDataControl.Sort(), even if sortingArgs.Cancel == true. I believe that that call should be avoided.
Yavor Georgiev
Telerik team
 answered on 28 Dec 2010
1 answer
93 views
Hi,
I would like to display the date in the following format : "dd/MM/yyyy hh:mm:ss" instead of the default "dd/MM/yyyy hh:mm", or in other words, I want to add seconds.
I've tried the following :
CultureInfo cultureInfo = new CultureInfo("es-ES");
DateTimeFormatInfo dateInfo = new DateTimeFormatInfo();
dateInfo.ShortDatePattern = "dd/MM/yyyy hh:mm:ss";
cultureInfo.DateTimeFormat = dateInfo;
RadDateTimePicker newTime = new RadDateTimePicker();
newTime.Culture = cultureInfo;

But I encounter a strange problem. I get the following format : "dd/MM/yyyy hh:mm:ss hh:mm".
What am I doing wrong?

Thank you

Kaloyan
Telerik team
 answered on 28 Dec 2010
1 answer
246 views
Hi,

I'm trying to set the tooltip on the RadDatePicker when I get a validation error from my viewmodel.


<Trigger Property="Validation.HasError"Value="True">
<Setter Property="FrameworkElement.ToolTip"
                                 Value="{Binding RelativeSource={RelativeSource Self}, Path=(Validation.Errors).CurrentItem, Converter={StaticResource edenValidationErrorToolTipConverter}}"
                                    TargetName="PART_DateTimeInput" />
                        </Trigger>


No matter  what I try, I can't seem to update the tooltip.

Thanks,
Andy

Kaloyan
Telerik team
 answered on 28 Dec 2010
1 answer
159 views
Hello,

I wish to bind the GridView to a sql server datasource and I wish that when I update the table in the database, the GridView will automatically update the rows values. I want to achieve this without reloading the datasouce of the gridview.
Now I get the values from the datasource into a datatable and then set the datatable as the source of the GridView so there is no direct connection between the database and the GridView. Is there a way to give the GridView a "SELECT statement" and it will  autocheck for changes?

Thank you
Rossen Hristov
Telerik team
 answered on 28 Dec 2010
2 answers
72 views
It appears that child grid control references are kept in the parent row, even after the row has been collapsed.
Can I make the child grid get disposed?
Yaakov Davis
Top achievements
Rank 1
 answered on 28 Dec 2010
1 answer
124 views
Hi

I am using TreeListView control and loading child rows on demand.

I want to update the parent node again once child nodes will gets displayed.

In RadTreeListView1_RowLoaded event I am binding details of Child nodes.

Is there any other event after RadTreeListView1_RowLoaded where I can access the Parent nodes and update the cells ?

Actually I want to implemets below functionality
Director's Hours will get distributed in SubDirector A and SubDirector B
Further Subdirector's Hours can be distributed in Managers
Here only Manager's Hours can be editable.

If hours of any Manager gets updated I want to update the Hours of their Parent Rows

      Hours
Director 100
  SubDirector A 40
  Manager A1 10
  Manager A2 30
  SubDirector B 60
  Manager B1  25
    Manager B2 35

Is there any better approach I can achive this ?

Thanks
Vlad
Telerik team
 answered on 28 Dec 2010
3 answers
52 views
I have sample application (related to customised message box ) downloaded from following link  http://prajeeshprathap.codeplex.com/SourceControl/PatchList.aspx
This sample application makes my application stuck. due to which I am unable to debug by using breakpoints
Pleasae identify the issue and let mke know where you have made changes.
Asish
Top achievements
Rank 1
 answered on 28 Dec 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?