Solved

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

Posted on 2011-03-20
5
844 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
This was very helpful.  Thank you!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

771 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

11 Experts available now in Live!

Get 1:1 Help Now