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
Muhammad younas
NA
169
484.2k
postback problem on button click
Nov 5 2012 3:53 AM
i have a page in asp.net.
i m using a script to disable button on post back. i used script
this.DisableButtonOnPostBack(this.btnNext, "Wait...");
public void DisableButtonOnPostBack(Button button, string text)
{
button.Attributes["onclick"] =
string.Format(
"this.value = '{0}';this.disabled = true;{1};",
text,
button.Page.ClientScript.GetPostBackEventReference(button, null));
}
it works fin in goggle chroom but when i run this page on Firefox it dos'nt work. it post back page twice sometimes.
can anyone help me???????
Reply
Answers (
3
)
Adding textbox and combobox column to datagridview
how to add column in datatable through looping in asp.net with c#language with example and code?