Solved

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

Posted on 2011-03-20
5
852 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now