Muiltipage client load user control

4 posts, 0 answers
  1. xie yufei
    xie yufei avatar
    14 posts
    Member since:
    Sep 2009

    Posted 09 Jun 2010 Link to this post

    I create tabstrip and multipage with to trigger the pageview created event on server side or load the user control on client side?
     function openLink(linkName, linkValue) {  
                var tabStrip = $find("<%= RadTabStrip1.ClientID %>");  
                var multiPage = $find("<%= RadMultiPage1.ClientID %>");  
                var tab = new Telerik.Web.UI.RadTab();  
                AttachCloseImage(tab, "../Images/close.gif");  
                var page = new Telerik.Web.UI.RadPageView();  
  2. Sachin
    Sachin avatar
    3 posts
    Member since:
    Mar 2011

    Posted 12 Oct 2011 Link to this post

    is there any solution to the mentioned problem?
  3. Dimitar Terziev
    Dimitar Terziev avatar
    1268 posts

    Posted 16 Oct 2011 Link to this post

    Hi Sachin,

    When the pageviews are created client-side you couldn't force the server-side PageViewCreated to be fired at the time of their creation. In case you use the trackChanges and commitChanges methods to persist these newly create pageview on the server, the PageViewCreated will be fired when you make a post-back.

    Loading User Controls on the client is not supported by the .NET framework itself. This is due to the fact that the user control is a server control by nature and it should be initialized on the server.

    Best wishes,
    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  4. Sachin
    Sachin avatar
    3 posts
    Member since:
    Mar 2011

    Posted 17 Oct 2011 Link to this post

    Thanks! Dimitar
Back to Top