We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

callback in usercontrol with version 5

Thread ID:

Created:

Updated:

Platform:

Replies:

63416 Jul 3,2007 11:10 PM UTC Jul 5,2007 09:02 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
Linda
Asked On July 3, 2007 11:10 PM UTC

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

Valli [Syncfusion]
Replied On 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

Linda
Replied On 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 <
........

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


Valli [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;