- Home
- Forum
- ASP.NET Web Forms (Classic)
- CallbackPanel in a ContentPlaceholder Ver. 5
CallbackPanel in a ContentPlaceholder Ver. 5
I have followed several posts and sources with no luck. I am simply trying to get the callback to fire on the callbackpanel. On a page that is linked to a master page, with the second contentplaceholder, I have tried to get that to work.
function OnUpdateClick(param)
{
__sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param)
}
Every time I click the button that triggers this function, I get the
__sfct100_ContentPlaceHolder2_CallbackPanel1 is undefined error.
I have the latest version. Version 5.
function OnUpdateClick(param)
{
__sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param)
}
Every time I click the button that triggers this function, I get the
__sfct100_ContentPlaceHolder2_CallbackPanel1 is undefined error.
I have the latest version. Version 5.
SIGN IN To post a reply.
9 Replies
JA
James
July 20, 2007 06:02 PM UTC
I found that ct100_ContentPlaceHolder2_CallbackPanel1.callback(param) does get to the object, but i get an error saying that the object does not support the property or method.
>I have followed several posts and sources with no luck. I am simply trying to get the callback to fire on the callbackpanel. On a page that is linked to a master page, with the second contentplaceholder, I have tried to get that to work.
function OnUpdateClick(param)
{
__sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param)
}
Every time I click the button that triggers this function, I get the
__sfct100_ContentPlaceHolder2_CallbackPanel1 is undefined error.
I have the latest version. Version 5.
>I have followed several posts and sources with no luck. I am simply trying to get the callback to fire on the callbackpanel. On a page that is linked to a master page, with the second contentplaceholder, I have tried to get that to work.
function OnUpdateClick(param)
{
__sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param)
}
Every time I click the button that triggers this function, I get the
__sfct100_ContentPlaceHolder2_CallbackPanel1 is undefined error.
I have the latest version. Version 5.
VA
Valli
Syncfusion Team
July 23, 2007 12:34 PM UTC
Hi James,
Thank you for choosing Syncfusion products.
Attached is the sample as per your requirement.
http://www.syncfusion.com/Support/user/uploads/Forum64453_607d1f25.zip
In the sample CallbackPanel is placed inside the ContentPlaceHolder of the MasterPlace,is referred by using its
'ClientObjectId'.
for eg: it is referred as
CallbackPanel1.callback(param);
instead referring it as __sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param).
Here the CallbackPanel1 is the ClientObjectId.
Please try running the sample and let us know if it helps you.
Regards,
Valli
Thank you for choosing Syncfusion products.
Attached is the sample as per your requirement.
http://www.syncfusion.com/Support/user/uploads/Forum64453_607d1f25.zip
In the sample CallbackPanel is placed inside the ContentPlaceHolder of the MasterPlace,is referred by using its
'ClientObjectId'.
for eg: it is referred as
CallbackPanel1.callback(param);
instead referring it as __sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param).
Here the CallbackPanel1 is the ClientObjectId.
Please try running the sample and let us know if it helps you.
Regards,
Valli
JA
James
July 23, 2007 12:52 PM UTC
Thanks for the reply. I have been able to finally get the object and the procedure to fire properly. At this time, I am having an issue with the grid refreshing. I have an external SQL source, dropdowncalendercontrol, button for to trigger the load, a callbackpanel with a gridgroupingcontrol that has a visible property of false. On btnLoad click, I reference the date and get the data from the sql source. Then I do a databind to a datatable in memory, and make the visible property to true. This is not working. The callbackpanel keeps the window.status = "Refreshing..." I put a breakpoint in the code and it seams to finish the CallbackRefresh procedure without changing the page.
I initially had the page just constantly doing postbacks and reloading the page. I thought I would try using a callbackpanel so that the page wouldn't be refreshing. Any help would be appreciated.
>Hi James,
Thank you for choosing Syncfusion products.
Attached is the sample as per your requirement.
http://www.syncfusion.com/Support/user/uploads/Forum64453_607d1f25.zip
In the sample CallbackPanel is placed inside the ContentPlaceHolder of the MasterPlace,is referred by using its
'ClientObjectId'.
for eg: it is referred as
CallbackPanel1.callback(param);
instead referring it as __sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param).
Here the CallbackPanel1 is the ClientObjectId.
Please try running the sample and let us know if it helps you.
Regards,
Valli
I initially had the page just constantly doing postbacks and reloading the page. I thought I would try using a callbackpanel so that the page wouldn't be refreshing. Any help would be appreciated.
>Hi James,
Thank you for choosing Syncfusion products.
Attached is the sample as per your requirement.
http://www.syncfusion.com/Support/user/uploads/Forum64453_607d1f25.zip
In the sample CallbackPanel is placed inside the ContentPlaceHolder of the MasterPlace,is referred by using its
'ClientObjectId'.
for eg: it is referred as
CallbackPanel1.callback(param);
instead referring it as __sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param).
Here the CallbackPanel1 is the ClientObjectId.
Please try running the sample and let us know if it helps you.
Regards,
Valli
JA
James
July 23, 2007 01:46 PM UTC
Ok. I have it now. I was still in the Windows form mindset. I had two lines of code trying to update the page title and update the window.status on callback. I guess they don't work. Once I commented them out, the grid started working. Now I have to get the scrollbars working. Plugging away....
>Thanks for the reply. I have been able to finally get the object and the procedure to fire properly. At this time, I am having an issue with the grid refreshing. I have an external SQL source, dropdowncalendercontrol, button for to trigger the load, a callbackpanel with a gridgroupingcontrol that has a visible property of false. On btnLoad click, I reference the date and get the data from the sql source. Then I do a databind to a datatable in memory, and make the visible property to true. This is not working. The callbackpanel keeps the window.status = "Refreshing..." I put a breakpoint in the code and it seams to finish the CallbackRefresh procedure without changing the page.
I initially had the page just constantly doing postbacks and reloading the page. I thought I would try using a callbackpanel so that the page wouldn't be refreshing. Any help would be appreciated.
>Hi James,
Thank you for choosing Syncfusion products.
Attached is the sample as per your requirement.
http://www.syncfusion.com/Support/user/uploads/Forum64453_607d1f25.zip
In the sample CallbackPanel is placed inside the ContentPlaceHolder of the MasterPlace,is referred by using its
'ClientObjectId'.
for eg: it is referred as
CallbackPanel1.callback(param);
instead referring it as __sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param).
Here the CallbackPanel1 is the ClientObjectId.
Please try running the sample and let us know if it helps you.
Regards,
Valli
>Thanks for the reply. I have been able to finally get the object and the procedure to fire properly. At this time, I am having an issue with the grid refreshing. I have an external SQL source, dropdowncalendercontrol, button for to trigger the load, a callbackpanel with a gridgroupingcontrol that has a visible property of false. On btnLoad click, I reference the date and get the data from the sql source. Then I do a databind to a datatable in memory, and make the visible property to true. This is not working. The callbackpanel keeps the window.status = "Refreshing..." I put a breakpoint in the code and it seams to finish the CallbackRefresh procedure without changing the page.
I initially had the page just constantly doing postbacks and reloading the page. I thought I would try using a callbackpanel so that the page wouldn't be refreshing. Any help would be appreciated.
>Hi James,
Thank you for choosing Syncfusion products.
Attached is the sample as per your requirement.
http://www.syncfusion.com/Support/user/uploads/Forum64453_607d1f25.zip
In the sample CallbackPanel is placed inside the ContentPlaceHolder of the MasterPlace,is referred by using its
'ClientObjectId'.
for eg: it is referred as
CallbackPanel1.callback(param);
instead referring it as __sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param).
Here the CallbackPanel1 is the ClientObjectId.
Please try running the sample and let us know if it helps you.
Regards,
Valli
JA
James
July 23, 2007 06:50 PM UTC
I have a related issue. Why am I unable to referenc the DropDownCalendarControl.Text or Value? What I am trying to do is change the window.status in Javascript. See the following.
It displays in the status area, but the value is "undefined".
>Ok. I have it now. I was still in the Windows form mindset. I had two lines of code trying to update the page title and update the window.status on callback. I guess they don't work. Once I commented them out, the grid started working. Now I have to get the scrollbars working. Plugging away....
>Thanks for the reply. I have been able to finally get the object and the procedure to fire properly. At this time, I am having an issue with the grid refreshing. I have an external SQL source, dropdowncalendercontrol, button for to trigger the load, a callbackpanel with a gridgroupingcontrol that has a visible property of false. On btnLoad click, I reference the date and get the data from the sql source. Then I do a databind to a datatable in memory, and make the visible property to true. This is not working. The callbackpanel keeps the window.status = "Refreshing..." I put a breakpoint in the code and it seams to finish the CallbackRefresh procedure without changing the page.
I initially had the page just constantly doing postbacks and reloading the page. I thought I would try using a callbackpanel so that the page wouldn't be refreshing. Any help would be appreciated.
>Hi James,
Thank you for choosing Syncfusion products.
Attached is the sample as per your requirement.
http://www.syncfusion.com/Support/user/uploads/Forum64453_607d1f25.zip
In the sample CallbackPanel is placed inside the ContentPlaceHolder of the MasterPlace,is referred by using its
'ClientObjectId'.
for eg: it is referred as
CallbackPanel1.callback(param);
instead referring it as __sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param).
Here the CallbackPanel1 is the ClientObjectId.
Please try running the sample and let us know if it helps you.
Regards,
Valli
It displays in the status area, but the value is "undefined".
>Ok. I have it now. I was still in the Windows form mindset. I had two lines of code trying to update the page title and update the window.status on callback. I guess they don't work. Once I commented them out, the grid started working. Now I have to get the scrollbars working. Plugging away....
>Thanks for the reply. I have been able to finally get the object and the procedure to fire properly. At this time, I am having an issue with the grid refreshing. I have an external SQL source, dropdowncalendercontrol, button for to trigger the load, a callbackpanel with a gridgroupingcontrol that has a visible property of false. On btnLoad click, I reference the date and get the data from the sql source. Then I do a databind to a datatable in memory, and make the visible property to true. This is not working. The callbackpanel keeps the window.status = "Refreshing..." I put a breakpoint in the code and it seams to finish the CallbackRefresh procedure without changing the page.
I initially had the page just constantly doing postbacks and reloading the page. I thought I would try using a callbackpanel so that the page wouldn't be refreshing. Any help would be appreciated.
>Hi James,
Thank you for choosing Syncfusion products.
Attached is the sample as per your requirement.
http://www.syncfusion.com/Support/user/uploads/Forum64453_607d1f25.zip
In the sample CallbackPanel is placed inside the ContentPlaceHolder of the MasterPlace,is referred by using its
'ClientObjectId'.
for eg: it is referred as
CallbackPanel1.callback(param);
instead referring it as __sfct100_ContentPlaceHolder2_CallbackPanel1.callback(param).
Here the CallbackPanel1 is the ClientObjectId.
Please try running the sample and let us know if it helps you.
Regards,
Valli
VA
Valli
Syncfusion Team
August 1, 2007 01:00 PM UTC
Hi James,
Could you please refer the below forum thread,
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=64993
to change the window status.
Thank you for your patience.
Regards,
Valli
Could you please refer the below forum thread,
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=64993
to change the window status.
Thank you for your patience.
Regards,
Valli
JA
James
August 2, 2007 06:54 PM UTC
The sample page didn't do anything except change the date in the calendercontrol.
>Hi James,
Could you please refer the below forum thread,
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=64993
to change the window status.
Thank you for your patience.
Regards,
Valli
>Hi James,
Could you please refer the below forum thread,
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=64993
to change the window status.
Thank you for your patience.
Regards,
Valli
VA
Valli
Syncfusion Team
August 3, 2007 09:41 AM UTC
Hi James,
I am able to reproduce the problem specified by you.
When you open the link,
http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm
directly in our browser[IE7] you couldn't get the status text displayed at the bottom. Whereas the status text gets displayed correctly in IE6.
Could you please do the following
1. Download the folder Callback.zip in the link .
http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm
2. Unzip and run the application in your local machine and please let us know if you are able to view the status bar text in both IE6 and IE7 browsers.
Thank you for your patience.
Regards,
Valli
I am able to reproduce the problem specified by you.
When you open the link,
http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm
directly in our browser[IE7] you couldn't get the status text displayed at the bottom. Whereas the status text gets displayed correctly in IE6.
Could you please do the following
1. Download the folder Callback.zip in the link .
http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm
2. Unzip and run the application in your local machine and please let us know if you are able to view the status bar text in both IE6 and IE7 browsers.
Thank you for your patience.
Regards,
Valli
JA
James
August 3, 2007 12:52 PM UTC
This didn't accomplish it. The message last under a second and isn't seen. My workaround, written earlier is the closest. I need the "Refreshing..." message changed during callback, Not after callback, as shown in my workaround.
>Hi James,
I am able to reproduce the problem specified by you.
When you open the link,
http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm
directly in our browser[IE7] you couldn't get the status text displayed at the bottom. Whereas the status text gets displayed correctly in IE6.
Could you please do the following
1. Download the folder Callback.zip in the link .
http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm
2. Unzip and run the application in your local machine and please let us know if you are able to view the status bar text in both IE6 and IE7 browsers.
Thank you for your patience.
Regards,
Valli
>Hi James,
I am able to reproduce the problem specified by you.
When you open the link,
http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm
directly in our browser[IE7] you couldn't get the status text displayed at the bottom. Whereas the status text gets displayed correctly in IE6.
Could you please do the following
1. Download the folder Callback.zip in the link .
http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm
2. Unzip and run the application in your local machine and please let us know if you are able to view the status bar text in both IE6 and IE7 browsers.
Thank you for your patience.
Regards,
Valli
SIGN IN To post a reply.
- 9 Replies
- 2 Participants
-
JA James
- Jul 20, 2007 05:05 PM UTC
- Aug 3, 2007 12:52 PM UTC