In
asp.net application, there is not any inbuilt message box feature .what developers
do is display message to the Label. It’s not much get attention from the user because,
not focused like windows application message box.
In
java scripts alerts is one of the way display message, its ok but not much user
friendly.
jquery
(Java script library), that provides more facility to handle client side
effects and data manipulations (calling to web services).In this post I’m going
to demonstrate prompt message box using jquery UI library.cool feature is we
can process server side codes and then we can display message. Click button1
and save and display message box.
protected
void Button1_Click(object
sender, EventArgs e)
{
// do
what ever task in asp.net (Server side coding)
//save
data to database and dispay message
//
//
SiteMaster.NewMessageBox(" Data Saved", SiteMaster.ErrorType.Information, this);
}
here is project structure;
happy coding....
No comments:
Post a Comment