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.
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.