radopen not working in radmenu

3 posts, 0 answers
  1. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 28 Jul 2010 Link to this post


    I want to open a radwindow through radmenu. But its not working.

    <telerik:RadAjaxManager runat="server">
    <telerik:RadWindowManager runat="server">
    <telerik:RadWindow ID="RadWindowEmailClient" runat="server" ShowContentDuringLoad="false"
    Behaviors="Close" AutoSize="true" VisibleStatusbar="false" Title="Create New Customer Party"
    Animation="Slide" Skin="Vista">

    <telerik:RadMenu ID="RadMenuIndex" runat="server" Style="padding-top: 20px; padding-bottom: 30px;"
    EnableRoundedCorners="true" EnableShadows="true" Skin="Web20" OnClientItemClicked="openRadWin">

    javascript function is as follows:
    <script type="text/javascript">
    function openRadWin(sender, eventArgs) {
    //var selectedImportType = eventArgs.item.value();
    window.radopen("Search.aspx", 'RadWindowEmailClient');
    return false;

    Also the errormessage is attached in the image. Can you please let me know why this error is comming in ?
  2. Yana
    Yana avatar
    5030 posts

    Posted 29 Jul 2010 Link to this post

    Hi prayag,

    I've tested the provided code and it worked as expected. The only error I see is in the commented line, it should be like this:

    var selectedImportType = eventArgs.get_item().get_value();

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. prayag ganoje
    prayag ganoje avatar
    127 posts
    Member since:
    Feb 2010

    Posted 30 Jul 2010 Link to this post

    Thanks Its working now. Actusly I had added AjaxToolKit also in workspace.

    When I removed it started working properly.

Back to Top