So was looking at something like twitter uses for notficaiton of events (Tweet sent , something updated , something wrong etc. etc.) Came across jnotify. anyway here is the code ..
page.cs - Pretend we are using a web service to log the user in
protected void Button1_Click(object sender, EventArgs e)
{
com.webservice.user ulup = new com.webservice.user();
int username = ulup.Checkuser_mobile(mobile.Text);
if (username != 0) //If the login failed you could send back something other than 0 thats just what i am doing .
{
Panel2.Enabled = true; //This panel is hidden in the .aspx onload
}
0 comments:
Post a Comment