Query database from code behind when there is a validation

inwamnem

New Member
I used a validation field and expression at the script in the front, but this prevents me from calling the jQuery dialog from the code-behind. When i remove the validation code I am able to call jQuery dialog.I'm calling the jQuery dialog in the code-behind using register script like this (not working if the validation is not removed).\[code\]string jqueryFunction = @"My dialog codes";ClientScript.RegisterStartupScript(GetType(), "js", jqueryFunction, true);\[/code\]Can anyone solve this problem? I want to put the database data into the dialog from the code-behind when I click on a link. If not calling the form from behind, but from the front, how do I pass the query data into the form when the link is clicked?
 
Back
Top