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
Nilesh Patil
NA
3k
115.8k
UpdatePanel Not works fine
Oct 30 2017 1:58 AM
Hi,
When I use Button inside Update panel it doesnot fire click event but outside the update panel it works.
here is the code
<
asp:UpdatePanel
ID
=
"updatePanel1"
runat
=
"server"
UpdateMode
=
"Conditional"
ChildrenAsTriggers
=
"true"
>
<
ContentTemplate
>
<
asp:Button
ID
=
"LinkButton1"
runat
=
"server"
class
=
"btn btn-primary"
Style
=
"color: #fff; background-color: #337ab7; border-color: #2e6da4; display: inline-block; padding: 6px 8px; margin-bottom: 0; border: 1px solid transparent; border-radius: 4px;"
OnClick
=
"LinkButton1_Click"
Text
=
'<%#Eval("Row#") %>'
/>
</
ContentTemplate
>
<
Triggers
>
<
asp:AsyncPostBackTrigger
ControlID
=
"LinkButton1"
EventName
=
"Click"
/>
</
Triggers
>
</
asp:UpdatePanel
>
Reply
Answers (
5
)
What topics do I need to cover in C# ASP.NET to become a pro
Can't run ASP.NET MVC Project on Visual Studio 2015