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
Cenk Isik
NA
44
30.4k
I try to run javascript code in linkbutton attributes
Aug 6 2012 5:03 AM
I try to run javascript code in linkbutton attributes but it doesnt work i find link button on gridview from id and i give attributes like ;
LinkButton lbtn = (LinkButton)grdIcerikGoster.Rows[grdIcerikGoster.PageIndex].Cells[1].Controls[0].FindControl("lnkSil");
lbtn.Attributes.Add("onclick", "return confirm('Bu kaydi silmek istediginizden emin misiniz?')");
but it doesnt work please help me
Thanks a lot
Reply
Answers (
2
)
gridview clear selected
In this it throw error as invalid object sudha