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. Image for the cookie policy date

ClientObjectId depricated

Good Morning. We use several Syncfusion Window web controls in a number of pages. We open/close them via JavaScript by calling the [ClientObjectId].Open() and ClientObjectId].Close() methods respectively. Visual Studio 2008 reports to me the following on build:

'Syncfusion.Web.UI.WebControls.CallbackWebControl.ClientObjectId' is obsolete: 'Syncfusion Callback control and its features have been deprecated. Please use the ASP.NET AJAX UpdatePanel instead.'

All the examples and code samples describe opening and closing the Window by the ClientObjectId. Do you have any suggestions on how to open and close the Window by another means?

Thanks so much for your help.


1 Reply

RP Rekha P Syncfusion Team September 29, 2008 05:49 AM UTC

Hi Todd,

Good Morning and thank you for your interest in Syncfusion Products.

The Window can be opened and closed by specifying different ClientObjectId name other than ID of Window control like,
http://www.google.com/" ClientObjectId="windowclientobj" >


Or this can be achieved by specifying onclick="_sfWindow1.Open();" / onclick="_sfWindow1.Close();" in button onclick and then no need to add ClientObjectId in Window tag.

Also please refer the below link for online sample,
http://websamples.syncfusion.com/samples/Tools.Web/6.3.1.8/F76865-Window/main.htm'>http://websamples.syncfusion.com/samples/Tools.Web/6.3.1.8/F76865-Window/main.htm">http://websamples.syncfusion.com/samples/Tools.Web/6.3.1.8/F76865-Window/main.htm

If you are using Callbackpanel control in your application and regarding Callbackpanel deprecation:
The CallbackPanel and the CallbackMultiplexer is to be deprecated in the future releases. You can use these controls by registering it in the aspx page with tag prefixes or you can use the UpdatePanel class instead, which enables the sections of the page to be partially rendered without a postback. Please refer the below link to get more details on this issue,

http://www2.syncfusion.com/ug_62/toolsweb/SyncfusionAJAXFramework.html'>http://www2.syncfusion.com/ug_62/toolsweb/SyncfusionAJAXFramework.html">http://www2.syncfusion.com/ug_62/toolsweb/SyncfusionAJAXFramework.html

But we will provide support for this control in future and fixes also would be available. But feature enhancements would not be available.

Please let me know the above sample helps you.

Thanks,
Rekha



Loader.
Live Chat Icon For mobile
Up arrow icon