Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all 4356 articles
Browse latest View live

Closed Issue: CascadingDropDowns error when inside a modalDialog [27366]

$
0
0
Hello,

There's a bug when I put two or more cascading dropdowns inside a ASP modalDialog.

For example, I have two cascadingDropdowns inside a modalDialog where the second one depends on the first.
When I select a value on the first, a webMethod is called that returns values to the second dropdown. The problem, as far as i can tell, is that the response from the service is given in xml instead of json.

This behaviour only appears after the 30930 release (Sep. 2009). If I substitute the dll for the 30930 and earlier releases it works fine.

In attachment it´s shown the error that appears.

Regards,

Vitor Loureiro

Closed Issue: AjaxFileUpload don't work in userControls [27254]

$
0
0
AjaxFileUpload don't work in the usercontrol. Any Events are not triggered.

Commented Unassigned: overrride js function [27953]

$
0
0
Hi

do you have an example to override a js function of ajaxcontroltoolkit?

I need to override

Ajaxcontroltoolkit.updatepanelanimationbehavior.prototype._partialupdatebeginrequest

thanks


Comments: Hi! This function is assumed as private, so it is not recommended to override it. Would you please describe your main task? I will try to suggest you another way of solving the problem. Best regards, Fadil

Edited Issue: overrride js function [27953]

$
0
0
Hi

do you have an example to override a js function of ajaxcontroltoolkit?

I need to override

Ajaxcontroltoolkit.updatepanelanimationbehavior.prototype._partialupdatebeginrequest

thanks


Commented Unassigned: Problem with dynamically created nested UpdatePanels [27402]

$
0
0
Here is a clean aspx page. There are two parts. Design time created controls work fine. Button click event get fired.

The second part contains only an update panel and a tabcontainer. In the code behind, a new TabPanel is created, with a new Button.

New Button click event does not get fired.
```
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NestedUpdatePanels.aspx.cs"
Inherits="ArminTestStranica.NestedUpdatePanels" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<!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></title>
</head>
<body>
<form id="form1" runat="server">
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
Design time created controls
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" ChildrenAsTriggers="False" UpdateMode="Conditional">
<ContentTemplate>
<asp:Button ID="btn1" runat="server" Text="Des btn1" OnClick="btn1_click" />
<asp:TextBox ID="txt1" runat="server" Width="300px"></asp:TextBox>
<asp:TabContainer ID="TabContainer1" runat="server">
<asp:TabPanel ID="Tab1" runat="server" HeaderText="Tab 1">
<ContentTemplate>
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Button ID="btn2" runat="server" Text="Des btn2" OnClick="btn2_click" />
<asp:TextBox ID="txt2" runat="server" Width="300px"></asp:TextBox>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btn2" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Tab 2">
<ContentTemplate>
<asp:UpdatePanel ID="UpdatePanel3" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Button ID="btn3" runat="server" Text="Des btn3" OnClick="btn3_click" />
<asp:TextBox ID="txt3" runat="server" Width="300px"></asp:TextBox>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btn3" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
</ContentTemplate>
</asp:TabPanel>
</asp:TabContainer>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btn1" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
</div>
<br />
<br />
Runtime designed controls
<div>
<asp:UpdatePanel ID="UpdatePanel4" runat="server" ChildrenAsTriggers="False" UpdateMode="Conditional">
<ContentTemplate>
<asp:Button ID="rbtn1" runat="server" Text="Run btn1" OnClick="rbtn1_click" />
<asp:TextBox ID="rtxt1" runat="server" Width="300px"></asp:TextBox>
<asp:TabContainer ID="TabContainer2" runat="server">
</asp:TabContainer>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="rbtn1" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>
```

