Click here to Skip to main content
14,691,808 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,,

I am using a popup in my application where i have few textboxes and a submit button... I am validating those textboxes on codebehind through that button. but problem is that after button click popup gets close and does not remain there to show the label with operation status...

Can anybody guide????
DaveAuld 19-Jun-13 4:04am
And what code are you using to initiate the popup, and what code do you have in the button click handler?
VICK 19-Jun-13 4:09am
in button click handler i am checking first textbox value against a value from DB and if both gets matched than proceeding further or else showing error messasge in textbox....

and to initiate the popup I am using a jquery function.. which is shwoing a table.
saguptamca 19-Jun-13 4:14am
Provide code to help you

1 solution

Thanks alot to alll,,,

SOlved after googling myself...
Following is the piece of code to call the Jquery function in codebehind...

ClientScript.RegisterClientScriptBlock(this.GetType(), "blah", "YourJsFunction();", true);


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900