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

SelectedIndexChanged event is not firing on DropDownList

2 Answers 185 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ildar
Top achievements
Rank 1
Ildar asked on 10 Sep 2009, 03:27 PM
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 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 11 Sep 2009, 12:17 PM
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.
0
Ildar
Top achievements
Rank 1
answered on 11 Sep 2009, 09:22 PM

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.

Tags
Window
Asked by
Ildar
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Ildar
Top achievements
Rank 1
Share this question
or