- Home
- Forum
- ASP.NET Web Forms (Classic)
- callback in usercontrol with version 5
callback in usercontrol with version 5
Hello,
I have a usercontrol that has a callback panel. I'm not able to get this to work in IE and in firefox it's working but putting the result somewhere else on my page. I looked at your example http://www.syncfusion.com/support/forums/message.aspx?MessageID=50561
but this is for an earlier version. I'm using 5.102.0.37
Here's a snippet of my code:
uc1.ascx
function getServerDateTime()
{
callbackLastDate.callback();
}
uc1.ascx.cs
protected void CallbackLastDate_CallbackRefresh(object sender, Syncfusion.Web.UI.WebControls.Tools.CancellableCallbackEventArgs e)
{
//business logic to get date from database
lblLastUpdate.Text = value from database
}
Thank you
I have a usercontrol that has a callback panel. I'm not able to get this to work in IE and in firefox it's working but putting the result somewhere else on my page. I looked at your example http://www.syncfusion.com/support/forums/message.aspx?MessageID=50561
but this is for an earlier version. I'm using 5.102.0.37
Here's a snippet of my code:
uc1.ascx
function getServerDateTime()
{
callbackLastDate.callback();
}
uc1.ascx.cs
protected void CallbackLastDate_CallbackRefresh(object sender, Syncfusion.Web.UI.WebControls.Tools.CancellableCallbackEventArgs e)
{
//business logic to get date from database
lblLastUpdate.Text = value from database
}
Thank you
SIGN IN To post a reply.
3 Replies
VA
Valli
Syncfusion Team
July 4, 2007 09:21 AM UTC
Hi Linda,
Thank you for choosing Syncfusion products.
Attached is a sample in which the Callback panel is placed in a usercontrol. The sample works fine in IE and Firefox browser.
http://www.syncfusion.com/Support/user/uploads/Callback_a13515bc.zip
Please try running the sample and let us know if this helps you.
Regards,
Valli
Thank you for choosing Syncfusion products.
Attached is a sample in which the Callback panel is placed in a usercontrol. The sample works fine in IE and Firefox browser.
http://www.syncfusion.com/Support/user/uploads/Callback_a13515bc.zip
Please try running the sample and let us know if this helps you.
Regards,
Valli
LI
Linda
July 4, 2007 09:07 PM UTC
Hi Valli,
I ran your example and I got an unknown runtime error.The debugger pointed to this line:
sfObjectOuterDiv.innerHTML = newInnerHtml;
I figured out what is causing this. I had the callback between two tags. When I wrapped the callback tag around tags, it worked fine. I guess it has to be formatted like <
I ran your example and I got an unknown runtime error.The debugger pointed to this line:
sfObjectOuterDiv.innerHTML = newInnerHtml;
I figured out what is causing this. I had the callback between two
This also took care of it putting the problem in firefox where it was putting the result somewhere else on my page. Is this a bug or is it necessary to always wrap around table tags?
Thanks so much for you quick response.
>Hi Linda,
Thank you for choosing Syncfusion products.
Attached is a sample in which the Callback panel is placed in a usercontrol. The sample works fine in IE and Firefox browser.
http://www.syncfusion.com/Support/user/uploads/Callback_a13515bc.zip
Please try running the sample and let us know if this helps you.
Regards,
Valli
VA
Valli
Syncfusion Team
July 5, 2007 09:02 AM UTC
Hi Linda,
Could you please open a new Direct – Trac incident with subject line as ' Forum 63416 - callback in usercontrol with version 5 '?
So that it would be possible for us to provide more details regarding this issue.
Regards,
Valli
Could you please open a new Direct – Trac incident with subject line as ' Forum 63416 - callback in usercontrol with version 5 '?
So that it would be possible for us to provide more details regarding this issue.
Regards,
Valli
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
LI Linda
- Jul 3, 2007 11:10 PM UTC
- Jul 5, 2007 09:02 AM UTC
7/20/2026 03:32:55 PM
Sun, 15 December 2024 03:30:00 UTC
Sun, 15 December 2024 03:30:00 AM
Wed, 16 Feb 2022 04:59:00 UTC