Sunday, March 11, 2012

drop-down list giving wrong selectedvalue on event

Hi,

make sure you don't fill the drop down values on each page load, but only on the first one.

Otherwise you will override the selection.

so in the Page_Load

if(!IsPostBack)

{

DrawVisa()..//fill the values

}

Cheers,

Yani


Thanks Yani that was the answer I was looking for.

You're a star!

No comments:

Post a Comment