Rad window not open after Export

2 posts, 0 answers
  1. Anand
    Anand avatar
    2 posts
    Member since:
    Jul 2010

    Posted 06 Jul 2010 Link to this post

    Hi All,

    i have used RadMenu for open the Popup(Radpoup). i am using OnClientItemClicked event to open the RadWindow. This is working fine. Now i have added one Button called "Export to Excel" for exporting the data in Excel. This also woking fine. My issue is After the export, f i clicked the radmenu, the radwindow not working. but the event OnClientItemClicked fired correctly.

    <asp:UpdatePanel ID="testPanel" runat="server">  
    <contenttemplate> 
     
    <radM:RadMenu ID="mnuImport" Width="90%" runat="server" Skin="Default2006" OnClientItemClicked="ImportPopup" CausesValidation="false">  
     <DefaultGroupSettings Height="160" Width="70" />                                                                              <Items> 
        <radM:RadMenuItem Text="Red" Value="Red">  
            <Items> 
                <radM:RadMenuItem Text="Red" Value="Red"></radM:RadMenuItem> 
                <radM:RadMenuItem Text="Blue" Value="Blue"></radM:RadMenuItem> 
                <radM:RadMenuItem Text="Yellow" Value="Yellow"></radM:RadMenuItem> 
                <radM:RadMenuItem Text="Orange" Value="Orange"></radM:RadMenuItem> 
            </Items> 
        </radM:RadMenuItem>                                                                     
       </Items> 
    </radM:RadMenu> 
     
     
    <asp:Button ID="btnExport" runat="server" Text="Export to Excel" CssClass="searchbutton" CausesValidation="false"/>    
     
    </contenttemplate> 
    <triggers> 
        <asp:PostBackTrigger ControlID="btnExport" /> <!-- if i comment this line, the Popup is working fine. but the export is not working -->    
    </triggers> 
    </asp:UpdatePanel> 
     
    <div> 
      <radwindow:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista" Behavior="Close, Move" 
          Height="300px" Width="500px" Modal="true">  
          <Windows> 
               <radwindow:RadWindow ID="radImport" runat="server" Title="Import" ReloadOnShow="true"   
                      Height="300px" Width="500px"  VisibleTitlebar="true" Skin="Vista"/>                                               
               </Windows> 
      </radwindow:RadWindowManager> 
    </div> 
     
     
     
    function ImportPopup(sender, eventArgs)  
    {  
              
            var selectedImportType = eventArgs.Item.Value;          
            window.radopen("../DocMgt/ImportPopup.aspx?ImportType=" + selectedImportType, 'radImport');  
            return false;  

    this is working fine if we never click export button. once we clicked the export button the events are fired correctly, but the rad window is not opened.

    Let me know if any solutions.

    Thanks in Advance

    Anand
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 09 Jul 2010 Link to this post

    Hello Anand,

    I am not quite sure what is causing the problem on your side. I have prepared a test project but unfortunately I was not able to reproduce the reported issue. Could you please modify it (attached to this thread) in order to replicate the issue, open a new support ticket and send it back? I will check it and do my best to provide a working solution as soon as possible.

    Kind regards,
    Fiko
    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
Back to Top