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
Amol
NA
208
193.3k
Problem update panel event fires twice
Nov 11 2011 12:27 AM
here update panel event fires twice as i clicked on button
and record inserted twice why it is happening donno
please help
Collapse
|
Copy Code
<
asp:UpdatePanel
ID
="upanelfolder"
runat
="server"
UpdateMode
="Conditional">
<
ContentTemplate
>
<asp:Label ID="Label1" runat="server" Text= <%=prod_name %>
Collapse
|
Copy Code
</
ContentTemplate
>
<
Triggers
>
<
asp:AsyncPostBackTrigger
ControlID
="btn"
EventName
="Click"
/>
</
Triggers
>
</
asp:UpdatePanel
>
<asp:Button ID="btn" runat="server" OnClick="btn_Click" Text="Add" />
code behind
Collapse
|
Copy Code
Protected
Sub
btn_Click(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
btn.Click //insert query
End
Sub
Reply
Answers (
2
)
JSON question
ReadyState