RadMultiPage is not loaded

2 posts, 0 answers
  1. dick
    dick avatar
    11 posts
    Member since:
    Jun 2010

    Posted 30 Jun 2010 Link to this post

       
    head:
    <script>
        function onloadClient()
        {
               var tabstrip = $find("<%= RadTabStrip1.ClientID %>");
              var multiPage = $find("<%=RadMultiPage1.ClientID %>");
        }
    </script>


    body:
    <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1" skin="Outlook" CssClass="NoBg" OnClientLoad = "onloadClient">
            </telerik:RadTabStrip> 

    <telerik:RadMultiPage id="RadMultiPage1" runat="server" SelectedIndex="0" Width="400" >
            </telerik:RadMultiPage> 
        



    How come tabstrip has value while multiPage has not?

    is there OnClientLoad for both radtabstrip and radmultipage??
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Jun 2010 Link to this post

    Hello,

    You can use pageLoad method instead which fires only after all the controls rendered on page.

    client code:
     
        function pageLoad() { 
            var tabstrip = $find("<%= RadTabStrip1.ClientID %>"); 
            var multiPage = $find("<%=RadMultiPage1.ClientID %>"); 
        } 


    -Shinu.
Back to Top