Recently we found the TabContainer in my website was gone when browse using Safari in iPhone device, and the problem only cound be found if deployed with HTTPS, without the SSL, all things work fine, any suggestion?
↧
Edited Issue: TabContainer invisible in iOS Safari when deployed with HTTPS [27763]
↧
Commented Issue: HTMLEditorExtender using hyperlink [27189]
Hello, I'm using hyperlink toolbar in a HTMLEditorExtender from AJAX Control Toolkit 4.1.60501.0 and it's showing <A href=""> tag when the page makes a postback after pressing Save button to archieve this hyperlink in a database field table.
Why i'snt displaying the hyperlink correctly? is there a bug in the toolkit?
I attach an image with that issue.
Thanks, Jorge
Comments: Hi! It seems that the issue you described is not reproducible in the current release of the AJAX Control Toolkit (v.15.1.4). Please upgrade to it and let me know if this issue is still reproducible. Best regards, Fadil
Why i'snt displaying the hyperlink correctly? is there a bug in the toolkit?
I attach an image with that issue.
Thanks, Jorge
Comments: Hi! It seems that the issue you described is not reproducible in the current release of the AJAX Control Toolkit (v.15.1.4). Please upgrade to it and let me know if this issue is still reproducible. Best regards, Fadil
↧
↧
Edited Issue: HTMLEditorExtender using hyperlink [27189]
Hello, I'm using hyperlink toolbar in a HTMLEditorExtender from AJAX Control Toolkit 4.1.60501.0 and it's showing <A href=""> tag when the page makes a postback after pressing Save button to archieve this hyperlink in a database field table.
Why i'snt displaying the hyperlink correctly? is there a bug in the toolkit?
I attach an image with that issue.
Thanks, Jorge
Why i'snt displaying the hyperlink correctly? is there a bug in the toolkit?
I attach an image with that issue.
Thanks, Jorge
↧
Edited Issue: HTMLEditorExtender CUT, COPY & PASTE icons do not always show. [27168]
Under non-IE browsers the icons on the toolbar for Cut, Copy and Paste do not appear when they are specified using:
<Toolbar>
<ajaxToolkit:Cut />
<ajaxToolkit:Copy />
<ajaxToolkit:Paste />
<ajaxToolkit:HorizontalSeparator />
...etc.
All the others seem to work fine and they work when generated by the default "everything on the toolbar" action.
<Toolbar>
<ajaxToolkit:Cut />
<ajaxToolkit:Copy />
<ajaxToolkit:Paste />
<ajaxToolkit:HorizontalSeparator />
...etc.
All the others seem to work fine and they work when generated by the default "everything on the toolbar" action.
↧
Commented Issue: HTMLEditorExtender CUT, COPY & PASTE icons do not always show. [27168]
Under non-IE browsers the icons on the toolbar for Cut, Copy and Paste do not appear when they are specified using:
<Toolbar>
<ajaxToolkit:Cut />
<ajaxToolkit:Copy />
<ajaxToolkit:Paste />
<ajaxToolkit:HorizontalSeparator />
...etc.
All the others seem to work fine and they work when generated by the default "everything on the toolbar" action.
Comments: Hi! Thank you for sharing your experience! The issue you described fixed and this fix will be available in the next AJAX Control Toolkit release. Best regards, Fadil
<Toolbar>
<ajaxToolkit:Cut />
<ajaxToolkit:Copy />
<ajaxToolkit:Paste />
<ajaxToolkit:HorizontalSeparator />
...etc.
All the others seem to work fine and they work when generated by the default "everything on the toolbar" action.
Comments: Hi! Thank you for sharing your experience! The issue you described fixed and this fix will be available in the next AJAX Control Toolkit release. Best regards, Fadil
↧
↧
Edited Issue: HTMLEditorExtender CUT, COPY & PASTE icons do not always show. [27168]
Under non-IE browsers the icons on the toolbar for Cut, Copy and Paste do not appear when they are specified using:
<Toolbar>
<ajaxToolkit:Cut />
<ajaxToolkit:Copy />
<ajaxToolkit:Paste />
<ajaxToolkit:HorizontalSeparator />
...etc.
All the others seem to work fine and they work when generated by the default "everything on the toolbar" action.
<Toolbar>
<ajaxToolkit:Cut />
<ajaxToolkit:Copy />
<ajaxToolkit:Paste />
<ajaxToolkit:HorizontalSeparator />
...etc.
All the others seem to work fine and they work when generated by the default "everything on the toolbar" action.
↧
Edited Issue: HtmlEditorExtender - when creating a link, certain text causes malfunction. [27206]
Summary:
I'm using the HtmlEditorExtender in a listview. EnableSanitization is false (this is for an internal admin page). When I add/update a row, some links in the html is removed. And the text for the link ends up prefixed with an underscore.
More details:
Add some text such as "Please click here." Highlight the word "here" then create a link. For the url, use something that contains the letters "url" such as www.curl.com.
In the codebehind, wireup a ListView1_ItemUpdating event handler with code like this
String myString = e.NewValues["MyHtml"].ToString();
Look at myString. The link (anchor tag) is removed. and the word "here" becomes "_here".
I'm using the HtmlEditorExtender in a listview. EnableSanitization is false (this is for an internal admin page). When I add/update a row, some links in the html is removed. And the text for the link ends up prefixed with an underscore.
More details:
Add some text such as "Please click here." Highlight the word "here" then create a link. For the url, use something that contains the letters "url" such as www.curl.com.
In the codebehind, wireup a ListView1_ItemUpdating event handler with code like this
String myString = e.NewValues["MyHtml"].ToString();
Look at myString. The link (anchor tag) is removed. and the word "here" becomes "_here".
↧
Commented Issue: HtmlEditorExtender - when creating a link, certain text causes malfunction. [27206]
Summary:
I'm using the HtmlEditorExtender in a listview. EnableSanitization is false (this is for an internal admin page). When I add/update a row, some links in the html is removed. And the text for the link ends up prefixed with an underscore.
More details:
Add some text such as "Please click here." Highlight the word "here" then create a link. For the url, use something that contains the letters "url" such as www.curl.com.
In the codebehind, wireup a ListView1_ItemUpdating event handler with code like this
String myString = e.NewValues["MyHtml"].ToString();
Look at myString. The link (anchor tag) is removed. and the word "here" becomes "_here".
Comments: The issue is fixed and the fix will be included in one of our future releases.
I'm using the HtmlEditorExtender in a listview. EnableSanitization is false (this is for an internal admin page). When I add/update a row, some links in the html is removed. And the text for the link ends up prefixed with an underscore.
More details:
Add some text such as "Please click here." Highlight the word "here" then create a link. For the url, use something that contains the letters "url" such as www.curl.com.
In the codebehind, wireup a ListView1_ItemUpdating event handler with code like this
String myString = e.NewValues["MyHtml"].ToString();
Look at myString. The link (anchor tag) is removed. and the word "here" becomes "_here".
Comments: The issue is fixed and the fix will be included in one of our future releases.
↧
Edited Unassigned: Modal Popup incorrect z-index in tab container and update panel [27971]
Just noticed this with the latest release, 15.1.4. I have a tabcontainer inside an updatepanel with updatemode = conditional. Some of the tabs trigger a modalpopupextender via code-behind also via child updatepanel. Initially, the modal popup and background display on top like they should, but after doing an update on the outer updatepanel, the modal popups and background css appear behind the tab container. z-index is -6000 for backgroundelement and -5999 for the modal popup when this happens. Used to work fine prior to release 15.1.4.
↧
↧
Closed Issue: Block UI same Jquery [27219]
Is possible create a blockui as with jquery ajax ?
↧
Edited Unassigned: htmleditorextender generates invalid xhtml [27423]
Hello,
The htmleditorextender control produces invalid xhtml (like <br> instead of <br/>)
and old html (like <font color="" size="" face=""> instead of using css rules color: ; font-size: ; font-family: ;).
It's an issue because I use the generated html to produce pdf and word format with third party libraries
that rely on valid xhtml to work properly.
It's a very useful extender but I don't understand why it still uses old html.
Thank you.
The htmleditorextender control produces invalid xhtml (like <br> instead of <br/>)
and old html (like <font color="" size="" face=""> instead of using css rules color: ; font-size: ; font-family: ;).
It's an issue because I use the generated html to produce pdf and word format with third party libraries
that rely on valid xhtml to work properly.
It's a very useful extender but I don't understand why it still uses old html.
Thank you.
↧
Edited Issue: Getting the ValidatorCallout to work with CustomValidators [11999]
There is a known limitation of the ValidatorCallout:
"The callouts do not currently display automatically after a server post-back and will only work for custom validators which utilize client-side validation. Even after a post-back the callout will display when the form is re-validated when a postback is attempted again."
This is somewhat limiting, as all of the other Validation controls show the ValidatorCallout when the user tabs off of them - when you use a CustomValidator, you have to wait for the page to be submitted before the ValidatorCallout does it's job.
As this is a known issue, it is probably being worked on anyway, but I thought I would post this in case someone else ran into this limitation.
"The callouts do not currently display automatically after a server post-back and will only work for custom validators which utilize client-side validation. Even after a post-back the callout will display when the form is re-validated when a postback is attempted again."
This is somewhat limiting, as all of the other Validation controls show the ValidatorCallout when the user tabs off of them - when you use a CustomValidator, you have to wait for the page to be submitted before the ValidatorCallout does it's job.
As this is a known issue, it is probably being worked on anyway, but I thought I would post this in case someone else ran into this limitation.
↧
Commented Issue: Block UI same Jquery [27219]
Is possible create a blockui as with jquery ajax ?
Comments: For __Page Blocking__ purpose, you can use __ASP.NET UpdatePanel__ and __ASP.NET UpdateProgress__. * [UpdatePanel Control Overview](https://msdn.microsoft.com/en-us/library/bb386454(v=vs.100).aspx) * [UpdateProgress Control Overview](https://msdn.microsoft.com/en-us/library/bb398821(v=vs.100).aspx) For __Element Blocking__ purpose, you can use __ASP.NET UpdatePanel__ and __ACT UpdatePanelAnimation__. * [UpdatePanelAnimation Demonstration](http://ajaxcontroltoolkit.devexpress.com/UpdatePanelAnimation/UpdatePanelAnimation.aspx) For showing a __Modal Dialog__ you can use __ASP.NET Panel (not UpdatePanel)__ and __ACT ModalPopupExtender__. * [ModalPopup Demonstration](http://ajaxcontroltoolkit.devexpress.com/ModalPopup/ModalPopup.aspx) For animating purpose, you can use __ACT Animations__. * [Animation Reference](https://ajaxcontroltoolkit.codeplex.com/wikipage?title=Animation%20Control%20Reference) Also, you can use jQuery __UpdatePanel__ and __BlockUI__ plug-ins and __JavaScript__ to wiring up them! * [jQuery UpdatePanel plug-in](http://updatepanelplugin.codeplex.com/) * [jQuery BlockUI Plugin](http://malsup.com/jquery/block/) Good luck.
Comments: For __Page Blocking__ purpose, you can use __ASP.NET UpdatePanel__ and __ASP.NET UpdateProgress__. * [UpdatePanel Control Overview](https://msdn.microsoft.com/en-us/library/bb386454(v=vs.100).aspx) * [UpdateProgress Control Overview](https://msdn.microsoft.com/en-us/library/bb398821(v=vs.100).aspx) For __Element Blocking__ purpose, you can use __ASP.NET UpdatePanel__ and __ACT UpdatePanelAnimation__. * [UpdatePanelAnimation Demonstration](http://ajaxcontroltoolkit.devexpress.com/UpdatePanelAnimation/UpdatePanelAnimation.aspx) For showing a __Modal Dialog__ you can use __ASP.NET Panel (not UpdatePanel)__ and __ACT ModalPopupExtender__. * [ModalPopup Demonstration](http://ajaxcontroltoolkit.devexpress.com/ModalPopup/ModalPopup.aspx) For animating purpose, you can use __ACT Animations__. * [Animation Reference](https://ajaxcontroltoolkit.codeplex.com/wikipage?title=Animation%20Control%20Reference) Also, you can use jQuery __UpdatePanel__ and __BlockUI__ plug-ins and __JavaScript__ to wiring up them! * [jQuery UpdatePanel plug-in](http://updatepanelplugin.codeplex.com/) * [jQuery BlockUI Plugin](http://malsup.com/jquery/block/) Good luck.
↧
↧
Commented Issue: Getting the ValidatorCallout to work with CustomValidators [11999]
There is a known limitation of the ValidatorCallout:
"The callouts do not currently display automatically after a server post-back and will only work for custom validators which utilize client-side validation. Even after a post-back the callout will display when the form is re-validated when a postback is attempted again."
This is somewhat limiting, as all of the other Validation controls show the ValidatorCallout when the user tabs off of them - when you use a CustomValidator, you have to wait for the page to be submitted before the ValidatorCallout does it's job.
As this is a known issue, it is probably being worked on anyway, but I thought I would post this in case someone else ran into this limitation.
Comments: We were unable to reproduce this issue with the latest version of the AJAX Control Toolkit. Would you provide a sample project that uses AJAX Control Toolkit v15.1?
"The callouts do not currently display automatically after a server post-back and will only work for custom validators which utilize client-side validation. Even after a post-back the callout will display when the form is re-validated when a postback is attempted again."
This is somewhat limiting, as all of the other Validation controls show the ValidatorCallout when the user tabs off of them - when you use a CustomValidator, you have to wait for the page to be submitted before the ValidatorCallout does it's job.
As this is a known issue, it is probably being worked on anyway, but I thought I would post this in case someone else ran into this limitation.
Comments: We were unable to reproduce this issue with the latest version of the AJAX Control Toolkit. Would you provide a sample project that uses AJAX Control Toolkit v15.1?
↧
Edited Issue: Add Extender Missing after upgrade [27937]
I installed the new Ajax Control ToolKit 15.1.3.0, uninstalled an older version from an existing project and migrated the project to the new version. I replaced all the old toolscriptmanager with ScriptManager on each page. All existing controls/ extenders already on there work and the controls show up fine in the Toolbox.
I am missing all the options to extend anything new. There is no context Add Extender options available anymore.
I am missing all the options to extend anything new. There is no context Add Extender options available anymore.
↧
Edited Issue: HtmlAgilityPackSanitizerProvider recursively entity encodes markup [27314]
If HtmlAgilityPackSanitizerProvider is provided with markup that has previously been sanitized, entities in attributes will be encoded again. The effect of this is that each character of an entity (e.g. :) becomes encoded individually. The markup passed through balloons with the result that a few hundred characters of user submitted text becomes megabytes very quickly.
I have amended my CleanAttributeValues method:
private void CleanAttributeValues(HtmlAttribute attribute)
{
// Commented because HttpUtility doesn't understand hex entities and so doubly encodes them.
//attribute.Value = HttpUtility.HtmlEncode(attribute.Value);
attribute.Value = Regex.Replace(attribute.Value, @"\s*j\s*a\s*v\s*a\s*s\s*c\s*r\s*i\s*p\s*t\s*", "", RegexOptions.IgnoreCase);
attribute.Value = Regex.Replace(attribute.Value, @"\s*s\s*c\s*r\s*i\s*p\s*t\s*", "", RegexOptions.IgnoreCase);
if (attribute.Name.ToLower() == "style")
{
attribute.Value = Regex.Replace(attribute.Value, @"\s*e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*", "", RegexOptions.IgnoreCase);
attribute.Value = Regex.Replace(attribute.Value, @"\s*b\s*e\s*h\s*a\s*v\s*i\s*o\s*r\s*", "", RegexOptions.IgnoreCase);
}
if (attribute.Name.ToLower() == "href" || attribute.Name.ToLower() == "src")
{
//if (!attribute.Value.StartsWith("http://") || attribute.Value.StartsWith("/"))
// attribute.Value = "";
attribute.Value = Regex.Replace(attribute.Value, @"\s*m\s*o\s*c\s*h\s*a\s*", "", RegexOptions.IgnoreCase);
}
// Don't doubly escape characters (which leads to ever expanding markup)
var pattern = @"(
\&\#x[0-9,A-F]{2,4};| # Match a Hex entity
\&\#[0-9]{2,4};| # Or a decimal entity
\&\w+;| # Or an alphabetic named entity
. # Else match any single character
)";
Regex regex = new Regex(pattern, RegexOptions.Compiled |
RegexOptions.IgnoreCase |
RegexOptions.IgnorePatternWhitespace);
StringBuilder unescaped = new StringBuilder();
foreach (Match match in regex.Matches(attribute.Value))
{
if (match.Groups[0].Length == 1)
{
char c = match.Groups[0].Value.ToCharArray()[0];
unescaped.Append(EncodeCharacterToHtmlEntityEscape(c));
}
else
{
unescaped.Append(match.Groups[0].Value);
}
}
attribute.Value = unescaped.ToString();
// Commented out to avoid double encoding characters
//// HtmlEntity Escape
//StringBuilder sbAttriuteValue = new StringBuilder();
//foreach (char c in attribute.Value.ToCharArray())
//{
// sbAttriuteValue.Append(EncodeCharacterToHtmlEntityEscape(c));
//}
//attribute.Value = sbAttriuteValue.ToString();
}
I have amended my CleanAttributeValues method:
private void CleanAttributeValues(HtmlAttribute attribute)
{
// Commented because HttpUtility doesn't understand hex entities and so doubly encodes them.
//attribute.Value = HttpUtility.HtmlEncode(attribute.Value);
attribute.Value = Regex.Replace(attribute.Value, @"\s*j\s*a\s*v\s*a\s*s\s*c\s*r\s*i\s*p\s*t\s*", "", RegexOptions.IgnoreCase);
attribute.Value = Regex.Replace(attribute.Value, @"\s*s\s*c\s*r\s*i\s*p\s*t\s*", "", RegexOptions.IgnoreCase);
if (attribute.Name.ToLower() == "style")
{
attribute.Value = Regex.Replace(attribute.Value, @"\s*e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*", "", RegexOptions.IgnoreCase);
attribute.Value = Regex.Replace(attribute.Value, @"\s*b\s*e\s*h\s*a\s*v\s*i\s*o\s*r\s*", "", RegexOptions.IgnoreCase);
}
if (attribute.Name.ToLower() == "href" || attribute.Name.ToLower() == "src")
{
//if (!attribute.Value.StartsWith("http://") || attribute.Value.StartsWith("/"))
// attribute.Value = "";
attribute.Value = Regex.Replace(attribute.Value, @"\s*m\s*o\s*c\s*h\s*a\s*", "", RegexOptions.IgnoreCase);
}
// Don't doubly escape characters (which leads to ever expanding markup)
var pattern = @"(
\&\#x[0-9,A-F]{2,4};| # Match a Hex entity
\&\#[0-9]{2,4};| # Or a decimal entity
\&\w+;| # Or an alphabetic named entity
. # Else match any single character
)";
Regex regex = new Regex(pattern, RegexOptions.Compiled |
RegexOptions.IgnoreCase |
RegexOptions.IgnorePatternWhitespace);
StringBuilder unescaped = new StringBuilder();
foreach (Match match in regex.Matches(attribute.Value))
{
if (match.Groups[0].Length == 1)
{
char c = match.Groups[0].Value.ToCharArray()[0];
unescaped.Append(EncodeCharacterToHtmlEntityEscape(c));
}
else
{
unescaped.Append(match.Groups[0].Value);
}
}
attribute.Value = unescaped.ToString();
// Commented out to avoid double encoding characters
//// HtmlEntity Escape
//StringBuilder sbAttriuteValue = new StringBuilder();
//foreach (char c in attribute.Value.ToCharArray())
//{
// sbAttriuteValue.Append(EncodeCharacterToHtmlEntityEscape(c));
//}
//attribute.Value = sbAttriuteValue.ToString();
}
↧
Commented Issue: Add Extender Missing after upgrade [27937]
I installed the new Ajax Control ToolKit 15.1.3.0, uninstalled an older version from an existing project and migrated the project to the new version. I replaced all the old toolscriptmanager with ScriptManager on each page. All existing controls/ extenders already on there work and the controls show up fine in the Toolbox.
I am missing all the options to extend anything new. There is no context Add Extender options available anymore.
Comments: This can be caused by the corrupted installation. Please try to perform the following actions (assuming you have only VS 2012): 1. Uninstall AJAX Control Toolkit with an installer. 2. Create any Website/Web application and run it. Stop it and return to Visual Studio IDE. 3. Reset Visual Studio Toolbox. 4. Close Visual Studio. 5. Clear all configuration/system.applictionHost/sites/site elements in %userprofile%\documents\IISExpress\config\applicationhost.config 6. Remove AjaxControlToolkit from %AppData%\Local\Microsoft\VisualStudio\12.0\Extensions 7. Remove the Website/Web application you created at step 2. 8. Install the latest version of AJAX Control Toolkit.
I am missing all the options to extend anything new. There is no context Add Extender options available anymore.
Comments: This can be caused by the corrupted installation. Please try to perform the following actions (assuming you have only VS 2012): 1. Uninstall AJAX Control Toolkit with an installer. 2. Create any Website/Web application and run it. Stop it and return to Visual Studio IDE. 3. Reset Visual Studio Toolbox. 4. Close Visual Studio. 5. Clear all configuration/system.applictionHost/sites/site elements in %userprofile%\documents\IISExpress\config\applicationhost.config 6. Remove AjaxControlToolkit from %AppData%\Local\Microsoft\VisualStudio\12.0\Extensions 7. Remove the Website/Web application you created at step 2. 8. Install the latest version of AJAX Control Toolkit.
↧
↧
Commented Issue: HTMLEditorExtender inner item CSS Class disappears [27299]
I know this is a very picky problem but still it exists!
Retro steps:
(you may do this directly on http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx)
1- lets start by going into source mode and type this: Hello <b>world!</b><span class="test">This Is A Test</span>
2- switch to design mode
3- focus out of the control (by clicking anywhere else)
4- switch to source mode again and you will see your class disappear (this is not magic... it's a bug)
*This bug is valid for all browser on all versions! (unless i am mistaken but I've tested it in Chrome Firefox IE9 IE8(through IE9) and stopped there :P figured if it worked in <IE8 it was pretty much still a bug on all major browsers)
Thanks
Comments: Hi! Thank you for your report. We have fixed the issue you described, and this fix will be available in the next AJAX Control Toolkit release. Now the id and class attributes aren't deleted by default. If you want HtmlEditor to delete these attributes, enable sanitization by setting "EnableSanitization" property to true. Best regards, Fadil
Retro steps:
(you may do this directly on http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx)
1- lets start by going into source mode and type this: Hello <b>world!</b><span class="test">This Is A Test</span>
2- switch to design mode
3- focus out of the control (by clicking anywhere else)
4- switch to source mode again and you will see your class disappear (this is not magic... it's a bug)
*This bug is valid for all browser on all versions! (unless i am mistaken but I've tested it in Chrome Firefox IE9 IE8(through IE9) and stopped there :P figured if it worked in <IE8 it was pretty much still a bug on all major browsers)
Thanks
Comments: Hi! Thank you for your report. We have fixed the issue you described, and this fix will be available in the next AJAX Control Toolkit release. Now the id and class attributes aren't deleted by default. If you want HtmlEditor to delete these attributes, enable sanitization by setting "EnableSanitization" property to true. Best regards, Fadil
↧
Edited Issue: HTMLEditorExtender inner item CSS Class disappears [27299]
I know this is a very picky problem but still it exists!
Retro steps:
(you may do this directly on http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx)
1- lets start by going into source mode and type this: Hello <b>world!</b><span class="test">This Is A Test</span>
2- switch to design mode
3- focus out of the control (by clicking anywhere else)
4- switch to source mode again and you will see your class disappear (this is not magic... it's a bug)
*This bug is valid for all browser on all versions! (unless i am mistaken but I've tested it in Chrome Firefox IE9 IE8(through IE9) and stopped there :P figured if it worked in <IE8 it was pretty much still a bug on all major browsers)
Thanks
Retro steps:
(you may do this directly on http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/HTMLEditorExtender/HTMLEditorExtender.aspx)
1- lets start by going into source mode and type this: Hello <b>world!</b><span class="test">This Is A Test</span>
2- switch to design mode
3- focus out of the control (by clicking anywhere else)
4- switch to source mode again and you will see your class disappear (this is not magic... it's a bug)
*This bug is valid for all browser on all versions! (unless i am mistaken but I've tested it in Chrome Firefox IE9 IE8(through IE9) and stopped there :P figured if it worked in <IE8 it was pretty much still a bug on all major browsers)
Thanks
↧
Commented Unassigned: HtmlEditorExtender indent and outdent button clicks NOT working. [27645]
<asp:TextBox Width="100%" ID="someText" runat="server" TextMode="MultiLine" Rows="25" Columns="100" Text=""></asp:TextBox>
<ajaxToolkit:HtmlEditorExtender
ID="someTextExtender"
TargetControlID="someText"
DisplaySourceTab="false"
runat="server">
<Toolbar>
<ajaxToolkit:Undo />
<ajaxToolkit:Redo />
<ajaxToolkit:Bold />
<ajaxToolkit:Italic />
<ajaxToolkit:Underline />
<ajaxToolkit:StrikeThrough />
<ajaxToolkit:Subscript />
<ajaxToolkit:Superscript />
<ajaxToolkit:JustifyLeft />
<ajaxToolkit:JustifyCenter />
<ajaxToolkit:JustifyRight />
<ajaxToolkit:JustifyFull />
<ajaxToolkit:InsertOrderedList />
<ajaxToolkit:InsertUnorderedList />
<ajaxToolkit:CreateLink />
<ajaxToolkit:UnLink />
<ajaxToolkit:RemoveFormat />
<ajaxToolkit:SelectAll />
<ajaxToolkit:UnSelect />
<ajaxToolkit:Delete />
<ajaxToolkit:Cut />
<ajaxToolkit:Copy />
<ajaxToolkit:Paste />
<ajaxToolkit:BackgroundColorSelector />
<ajaxToolkit:ForeColorSelector />
<ajaxToolkit:FontNameSelector />
<ajaxToolkit:FontSizeSelector />
<ajaxToolkit:Indent />
<ajaxToolkit:Outdent />
<ajaxToolkit:InsertHorizontalRule />
<ajaxToolkit:HorizontalSeparator />
<ajaxToolkit:InsertImage />
</Toolbar>
</ajaxToolkit:HtmlEditorExtender>
htmlText = "<div><p style="margin-left:.5in"><b>Text</b> </p>
<p style="margin-left:.5in"><b>bold</b> Text<p>
<p style="margin-left:.8in"><b>Name:</b> FirstName + LastName</p>
<p style="margin-left:.8in"><b>Email:</b> Email</p></div>"
HtmlDocument doc = new HtmlDocument();
doc.LoadHtml(htmlText);
HtmlNode bodyNode = doc.DocumentNode.SelectSingleNode("//body");
someText.Text = HttpUtility.HtmlDecode(bodyNode.InnerHtml);
margin-left:.5in is used for indenting purposes which is NOT working when I use the above code. I tried to use Indent and Outdent buttons on the HtmlEditorExtender control, they are NOT greyed out but when clicked NOTHING happens.
Any help greatly appreciated.
Comments: Hi! Thank you for your report! Unfortunately we are unable to reproduce the issue you described. Would you please upgrade to the current AJAX Control Toolkit release (v15.1.4) and check if this issue still reproducible. Please, feel free to contact me if you have any questions. Best regards, Fadil
<ajaxToolkit:HtmlEditorExtender
ID="someTextExtender"
TargetControlID="someText"
DisplaySourceTab="false"
runat="server">
<Toolbar>
<ajaxToolkit:Undo />
<ajaxToolkit:Redo />
<ajaxToolkit:Bold />
<ajaxToolkit:Italic />
<ajaxToolkit:Underline />
<ajaxToolkit:StrikeThrough />
<ajaxToolkit:Subscript />
<ajaxToolkit:Superscript />
<ajaxToolkit:JustifyLeft />
<ajaxToolkit:JustifyCenter />
<ajaxToolkit:JustifyRight />
<ajaxToolkit:JustifyFull />
<ajaxToolkit:InsertOrderedList />
<ajaxToolkit:InsertUnorderedList />
<ajaxToolkit:CreateLink />
<ajaxToolkit:UnLink />
<ajaxToolkit:RemoveFormat />
<ajaxToolkit:SelectAll />
<ajaxToolkit:UnSelect />
<ajaxToolkit:Delete />
<ajaxToolkit:Cut />
<ajaxToolkit:Copy />
<ajaxToolkit:Paste />
<ajaxToolkit:BackgroundColorSelector />
<ajaxToolkit:ForeColorSelector />
<ajaxToolkit:FontNameSelector />
<ajaxToolkit:FontSizeSelector />
<ajaxToolkit:Indent />
<ajaxToolkit:Outdent />
<ajaxToolkit:InsertHorizontalRule />
<ajaxToolkit:HorizontalSeparator />
<ajaxToolkit:InsertImage />
</Toolbar>
</ajaxToolkit:HtmlEditorExtender>
htmlText = "<div><p style="margin-left:.5in"><b>Text</b> </p>
<p style="margin-left:.5in"><b>bold</b> Text<p>
<p style="margin-left:.8in"><b>Name:</b> FirstName + LastName</p>
<p style="margin-left:.8in"><b>Email:</b> Email</p></div>"
HtmlDocument doc = new HtmlDocument();
doc.LoadHtml(htmlText);
HtmlNode bodyNode = doc.DocumentNode.SelectSingleNode("//body");
someText.Text = HttpUtility.HtmlDecode(bodyNode.InnerHtml);
margin-left:.5in is used for indenting purposes which is NOT working when I use the above code. I tried to use Indent and Outdent buttons on the HtmlEditorExtender control, they are NOT greyed out but when clicked NOTHING happens.
Any help greatly appreciated.
Comments: Hi! Thank you for your report! Unfortunately we are unable to reproduce the issue you described. Would you please upgrade to the current AJAX Control Toolkit release (v15.1.4) and check if this issue still reproducible. Please, feel free to contact me if you have any questions. Best regards, Fadil
↧