Telerik Forums
UI for WPF Forum
1 answer
231 views

Hi Everyone,

I am using RadGridView to populate my data. For one of cell I am using GridViewDataColumn. Is there any BeginningEdit event at GridViewDataColumn level ?

Or how can I use BeginningEdit  event at RadGridView level using MVVM pattern.

Is there any examples ? My requirement here is when cell is start edit. I want show another form where user can enter some data.

Regards,

Rajuendar.

Stefan Nenchev
Telerik team
 answered on 27 Apr 2017
1 answer
163 views

Hello,

i have a RadRichTextBox (LayoutMode="Flow") and the RadRichTextBoxRibbonUI.

When i change the font/size through a combobox of the ribbon, the RichTextBox does not get the focus back (it stays on the combobox). The cursor in the RichTextBox is not blinking. When i continue typing, it only changes the selection of the combobox and does not insert text in the RichTextBox. Other controls like the buttons are working as expected.

This behavior does not appear when i change the LayoutMode to Paged. Unfortunately i dont need a paged editor. :(

I can easily reproduce this, by taking the "Telerik Editor"-Example from the SDK Samples Browser and changing

 <telerik:RadRichTextBox Name="editor" LayoutMode="Paged" />

to

<telerik:RadRichTextBox Name="editor" LayoutMode="Flow" />

 

I tried to set the focus manually in the selection changed event of the combobox, but this didn't work.

Is there a way to get this working?

 

Thanks

Tanya
Telerik team
 answered on 27 Apr 2017
3 answers
228 views

Hello All,

     I have a quick and easy question about setting up a cell datatemplate.  I have a class that has two properties: a boolean value and a string value.  In my app, I have created a collection of this class and would like to display it in a grid.  I would like to display the boolean value as either a check-mark or a x-mark as in the example image I've attached...  I'm pretty sure this can and should be done as a celldatatemplate, but I have no idea as to where to start...  Could someone please point me in the right direction???  Is there a good example of this or is there a good explanation of setting a template up somewhere out there???

 

Thanks in advance,

 

Kevin Orcutt

 

 

Stefan
Telerik team
 answered on 27 Apr 2017
5 answers
209 views

I've got some weird behaviour going on, its probably something I've done, but I can't seem to work out whats going on.

I've set up two stack panels on my usercontrol, one called New Trip and one called New Misc Job - on initialize of the usercontrol I'm setting up the DragDropManager - actually all I'm doing is specifying the methods for DragIntialize like so :

DragDropManager.AddDragInitializeHandler(newTripDrag, NewTripDragInitialize);
DragDropManager.AddDragInitializeHandler(newJobDrag, NewMiscDragInitialize);

 

When the user drags one of the stackpanels onto the scheduleview, I've got some custom dragdropbehaviour going on, but at the end of the Drop method, it always calls base.Drop() and this is where the weird behaviour comes in, when I'm dragging a trip, it works perfectly and the trip is selected afterwards, but when I drag a misc job, it fires off the SelectedAppointment method with a null value which makes nothing selected afterwards.

Why would it be calling the SelectedAppointment for one and not the other, is there something I can change to stop this from happening, I've attached the Call Stack from the point of base.Drop() to Setting the SelectedAppointment for when I dragged a Misc Job (if that helps).

Stefan
Telerik team
 answered on 26 Apr 2017
1 answer
65 views

So I seem to have a memory leak. I am using JustTrace and Memory Profiler.  What happens is in using the RadListBox on one of my views, I see InternalScope objects keep adding up everytime I open the view that has that RadListBox.  But I don't know what that class is used for or what would make that problem?  Any detailed help on how to find the root of this problem would be appreciated.  Been trying to figure it out for days and have commented out templates and styles.

 

 

Kalin
Telerik team
 answered on 26 Apr 2017
1 answer
196 views
Hello,
I'm using telerik control tools for WPF UI ver: 2015.1.0401.45
I have noticed that radlistbox has a huge memory leak. On replacing radlistbox with Microsoft listbox, memory leak does not occur.
I'm attaching the demo project (replace fileextension of file from  .jpg to .zip).
This project demonstrates the problem of memory leak. Actually the memory leak occurs on data binding
I've remarked the Microsoft listbox in xaml, so to prove my claim, just use Microsoft listbox instead  of radlistbox and see the difference in memory usage of the processes.
Do you have a patch to fix this issue ?
Thank you,
Alex
Kalin
Telerik team
 answered on 26 Apr 2017
1 answer
166 views

Hi!

I would like to suggest that page numbers and a page title be optionally added when exporting a GridView to Pdf. This should be easy to implement since RadSpreadProcessing already has a class "HeaderFooterSettings". Just expand the "GridViewPdfExportOptions" with two options: ShowPageNumbers (true/false) and PageTitle (string). Should be done in no time.

Regards
Heiko

Dilyan Traykov
Telerik team
 answered on 26 Apr 2017
1 answer
565 views

I had browsed for a similar issue & seen the below link which had the same issue of mine, its said by Telerik that issue is resolved but I could not get the fix anywhere.

http://www.telerik.com/forums/radwindow-autosize-on-runtime#e9i78SNv102TDO2DCh_z6g

I have created a RadWindow and its content is set to a wpf view which has some controls & a RadExpander. I want this RadExpander to be shown when its expanded(my RadWindow Width should be resized accordingly).
I have set ResizeMode="NoResize" and SizeToContent="True" for my RadWindow. But RadWindow doesn't seem to adjust according to its content, how can I achieve It?(I have not set any Height or Width to my RadWindow)

Is SizeToContent changed to Enum to support WidthAndHeight or what is the fix for the problem given??

Nasko
Telerik team
 answered on 26 Apr 2017
5 answers
570 views
Hello guys,

I have created a RadWindow as a User Control and It has ResizeMode="NoResize" and SizeToContent="True". Inside the content I have an Stackpanel that is collapsed and when I turn It visible on runtime, the content below is hidden because the RadWindow doesn't resize, how can I achieve It?
Nasko
Telerik team
 answered on 26 Apr 2017
8 answers
354 views
Hi,
I have a RadCombobox with following properties:

IsEditable="True"
OpenDropDownOnFocus="False"
TextSearchMode="Contains"
IsFilteringEnabled="True"
UpdateTextOnLostFocus="False"
CanAutocompleteSelectItems="False"
IsReadOnly="False"

And when user types, I open the dropdown with following code:
comboBox.IsDropDownOpen = true;

my problem is:
when a user wants to insert some words in exist text, whole text will be clear.
what I can do to solve this.

My project:
http://www.mediafire.com/file/2ru22za4ztsuas4/ComboBoxEditModeProj.rar

Thanks.
Ahmad
Top achievements
Rank 1
 answered on 26 Apr 2017
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?