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

Rad window not open in RadMenu.OnClientItemClicked Event

0 Answers 98 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Anand
Top achievements
Rank 1
Anand asked on 08 Jul 2010, 06:05 AM

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

No answers yet. Maybe you can help?

Tags
Menu
Asked by
Anand
Top achievements
Rank 1
Share this question
or