CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Ajax updates

Print topic Send  topic

Author Message
velsto

Posts: 13
Posted: 02/27/2008, 12:13 PM

Hi
Does anyone know the difference between the UpdatePanel and the UpdateDB options in V4?

Thanks
View profile  Send private message
wkempees


Posts: 1679
Posted: 02/28/2008, 3:14 AM

The update panel is intended to cater for (replace) the refresh that happenes after a 'submit'.
For instance a search + Result grid.
Normaly entering search parm, hitting 'Search'would cause a full page refresh an show the updated grid.
With an update panel this happens without the refresh.

The UpdateDB is more targeted at a form, updating it's data after a submit.
After a Submit (I/U/D) the page would be 'send' the database handling will happen and the form will return and show updated data. The UpdateDB will instead act as a service and do the DBhandling async remote, specially interesting IMO when getting data.
Walter
(Open Invite 4 better explanation)
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
velsto

Posts: 13
Posted: 02/28/2008, 12:02 PM

Thanks, I really appreciate the reply. If I then use the update panel, can how do I use information from the one panel to refresh another one. For example if I have a grid in one UpdatePanel and a record form in another panel. If I click on a link in the grid, I want the record form to refresh, showing the record details of the item I clicked in the grid.

How would I send the uinque id from the grid link to the records for\m?

THank you
View profile  Send private message
wkempees


Posts: 1679
Posted: 02/28/2008, 1:53 PM

Don't be afraid of the Ajax stuff.
What you describe I would do:
Build Search Grid Form (through Builder) just as always, set Search Grid Form all in one page.
Test it, and see everything works just as you describe above.

Then you start adding the panels as you wish to use, after reading the Docs/Helpfile Ajax chapter.
Describing that you can add a Update Panel afterwards, add it in straight HTML
OR in Design place the UpdatePanel and drag and drop the Search and Grid onto it.


Walter

_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.