asynchronously dock containing radcombobox

4 posts, 0 answers
  1. Dennis
    Dennis avatar
    4 posts
    Member since:
    Mar 2011

    Posted 16 Mar 2011 Link to this post

    Hello,

    I have a page with a radcombobox in an asynchronous build raddock . This seems to work well, but if the page is ready there is no functionality to open the radcomboox, it seems that the javascript genareted for the control isn't there or does not work with the script manager in the page.

    I've used the example of http://www.telerik.com/community/forums/aspnet-ajax/docking/load-docks-asynchronously.aspx#812207 

    with the controls' RegisterWithScriptManager property set to "False" because the page itself has already a javascriptmanager.

    Is there a way to get this working?

    Thanks for your assistance,
    Dennis.

  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 17 Mar 2011 Link to this post

    Hello Dennis,

    You should try using our RadXmlHttpPanel control for this purpose, because it has he ability of evaluating the script files loaded by the RadControls. The skins and styles also get applied to the respective controls.
    Basically, there should be XmlHttpPanel control in each dock, and all the panels could be configured to use one and the same WebService or Method. The following article from our online documentation shows how to configure the XmlHttpPanel to work with WebService: http://www.telerik.com/help/aspnet-ajax/radxmlhttppanel-webservice-configuration.html. The RadXmlHttpPanel class has a static method called RenderView that can be used to load user controls. It works in a similar way as the code in the project from the forum thread.

    Kind regards,
    Pero
    the Telerik team
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dennis
    Dennis avatar
    4 posts
    Member since:
    Mar 2011

    Posted 18 Mar 2011 Link to this post

    Pero,

    Thanks for the solution, it's working fine now for the radcombobox!

    But i've got a second problem when adding standard button and checkbox controls to the usercontrol thats loading asynchronously.

    I get an error with the message that these controls has to be inside the form-element with a runat="server" property. 

    The issue is there is no form element in the page created by the RenderView method and there seems to be no controls like radbutton or radcheckbox to use a RegisterWithScriptManager property.

    Should I try to add the form element by own code and remove it later from the output, or do you have an easier solution?

    Thanks for your assistance,
    Dennis.

  5. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 22 Mar 2011 Link to this post

    Hi Dennis,

    Which version of our controls suite are you using? In Q3 2010 (version 2010.3 1109) we introduced a RadButton control in our suite. Please take a look at the online demos, to get a closer look of its features: http://demos.telerik.com/aspnet-ajax/button/examples/default/defaultcs.aspx.

    Best wishes,
    Pero
    the Telerik team
Back to Top