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
Nothing!!
Hi,
Thanks for your help, I got it working fine now.
Maged
Hi Andi,
No, that was not the only reason. Its actually much more.
Here is the complete fixfor this issue:
1- In the default.css added this:
fieldset div span{ float: left;}
in my ascx code, put the grid between <fieldset> .... </fieldset> tags. and all good after that!
I really don't know that actual reason, may be something in my project, but that ffixed the issue!!
Thanks,
Maged Mikaeel
After further investigation, I found that, changing my CSS has great effect on all your controls.
So in my case, I have already existing ASP .NET web application that is relying alot on the CSS, and this CSS has a great effect on the controls. If I create these controls on a brand new application it will not bhave the same.
Now this application cano not be redesiginged with your tools, and in the mean time, I would like to continue this application using your tools, is there any way to have that fixed with any kind of work arround?
Example of CSS changes:
fieldset div{ float: left; /*clear: left; width: 100%;*/ margin-bottom: 2px;}
As you see, if I just remove the clear:left and with:100%, the above issue got fixed.
Please please I really need help from your guys, I don't know your application from inside and I don't have your source code to understand what is happening. Please help. and I amd ready to answer all your questions.
Thank you for your response.
Please find attached my code.
Also note that:
If your remove the <fieldset> tags from the webgrid, the webtext editor will show the toolbar with no issues, but the maxheight will not work on the grid, and if you keep the <fieldset> tag, the maxheight will work but the text editor will have the toolbx not showing up.
Also note that, the applicaion gives me error if I don't have the next block:
<head id="Head1" runat="server"><head>
I tried my best to fix it with no luck so far, I also tried run your sample, andd I endup with exact same issue.
Next is my code:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PatientCommunication.ascx.cs" Inherits="patient_PatientCommunication" %><%@ Register assembly="ISNet.WebUI.WebGrid" namespace="ISNet.WebUI.WebGrid" tagprefix="ISWebGrid" %><%@ Register assembly="ISNet.WebUI.WebCombo" namespace="ISNet.WebUI.WebCombo" tagprefix="ISWebCombo" %><%@ Register assembly="ISNet.WebUI.WebTextEditor" namespace="ISNet.WebUI.WebTextEditor" tagprefix="ISWebTextEditor" %><head id="Head1" runat="server"> <title>Untitled Page</title> <script language="javascript"> function viewDialogBox() { var dlgBox = ISGetObject("AddNewComplainDialogBox"); dlgBox.ShowDialog(); } function dlgBoxQuit_Closed(controlId, dialogResult) { // get active Window Object when integrated with WebDesktop // var win = ISGetCurrentWindow(); if (dialogResult == "Yes") { // ForceClose of current Window Object when integrated with WebDesktop // win.ForceClosed = true; alert("Do Save Logic"); } else if (dialogResult == "No") { // ForceClose of current Window Object when integrated with WebDesktop // win.ForceClosed = true; alert("Do Not Perform Save Logic"); } else { alert("Cancel"); // cancel, nothing to do return; } //win.Close(); // really close current Window Object when integrated with WebDesktop } </script></head><div id="oneColumn"> <h2 id="ucHeading" runat="server">Patient Communication</h2> <fieldset> <div> <ISWebGrid:WebGrid ID="PatientCommunicationGrid" runat="server" DataSourceID="DS_PatientCommunication" DefaultStyleMode="Win7" Height="436px" UseDefaultStyle="True" Width="763px"> <LayoutSettings AllowAddNew="Yes" AllowExport="Yes" AllowFilter="Yes" AllowGrouping="Yes" AllowSelectColumns="Yes" AllowSorting="Yes" ColumnFooters="Default" GroupByBoxVisible="True" RowHeaderWidth="26" AllowEdit="Yes" InProgressUIBehavior="ChangeCursorToHourGlass" RowHeightDefault="-1px" HeaderWrapDefault="True" AllowColumnMove="Yes"> <RowHeaderStyle Height="0px"> </RowHeaderStyle> </LayoutSettings> <RootTable DataKeyField="PatientCommunicationID"> <Columns> <ISWebGrid:WebGridColumn Caption="Date" DataMember="LogDate" EditType="CalendarDropdown" Name="LogDate" Width="130px" DataType="System.DateTime"> <ValueList DataMember="DefaultView" DataSourceID="DS_PatientCommunication" DataTextField="LogDate" DataValueField="LogDate"> </ValueList> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="User" DataMember="FirstName" EditType="NoEdit" Name="User" Width="130px" DataFormatString="System.Text"> <ValueList DataMember="DefaultView" DataSourceID="DS_PatientCommunication" DataTextField="FirstName" DataValueField="FirstName"> </ValueList> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Method" DataMember="CommMethod" EditType="WebComboNET" Name="CommMethod" Width="80px" WebComboID="CommMethodCombo"> <ValueList DataMember="DefaultView" DataSourceID="DS_PatientCommMethod" DataTextField="Caption" DataValueField="Caption"> </ValueList> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Type" DataMember="CommType" EditType="WebComboNET" Name="CommType" Width="110px" CustomEditorName="WebTextEditor" WebComboID="ComTypeCombo"> <ValueList DataMember="DefaultView" DataSourceID="DS_PatientCommType" DataTextField="Caption" DataValueField="Caption"> </ValueList> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn AllowMultiLine="True" Caption="Note" CustomEditorName="WebTextEditor" CustomEditorServerId="NoteEditBox" DataMember="Note" EditType="Custom" MaxHeight="50px" Name="Note" Width="270px"> <ValueList DataMember="DefaultView" DataSourceID="DS_PatientCommunication" DataTextField="Note" DataValueField="Note"> </ValueList> </ISWebGrid:WebGridColumn> </Columns> </RootTable> </ISWebGrid:WebGrid> <ISWebTextEditor:WebTextEditor ID="NoteEditBox" runat="server" Height="300px" Width="300px" Content="" MaximumSize="0, 0" MinimumSize="0, 0"> </ISWebTextEditor:WebTextEditor> </div> </fieldset> <div> <ISWebCombo:WebCombo ID="CommMethodCombo" runat="server" DataSourceID="DS_PatientCommMethod" DataTextField="Caption" DataValueField="Caption" Height="20px" Width="200px"> <LayoutSettings AllowAddItem="True" AllowTextWrapping="True" EnableAnimation="True" EntryMode="AutoComplete" RoundCorner="True"> <ResultBoxStyle Font-Names="Segoe UI,Tahoma" Font-Size="8pt"> </ResultBoxStyle> <StatusBoxStyle BackgroundImage="url(/CommonLibrary/Images/wc4_status.gif)" Font-Names="Segoe UI,Tahoma" Font-Size="8.25pt" ForeColor="#092061"> </StatusBoxStyle> <ResultFrameStyle BackColor="White" BorderColor="#286A9B" BorderStyle="Solid" BorderWidth="1px" Cursor="Default"> </ResultFrameStyle> <HeaderStyle BackColor="White" BackColor2="199, 223, 255" Font-Names="Segoe UI,Tahoma" Font-Size="8pt" GradientType="Vertical"> <Padding Bottom="3px" Left="3px" Right="3px" Top="3px" /> <BorderSettings> <Bottom Color="101, 147, 207" Style="Solid" Width="1px" /> </BorderSettings> </HeaderStyle> <ColumnStyle CustomRules="text-overflow:ellipsis" Overflow="Hidden"> <Padding Left="3px" Right="3px" /> </ColumnStyle> <RowStyle> <Normal BackColor="White" Height="20px"> </Normal> <Over BackColor="#E1EEFF" BaseStyle="Normal"> </Over> </RowStyle> <SelectedRowStyle BackColor="#B3C8E8" Font-Size="8pt" Height="20px" /> <FrameStyle> <Normal BackColor="White" BorderColor="#5794BF" BorderStyle="Solid" BorderWidth="1px" Height="20px" Width="200px"> <BorderSettings> <Bottom Color="40, 106, 155" Style="Solid" Width="1px" /> <Right Color="40, 106, 155" Style="Solid" Width="1px" /> </BorderSettings> </Normal> <Over BackColor="WhiteSmoke" BaseStyle="Normal" BorderColor="#286A9B"> </Over> <Active BackColor="#E9EBF4" BaseStyle="Over"> </Active> </FrameStyle> <TextBoxStyle> <Normal BackColor="Transparent" BorderStyle="None" BorderWidth="0px" CustomRules="background:transparent;background:transparent" Font-Names="Segoe UI,Tahoma" Font-Size="8pt" ForeColor="Black" Height="20px" Width="180px"> </Normal> <Over BaseStyle="Normal"> </Over> <Active BaseStyle="Over"> </Active> </TextBoxStyle> <DropDownStyle> <Normal Cursor="Default" Font-Names="Webdings" Font-Size="9pt" ForeColor="Black" Height="20px" Width="15px"> </Normal> <Over BackgroundImage="url(/CommonLibrary/Images/DD4_Over.gif)" BaseStyle="Normal"> <BorderSettings> <Left Color="40, 106, 155" Style="Solid" Width="1px" /> </BorderSettings> </Over> <Active BackgroundImage="url(/CommonLibrary/Images/DD4_Active.gif)" BaseStyle="Over"> </Active> </DropDownStyle> <MoreButtonStyle> <Normal BorderColor="White" BorderStyle="Solid" BorderWidth="1px"> </Normal> <Over BackColor="#FFE7A2" BaseStyle="Normal" BorderColor="#F7BE57"> </Over> <Active BaseStyle="Over"> </Active> </MoreButtonStyle> </LayoutSettings> </ISWebCombo:WebCombo> </div> <div> <asp:ObjectDataSource ID="DS_PatientCommMethod" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="dsTipsGnrTablesTableAdapters.PatientCommMethodTableAdapter" DeleteMethod="Delete" InsertMethod="Insert" UpdateMethod="Update"> <DeleteParameters> <asp:Parameter Name="Original_ComboConfigsID" Type="Int32" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Name="Caption" Type="String" /> <asp:Parameter Name="Original_ComboConfigsID" Type="Int32" /> </UpdateParameters> <InsertParameters> <asp:Parameter Name="Caption" Type="String" /> </InsertParameters> </asp:ObjectDataSource> </div> <div> <asp:ObjectDataSource ID="DS_PatientCommunication" runat="server" DataObjectTypeName="Medcan.Business.PatientCommunication" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="Medcan.Web.DATA.Adapters.PatientCommunicationAdapter" UpdateMethod="Update"></asp:ObjectDataSource> </div></div><asp:ObjectDataSource ID="DS_PatientCommType" runat="server" DeleteMethod="Delete" InsertMethod="Insert" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="dsTipsGnrTablesTableAdapters.PatCommTypeTableAdapter" UpdateMethod="Update"> <DeleteParameters> <asp:Parameter Name="Original_ComboConfigsID" Type="Int32" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Name="Caption" Type="String" /> <asp:Parameter Name="Original_ComboConfigsID" Type="Int32" /> </UpdateParameters> <InsertParameters> <asp:Parameter Name="Caption" Type="String" /> </InsertParameters></asp:ObjectDataSource><fieldset> <div> <ISWebCombo:WebCombo ID="ComTypeCombo" runat="server" DataSourceID="DS_PatientCommType" DataTextField="Caption" DataValueField="Caption" Height="20px" UseDefaultStyle="True" Width="200px" DataMember=""> <LayoutSettings AllowAddItem="True" AllowTextWrapping="True" EntryMode="AutoComplete"> </LayoutSettings> </ISWebCombo:WebCombo> </div></fieldset>
I can not type anything on the eidtor. But if I add normal ASP editor, it works.
Thanks for yur reply.
Still the same, nothing change.
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