```
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using AjaxControlToolkit;

namespace ArminTestPage
{
public partial class NestedUpdatePanels : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}

protected void btn1_click(object sender, EventArgs e)
{
txt1.Text = "You have clicked at: " + DateTime.Now.ToString("dd/MM/yyyy hh:mm:ss tt");

}
protected void btn2_click(object sender, EventArgs e)
{
txt2.Text = "You have clicked at: " + DateTime.Now.ToString("dd/MM/yyyy hh:mm:ss tt");

}
protected void btn3_click(object sender, EventArgs e)
{
txt3.Text = "You have clicked at: " + DateTime.Now.ToString("dd/MM/yyyy hh:mm:ss tt");

}
protected void rbtn1_click(object sender, EventArgs e)
{
rtxt1.Text = "You have clicked at: " + DateTime.Now.ToString("dd/MM/yyyy hh:mm:ss tt");
TabContainer2.Tabs.Clear();
TabPanel firstNewTabPanel = new TabPanel();
firstNewTabPanel.ID = "runFirstTabPanel";
firstNewTabPanel.HeaderText = "Run Tab 1";
UpdatePanel firstNewUpdatePanel = new UpdatePanel();
firstNewUpdatePanel.ID = "runFirstUpdatePanel";
firstNewUpdatePanel.UpdateMode = UpdatePanelUpdateMode.Conditional;
Button firstNewButton = new Button();
firstNewButton.ID = "runFirstButton";
firstNewButton.ClientIDMode = ClientIDMode.Static;
firstNewButton.Text = "Run btn 2";
firstNewButton.Click += new EventHandler(firstNewButton_Click);
firstNewUpdatePanel.ContentTemplateContainer.Controls.Add(firstNewButton);
AsyncPostBackTrigger firstNewTrigger = new AsyncPostBackTrigger();
firstNewTrigger.ControlID = "runFirstButton";
firstNewTrigger.EventName = "Click";
firstNewUpdatePanel.Triggers.Add(firstNewTrigger);
firstNewTabPanel.Controls.Add(firstNewUpdatePanel);
TabContainer2.Tabs.Add(firstNewTabPanel);
TabContainer2.ActiveTabIndex = 0;
}

void firstNewButton_Click(object sender, EventArgs e)
{
rtxt1.Text = "You have clicked at Runtime Button 2: " + DateTime.Now.ToString("dd/MM/yyyy hh:mm:ss tt");
}
}
}
```
What am I doing wrong?
Comments: Would you please provide a complete sample project?

Closed Issue: CascadingDropDown - ParseKnownCategoryValuesString with JSON data [25312]

$
0
0
Sorry if this is not the correct way to submit changes, but have run into an issue and found what I believe is the correct fix.
(nb:Tried to select the component but couldnt, so had to put in title)

When using the CascadingDropDown I needed to add some custom attributes to each listItem
To do this I decided to pass back JSON data in the items value property.
This all works fine, but then when trying to get the knownCategoryValues I run into problems if I use the built in ParseKnownCategoryValuesString.

Looking at the source, this is because the string is being split on ; and then each item on :
Where the value of my drop down contains my JSON data this fails for the following knownCategoryValues string:
Media:1;Client:{"Name":"ABC","Id":123,"Code":"ABC","Currency":"EUR"};

I created a slightly modified version of this that handles this scenario, but shoudl not affect others where we look for the first occurance of the : seperator and parse that way. The modified lines are marked. I also assume this would break if any of the drop down values contained a colon.
public static System.Collections.Specialized.StringDictionary ParseKnownCategoryValuesString(string KnownCategoryValues)
{
// Validate parameters
if (null == KnownCategoryValues)
{
throw new ArgumentNullException("knownCategoryValues");
}

System.Collections.Specialized.StringDictionary dictionary = new System.Collections.Specialized.StringDictionary();
if (null != KnownCategoryValues)
{
// Split into category/value pairs
foreach (string knownCategoryValue in KnownCategoryValues.Split(';'))
{
// Split into category and value
string[] knownCategoryValuePair = knownCategoryValue.Split(':');
//MODIFIED:check for exactly 2 items breaks if value contains our : seperator
if (knownCategoryValuePair.Length>=2)
{
// Add the pair to the dictionary
//MODIFIED:changed to extract value after the 1st : so wont get confused if value conatins a colon
dictionary.Add(knownCategoryValuePair[0].ToLowerInvariant(),
knownCategoryValue.Substring(knownCategoryValue.IndexOf(":") + 1));
}
}
}
return dictionary;
}

