asp.net dropdown does not hold any value
as per requirement i have a asp.net dropdwon on my aspx page which gets populated from a Javascript function within a normal for--next loop.
the dropdown shows the value on the page but when selected , i cannot extract any text or value from the dropdown using drp.SelectedItem.Text or drp.SelectedItem.Value. both of them show nothing.
in Javascript i populated my dropdown as --
opt[0] = new Options("Algeria",0) ;
opt[1] = new Options("Angola",1) ;
and they show fine on the page. it's only after selecting any of the values -- i dont find anything.