Click here to Skip to main content
15,790,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Can Any One Tell Me how to set clientidmode in radiobuttonlist control.

As Problem is I used master page and the page which Inheritted it require javascript / jquery.
So to use radiobuttonlist control id I have to use it's ID, which is only possible if ClientIDMode = "Static".

Any Idea How To do it, or snippet is greatly appreciated

Thanks In Advance
Updated 19-Apr-14 3:58am
[no name] 19-Apr-14 8:55am

1 solution

You can get the element by reading its ClientID.
var radioButtonList = document.getElementById('<%=radioButtonListID.ClientID%>')(
Share this answer
binadi007 19-Apr-14 13:21pm    
And in Jquery?
$('#' + '<%=radioButtonListID.ClientID%>');

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900