Under Review
Last Updated: 22 Mar 2017 18:35 by Yasha
ADMIN
Danail Vasilev
Created on: 23 Sep 2013 09:00
Category: Button
Type: Bug Report
1
FIX server-side checked property for grouped RadButtons ButtonType="ToggleButton" ToggleType="Radio"
When multiple RadButtons (ButtonType="ToggleButton" ToggleType="Radio") are grouped through GroupName property, the server-side property checked doesn't take effect when the button which is to be checked is declared before the current checked button.

The workaround is to execute JavaScript from the server which sets the checked property. For example:

C#:

        string script = "function f(){$find(\"" + RadButton1.ClientID + "\").set_checked(true); Sys.Application.remove_load(f);}Sys.Application.add_load(f);";
        ScriptManager.RegisterStartupScript(this, this.GetType(), "key", script, true);

(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
3 comments
Yasha
Posted on: 22 Mar 2017 18:35
Is this issue fixed?
ADMIN
Joana
Posted on: 28 Nov 2014 17:44
The issue needs further investigation, we will fix it as soon as possible.
Steve
Posted on: 02 Dec 2013 23:59
When is this going to be fixed? I have well over 200 of these types of buttons grouped all over my site that are set server-side. This is a critical issue for me! I can't implement your "workaround". I need this fixed ASAP!