Want to build the ChatGPT based Apps? Start here
Become a member
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
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forum guidelines
Bineeshcp Viswanath
2.1k
140
32.4k
Button click event not firing in second click
Jan 29 2019 3:39 AM
Hello All,
I have a issue in my asp.net project.
In button click event, the first button click in doing task to update records and the same function not fire when I click the same button for the second time. I did tested with putting breakpoint in Page_Load event. Not trigger this event also.
<
asp:Button
ID
=
"btnUpdate"
type
=
"submit"
runat
=
"server"
Text
=
"Update"
OnClick
=
"btnUpdate_Click"
/>
protected
void
btnUpdate_Click(
object
sender, EventArgs e)
{
// This event not firing in second time button click
try
{
if
(tbxCustomerID.Text !=
""
&& ViewState[
"hasLoadedCustomerDetails"
] !=
null
)
{
UpdateLoanStatus();
}
}
catch
(Exception ex)
{
ex.Message.ToString();
}
}
There are other button which is firing in multiple time without round trip.
I need your help on why this happen..
Reply
Answers (
2
)
type casting in ivalueconverter from bool to string formet
How grid view is possible in MVC?