Solved

Resubmit form to refresh grid results

Posted on 2012-03-22
3
641 Views
Last Modified: 2012-03-26
Is it possible to resubmit a form to refresh grid results?

The scenario is involves three panels.  One panel is the form.  The second is a grid based on the search request.  The third is a grid based on the same search results plus a specific check box being checked.

Instead of having to go back and resubmitting the form it would be nice to have a button that would resubmit the forms entries from the second or third panel and toggle to the others grids results.  The check box would have to change from checked or unchecked and all other control values would remain the same.
0
Comment
Question by:ws11
[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
  • 2
3 Comments
 
LVL 9

Expert Comment

by:gery128
ID: 37753109
What you are using for Ajax requests? ASP.NET Ajax Update Panel or jQuery's ajax() method ?
Your requirement can be achieved easily through update panel but they are very heavy and jQuery is lightweight but you would be using lots of client side code to play-with.

Can we have more explained requirement ?
0
 

Author Comment

by:ws11
ID: 37757421
It might be better to generate both at the same time and hide one with a toggle or tab interface.  But you are hitting on the main concern the size.  So there are two different grids that show slightly different results.  So tell me more about the jquery method or what is the best source for full examples.  The jquery site seems to show things in smaller bits so it takes a lot of time to find the whole picture.  Also you say lots of client code does that mean it is very hard to do or maintain and even worse easy to create a mess?
0
 
LVL 9

Accepted Solution

by:
gery128 earned 500 total points
ID: 37764649
You can start with jQuery and ASP.NET tutorials online. This links might help you:

https://forums.asp.net/p/1778744/4875976.aspx/1?Re+How+to+bind+gridview+using+Jquery+or+JSON+in+asp+net+C+using+Generic+Handler

http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/

http://stackoverflow.com/questions/6688294/asp-net-webforms-ajax-update-gridview



If your 2nd & 3rd panel has the same grid data then you can make database ajax call once and bind both grid with results.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
This article discusses how to implement server side field validation and display customized error messages to the client.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

696 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