CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Tabbed Tab & Include Page & Update Panel

Print topic Send  topic

Author Message
gproulx


Posts: 68
Posted: 08/24/2009, 1:23 PM

Hi,

I have a problem and i wanted to know if what i want to do is possible, if someone did something like this...

I have a page who contain a TabbedView with TabbedTab.
Each TabbedTab contain an Include Page.
In one of my Include Page i have a droplist of city names. I want to add the possibility to add a city name to that list but staying on this page. I add a link below the droplist of city names that open a popup window containing a record form to insert cities in my db. All that is working.

What i wanted to do is when a new city is added, then close the popup window and update the droplist of cities. I try with Ajax (Modal window example) and i have problems on how to configure all that! It is logical to put my droplist into an update panel? Then, what to do next??? Did the update panel works into an include page?

I hope someone can give me Any solutions or other methods to make this work,
Thanks a lot!
I'm working with ccs 4.2.00.040 with mysql db.
View profile  Send private message
Waspman

Posts: 948
Posted: 08/26/2009, 2:04 AM

I do this...

Tabbed tab has an update panel. There is a listbox with all my customers and text box for new customer input (there's a few other fields too) neither of the 2 main components are connected to the db. A speperate field(s) is connected to the db and on insert an if statement decides whether to use the existing company data or add the new one using custom SQL.

Another thing I do is put the add new customer form into a panel which is hidden using a session variable created on submit.

On submission the list is refreshed with the new name included.

Hop this helps;-)
_________________
http://www.waspmedia.co.uk
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.