SelectedIndexChanged event is not firing on DropDownList

3 posts, 0 answers
  1. Ildar
    Ildar avatar
    30 posts
    Member since:
    Apr 2009

    Posted 10 Sep 2009 Link to this post

    OnSelectedIndexChanged server event is not firing on DropDownList ASP.NET control inside RadWindow.
    If I use RadComboBox then this event is firing. I am using 2009.1.527.35 version of Telerik.
    I am using third party software where I should pass DropDownList reference as parameter to some methods.
    And there is no any conversions from DropDownList to RadComboBox.
    What can be cause of stopping OnSelectedIndexChanged event of DropDownList and how to fire this event?

    Ildar
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 11 Sep 2009 Link to this post

    Hi Ildar,

    I tried to reproduce the problem locally but everything is worked as expected. Please find attached a test case along with a short movie showing what is happening on my side.

    Note that the RadWindow control is basically an IFRAME - it does not affect the controls in the content page in any way. This being said, I suggest to replace the RadWindow with a standard IFRAME and see if the problem exists. If it can be reproduced only when the content page is opened in a RadWindow - please open a support ticket and send us a sample project that reproduces the problem so we could check it.


    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Ildar
    Ildar avatar
    30 posts
    Member since:
    Apr 2009

    Posted 11 Sep 2009 Link to this post

    I reproduced my error in your code by implementing Datasource and DataBinding.
    I am sorry for lack of a details. The reason not firing SelectedIndexChanged was
    putting same text to Value property of a ListItem.
    Probably this is the reason way DropDownList and RadComboBox are working differently.
    I do not know why Value fields should be unique for DropDownList  
    but it is working after removing DataValueField assigning (it is not acceptable for me) or
    using RadComboBox (if, as I discovered, length of Value property less than 1093700 bites).

    Thank you very much Georgi.

Back to Top