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
When I place a webcombo inside an ajax tabcontainer or a Webtab, the button on the webcombo is covered by the selection if the tab panel is not the activetabindex when the page is loaded. Also, if the webcombo value is set server side on page load, the webcombo does not show its value when the tab is selected. Can anyone help me to resolve this?
Hi,
Here is a response from our developer teams. This issue turns out to be not a bug in WebCombo. The issue occurred because the AJAXTab is hidden when WebCombo is first initialized. As such, it was unable to perform the calculation needed to initialize the UI. The solution is pretty simple, that is by re-invoke the DoResize method of WebCombo when user switches to the tab. For more information, please look into my sample. Hope this helps.
Regards,Handy
Hi John,
I can replicate your issue in here and have submitted this bug to our developer team. In fact, if i am using HTML doctype, the value is set but the layout on ajax TabContainer mess up.
At least I know I am not losing my mind. Any idea on how long fixes like this take? Weeks??? Months??? I need to decide on a direction for this project.
I would contact our developer team and would let you know asap. FYI, I was able only to replicate your issue at Ajax TabContainer. If I use Intersoft WebTab, it works well because our WebTab uses HTML doctype.
I get the same problem with Intersoft WebTab with the WebCombo bound to a SqlDataSource and value assigned at page load.
With the WebTab the WebCombo appears to have rendered correctly when the tab is selected that has the WebCombo, however one cannot click in the text area and must use the dropdown button. Once the button is clicked, the button is covered by the text area.
Attached is my code.
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebComboTest2._Default" %> <%@ Register Assembly="ISNet.WebUI.WebCombo" Namespace="ISNet.WebUI.WebCombo" TagPrefix="ISWebCombo" %> <%@ Register assembly="ISNet.WebUI.WebDesktop" namespace="ISNet.WebUI.WebDesktop" tagprefix="ISWebDesktop" %> <!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:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <ISWebDesktop:WebTab ID="WebTab1" runat="server" Height="300px" Width="500px"> <FrameStyle Overflow="Hidden" OverflowY="Hidden" OverflowX="Hidden"></FrameStyle> <ContainerStyle Overflow="Auto" OverflowY="Auto" OverflowX="Auto" BackColor="WhiteSmoke" BorderColor="Navy" BorderStyle="Solid" BorderWidth="1px" Height="100%" Width="100%"> <Padding Top="5px" Left="5px" Right="5px" Bottom="5px"></Padding> </ContainerStyle> <RoundCornerSettings TopBorderColor="230, 139, 44" FillerBorderColor="255, 199, 60"></RoundCornerSettings> <DisabledStyle ForeColor="Gray"></DisabledStyle> <tabpages> <ISWebDesktop:WebTabItem Text="Tab 1"> </ISWebDesktop:WebTabItem> <ISWebDesktop:WebTabItem Name="Tab2" Text="Tab 2"> <PageTemplate> <ISWebCombo:WebCombo ID="WebCombo1" runat="server" UseDefaultStyle="True" DataSourceID="SqlDataSource1" DataTextField="NAME" DataValueField="PIN_NUM" Height="20px" Width="200px"> </ISWebCombo:WebCombo> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:T3000ConnectionString %>" SelectCommand="SELECT * FROM [LISTING]"></asp:SqlDataSource> </PageTemplate> </ISWebDesktop:WebTabItem> <ISWebDesktop:WebTabItem Name="Tab3" Text="Tab 3"> </ISWebDesktop:WebTabItem> </tabpages> <TabItemStyle> <Normal Cursor="Hand" BackColor="Gainsboro" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt" Height="100%" Width="100%"> <Padding Top="2px" Left="10px" Right="10px" Bottom="0px"></Padding> </Normal> <Over BaseStyle="Normal" BackColor="WhiteSmoke"></Over> <Active GradientType="Vertical" BackColor2="245, 245, 245" BaseStyle="Normal" BackColor="White" BorderColor="Navy" BorderStyle="Solid" BorderWidth="1px"></Active> </TabItemStyle> </ISWebDesktop:WebTab> <br /> <br /> </div> </form> </body> </html>
And in Code Behind
Partial Public Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Me.WebCombo1.Value = 700252 End Sub End Class
As i said at previous reply. Intersoft will work if you use HTML doctype, not XHTML. FYI, only WebCombo has supported XHTML docype on your scenario. WebTab has not, that's why if i use HTML doctype, the value can be persisted.
Thanks Handy,
I was just needing a way to make it works, and that works great.
Thanks for your help,
John
Glad to hear that it solved your issue.
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