iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
We are using Intersoft webgrid where in most of the cases we are using object datasource for Data binding.
Following are the issues we found:
However all these issues we are getting in IE6 only. In IE7 it is working fine. Please advice.
Thanks
-Sahoo
Hi Shoo,
Does this also happen on our WebGrid sample? It should be running well. Please also let me know the current product you used.
Regards,Handy
We are using the Webgrid.NET Enterprise 6.0.
Yes. You are right. Webgird sample working fine. However if I am using the same code in a separate solutions it is not working. What could be the reason? I compared all the DLLs and web.config file, it is same.
Here is my code.
<%@ Page Language="C#" MasterPageFile="~/etfmaster.master" AutoEventWireup="true" CodeFile="etf.aspx.cs" Inherits="etf" Title="Untitled Page" %><%@ Register Assembly="ISNet.WebUI.ISDataSource, Version=1.0.1500.1, Culture=neutral, PublicKeyToken=c4184ef0d326354b" Namespace="ISNet.WebUI.DataSource" TagPrefix="ISDataSource" %><%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="300px" UseDefaultStyle="True" Width="100%" DataMember="Customers" DataSourceID="ISDataSource1"> <RootTable Caption="Customers" DataKeyField="CustomerID" DataMember="Customers"> <Columns> <ISWebGrid:WebGridColumn Caption="CustomerID" DataMember="CustomerID" Name="CustomerID" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ContactName" DataMember="ContactName" Name="ContactName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ContactTitle" DataMember="ContactTitle" Name="ContactTitle" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Address" DataMember="Address" Name="Address" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="City" DataMember="City" Name="City" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Region" DataMember="Region" Name="Region" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="PostalCode" DataMember="PostalCode" Name="PostalCode" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Country" DataMember="Country" Name="Country" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Phone" DataMember="Phone" Name="Phone" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Fax" DataMember="Fax" Name="Fax" Width="100px"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> <LayoutSettings> </LayoutSettings> </ISWebGrid:WebGrid> <ISDataSource:ISDataSource ID="ISDataSourc<%@ Page Language="C#" MasterPageFile="~/etfmaster.master" AutoEventWireup="true" CodeFile="etf.aspx.cs" Inherits="etf" Title="Untitled Page" %><%@ Register Assembly="ISNet.WebUI.ISDataSource, Version=1.0.1500.1, Culture=neutral, PublicKeyToken=c4184ef0d326354b" Namespace="ISNet.WebUI.DataSource" TagPrefix="ISDataSource" %><%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="300px" UseDefaultStyle="True" Width="100%" DataMember="Customers" DataSourceID="ISDataSource1"> <RootTable Caption="Customers" DataKeyField="CustomerID" DataMember="Customers"> <Columns> <ISWebGrid:WebGridColumn Caption="CustomerID" DataMember="CustomerID" Name="CustomerID" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ContactName" DataMember="ContactName" Name="ContactName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ContactTitle" DataMember="ContactTitle" Name="ContactTitle" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Address" DataMember="Address" Name="Address" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="City" DataMember="City" Name="City" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Region" DataMember="Region" Name="Region" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="PostalCode" DataMember="PostalCode" Name="PostalCode" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Country" DataMember="Country" Name="Country" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Phone" DataMember="Phone" Name="Phone" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Fax" DataMember="Fax" Name="Fax" Width="100px"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> <LayoutSettings AllowFilter="Yes" > </LayoutSettings> </ISWebGrid:WebGrid> <ISDataSource:ISDataSource ID="ISDataSource1" runat="server" SchemaName="dsNorthwind_ReadOnly"> <Tables> <ISDataSource:ISDataSourceTable SelectMethod="GetData" TableName="Customers" TypeName="dsNorthwind_ReadOnlyTableAdapters.CustomersTableAdapter"> </ISDataSource:ISDataSourceTable> </Tables> </ISDataSource:ISDataSource></asp:Content>e1" runat="server" SchemaName="dsNorthwind_ReadOnly"> <Tables> <ISDataSource:ISDataSourceTable SelectMethod="GetData" TableName="Customers" TypeName="dsNorthwind_ReadOnlyTableAdapters.CustomersTableAdapter"> </ISDataSource:ISDataSourceTable> </Tables> </ISDataSource:ISDataSource></asp:Content>
<%@ Page Language="C#" MasterPageFile="~/etfmaster.master" AutoEventWireup="true" CodeFile="etf.aspx.cs" Inherits="etf" Title="Untitled Page" %><%@ Register Assembly="ISNet.WebUI.ISDataSource, Version=1.0.1500.1, Culture=neutral, PublicKeyToken=c4184ef0d326354b" Namespace="ISNet.WebUI.DataSource" TagPrefix="ISDataSource" %><%@ Register Assembly="ISNet.WebUI.WebGrid" Namespace="ISNet.WebUI.WebGrid" TagPrefix="ISWebGrid" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="300px" UseDefaultStyle="True" Width="100%" DataMember="Customers" DataSourceID="ISDataSource1"> <RootTable Caption="Customers" DataKeyField="CustomerID" DataMember="Customers"> <Columns> <ISWebGrid:WebGridColumn Caption="CustomerID" DataMember="CustomerID" Name="CustomerID" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="CompanyName" DataMember="CompanyName" Name="CompanyName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ContactName" DataMember="ContactName" Name="ContactName" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="ContactTitle" DataMember="ContactTitle" Name="ContactTitle" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Address" DataMember="Address" Name="Address" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="City" DataMember="City" Name="City" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Region" DataMember="Region" Name="Region" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="PostalCode" DataMember="PostalCode" Name="PostalCode" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Country" DataMember="Country" Name="Country" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Phone" DataMember="Phone" Name="Phone" Width="100px"> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Fax" DataMember="Fax" Name="Fax" Width="100px"> </ISWebGrid:WebGridColumn> </Columns> </RootTable> <LayoutSettings AllowFilter="Yes" > </LayoutSettings> </ISWebGrid:WebGrid> <ISDataSource:ISDataSource ID="ISDataSource1" runat="server" SchemaName="dsNorthwind_ReadOnly"> <Tables> <ISDataSource:ISDataSourceTable SelectMethod="GetData" TableName="Customers" TypeName="dsNorthwind_ReadOnlyTableAdapters.CustomersTableAdapter"> </ISDataSource:ISDataSourceTable> </Tables> </ISDataSource:ISDataSource></asp:Content>
Along with the above error, I can see my filter image (small blue color image in the filter bar) is always coming as left align, Ideally it should be in right (see the attached screen shots). Please help us.
Sahoo
Please ensure you are using the latest hotfix (WebGrid and WebUIFramework). For left alignment in filter cell, I could not see anything wrong on your WebGrid structure. Could it because you used your define css style inside Master page which somehow override filter cell alignment type or something? Normally, left alignment filter only would change if user sets filter cell alignment properties but i could not see on your WebGrid structure. So, could you send me also your master page or any details about this issue?
Am not sure about the latest hotfix. Could you please share the version number of that fix? Also where can I download this fix?
We are not using anywhere any such style sheet for this filter image alignment property, but unfortunately by default it is showing in left side.
Here is my master page code, but am not putting any style sheet over there.
Sah
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="etfmaster.master.cs" Inherits="etfmaster" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <asp:contentplaceholder id="ContentPlaceHolder1" runat="server"> </asp:contentplaceholder> </div> </form></body></html>
FYI, our WebGrid does not support XHTML in IE6. Please try to use our supported doctype and let me know the result. The filter alignment should be not happening if you are using our supported Doctype.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <html>
Yes, after changing the Doctype into HTML now I can see the filter image coming right align as well IE is not crashing in filter conditions. However it became a serious issue for us, since most of our AJAX control stopped working. Ajax controls toolkit requires Doctype as xhtml. Is there any way where we can use doctype as XHTML to make it work?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname