Pending Review
Last Updated: 02 Feb 2017 11:59 by ADMIN
ADMIN
Created by: Marin Bratanov
Comments: 0
Category: Button
Type: Bug Report
1
select an item from the dropdown, different than "1"
expected: buttons become enabled
actual: radbutton is still disabled

        <asp:Button ID="ButtonTest" runat="server" enabled="true" Text="Test" EnableViewState="False" />
        <telerik:RadPushButton ID="RadButtonTest" runat="server" Text="RadButtonTest" Enabled="True" EnableViewState="False" RenderMode="Lightweight"></telerik:RadPushButton>
        <asp:DropDownList runat="server" ID="DropDownTest" AutoPostBack="True" OnSelectedIndexChanged="SelectedIndexChanged_Test">
            <Items>
                <asp:ListItem Text="1" Value="1"></asp:ListItem>
                <asp:ListItem Text="2" Value="2"></asp:ListItem>
                <asp:ListItem Text="3" Value="3"></asp:ListItem>
                <asp:ListItem Text="4" Value="4"></asp:ListItem>
            </Items>
        </asp:DropDownList>

		protected void Page_LoadComplete(object sender, EventArgs e)
		{
			if (DropDownTest.SelectedValue == "1")
			{
				ButtonTest.Enabled = false;
				RadButtonTest.Enabled = false;
			}
			else//workaround
			{
				string script = string.Format("function f(){{$find('{0}').set_enabled({1});Sys.Application.remove_load(f);}}Sys.Application.add_load(f);",
												 RadButtonTest.ClientID, 
												 "true");
				ScriptManager.RegisterStartupScript(Page, Page.GetType(), "someKey", script, true);
			}
		}

		protected void SelectedIndexChanged_Test(object sender, EventArgs e)
		{
		}
Pending Review
Last Updated: 28 Feb 2018 03:59 by S
Created by: S
Comments: 0
Category: Button
Type: Feature Request
1
Add table layout to radiobuttonlist control. this will facilitate the use of the control in a dynamic situation where you cannot predict  the number of columns the user wants to have. table layout is available in the standard ASP control and should be in the rad version as well. Furthermore it would make our flexibility increase if the item text of the list items can contain markup language (bold, or div with style) instead of latterly displaying the HTML code as if this was normal text.

Thanks for your great work and keep focus on ASP.NET controls to improve their funtions.
Pending Review
Last Updated: 11 Mar 2016 13:09 by ADMIN
A JavaScript error is thrown when a button with AutoPostback enabled on the client-side is clicked in IE.

Note: The error is thown only when the AutoPostback is enabled in the ClientClicked event handle, but not in ClientClicking.

JavaScript error:
SCRIPT5007: Unable to get property 'controlState' of undefined or null reference
File: ScriptResource.axd, Line: 658, Column: 38