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've encountered a Bug in the WebCombo Control, which only occurs with the latest updates.
The WebCombo is created at runtime in the Page_Load event and has multiselection enabled.
This worked, but after updating to Intersoft R2 SP1 it didn’t.
After you deselect it and select it again, it displays “Item1~Item1~”.
In our previous version (R1SP1) after clicking on an item it only showed “Item1”, without the “~”, maybe this has something to do with the problem.
The WebCombo Version is 4.0.7200.219.
The Browser Version is IE 7.0.6001.18000
Selected a value -> click outside -> select/deselect again -> ...
This would be the Sourcecode:
ASPX Page:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Test_Default" %><!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></title></head><body> <form id="form1" runat="server"> </form></body></html>
.cs File:
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using ISNet.WebUI.WebCombo;using System.Data;using System.Data.SqlClient;public partial class Test_Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { WebCombo webCombo = new WebCombo("TestWebCombo"); webCombo.Width = Unit.Parse("300px"); webCombo.MultipleSelectionSettings.Enabled = true; webCombo.MultipleSelectionSettings.AllowBrowseAll = true; webCombo.MultipleSelectionSettings.AllowNotInListText = true; webCombo.MultipleSelectionSettings.AutoPositionResultBox = true; webCombo.MultipleSelectionSettings.SeparatorChar = "~"; webCombo.UseDefaultStyle = true; webCombo.LayoutSettings.ComboMode = Mode.SingleColumn; webCombo.LayoutSettings.SearchImage = "./images/Search.jpg"; webCombo.LayoutSettings.TextBoxMode = TextboxMode.ReadOnly; webCombo.LayoutSettings.EnableAnimation = true; webCombo.LayoutSettings.ResultBoxWindowType = ISNet.WebUI.DisplayType.Normal; webCombo.LayoutSettings.RoundCorner = true; SqlDataAdapter adapt = DatabaseHelperClass.VcsSqlDataAdapter("SELECT 1 as [key], 'test' as name UNION ALL SELECT 2 as [key], 'test2' as name "); DataTable loadTable = new DataTable(); adapt.Fill(loadTable); adapt.Dispose(); webCombo.DataTextField = "name"; webCombo.DataValueField = "key"; webCombo.PopulateUnboundData(loadTable, true); webCombo.IsDynamicCreated = true; webCombo.AspNetAjaxSettings.CreatedAtRuntime = true; webCombo.LayoutSettings.AlwaysShowHelpButton = false; webCombo.LayoutSettings.AllowTextWrapping = false; webCombo.Visible = true; form1.Controls.Add(webCombo); }}
Hi Wolfgang Pichler,
Forgive me, however I am not able to replicate the issue of yours. I have tried your code and using my own database and it runs nicely. Attached is an image that I take and as you can see, It works just nicely. Perhaps, I am missing something.
Could you ensure that you have using the newest Frameworks as well? I am using the same version of WebCombo of yours, using a IE7 to browse and using Frameworks version 3.0.5000.752.
I hope it helps. Thank you and have a nice day.
Best Regards,
Andi Santoso
Hello,
Sorry for my late response, however I was quite busy.
The problem is not easy reproduced, if you don't follow the exact steps, so I made you Screenshots + a description on how to do it. Also it seems it's important that the combobox is created like in my code, it seems to work if it already exists in the aspx page.
1.This are the Versions we are using of Intersoft:
2:
Open the Site, nothing is selected yet:
3:
Open the Combo and Select Test:
4:Click outside the combo to close it (I'm not sure this is correct but the combo adds "~" even if only 1 item is selected after closing):
5:Open the WebCombo again:
6:Select test2:
You can see that the selection is wrong.
For example if you close the webcombo and open it again to deselect everything it looks like this:
I hope I provided enough Info.
However if you do it a bit differently it works fine it seems.
I don't think it has any meaning but I'm using Vista x32 as my OS.
thank you very much,
Wolfgang Pichler
Thank you for your details information. I am able to replicate the issue now. I have forwarded this to our developer team and will inform you as soon as possible when I get news from them.
Forgive me for the late response. However, your issue is still under investiagtion. This delay occured because our developer was working on our upcoming release product of WebUI Studio 2010.
However, I have forwarded this issue as a high priority to our Developer and I am pretty sure that it will be fix in a couple days ahead. Thank you for your patience and have a nice day.
Dear Wolfgang Pichler,
First of all, deeply apologize for the late respond. I would like to inform you that your issue has been fixed. Please use the attached nightly build hotfix. As a note, this is still a nightly build hotfix, any feedback regarding this build would be really appreciated.
For further information on how to appy the hotfix, please visit http://www.intersoftpt.com/Build/ApplyHotfix.
I hope it helps. Please do not hesitate to ask if you have any further questions. Thank you and have a nice day.
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