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

 Get Param in Ajax Update Panel

Print topic Send  topic

Author Message
alfonso

Posts: 121
Posted: 04/09/2010, 2:38 AM

Hi guys!!

Iīve got a problem with ajax update panel, i need to take a parameterīs value and assign to a label.
Like this:

      
$fecha=CCGetParam("fecha"); 	  
$cal_show_calendario->fecha->SetText($fecha);  

When i press a date in the calendar, param fecha changes to the day i pressed. Itīs in an ajax update panel cause doesnīt appear in the top url bar. How can i get a param when i in an ajax update panel?

thanks
View profile  Send private message
alfonso

Posts: 121
Posted: 04/09/2010, 9:09 AM

I answer mysel, i put this code
	$fecha=CCGetParam("fecha"); 	  
if ($fecha) 	{      
 $cal_show_calendario->dia->SetText($fecha); 	  
} 	  
else 	  
{      
 $cal_show_calendario->dia->SetText("Hoy"); 	  
}

The problem is label ('fecha') colcoation. I have to put into comments of grid, not in no records comments and works it!
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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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