Validator text shows as required, however the message on the validator doesn't show in the asp:ValidationSummary control.
Hi,
I would like to be able to change the RadioButtonList border color depending on certain conditions from JS.
Here I am looping through all the Rad radio controls and on certain conditions I would like to change the border style for the RadioButtonList.
var allRadControls = $telerik.radControls;
var Found = false;
for (var i = 0; i < allRadControls.length; i++) {
var element = allRadControls[i];
//text Radio
if (Telerik.Web.UI.RadRadioButtonList && Telerik.Web.UI.RadRadioButtonList.isInstanceOfType(element)) {
var items = element.get_items();
var x = element.get_element().parentElement;
// alert(pageview.findControl(element).get_id());
if (element.get_toolTip() == 'y' &&
x.id == pageview.get_id() &&
element.get_selectedIndex() <= 0) {
element.style.color = 'white';
return 'y'
}
else {
Found= 'n'
}
}
}
return Found;
I appreciate the help.
Thanks,.
Omar
Hi,
I want to attach the client event to a dynamically created radio list.
Below is an example of a dynamically created radio list.
The question is, How to attach the JS function to OnSelectedIndexChanged, to display the selected radio value?
Many thanks in advance.
Omar
RadRadioButtonList RBL = new RadRadioButtonList();
RBL.ID = "Radio" + i.ToString();
RBL.AutoPostBack = false;
ButtonListItem answer1 = new ButtonListItem();
answer1.Text = "Answer " + i.ToString();
answer1.Value = i.ToString();
RBL.Items.Add(answer1);
ButtonListItem answer2 = new ButtonListItem();
answer2.Text = "Answer " + i.ToString();
answer2.Value = i.ToString();
RBL.Items.Add(answer2);
ButtonListItem answer3 = new ButtonListItem();
answer3.Text = "Answer " + i.ToString();
answer3.Value = i.ToString();
RBL.Items.Add(answer3);
RBL.ClientEvents.OnSelectedIndexChanged = "OnItemClicked";
Hi,
How to change the size of the radio button icon.
When I change the size of the font for the radio button the text size increase but not the icon.
Note: its not the radio button list, its the radio button control
Many thanks,
Omar
Hello, I'm using a simple RadRadioButtonList.
The background image for the buttons is off-center, and looks really bad:
Using the browser devtools, disabling the background image removes the off-center black circle.
I haven't figured out how to disable it otherwise, or how to fix it. I don't desire to have any skin whatsoever, but I haven't figured out to do that either. Skin="" doesn't seem to do anything on the control.
If I have to create a custom skin, I'll throw in the towel and use the built in asp.net controls.
Advise?
Thanks.
When I use the Rad radio button and checkboxes... something is messing up the alignments. I have reviewed my css, in page style changes and inspected the page in chrome and edge and I cannot find what is causing this (looks like all the applied styles are coming from Telerik.Web.
Any thoughts on where to fix this?
Hi,
My web applications have no permission to install telirik asp.net components (RadButton) during runtime in vmware/RDSH environment? how can i solve this problem? thx.
there is a way to add an item by javascript, like this
radiobuttonlist.get_items().add( new Telerik.Web.UI.ButtonListItem())
Hi,
I am increasing the font size for RadRadioButtonList, but the radio circle remain small. see attached image.
Is there a way to increase the size of the radio button?
Regards,
Omar
Radiobuttonlist selectedIndexChange event does not fire when nested inside of a RadSplitter/RadPane
<telerik:RadSplitter
runat="server"
ID = "radSplitter1"
ResizeWithBrowserWindow="true"
Orientation="Vertical"
ResizeMode="Proportional">
<telerik:RadPane
runat="server"
ID=radPane1>
<telerik:RadioButtonList
runat="server"
ID="radioButtonList1"
Direction="Vertical"
AutoPostBack="true"
OnSelectedIndexChange="RadioButtonList1_SelectedIndexChanged">
<Databindings
DataTextField="Name"
DataValueFields="Value"
DataSelectedField="Selected"/>
</telerik:RadioButtonList>
</telerik: RadPane>
</telerik:RadSplitter>
When I move the RadioButtonList to the outside of the RadSplitter then the RadioButtonList1_SelectedIndexChanged fires. I'm using Telerik Version 2017.1.228.445