Radiobutton view state is gone...

Ask a Question related to ASP.NET Building Controls, Design and Development.

  1. #1

    Default Radiobutton view state is gone...

    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


    Mike Guest

  2. Similar Questions and Discussions

    1. View state help
      Do you modify the page at all? Sometimes modifying the page causes the error you described. Alternatively, you do not have to use ViewState in...
    2. view state question
      In many custom controls examples I see the following code: public string Text { get { return (string)ViewState; } set {
    3. Maintaining view state in datagrid
      hi all, I have a datagrid in my asp.net page. In that datagrid, i have paging enabled. And one template column having checkbox control in...
    4. View State Help !!!
      hi I have a datagrid bound to a datasource. I am generating the columns in the datagrid dynamically. I override the loadviewstate method and...
    5. Invalid View State Problem
      I am trying to migrate an ASP.NET web application from one server to another. The web app works fine on the original web server, but gives me the...
  3. #2

    Default Re: Radiobutton view state is gone...

    On Thu, 21 Jul 2005 18:11:14 +0200, 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
    The SelectedIndex property is only avaible for RadioButtonList
    intrader Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139