This is a migrated thread and some comments may be shown as answers.

RadMultiPage is not loaded

1 Answer 32 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
dick
Top achievements
Rank 1
dick asked on 30 Jun 2010, 07:42 AM
   
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??

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Jun 2010, 09:10 AM
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.
Tags
TabStrip
Asked by
dick
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or