RadMenu with RadMultiPage integration

2 posts, 1 answers
  1. Answer
    Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 22 Jan 2008 Link to this post

    Requirements

    RadControls version

    RadMenu 4.x
    RadMenu AJAX (Prometheus)

    .NET version

    2.0

    Visual Studio version

    2005

    programming language

    C#

    browser support

    all browsers supported by RadMenu


    PROJECT DESCRIPTION

    This project shows how to integrate RadMenu with RadMultiPage.
  2. T.J.
    T.J. avatar
    11 posts
    Member since:
    Apr 2013

    Posted 20 Jan 2014 Link to this post

    In the source code provided for Default.aspx, I'm not sure if the JavaScript showPageView function was meant to be a placeholder, but this won't work if executed.

    It should be as follows (bolded code has been added/modified):
    <script type="text/javascript">
    function showPageView(sender, eventArgs)
    {
        var mp = $find(<%= RadMultiPage1.ClientID%>);
        if(eventArgs.get_item().get_value() != null)
        {
            mp.findPageViewByID(eventArgs.get_item().get_value()).select();
        }
    }
    </script>
Back to Top