Firefox3.5 with Webgrid6.0

11 replies. Last post: August 25, 2009 7:24 AM by Xedem
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Xedem Member

Hi

    First off all @Webgrid Team, The selectFiles option in the upload box in this forum is not working in Firefox. Now Please check the attached screenshots for the display of Webgrid in IE7 and FF3.5 browsers.   The file Extraspace is the screenshot given by the webgrid team for webgrid in ff. That screenshot was based on my sample. The attached screenshots(first two) are the ones am getting. The below are my design code.Please check that.

<head id="Head1" runat="server">
    <title>Test Page</title>

    <script type="text/javascript">
    window.onload=function()
    {
            var grid = ISGetObject("WG1");
            grid.HideFilterBar();
            grid.RootTable.GetFilterRow().nextSibling.style.display = "none";
    }
    </script>

</head>
<body style="overflow: hidden;">
    <form id="form1" runat="server">
        <div style="overflow:hidden;width:100%;height:300px">
            <ISWebGrid:WebGrid ID="WG1" runat="server" Height="100%"
                Width="100%" DefaultStyleMode="elegant" UseDefaultStyle="true">
                <RootTable>
                    <Columns>
                        <ISWebGrid:WebGridColumn Caption="Patient Id" DataMember="CLIENT_NO" Name="Patient No"
                            Width="84px">
                        </ISWebGrid:WebGridColumn>
                        <ISWebGrid:WebGridColumn Caption="Search Code" DataMember="SEARCHCODE" Name="Search Code"
                            Width="91px">
                        </ISWebGrid:WebGridColumn>
                        <ISWebGrid:WebGridColumn Caption="Name" DataMember="NAME" Name="Name" Width="210px">
                        </ISWebGrid:WebGridColumn>
                        <ISWebGrid:WebGridColumn IsAutoWidth="true" Caption="Street" DataMember="STREET" Name="Street" Width="100%">
                        </ISWebGrid:WebGridColumn>
                    </Columns>
                </RootTable>
                <LayoutSettings>
                    <ClientSideEvents />
                    <HeaderStyle CssClass="WG5E-Header" CustomRules="padding:3px;" />
                    <RowStyle CssClass="WG5E-Row" CustomRules="padding:3px;" />
                    <SelectedRowStyle CssClass="WG5E-SR" CustomRules="padding:3;" />
                    <AlternatingRowStyle CssClass="WG5E-AR" CustomRules="padding:3;" />
                    <TextSettings Language="UseCulture" UseWebResources="false">
                    </TextSettings>
                </LayoutSettings>
            </ISWebGrid:WebGrid>
        </div>
        
    </form>
</body>
The following is the vb code corresponding to the design
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack Then
            Dim objDataTable As New System.Data.DataTable
            'Create three columns with string as their type
            objDataTable.Columns.Add("CLIENT_NO", String.Empty.GetType())
            objDataTable.Columns.Add("SEARCHCODE", String.Empty.GetType())
            objDataTable.Columns.Add("NAME", String.Empty.GetType())
            objDataTable.Columns.Add("STREET", String.Empty.GetType())
            'Adding some data in the rows of this DataTable
            objDataTable.Rows.Add(New String() {"Row1 - Column1", "Row1 - Column2", "Row1 - Column3", "Row4 - Column4"})
            objDataTable.Rows.Add(New String() {"Row2 - Column1", "Row2 - Column2", "Row2 - Column3", "Row4 - Column4"})
            objDataTable.Rows.Add(New String() {"Row3 - Column1", "Row3 - Column2", "Row3 - Column3", "Row4 - Column4"})
            objDataTable.Rows.Add(New String() {"Row4 - Column1", "Row3 - Column2", "Row3 - Column3", "Row4 - Column4"})
            objDataTable.Rows.Add(New String() {"Row5 - Column1", "Row3 - Column2", "Row3 - Column3", "Row4 - Column4"})
            objDataTable.Rows.Add(New String() {"Row6 - Column1", "Row3 - Column2", "Row3 - Column3", "Row4 - Column4"})
            WG1.DataSource = objDataTable
            WG1.DataBind()
        End If
    End Sub

I have applied all the latest hotfix from webgrid team for webui and webgrid. This includes both scripts and dll files. However am not able to get any good result. Hope someone here can help me out.

 
Vinayan
All times are GMT -5. The time now is 12:12 AM.
Previous Next