I could not get issue http://www.devexpress.com/Support/Center/p/Q328004.aspx to work with the processed answer or get the attached dxSample.zip Version 10.2.8 project to covert to Version 11.2.5 successfully.
I tried the following links to no avail:
http://documentation.devexpress.com/#GeneralInformation/CustomDocument2221
http://documentation.devexpress.com/#XafFaq/CustomDocument3093
Please consider forwarding, a sample Version 11.2.5 project that addresses issue http://www.devexpress.com/Support/Center/p/Q328004.aspx or converting the attached dxSample.zip Version 10.2.8 project to Version 11.2.5 successfully.
Thank you in advance,
Dario
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi Dario,
Thank you for contacting us. We are working on your issue and will get back to you as soon as we can. Please bear with us.
See Also:
eXpressApp Framework 11.2 ASP.NET Application Migration Guidelines
Thanks,
Dennis
Hello Dario,
We have updated your project as suggested in the Upgrade Notes topic and the mentioned errors were fixed. We have also found that the approach with the ProcessActionContainerHolderController.OnActionContainerHolderPrerender method and the ClientSideClickHandler property no longer work in the demonstrated case. Now, to achieve the same result, you need to use the XafCallbackManager.ScriptCreated event. Please see the updated project in the attachment.
Thanks,
Anatol
I was able to get it to work on C# but not VB.
I get the following error in VB:
Error 1 'Public Event ScriptCreated(sender As Object, e As DevExpress.ExpressApp.Web.Templates.ScriptCreatedEventArgs)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. C:\Devexpress\Support\MainDemo\VB\MainDemo.Module\Controllers\ViewController1.vb 40 17 MainDemo.Module
Please reply with the correct VB code for the following line:
DirectCast(WebWindow.CurrentRequestPage, ICallbackManagerHolder).CallbackManager.ScriptCreated += New EventHandler(Of ScriptCreatedEventArgs)(AddressOf CallbackManager_ScriptCreated)
I have attached VB.zip for your review.
Thank you in advance,
Dario
Hello Dario,
You need to use the following code to subscribe to the ScriptCreated event:
AddHandler DirectCast(WebWindow.CurrentRequestPage, ICallbackManagerHolder).CallbackManager.ScriptCreated, AddressOf CallbackManager_ScriptCreated
Please let me know if you need any further help.
Thanks,
Anatol
Hello Anatol,
You rock!!! :-)
Thanks,
Dario
Neither the approach with the ProcessActionContainerHolderController.OnActionContainerHolderPrerender method and the ClientSideClickHandler property or the XafCallbackManager.ScriptCreated event works on version v2011 vol 1.
Please refer to previous attached VB.zip and suggest a method that will work for version v2011 vol 1.
Thank you,
Dario
Hello Dario,
Please accept my apologies for the delayed response. Please refer to the ProcessActionContainerHolderController Examples? Support Center issue to learn how to use ProcessActionContainerHolderController in version 11.1.
Thanks,
Anatol
Anatol,
You are the MAN!!! :-)
Thank you,
Dario