Javascript and server calls

R

Ric Pullen

Is it possible to have a button run client side script and then depending
if its valid allow the postback to continue otherwise it prompts the user.

I know this sounds like a validation issue but its not possible to do it
with the validation components.

I use infragistics webgrid and i want to test if there is an active row...
if so then I will allow a postback otherwise prompt the user to select one.

I have already assigned the javascript with the following code
btnEdit.Attributes.Add("onclick", "javascript:EditRowSelectedCheck()")

Cheers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top