Solved

Post back multiple Infragistics Ultrawebgrid on click of an ASP Button control

Posted on 2011-03-20
5
864 Views
Last Modified: 2013-11-15
I have a challenging situation here.  I need to post back multiple Infragistics webgrids on click of an ASP button control.  Currently I post back using a button located on each grid.  I'm looking to do "Save All" approach so I need to post back these grids based on the action of a button external to the grids.  I'm looking for suggestions on the best way to do this.  Thanks!
0
Comment
Question by:pwherman
  • 3
  • 2
5 Comments
 
LVL 23

Expert Comment

by:Jens Fiederer
ID: 35191545
If everything is coded correctly, this should be no big deal - just create a button in your form, and in the handler you can inspect parts of the grids.

However, you won't be getting back the datasets, etc., just the contents of the cells - so you will want to make sure those are structured in a meaningful way.

Also be careful you don't overwrite the contents on the load event.
0
 

Author Comment

by:pwherman
ID: 35191642
Actually one thing that complicates the situation a bit is that each grid is contained in it's own UpdatePanel.  Since I am changing the way saves occur for all grids I could probably remove those.  But, if not, can I post those UpdatePanels/Grids back individually?
0
 
LVL 23

Accepted Solution

by:
Jens Fiederer earned 500 total points
ID: 35191695
I believe you could use your button (even outside the panels) as a "trigger" for both of the panels.

Here is the case of using a control outside ONE update panel to update it, should be extensible to two:

http://codegod.org/WebAppCodeGod/UpdatePanel-and-Triggers-with-aeSP-NET-aeJaeX-AID282.aspx
0
 

Author Comment

by:pwherman
ID: 35288265
I'm sorry I have not tried this out yet.  Always pulled in different directions!  But I'm back on this now and will see how it goes.  I appreciate your advice!
0
 

Author Closing Comment

by:pwherman
ID: 35395870
This was very helpful.  Thank you!
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

840 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