Solved

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

Posted on 2011-03-20
5
878 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
[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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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 synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

739 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