I have several different variations (controls on ascx, controls on pages, with and without master pages) of using the WebTextEditor, the numeric editors, and buttons and nothing is responding. The text editors accept focus, but keying into the control produces no text. The read-only is not set.
I even created a simple project just to see if it reproduces, and it does. I created an aspx page, no master page, added a ScriptManager and WebPageStyler. I set the theme to Carribean and EnableAppStyling to True. I drag and drop a WebTextEditor to the page and run the solution. I didn't change any properties at all on the WebTextEditor. The running page doesn't respond to input. Does anyone have any ideas? Thank you.
Hello inputoverload ,
Thank you for reporting this.
I used the latest service release of 10.3 version ( 10.3.20103.2120) and I was not able to reproduce the issue.
Below is the code snippet in the aspx markup:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<igmisc:WebPageStyler ID="WebPageStyler1" runat="server" EnableAppStyling="True"
StyleSetName="Caribbean" />
<ig:WebTextEditor ID="WebTextEditor1" runat="server">
</ig:WebTextEditor>
Can you please let us know what browser do you use in order to encounter the behavior?
What is the OS in your environment and what version of IG controls do you use?
Hope hearing from you.
I've been able to gain a little more information on this. It's not just the text editors that come up read only, the web image buttons also come essentially deactivated. And even the highlight effect when you mouse over doesn't happen. They're just dead buttons.
I'm using IE 8 on Windows XP. I've tried with compatability mode on and off. I've rereated the same problem using the latest build of 10.3, as well as 9.1 and 9.2. I've only been running the page from within Visual Studio, but I've tried it with VS 2005 and VS 2010 and it does the same thing. I'm using the .Net runtime 2.0 for all of this, though I tried a test in .Net 4.0 and it did exactly the same thing.
I've found I can post the code to my production server and the pages work correctly. But for some reason on my local machine the simplest pages (e.g just a plain aspx page with a text editor) fail no matter what I do.
So it seems I just need to figure out how and why the javascript is going wrong on my machine, but I don't know what to do or where to look. Any help would be appreciated. Thank you!
Hello,
Let me know if I can assist you further.
I believe this is the problem I am having as well. Apologizes for the new thread.
I am considering purshasing .NETAdvantage 2010.3. I am using the trial, and have set up a basic login form using your webdropdown and webtexteditors.
In my web.config I have set the path for the styling:
I have also set up a WebPageStyler control (with no stylepath or stylename as they are set in web.config)
In designer, I can see the style applied to the drop down but not the text boxes. In run-time, the text-boxes change styles (the bg-color is gray) but they do not mimic the windows7 styled text boxes I saw in your sample kit. They background stays gray, there is no hover or focus changes.Also I noticed when the "style" is applied it breaks the textmode="password" of the password field.
Unlike inputoverload dI do have write capbility, but none of the styling is working the same as him (hovers, color changes, etc. - looks disabled.)
I tried Office2007Blue and Office2010 Blue as well - same results with the texteditors. There is also a weird drop shadow on the drop down that is not on your demo samples. Pic Attached.
I am using VS2010 (vb.net) with Windows 7 SP1 x64.
Any help you can provide is much appreciated.
-Will
Below is the web.config file and login page source:
Web.config
<configuration> <configSections> <section name="infragistics.web" type="System.Configuration.SingleTagSectionHandler,System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/> </configSections>
~OTHER CODE~
<infragistics.web stylesetpath="~/is_res/" styleSetName="Windows7" /></configuration>
ISMSLogin.ascx (parent page is the default VS2010 Login.aspx page - controls behave the same)
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="ISMSLogin.ascx.vb" Inherits="ISMS12_COMPLETE.ISMSLogin" %>
<%@ Register Assembly="Infragistics4.WebUI.Misc.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.Misc" TagPrefix="igmisc" %><%@ Register Assembly="Infragistics4.WebUI.WebDataInput.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.WebDataInput" TagPrefix="igtxt" %><%@ Register Assembly="Infragistics4.Web.v10.3, Version=10.3.20103.1013, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.ListControls" TagPrefix="ig" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %><script type="text/javascript" language="javascript"> function EnableIMGLoad() { var element = document.getElementById('<%= lblIMGLoad.ClientID %>'); element.style.display = 'inherit'; }</script>
<igmisc:WebPageStyler ID="WebPageStyler1" EnableAppStyling="True" runat="server" />
<div style="float: right; margin-right: 5%"> <fieldset style="width: 275px;"> <legend>Account Information</legend> <table> <tr> <td width="75" style="text-align: right"> <label for="MainContent_ISMSLogin_ddlDBConnection" id="MainContent_ISMSLogin_lblDBConnection">Connection:</label> </td> <td> <input type="hidden" id="MainContent_ISMSLogin_ddlDBConnection_clientState" name="MainContent_ISMSLogin_ddlDBConnection_clientState" /><div id="MainContent_ISMSLogin_ddlDBConnection" class="ig_Windows7Control igdd_Windows7Control " style="width:180px;"> <div id="x:103220697.0:mkr:Target"> <table id="x:103220697.1:mkr:TargetTable" cellpadding="0" cellspacing="0" class="igdd_Windows7ControlArea "> <tbody> <tr> <td style="width:100%;"><input id="x:103220697.2:mkr:Input" autocomplete="off" type="text" class="igdd_Windows7ValueDisplay " accesskey="" tabindex="0" value="ISMS_12" /></td><td id="x:103220697.3:mkr:Button" class="igdd_Windows7DropDownButton " style="padding-left:0px;padding-right:0px;"><img alt="" id="x:103220697.4:mkr:ButtonImage" src="../ig_res/Windows7/images/igdd_DropDownButton.png" /></td> </tr> </tbody> </table> </div><div id="x:103220697.5:mkr:DropDown" class="igdd_Windows7DropDownListContainer " style="display:none;visibility:hidden;"> <div id="x:103220697.6:mkr:DropDownContents" style="overflow:auto;height:200px;width:180px;"> <ul id="x:103220697.7:mkr:List:nw:1" class="igdd_Windows7DropDownList "> <li class="igdd_Windows7ListItem " id="x:103220697.8:adr:0"><a href="BLOCKED SCRIPTvoid(0)"></a></li><li class="igdd_Windows7ListItem igdd_Windows7ListItemSelected" id="x:103220697.9:adr:1"><a href="BLOCKED SCRIPTvoid(0)">ISMS_12</a></li> </ul> </div> </div> </div> </td> </tr> <tr> <td width="75" style="text-align: right"> <label for="MainContent_ISMSLogin_UserName" id="MainContent_ISMSLogin_UserNameLabel">Username:</label> </td> <td> <input type="hidden" name="ctl00$MainContent$ISMSLogin$UserName" id="MainContent_ISMSLogin_UserName" value="ISMSYSMGR" /><input type="hidden" name="MainContent_ISMSLogin_UserName_p" id="MainContent_ISMSLogin_UserName_p" value=" " /><input type="text" style="width:180px;" class="ig_Windows7Edit igtxt_Windows7Edit ig_da247552_r1" value="ISMSYSMGR" id="igtxtMainContent_ISMSLogin_UserName" readonly="true" /> </td> </tr> <tr> <td width="75" style="text-align: right"> <label for="MainContent_ISMSLogin_Office" id="MainContent_ISMSLogin_OfficeLabel">Office:</label> </td> <td> <input type="hidden" name="ctl00$MainContent$ISMSLogin$Office" id="MainContent_ISMSLogin_Office" value="DCC" /><input type="hidden" name="MainContent_ISMSLogin_Office_p" id="MainContent_ISMSLogin_Office_p" value=" " /><input type="text" style="width:180px;" class="ig_Windows7Edit igtxt_Windows7Edit ig_9c4dfdc5_r1" value="DCC" id="igtxtMainContent_ISMSLogin_Office" readonly="true" /> </td> </tr> <tr> <td width="75" style="text-align: right"> <label for="MainContent_ISMSLogin_Password" id="MainContent_ISMSLogin_PasswordLabel">Password:</label> </td> <td> <input type="hidden" name="ctl00$MainContent$ISMSLogin$Password" id="MainContent_ISMSLogin_Password" value="password" /><input type="hidden" name="MainContent_ISMSLogin_Password_p" id="MainContent_ISMSLogin_Password_p" value=" " /><input type="text" style="width:180px;" class="ig_Windows7Edit igtxt_Windows7Edit ig_49a73bd3_r1" value="password" id="igtxtMainContent_ISMSLogin_Password" readonly="true" TextMode="Password" /> </td> </tr> </table> <table style="margin-top: 10px;"> <tr> <td width="180"></td> <td class="submitButton"> <table> <tr style="vertical-align: middle;"> <td width="12"> <span id="MainContent_ISMSLogin_lblIMGLoad" style="display: none;"> <img src="../../Images/smallloader.gif" /> </span> </td> <td> <input type="submit" name="ctl00$MainContent$ISMSLogin$LoginButton" value="Login" onclick="EnableIMGLoad();" id="MainContent_ISMSLogin_LoginButton" style="width:60px;" /> </td> </tr> </table> </td> </tr> </table> </fieldset> </div> <div style="text-align: left; position: absolute; top: 68%; right: 12%; margin-bottom: 10px;"> <span id="MainContent_ISMSLogin_lblLoginError" style="color: Red;"></span> </div> </div>
Kindly respond admins. Your customer service will be a deciding factor in whether my company purchases your controls.
Note that what I was doing wrong was adding the controls to the Page rather than to the Form - once I added to the Form I was OK.
I am getting similar behavior as reported here (stuck in read-only, "{0}" as tooltip).
However, this is only for controls I create dynamically like
WebTextEditor t = new WebTextEditor();
t.ReadOnly = false;
t.Value = Value;
t.MaxLength = 20;
Controls.Add(t);
Controls I add to my page using the Designer work just fine.
Is there something special I have to do to get controls created dynamically to function correctly? The documentation for WebTextEditor really doesn't mention it (just "Understanding WebTextEditor", which has a list of features and a bit about the smart tag, and "Using WebTextEditor", which discusses
none of which seem relevant.
Hi,
The title={0} comes from default value of ToolTip property. The {0} flag is replaced by current value in editor, so, that allows to dynamically adjust tool tip when value was modified. To disable that feature, application may useeditor.ToolTip=""
I just noticed the title="{0}" in the rendered markup. ?? I get the same thing with other NetAdvantage for ASP.NET 2011.1 controls such as WebDatePicker...which is also readonly whether I specify it or not.
Thanks in advance.
I have similar issue, though I don't know if there's a similar root cause.
I am using the NetAdvantage for ASP.NET 2011.1 WebTextEditor control - pointed at .NET 2.0. I simply drag the control to the page and am not setting any properties.
When the page renders, the resulting html input control has the following markup:
<input title="{0}" id="WebTextEditor1" readonly="readonly" name="WebTextEditor1" class="igte_Edit" type="text" style="text-align:notset;" />
Note the readonly. There are no javascript problems indicated in the browser. Also note that I don't have this problem when I point to .NET 3.5 or 4.0. Unfortunately I have to use 2.0 for this app.
Also note that I'm seeing similar issues with other controls. Almost as if they are javascript problems...but I don't know.
Any help is appreciated. Frustrating.