RadPanegroup Combobox selectedevent firing multiple times

5 posts, 0 answers
  1. Shenbagaraj
    Shenbagaraj avatar
    9 posts
    Member since:
    Dec 2011

    Posted 20 Feb 2012 Link to this post

    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..
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 21 Feb 2012 Link to this post

    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 >>
  3. DevCraft banner
  4. Shenbagaraj
    Shenbagaraj avatar
    9 posts
    Member since:
    Dec 2011

    Posted 21 Feb 2012 Link to this post

    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.
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 22 Feb 2012 Link to this post

    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 >>
  6. Shenbagaraj
    Shenbagaraj avatar
    9 posts
    Member since:
    Dec 2011

    Posted 22 Feb 2012 Link to this post

    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.
Back to Top
DevCraft banner