WebDialogBox on firefox Issue

3 replies. Last post: December 14, 2010 10:43 PM by Niven Prasetya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Frank BruceMember

when I use Js code to pop a WebDialogBox,it displays on ie8.0,but when On ff,it displays strange.(please See the picture below)
I can not choose any row by clicking left button except clicking right button.

HoW to solve the WebDialogBox issue on firefox ?
Anyone can help me?thank you

 function PopupCurGrid() {
             var dlgBoxAbout = ISGetObject("WebDialogBox1");  
             if ( event.keyCode == 13)
             {                 
                   dlgBoxAbout.ShowDialog();          
              }      

 }


<ISWebDesktop:WebDialogBox ID="WebDialogBox1" runat="server" Height="420px" Width="410px" DialogBoxImage="None"> <ContentTemplate> <asp:ScriptManager ID="ScriptManager1" runat="server" /> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <table width="375px"> <tr> <td width="45px"> 关键字 </td> <td> <ISWebInput:WebInput Width="100px" ID="WebInput1" runat="server"> </ISWebInput:WebInput> </td> <td> <ISWebDesktop:WebButton ID="WebButton2" runat="server" Height="20px" Text="查找" Width="50px" OnClicked="WebButton2_Clicked" AutoPostback="true" PostBackMode="FullPostBack"> </ISWebDesktop:WebButton> </td> </tr> <tr> <td colspan="3"> <ISWebGrid:WebGrid ID="WebGrid2" runat="server" Height="315px" UseDefaultStyle="True" Width="371px" DefaultStyleMode="Elegant" OnInitializeDataSource="WebGrid2_InitializeDataSource"> <LayoutSettings AlternatingColors="false" AllowContextMenu="False"> <ClientSideEvents OnCellDblClick="DbclickAutoFill()" /> <SelectedRowStyle BackColor="#FFBD69" /> </LayoutSettings> <RootTable DataKeyField="fullname"> <Columns> <ISWebGrid:WebGridColumn Caption="商品编号" DataMember="tradecode" Name="tradecode" Width="70px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="商品名称" DataMember="fullname" Name="fullname" Width="70px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="商品单位" DataMember="unit" Name="unit" Width="70px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="库存数量" DataMember="qty" DataType="System.Double" Name="qty" Width="70px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="单价/元" DataFormatString="##,###.00" DataMember="averageprice" DataType="System.Double" Name="averageprice" Width="70px"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> </ISWebGrid:WebGrid> </td> </tr> </table> </ContentTemplate> </asp:UpdatePanel> <asp:SqlDataSource ID="Sqltb_stock" runat="server" ConnectionString="<%$ ConnectionStrings:db_CMSConnectionString %>" SelectCommand="SELECT [tradecode], [fullname], [unit], [qty], [averageprice] FROM [tb_stock]"> </asp:SqlDataSource> </ContentTemplate> </ISWebDesktop:WebDialogBox>
2 attachments
All times are GMT -5. The time now is 1:47 PM.
Previous Next