Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to run client side validation function and then call server side non-static function to save datat in ASP.NET 2.0?

Posted on 2011-02-18
7
Medium Priority
?
432 Views
Last Modified: 2012-05-11
Hi,

I've an application written ASP.NET 2.0. On a form i have a Submit button. I want it as follows;
1- User Clicks on Submit Button
2- Runs a client side validation function (and returns false or true)
3- If validation function returns True then form data should be saved into the DB through a server side method
4- Right after executing server side method, there should be a popup window showing summary of data just saved into the DB.

I've tried PageMethods but it can only execute Static functions so i am unable to access my page controls in that WebMethod.

Please help me in this regard.

Thanks.
0
Comment
Question by:23-degrees
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 43

Expert Comment

by:Rob
ID: 34947094
Are you using AJAX at the moment?  If so with any libraries?
0
 

Author Comment

by:23-degrees
ID: 34953236
I'm using ASP.Net 2.0 AjaxControlToolkit. Also for certian client side stuff i use jQuery for example ThickBox.
0
 
LVL 43

Expert Comment

by:Rob
ID: 34955988
I would suggest using the Request Attention to put it in the ASP zone
0
 

Accepted Solution

by:
23-degrees earned 0 total points
ID: 35154385
I could not find any answer for this question.
0
 

Author Closing Comment

by:23-degrees
ID: 35178895
Not answered.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question