From: Eric on
Hi,

I have a lot of radiobuttons on my page, grouped by 3. (yes/No/NA).
For the user to click them and change the checked one, all is ok.
I can also read them and put the data in a file.

Now I want to do vice versa.
I read the file and want to set the radiobuttons to what state was stored in
the file.

The radiobuttons do not change.
Even without the file, if I just put rbYes.checked = true in my page.load
code, it still doesn't change (default = rbNA).

How can I overcome this?
I can change the contents of textboxes on de page the same way, but not
radiobuttons.

pls. help me.
Eric

From: Eric on
ah, found it. I have to set the one that was checked by default to false.


"Eric" wrote:

> Hi,
>
> I have a lot of radiobuttons on my page, grouped by 3. (yes/No/NA).
> For the user to click them and change the checked one, all is ok.
> I can also read them and put the data in a file.
>
> Now I want to do vice versa.
> I read the file and want to set the radiobuttons to what state was stored in
> the file.
>
> The radiobuttons do not change.
> Even without the file, if I just put rbYes.checked = true in my page.load
> code, it still doesn't change (default = rbNA).
>
> How can I overcome this?
> I can change the contents of textboxes on de page the same way, but not
> radiobuttons.
>
> pls. help me.
> Eric
>