View Single Post
  #5 (permalink)  
Old June 24th, 2006, 06:31 PM
rrmarriott rrmarriott is offline
Authorized User
Join Date: Jun 2006
Location: Manchester, , United Kingdom.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts


After you postback each time, are you actually resetting the selected value of the drop down list? I can't see anywhere in your code that is doing this (however I do assume that all your code is not in this post).

To ensure that the correct value is set after each postback you should use the RowDataBound event of the GridView and find the ddlSize control, setting its selected value from the value you are persisting in your DataSet.

As I said, I don't know whether you have done this already, but haven't included the code in your post.

Hope this helps,

Reply With Quote