On PageLoad I am changing the SelectedValue of a WebDropDown. It changes the SelectedValue but still show the first item text of the dropdown. See my code below
Me.ddlHRDepartments.DataBind() If Me.ddlHRDepartments.Items.Count > 0 Then Me.ddlHRDepartments.SelectedValue = Request.QueryString("DeptID") End If
For e.g. Items - Values: A - 1, B - 2, C - 3, D - 4
If on PageLoad, I change the SelectedValue to 3, instead of showing 'C', the dropdown still shows: 'A'
Hello Sajjad,
I believe this has already been fixed in the latest service release. Which version / build are you using? In this forum thread you can find information about the issue and exactly what are the things that reproduce it. There is also a workaround suggested by me:
http://forums.infragistics.com/forums/p/24223/89052.aspx
Hope it helps,
Angel