Telerik Forums
UI for WPF Forum
2 answers
92 views
Hi There,
I have a requirement where i have to show a column as a mandatory column, for this i have to put some red "*" just beside the content of the columnheader. i can do this by overriding the template, but i want to do this by inheriting the default class of the columnheader. so that any developer can type as 

<telerikGridView:IsRequiredGridViewDataColumn/>
instead of 
<telerikGridView:GridViewDataColumn/>

Please guide me if you have any sample project then that would be great help for me.

Regards,
Srinivas.

Ravi
Top achievements
Rank 1
 answered on 25 Apr 2013
3 answers
240 views
Our application starts up with several docked RadPanes, each of which presents the FrameWorkElement from a WPF UserControl.  In those UserControl FrameWorkElements which make extensive use of data binding, sometimes in support of MVVM pattern, we note significant CPU usage and an unresponsive UI during the transition between RadPane (docked) to ToolWindow (floating).   It appears that the greater the amount of data binding, the longer the UI is unresponsive.

What I think is happening: when a RadPane transitions between the RadSplitContainer and ToolWindow there is a change in the DataContext for that RadPane such that all the UI elements are notified and the Main Thread gets buried running Event Handlers supporting the data bindings.  

Does that sound plausible?

If so, during the transition from Dock to Float, I would like to instrument our code at the points where the containers are instantiated to further my understanding of what is happening.   Is there an Event to which I can subscribe when a RadPane is docked or floated?

On floating, would it be possible to, for example, defer the rendering of the FrameWorkElement until maybe a MouseUp or DraggingComplete event occurs?  

Is there a way to transfer the same UserControl FrameWorkElement object between the RadPane and ToolWindow to avoid the data binding?

Thanks in advance for your input.  This is a bit of a show stopper issue at the moment!

Mike5
Top achievements
Rank 1
 answered on 24 Apr 2013
0 answers
70 views
Hi all,

i want to disable the colored highlighting (please see at the attached image) of an gridviewrow for example while mouse over.

Is there an easy way to do this without rewriting the whole template of the row?

Regards
Mark
Mark
Top achievements
Rank 1
 asked on 24 Apr 2013
1 answer
181 views
When I type anything in the searchbox, the elements in the control are reset, so any custom formatting I have done to the editor templates at runtime are cleared. Is there an event that fires when the search is performed so I know when to reformat all my customizations?  If not, is there a way to attach a textchanged event to the searchbox?
Yoan
Telerik team
 answered on 24 Apr 2013
2 answers
145 views
Hi,
I want to have the custom intervals as attached. Basically, this is a half-year interval. it will show 2008-1, 2008-2, 2009-1, 2009-2, 2010-1, and so on.

Please advise.

Thanks,
Brew
Tsvetie
Telerik team
 answered on 24 Apr 2013
3 answers
212 views
Hi

I am inserting MergeFields into a RadDocument and at a later stage performing a mail merge. I see that the MergeField class has DateTimeFormatting, GeneralFormatting and NumericFormatting properties, but I don't see any way to modify these formats during the document creation by the user. Without the ability for the user to change these settings, values are merged into the document in a general format. I'd like to be able to give the user the option to change the date format and number formats within the editor.

How would this be accomplished using RadRichTextBox?

Thanks,

Guy
Alex
Telerik team
 answered on 24 Apr 2013
1 answer
186 views
Hi

I have a RadPane that contains a WrapPanel and a RadRichTextBox.  The RadPane has a MouseDown event that does not fire. I use this code for all of my RadPanes to show and hide an appbar.  I can get around this problem by putting the RightButtonmousedown event in the WrapPane aand RichTextBox.  This would be special code for a RadPane as all the others use a common routine.  In searching the forum I found the following:  (Is this still an issue or is there something I am missing?).


Posted on Apr 9, 2012 (permalink)
,
This behavior is caused by the RadRichTextBox control handling the mouse down event
and not handling the mouse up event, which respectively stops the hit testing and 
deselects the shape. We are currently working on resolving this. In the meantime, 
what you can try is to handle the PreviewEndEdit event of the RadDiagramShape class
and handle it so that the shape does not exit edit mode. This needs to be done only
when the rich textbox control has been hit (mouse left down).

Regards,
Alex Fidanov 
the Telerik team
Iva Toteva
Telerik team
 answered on 24 Apr 2013
4 answers
97 views
Hi all,

It seems like I've hit a limitation with the RadPropertyGrid.
I have a class which has a few children and these children have other children. At the deepest level, the class has some primitive properties like int's and strings. When binding to an instance of the parent class with the children populated, the grid does not display their values. It does show the property names.

So consider the following object graph:

Class A
- Class B
-- Class C
--- A = 1
--- B = 2
--- C = 3
--- D = 4
--- Name = "Test"

It shows the output in attached screenshot 01.

What's even more strange is the following:
When I add a property to Class A & Class B of type Class C and give them all the same name but set different instances of the class C, then all will display the values of the instance directly under A.
See screenshot 02 for output, very strange behavior.

I does display a binding error when collapsing the deeper nested levels...

Hope someone from Telerik can clear up some confusion.

A vs2010 solution can be found at the following url in which you can see the explained behaviour.
h ttp://www.filedropper.com/propertygridtest

Kind regards,
Dwight
Yoan
Telerik team
 answered on 24 Apr 2013
11 answers
267 views
Can I use a non dbf format DataSource (i.e. something external like a web service data source) with an ESRI shapefile?
Andrey
Telerik team
 answered on 24 Apr 2013
0 answers
112 views
I need to know how can we populate(here "Column name") in "Insert merge field in Editor with the help of Dataset. For reference i put my code here to give you an idea;.....need quick response,thanks

ServiceReference1.LetterServiceClient letterservice = new ServiceReference1.LetterServiceClient();
            DataSet ds = letterservice.ExecuteTagSchema("SearchPatient");
            List<string> listTemp = new List<string>();

            foreach (DataColumn item in ds.Tables[0].Columns)
            {
                listTemp.Add(item.ColumnName);
            }
            this.DataContext = listTemp;
            this.radRichTextBox.Document.MailMergeDataSource.ItemsSource = listTemp;
            this.radRichTextBox.DocumentChanged += editor_DocumentChanged;
        }
Vitall
Top achievements
Rank 1
 asked on 24 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?