This is a migrated thread and some comments may be shown as answers.

RadPanegroup Combobox selectedevent firing multiple times

4 Answers 54 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Shenbagaraj
Top achievements
Rank 1
Shenbagaraj asked on 20 Feb 2012, 05:21 PM
Im using Rad Pane Group inside Rad Docking i have many combobox inside the each pane. When i create multipane and changes the combobox value the selected in firing many times. how to control it. Im working to solve this pblm for an long hours no luck plz help me out.  
i need solution to stop reinitialize the controls when pane switch overs or i need to control the selection event contrls firing multiple pane .

when its single pane its working fine when i opens more than one im facing this issue..

4 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 21 Feb 2012, 02:57 PM
Hi,

I can suggest you to set the IsContentPreserved property of the RadPaneGroup to True - that will stop reinitializing the RadComboBoxes when you are switching between panes in the same group. Also, a recommended approach is to bind to the SelectedItem property of the ComboBox, instead of using the SelectionChanged event, because when the pane is dragged the ComboBox will loose its selection.

Kind regards,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Shenbagaraj
Top achievements
Rank 1
answered on 21 Feb 2012, 06:21 PM
Im dynamically adding rad pane for  creatint multiple job ie. (same page i open to create multiple job finally i submit all the jobs). in this case when i use IsContentProperty=True the combobox in the newly added pane is not at all loaded. Im in trouple to solve this issue . when its a single pane is working fine like what expected. when one more pane added its behaviour changes and the radcombox selected changed event firing multiple times, plz help me out.
0
Konstantina
Telerik team
answered on 22 Feb 2012, 09:45 AM
Hi,

What do you implement in the SelectionChanged event of the ComboBox? Also, you can add the new panes in new groups and just after loading the ComboBoxes set the IsContentPreserved property. Also, consider binding the SelectedItem property of the ComboBox, in that way the selection won't be lost.

Regards,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Shenbagaraj
Top achievements
Rank 1
answered on 22 Feb 2012, 10:03 AM
You mean to say after all comboboxes loaded set the IsContentPreserved Property = true for  the rad pane dynamycally?  After loading also i should be able to edit the comboboxes values and save the page.

In selection event ex:  based on the magazine selection the source and jobtype combo box will load.

I have attached the screen shot of my page . when we open a new tab a each page gets refreshed and selection changed event occurs continuously.
Tags
Docking
Asked by
Shenbagaraj
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Shenbagaraj
Top achievements
Rank 1
Share this question
or