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
anjumathi kumar
NA
54
64k
How to call click in image
Aug 3 2011 5:54 AM
Hi this is my code but if i clicked image the get function not called not fire ..why?
its dynamic creating button
public void addimage()
{
for loop
{
ImageButton
btn1 =
new
ImageButton
();
btn1.ID = "
btn1"
+ i;
btn1.Click +=
btn1.ImageUrl =
new
ImageClickEventHandler
(get);
"images/edit.jpg"
;
}
}
public
void
get(
object
sender,
EventArgs
e){
mopopupeditrule.Show();//this my ajax control modalpopup
}
but if i click the image button the
modalpopupwant to show..but it
does not work kile i given above
Reply
Answers (
1
)
How to add onclick function to the dynamic Button
Deploying asp.net 2010 ReportViewer problem in Win Server 2003 on IIS 6