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 ,
i am using webcombo , all browsers are working but IE7 browser not showing webcombo ..
Hi venkat,
I tried to replicate your issue here and tried to running our sample in IE 7 mode but unfortunately it works fine (the WebCombo appear and work properly). We are willing to assist you further. In order to do so, could you let me know step-by-step to reproduce this issue and the version of you WebCombo?
Regards,
Bernard
HI BErnard,
<%@ Register Assembly="ISNet.WebUI.WebCombo" Namespace="ISNet.WebUI.WebCombo" TagPrefix="ISWebCombo" %>
<%@ Register Assembly="ISNet.WebUI.ISDataSource, Version=1.0.1500.1, Culture=neutral, PublicKeyToken=c4184ef0d326354b"
Namespace="ISNet.WebUI.DataSource" TagPrefix="ISDataSource" %>
<ISWebCombo:WebCombo ID="AssociatesCombo" AllowAutoDataCaching="false" AllowAutoQueryHandler="false" LayoutSettings-AllowFloatingText="false"
runat="server" DataTextField="UserName" DataValueField="UserID" UseDefaultStyle="True"
AdditionalSearchFields="FirstName,LastName,City,DepartmentName" Width="150px"
ViewStateStorage="None" Height="50px" OnInitializeDataSource="AssociatesCombo_InitializeDataSource"
ToolTip='Enter Volunteer Name' >
<Columns>
<ISWebCombo:WebComboColumn BaseFieldName="UserName" HeaderText="Name" Name="Name"
Width="200px" />
<ISWebCombo:WebComboColumn BaseFieldName="LastName" HeaderText="LastName" Name="LastName"
RenderOnHidden="true" Hidden="true" Width="20px" />
<ISWebCombo:WebComboColumn BaseFieldName="City" Name="City" Width="150px" Hidden="true" />
<ISWebCombo:WebComboColumn BaseFieldName="DepartmentName" HeaderText="Department Name/Company"
Name="Department" Width="250px" Hidden="true" />
<ISWebCombo:WebComboColumn BaseFieldName="FirstName" HeaderText="FirstName" Name="FirstName"
<ISWebCombo:WebComboColumn BaseFieldName="CorporationID" HeaderText="CorporationID"
Name="CorporationID" RenderOnHidden="true" Hidden="true" Width="20px" />
</Columns>
<LayoutSettings AlwaysShowHelpButton="false" ComboMode="MultipleColumns" ResultBoxWindowType="Normal"
TextSettings-NoResultsText="The associate cannot be found in the corporate directory.">
<ColumnStyle CssClass="C-WebComboTextAlign">
</ColumnStyle>
</LayoutSettings>
</ISWebCombo:WebCombo>
Code behind:
protected void AssociatesCombo_InitializeDataSource(object sender, ISNet.WebUI.WebCombo.DataSourceEventArgs e)
{
if (e.IsFlyDataRequest)
IContactManager iOrderManager = OrderManagementFactory.GetContactManager();
string subCorporationId = string.Empty;
if (SubCorporationAssociates)
if (string.IsNullOrEmpty(e.AdditionalFilters))
if (RefreshSelectedSubCorporationChanges)
subCorporationId = Convert.ToString(CorporationId);
else
subCorporationId = "999999999";
}
subCorporationId = e.AdditionalFilters;
DataTable dtAssociate = null;
if (Session["AssociateKey"] != null)
if (e.QueryText.Length >= 3)
//IF QueryText does not start with Old key then Remove the cache
if (!e.QueryText.StartsWith(Session["AssociateKey"].ToString()))
HttpContext.Current.Cache.Remove(string.Format("{0}-{1}", CorporationId, Session["AssociateKey"].ToString()));
Session["AssociateKey"] = null;
//IF QueryText Length Less than 3 letters Remove the cache
dtAssociate = HttpContext.Current.Cache[string.Format("{0}-{1}", CorporationId, Session["AssociateKey"])] as DataTable;
if (dtAssociate == null)
dtAssociate = iOrderManager.GetAllGuestList(Convert.ToInt32(actualUserId), CorporationId, SubCorporationAssociates, e.QueryText, subCorporationId, false, true);
if (e.QueryText.Length >= 3 && dtAssociate != null)
HttpContext.Current.Cache.Insert(string.Format("{0}-{1}", CorporationId, e.QueryText.Trim()), dtAssociate, null, DateTime.Now.AddSeconds(30), Cache.NoSlidingExpiration);
Session["AssociateKey"] = e.QueryText.Trim();
string QueryText = e.QueryText;
if (SubCorporationAssociates && subCorporationId != "999999999")
DataRow[] drAssociates = dtAssociate.Select("CorporationID ='" + subCorporationId + "' AND UserName LIKE '%" + QueryText + "%' OR DepartmentName LIKE '%" + QueryText + "%' OR City LIKE '%" + QueryText + "%'");
if (drAssociates.Length > 0)
dtAssociate = drAssociates.CopyToDataTable<DataRow>();
dtAssociate = null;
DataRow[] drAssociates = dtAssociate.Select("UserName LIKE '%" + QueryText + "%' OR DepartmentName LIKE '%" + QueryText + "%' OR City LIKE '%" + QueryText + "%'");
if (!Session["AssociateKey"].ToString().Equals(e.QueryText.Trim()))
if (dtAssociate != null)
if (dtAssociate != null && dtAssociate.Rows.Count > 0)
e.DataSource = dtAssociate;
DataTable dt = new DataTable();
dt.Columns.Add("UserID");
dt.Columns.Add("GuestId");
dt.Columns.Add("UserName");
dt.Columns.Add("LastName");
dt.Columns.Add("City");
dt.Columns.Add("DepartmentName");
dt.Columns.Add("FirstName");
dt.Columns.Add("CorporationID");
e.DataSource = dt;
Hi Venkat,
I tried to replicate your issue here but I couldn’t run your code because there are missing class in your code. To replace the code, I’ve made my own sample. In this sample I use Northwind as my database and my dataset. I use the same structure of your WebCombo in my sample and unfortunately it works fine when I test it. If you don’t mind, could you test my sample in your IE 7 and tell me what configuration I missed in my code?
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