Won't Fix
Last Updated: 11 Jun 2021 07:28 by ADMIN
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"

Important: The issue only occurs when the Buttons are spread around in different rows in RadGrid.

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);

4 comments
ADMIN
Rumen
Posted on: 11 Jun 2021 07:28

Hi everybody,

The problem is not easy to be fixed since it will introduce a regression.

That's why my recommendation is to use the RadRadioButtonList control - https://demos.telerik.com/aspnet-ajax/radiobuttonlist/examples/overview/defaultcs.aspx

 

Regards,
Rumen
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

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!