|
-
Apr 24th, 2012, 02:12 PM
#1
Thread Starter
Hyperactive Member
Radiobuttonlist reverts from selected item
Hi,
I´m guessing this has been asked before. In fact I asked it myself some time ago about a dropdownlist.
However the same solution doesn't seen to work, and I can't find the solution in the forum.
I´m populating a radiobuttonlist in code on page load, allthough not when postback is true (I´ve checked this by the way).
Autopostback is set to true, viewstate is enabled (everywhere I can think of, allthough only in the content page, if that matters)
When I select an item, the postback happens, the populating does not happen, and the selection reverts back to the first item, which was never selected. It really looks stupid.
Nowadays I have the knowledge to do this in javascript, but I would prefer not to. It can´t be that it should work like this, can it? The control would be useless. I want the index that is selected.
Thanks.
Fuga.
Visual Studio 2010 xpress, Visual Studio 2008 pro, SQL Server, SQL Server management studio 2008 r2, MSAccess
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|