Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
WebDropDown Displays Incorrect Text upon SelectedValue Change
posted

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'

 

 

 

 

 

Parents
No Data
Reply
  • 24671
    Suggested Answer
    posted

    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 

Children
No Data