|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Radiobutton Checked value is goneI an building a web form with a usercotrole on the usercontrole i have several Radiobuttons not in list but in in Group. so they are single radio buttons. connected by a group name. Why single radiobuttons because if you select the option c in the list of {a,b,c,d) within the list there is also a input box, so if people checked for "c" they have to fill in a input box. But i can't get the selected item it seems that when the postback is made he looses his state and i get only "false"back there where you expect true. Is there a way to deal with this problem thanx in advance, Mike Mike is the EnableViewState of the Checkbox set to true. That is the reason
you are losing the value at postback. Check the EnableViewState of the page and set it to true also. -- Show quoteHide quoteGettingHelp/JustTryingToHelp "Mike" wrote: > Hi ... > > > I an building a web form with a usercotrole on the usercontrole i have > several Radiobuttons not in list but in in Group. so they are single radio > buttons. connected by a group name. > > Why single radiobuttons because if you select the option c in the list of > {a,b,c,d) within the list there is also a input box, so if people checked > for "c" they have to fill in a input box. But i can't get the selected item > it seems that when the postback is made he looses his state and i get only > "false"back there where you expect true. > > Is there a way to deal with this problem > > > thanx in advance, > > > Mike > > > Thanx will have a look at that.
Show quoteHide quote "freshRecruit" <freshRecr***@discussions.microsoft.com> schreef in bericht news:7369CDDD-F929-4D5F-8BE8-8DF4761E8A58@microsoft.com... > Mike is the EnableViewState of the Checkbox set to true. That is the > reason > you are losing the value at postback. Check the EnableViewState of the > page > and set it to true also. > -- > GettingHelp/JustTryingToHelp > > > "Mike" wrote: > >> Hi ... >> >> >> I an building a web form with a usercotrole on the usercontrole i have >> several Radiobuttons not in list but in in Group. so they are single >> radio >> buttons. connected by a group name. >> >> Why single radiobuttons because if you select the option c in the list of >> {a,b,c,d) within the list there is also a input box, so if people checked >> for "c" they have to fill in a input box. But i can't get the selected >> item >> it seems that when the postback is made he looses his state and i get >> only >> "false"back there where you expect true. >> >> Is there a way to deal with this problem >> >> >> thanx in advance, >> >> >> Mike >> >> >>
CompareValidator Only Works On Manual Input
Base Page Design Question Which page load fires first? ASPX or ASCX? style width and height PropertyDescriptor in GetDataSource Repeater question Resolving datasource expression Resolving datasource expression Parsing nested Tags Bizarre - DataGrid inside HTML Table |
|||||||||||||||||||||||