• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 942
  • Last Modified:

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

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
Brett Olson
Asked:
Brett Olson
  • 3
  • 2
1 Solution
 
Jens FiedererTest Developer/ValidatorCommented:
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
 
Brett OlsonSoftware EngineerAuthor Commented:
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
 
Jens FiedererTest Developer/ValidatorCommented:
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
 
Brett OlsonSoftware EngineerAuthor Commented:
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
 
Brett OlsonSoftware EngineerAuthor Commented:
This was very helpful.  Thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now