TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
avani raval
NA
24
0
Repeater and CheckBox problem
Dec 21 2009 2:17 AM
Hi friends, I am using a repeater control to bind and list my data from database. I repeater control there will be a checkbox in header temple and a lable. I item template there is checkbox and textbox. Now when ever the header checkbox checked i would like to checked/unchecked all the template items' checkbox. For that i used javascript and add event "onclick" in page load for headercheck box. But now i am not able to get repeater control in my javascript. Here is the code : function WriteToFile() { var ck = document.getElementById('<%=dtrpt.ClientID%>'); var repeater1 = document.getElementById("dtrpt"); alert(ck); alert(repeater1); } IT alert me null. Now what should i do to get repeater in javascsript. And how to checked/unchecked all item checkboxs ? Thanks in advance.
Reply
Answers (
1
)
Asp .net security
Invalid postback or callback argument