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
|
 |
 |
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!
|
 |
 |
|