If there is a different / better way of submitting potential bugs / fixes please let me know
Thanks
Comments: Thank you for your suggestion! We will keep it in mind during our future work.

Closed Unassigned: HtmlAgilityPackSanitizerProvider tag BR [27445]

$
0
0
If run HtmlAgilityPackSanitizerProvider with tag "br" in white list throws an exception. (Because tag.Value in BR tag is NULL)

To resolve this error need to check if null in attributes.

After
foreach (HtmlAttribute a in attr)
{

Add
if(tag.Value == null)
continue;
Comments: In the current v15.1 release of Ajax Control Toolkit, we got rid of this code.

Commented Issue: HtmlEditorExtender adding & when typing < or > [27942]

$
0
0
It seems the HtmlEditorExtender is adding a '&' when users enter '<' or '>':
* '>' ==> '&>'
* '<' ==> '&<'

Thanks for your help.

Configuration:
* IE 10
* VS2013
* .Net 4.5
* Web site with web forms
Comments: To have a better view of my problem, can you go to the sample site: [http://ajaxcontroltoolkit.devexpress.com/HtmlEditorExtender/HtmlEditorExtender.aspx](http://ajaxcontroltoolkit.devexpress.com/HtmlEditorExtender/HtmlEditorExtender.aspx) Please enter these examples: 5 > 3 it's true 5 < 8 it's true And show the result... :) Tested with Chrome 45 and IE 11. Best regards, Sebastien

Commented Unassigned: ValidatorCalloutExtender appears at top left of PAGE [27448]

$
0
0
Infragistics 11.2 - 13.1: WebDatePicker. ValidatorCalloutExtender appears at top left of the PAGE, not next to the control. According to Infragistics:

------------
After some research, I have come across some information where this has been reported for a similar control before. Our developer had the following to say about the WebTextEditor, which the WebDatePicker is inherited from:

The WebTextEditor implements support for standard asp validators by swapping target html element from original (INPUT or TABLE) element to dynamically created SPAN. Otherwise, validation logic, used by asp validator, would fail for several reasons. For example, focus/not-focus strings in INPUT are different and do not represent actual value in editor. Also value can be modified with delay after actual browser-blur event.

The WebTextEditor always keeps correct value in that dynamic SPAN, updates that value on all changes and that allows to solve synchronization problems and comply with validation rules. That SPAN is added to the <body>, it has position:absolute and it has id=ClientID_of_editor+":v:".

I debugged javascript used by ValidatorCalloutExtender and found that while calculations of its pop-up-bounds, it uses not bounds of actual validator to which extender is assigned to (that would be SPAN-id=RequiredFieldValidator1), and not bounds of html-element-editor to which validator should validate (that would be INPUT-id=NameWebTextEditor), but bounds of internal variable stored on client by validator (which is dynamically created SPAN-id=NameWebTextEditor:v:).
-----------
Comments: Would you provide a sample project illustrating your problem?

Closed Issue: SCRIPT87: Invalid argument. in Common.Common.js with IE 8. [27232]

$
0
0
Common.Common.js, Line 3 character 12627, Invalid Argument

After applying the property "id"="ExtenderContentEditable", the property is "height"="-25px". This error is Invalid Argument.


,applyProperties:function(e,d){
for(var b in d){
var a=d[b];
if(a!=c&&Object.getType(a)===Object){
var f=e[b];
$common.applyProperties(f,a)
}
else e[b]=a
}
}
Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Closed Unassigned: Ajaxfileupload asp authorization and formview issues [27455]

$
0
0
I recently tried upgrading to the latest ASP.NET Ajax Control Toolkit from 7.0123 to 7.0607 as the ajaxfileupload component appeared to have a bug in that no matter what file extensions I told it to allow it would only allow graphic images.

The new package installed and I modified my web.config file with the new elements from the help files.
Two issues presented themselves which have made the component useless so I wanted to post this to see if anyone had any ideas of whether the issues could be reported as faults?

firstly if I use __authorisation deny="?"__ in my web.config file then files don't upload at all. This doesn't affect the component in 7.0123 so seems to just be affected in versions after that.
I am guessing this is because the component uploads the file to the web site in a particular folder?
Does anyone know which one so I can set a permission to allow access to this?

Secondly all of my pages contain an asp:updatepanel and asp:formview.
If I switch modes in the formview from item to edit then the ajax file upload doesn't work.
If I don't touch the formview and just leave it in item mode then the control is fine until the page does a postback which then breaks the ajaxfileupload and then it no longer successfully uploads files.

Anyone any ideas as I would like to upgrade to the new controls but they simply don't work on my site because of the formview elements.

Thank you

Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Commented Unassigned: Ajax Modal popup Extender - Infinite Scroll bar Issue in IE [27460]

$
0
0
I am using Ajax Modal popup Extender(version 4.0.30319) in my application.After Modal popup extender comes up, an infinte scroll bar is appearing in IE browser.

when i use scroll bars to see the popup the page keep on incrementing and I am ending up with unable to view the popup.

IDE: VS 2010.

This happens only in IE. Whereas Firefox/chrome does not have any issues.One strange thing i also observered with this issue.

We are currently using AjaxToolKit v4.0.30319 for the ModalPopup where the failure occurs. Using v1.0.10301.0 would work In IE also, but we don't want to move backwards and it is unknown if this older version might cause issues elsewhere.

how to resolve it?

Will these kind of problems be solved in the next version releases of Ajax ToolKit.
Comments: What IE version are you using? Would you please provide a sample project illustrating the problem?

Closed Unassigned: Ajax modal popup extender does not popup [27465]

$
0
0
I'm using asp.net framework with ajaxcontroltoolkit 7.0607. The modal popup does not 'popup'The previous release worked find:

Here's the markup

<asp:Panel ID="PanelDiscardChanges" runat="server">
<table>
<tr>
<td colspan="2" align="center">
<asp:Label ID="label32" runat="server"
Text="Discard Changes?" Font-Bold="True"
Width="190px" ForeColor="Red" BorderStyle="Outset" Height="25px"></asp:Label>
</td>

</tr>
<tr>

<td align="center">
<asp:Button ID="btnDiscard_Cancel" runat="server" Text="No"
BorderStyle="Solid" Height="30px" Width="93px" CausesValidation="False"
ValidationGroup="UpdateWeight" />
</td>

<td align="center">
<asp:Button ID="btnDiscard_Continue" runat="server" Text="Yes"
BorderStyle="Solid" Height="30px" Width="93px" CausesValidation="False"
ValidationGroup="UpdateWeight" />
</td>

</tr>
</table>

</asp:Panel>
<asp:ModalPopupExtender ID="PanelDiscardChanges_ModalPopupExtender2"
runat="server" DynamicServicePath="" Enabled="True"
TargetControlID="btnDiscard_Modal" PopupControlID="PanelDiscardChanges" >
</asp:ModalPopupExtender>



<div style="visibility:hidden">
<asp:Button ID="btnDiscard_Modal" runat="server" Text="Discard Changes"
BorderStyle="Dotted" />
</div>

I use the show method for the extender as shown

If Request.Form("User$MainContent$btnCancel") <> "" Then
labelShipmentClosed.Text = "Cancel Update?."

PanelDiscardChanges_ModalPopupExtender2.Show()

MultiView1.ActiveViewIndex = 2

Exit Sub
End If

Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Commented Unassigned: AjaxFileUpload: clicking upload results in empty textbox [27468]

$
0
0
Hi,

I'm using a AjaxFileUpload control in a Modal Popup.
This modal popup contains a few labels and a 2 textboxes. 1 with just plain text and one hidden textbox with an id inside.

When I click upload on the control. Debugging the OnUploadComplete event will say the textboxes are empty. I need these values to update some fields in the database.

When I put the AjaxFileUpload outside of the modalpopup, i don't have any problems reading Textboxes or labels.

Any idea's?

Kind regards,
Comments: Would you provide a sample project?

Closed Unassigned: ListSearchExtender - space bar issue [27474]

$
0
0
Hello;

I'm using a ListSearchExtender for a list of cities in a given state. If the state is CA, the list contains several listitems made of two words, like "San Andreas", "San Bernardino", "San Diego".

The issue i'm encountering is when the user types the city name. while typying "san" everythign is fine, the filter works nicely. When user hits the spacebar, the dropdown pops (similar as if it was clicked).

My question: how can i avoid the POP feature when hitting the spacebar? Is there currently a work-around?
Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Closed Unassigned: calendar loads css on every async post back [27486]

$
0
0
I like your calendar and I have recently replaced all my old infragistics calendars with the calendar extender.

I made some changes to the styles and I load my css after the default css loads so it updates the styles.

I had to set my calendar css to be output on every async postback of the calendar since your control reloads it's css file on every postback even when it's async. It was reverting back to the default styles.

If you want to see I have it on the home page of our test site http://test.meyerre.com/

I took your calendar and wrapped it in an update panel so I could do some things with another calendar when the page comes back.
Comments: Thank you for sharing your experience!

Commented Issue: Positioning of ComboBox in GridView or Table [26826]

$
0
0
I have a need to use the ComboxBox as input for multiple GridView Columns, only the last ComboBox displays correctly, the rest are positioned below the row. I'm attaching a sample source code using Table instead of GridView, since it has the same problem and will display without needing to bind data. Adding a position relative div around the Combox placed it in the right position; but when attempting to do a select, placed the item list further down and to the right.

I am using IE7, VS2010, and AJAX Toolkit version 4.1.40412.0.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Experiment2.aspx.cs" Inherits="Materials_InfoTracking.Experiment2" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<!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></title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div>
<table width="100%">
<tr>
<td>
<asp:Label ID="lblMaterialType" runat="server" Text="MaterialType" />:
</td>
<td>
<asp:ComboBox ID="cbMaterialType" runat="server" Width="100px" AutoPostBack="True"
AutoCompleteMode="Suggest">
<asp:ListItem Text="CMA" Value="CMA" />
<asp:ListItem Text="HMA" Value="HMA" />
</asp:ComboBox>
</td>
<td>
<asp:Label ID="lblRecallJobMix" runat="server" Text="New Mix" />:
</td>
<td align="left" valign="top">
<asp:ComboBox ID="ComboBox1" runat="server" Width="100px" AutoPostBack="True"
AutoCompleteMode="Suggest">
</asp:ComboBox>
</td>
</tr>
</table>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</form>
</body>
</html>
Comments: Would you provide a sample project?

Closed Issue: Masked Edit extender behaviour in showModalDialog (a bug?!) [27018]

$
0
0
I am using masked edit extender to place a mask for date and time and I must say its a fantastic extender. However I have an issue.

I have placed the masked edit extender in an aspx file which is shown using Javascript showModalDialog. The properties of masked edit extender are as follows

<asp:MaskedEditExtender ID="maskExtender1" runat="server" ClearMaskOnLostFocus="False" MaskType="DateTime" Mask="99/99/9999 99:99" TargetControlID="Textbox1" AcceptAMPM="True" AutoComplete="False" />

As you can see the masked edit extender is attached to a textbox named Textbox1. During Page_Load, the Textbox1 is empty which means it displays "__/__/____ __:__ AM" as its contents. Now I set focus on Textbox1 and do not enter anything. Then I click in another control on the same aspx page (of course). Then all of a sudden, contents of Textbox1 become "0_/__/____ __:__ AM". Notice that a 0 has appeared in contents of Textbox1 even though I have not typed anything. Now, I click inside Textbox1 again and move focus to another control without entering anything in Textbox1. Then, out of blue, contents of Textbox1 become "00/0_/____ __:__ AM". Notice 00 are there in day and a single 0 in month part. I repeat the process of clicking inside Textbox1 and moving focus to another control without entering anything. Once again, contents of Textbox1 become "00/00/0___ __:__ AM". I repeat the process further and contents become "00/00/0000 __:__ AM". If I repeat the process again, contents of Textbox1 stay at "00/00/0000 __:__ AM" (whew!). So, hours and minutes are not filled.

Thus, the masked edit extender is "generating" characters ("0") in its target control without end-user entering anything in the target control. I have setting different properties of masked edit extender to no avail.

I am using AJAX control toolkit version 3.5.50731.0 (as present in AjaxControlToolkit.dll file) and Visual Studio 2008.
Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Commented Issue: overrride js function [27953]

$
0
0
Hi

do you have an example to override a js function of ajaxcontroltoolkit?

I need to override

Ajaxcontroltoolkit.updatepanelanimationbehavior.prototype._partialupdatebeginrequest

thanks


Comments: Thank´s for the answer I have a web site with a master page, in the masterpage I have a updatepanel and a updatepanelanimationextender. in the updatepanelanimationxtender I use a scriptaction for the elements onupdating and onupdated, basicaly for enabling/dissabling the updatepanel and to show a wait animation. I don´t use a trigger in the updatepanel. in older versions of ajaxcontroltoolkit all the pages based on my masterpage fires the onupdating an onupdated updatepanelanimationxtender ´s event . in the actual version of ajaxcontroltoolkit the event doesn´t fired because in Ajaxcontroltoolkit.updatepanelanimationbehavior.prototype._partialupdatebeginrequest , ask for the triggers in the client controls. that´s why I whant to override the function and eliminate this ask regards

Commented Issue: HTMLEditorExtender CSS Issues [27009]

$
0
0
Hello,

Issue #1 Display None
Note - This only occurs in Internet Explorer 8 to my knowledge. This does NOT occur in Internet Explorer 9 utilizing compatibility mode to view the page in Internet Explorer 8.

I believe I've recently found an issue with using the HTMLEditorExtender control. It would seem as the display none css attribute, displayed below, causes a javascript error to occur.

display:none;

When this is used on a container around the control and a partial postback occurs, this javascript error is thrown: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.

I know that this is a problem if this control is used in a jQueryUI modal, but I also believe that this is an issue with a CollapsiblePanelExtender when it is collapsed.

Issue #2 Width
The second issue seems to come when the HTMLEditorExtender is placed in a jQueryUI modal, and I've seen another help issue found here showing that it also occurs on the ModalPopupExtender:
http://ajaxcontroltoolkit.codeplex.com/workitem/26995

What happens is the HTMLEditorExtender sets a page-level style attribute to its container with these attributes:
width: 0;
height: 0;

This, to my knowledge is what is causing the control to be extremely narrow inside the modal. Using the CSS provided below fixes the issue, but it is very messy and involves the use of the !important keyword that I try to avoid in my stylesheets. I had to first wrap the textbox and HTMLEditorExtender in a div, and apply a class to it. For the intents of this, I'll just call that class "fix".

.fix > div
{
height:inherit !important;
width:inherit !important;
}

.fix > div > .ajax__html_editor_extender_texteditor
{
height:200px!important;
}

Thank you,
-Anthony
Comments: Would you provide a sample project with the layout described in your scenario?
Viewing all 4356 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>