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

Closed Issue: Calendar animating incorrect when size is changed [27905]

$
0
0
The Calendar animation is incorrect when the width or the height of the calendar body is changed via css class. I have made some changes to the __Calendar.js__ file to fix the issue. I dont know if it the best fixe but it seams to work correctly.

__Code change summay__

Removed Hard-Coded Variable
this._width = 170;
this._height = 139;

Replace Variable By Corresponding

newElement.offsetWidth
newElement.offsetHeight

oldElement.offsetWidth
oldElement.offsetHeight

Exemple:
$common.setLocation(newElement, { x: 0, y: newElement.offsetWidth });
$common.setLocation(newElement, { x: 0, y: newElement.offsetHeight });

Include modified javascript. Hope this will help.


Commented Issue: MaximumNumberofFiles for AjaxFileUpload not Working in Chrome And FireFox [27229]

$
0
0
The MaximumNumberOfFiles in AjaxFileUpload doesnt work Chrome and Firefox..........If the max files mentioned is "1" then too it accepts multiple files .......... Please HELP!!!
Comments: Hi! Thank you for sharing your experience. Unfortunately, we can't reproduce the issue you described with the newest v15.1.3 version of the AJAX Control Toolkit. Try to upgrade to it and let me know if this issue persists. Best regards, Fadil

Edited Issue: MaximumNumberofFiles for AjaxFileUpload not Working in Chrome And FireFox [27229]

$
0
0
The MaximumNumberOfFiles in AjaxFileUpload doesnt work Chrome and Firefox..........If the max files mentioned is "1" then too it accepts multiple files .......... Please HELP!!!

Closed Issue: Collapsible Panel not showing complete content [27130]

$
0
0
I have noticed a problem with the CollapsiblePanelExtender. I have a CollapsiblePanelExtender on a page that won't display it's contents even though the panel is expanded. The panel contains an update panel. The code looks something like this:

<cc1:CollapsiblePanelExtender ID="cpePaymentInfo" runat="server"
TargetControlID="pnlPayments" Collapsed="False"
CollapseControlID="pnlPaymentsTitle"
ExpandControlID="pnlPaymentsTitle"
CollapsedImage="~/images/collapse.jpg"
ExpandedImage="~/images/expand.jpg" ImageControlID="imgPaymentExpand"
Enabled="True" />
<asp:Panel ID="pnlPaymentsTitle" runat="server" style="color: White; background-color: #A08F63; padding:5px" Height="15px">
<div style="float: left">
<b>Payment Information</b>
</div>
<div style="float: right; vertical-align:middle">
<asp:Image ID="imgPaymentExpand" runat="server" ImageUrl="~/images/expand.jpg" />
</div>
</asp:Panel>
<asp:Panel ID="pnlPayments" runat="server">
<br />
<asp:UpdatePanel ID="upPayments" runat="server">
<ContentTemplate>

I've used Firebug to see what is happening and there is a div tag that is getting rendered out with an incorrect height. So the panel is only partially extended and not all of the content displays. This is happening with the latest version of the AjaxControlToolkit.

I have found a workaround for this issue. If I use something like this then the panel is fully expanded on page load:

<cc1:CollapsiblePanelExtender ID="cpePaymentInfo" runat="server"
TargetControlID="pnlPayments" Collapsed="False"
CollapseControlID="pnlPaymentsTitle"
ExpandControlID="pnlPaymentsTitle"
CollapsedImage="~/images/collapse.jpg"
ExpandedImage="~/images/expand.jpg" ImageControlID="imgPaymentExpand"
Enabled="True" />
<asp:Panel ID="pnlPaymentsTitle" runat="server" style="color: White; background-color: #A08F63; padding:5px" Height="15px">
<div style="float: left">
<b>Payment Information</b>
</div>
<div style="float: right; vertical-align:middle">
<asp:Image ID="imgPaymentExpand" runat="server" ImageUrl="~/images/expand.jpg" />
</div>
</asp:Panel>
<asp:Panel ID="pnlPayments" runat="server">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<br />
<asp:UpdatePanel ID="upPayments" runat="server">
<ContentTemplate>

I don't think I should have to wrap my content in a table just for the height to be set properly. If I collapse and reexpand the panel using the code in the first example the panel is rendered to the correct height. I shouldn't have to collapse the panel and then uncollapse it just to see my content. This seems like a bug and I'm hoping someone can take a look.

Closed Issue: IE9 ModalPopupExtender DropShadow in FormView [27239]

$
0
0
When creating a ModalPopupExtender inside an EditItemTemplate, the DropShadow is not displayed in IE9. It works correctly in IE8.

Closed Issue: Calendar Control fails to honour set_selectedDate after calendar is displayed [27248]

$
0
0
I have the latest version of the toolkit running in IE8. I have a website that uses calendar extender. The text box is set to read-only.

If I load the page and click on the drop-down the date I have defaulted from the server side is correctly displayed. I also have a 'duration' box that fires an onchange event. When this event fires I invoke set_selectedDate on my calendar extender behaviour. My server is running in the UK with British Summer Time as the timezone.

The first thing I have noticed is that I need to modify the date passed into set_selectedDate as follows:

var dtFrom = Date.parseLocale(txtFrom.value);
dtTo = new Date(dtFrom.getTime() + (1000 * 60 * 60 * 24 * parseInt(duration.value, 10)));
var adjusted = new Date(dtTo.getTime() - (dtTo.getTimezoneOffset() * 60000) + (24 * 60 * 60 * 1000));
txtTo.value = dtTo.localeFormat('d');
var ctrl = $find('txtTo_CalendarExtender');
ctrl.set_visibleDate(adjusted.format('MM/dd/yyyy'));
ctrl.set_selectedDate(adjusted.format('MM/dd/yyyy'));

to make the dates consistent with those returned by _selectedDate.

The second thing is that once the calendar has displayed, even if I change the date in the text box it is not honoured either by reading from the text box on display or by the call in the onchange handler in the duration box (attached to another text box) that sets the selected date.





Closed Issue: AutoComplete Hover IE8 [24653]

$
0
0
Hi,

There seems to be a bug with the AutoComplete control when using the IE8 browser. When results are returned, and the mouse is hovered over a result, it only stays on the first results, and does not change when the mouse it moved over another result. This bug can be seen when using the IE8 browser with the live ASP.NET AJAX samples.

Geoff

Closed Issue: LoadControl Issue [27259]

$
0
0
I have also added this to StackOverFlow: http://stackoverflow.com/questions/12313115/trying-to-loadcontrol-to-an-tabpanel-in-ajaxtoolkit


I am trying to LoadControl into a Tab with AjaxToolKit TabContainer.

Heres the code:

Dim newTab As New AjaxControlToolkit.TabPanel
newTab.ID = "Tab4"
newTab.HeaderText = "Tab 4"
tbs.Tabs.Add(newTab)
Dim mtCtl As UserControl = TemplateControl.LoadControl("Tweets.ascx")
mtCtl.Attributes.Add("ScreenName", "CherylCole")
newTab.ContentTemplate = mtCtl
This is the code in Tweets.ascx.vb

Partial Class Tweets
Inherits System.Web.UI.UserControl


Dim db As New LINQTwitterDataContext
Dim _ScreenName As String = "CherylCole"
Public Sub Statuses(ByVal screename As String)
Dim tweets = (From s In db.statuses Where s.screen_name = _ScreenName Order By s.statusid Descending).Take(10)
Dim a = tweets
GridView1.DataSource = tweets
GridView1.DataBind()
End Sub

Sub New()

End Sub

Sub New(ByVal screenname As String)

_ScreenName = screenname
End Sub

Public Property ScreenName(ByVal Name As String) As String
Get
Return _ScreenName
End Get
Set(ByVal value As String)
_ScreenName = value
End Set
End Property
End Class

And within Tweets.ascx

<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Tweets.ascx.vb" Inherits="Tweets" %>
When I load without parameters using LoadTemplate, no problems straight in but I am getting Exception with LoadControl (Unable to cast object of type 'ASP.tweets_ascx' to type 'System.Web.UI.ITemplate'.)

Please help!!


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: Thanks for your reply. This appears when the user do a postback of the webpage. When the system gets the value in the textbox, it appears that the text is not the text entered by the user and some '&' characters were added to the text. I can't make a screencast yet, but I'll take a look at this.

Edited Unassigned: Add example how to add custom control? [27943]

$
0
0
Please provide a example how to add a custom control, the ones i can find online are outdated..

Closed Issue: Issue when using StyleSheetTheme with the Accordian control. [22055]

$
0
0
Get "The TargetControlID of '_AccordionExtender' is not valid. The value cannot be null or empty." error when trying to apply an Accordian skin using StyleSheetTheme. Using Theme works fine.
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 Issue: ComboBox don't work with firefox [27215]

$
0
0
ajax toolkit 4.1.60623
net 4
firefox 13.0.1

Autosuggestion Problem.

With IE work fine but with firefox when I try to write something (anything) the control remain blank. If the control has something (some words) and try to hit a key from my keyboard the control return to blank.

I talk about the textbox of control and not for the list.

The list items displayed fine.
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: 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
Comments: Would you please provide a complete sample project?

Closed Issue: ComboBox issue on auto selection [27345]

$
0
0
When I use SuggestAppend mode on AjaxControlToolKit ComboBox,
the selected line is shown at screen on Google Chrome but not on IE 9.

This isssue seems to exist only with long items list (several hundred choices in my example).
An offset occurs beyond a half-hundred items and only on IE.
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 Issue: Tabcontainer inside a ModalPopupExtender throws error on Postback [27361]

$
0
0

I have a Tabcontrol inside a ModalPopupextender that is displayed only on a button click. when the page does a postback I get this stupid error:

htmlfile: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.

The Tab Control should check if it is visible prior to setting the focus on the first tab. Should be an easy fix.

Please fix this ASAP.

Thanks.

Alex
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 Issue: Autocomplete panel has incorrect vertical alignment in Chrome [26817]

$
0
0
1. Visit http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/AutoComplete/AutoComplete.aspx with Chrome
2. Scroll down the page a little. This issue only happens when the page has been scrolled down from the top
3. Type some text in the textbox
4. Observe that the panel does not appear in the correct place (see attachment)
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 Issue: Ajax update panel not working [27375]

$
0
0
I have the three dropdownlist inside the update panel in my aspx page.But till it is giving the postbacks.Please help me in solving the issue.

.aspx page :
---------------
<tr>
<asp:ScriptManagerProxy ID="ScriptManager1" runat="server" />
<asp:UpdatePanel runat="server" ID="up1" UpdateMode="Conditional" >
<ContentTemplate>
<td class="xxx">
<asp:DropDownList ID="ddlFields" runat="server" EnableViewState="true"
AutoPostBack="true"> </asp:DropDownList>
</td>
<td class="xxx">
<asp:DropDownList ID="ddlOperator" runat="server" EnableViewState="true"
AutoPostBack="true"> </asp:DropDownList>
</td>
<td class="xxx" id="tdValue" runat="server">
<asp:DropDownList ID="ddlValue" runat="server" EnableViewState="true">
</asp:DropDownList>
</td>
</ContentTemplate>
</asp:UpdatePanel>
<td class="btnBarHeight">
<asp:Button ID="btnAdd" runat="server" Text="Add" ValidationGroup="ddd"/>
</td>
</tr>

And in my master page I have the

<act:ToolkitScriptManager ID="tsm" runat="server" ></act:ToolkitScriptManager>
after the <form> tag.

I trying to find why it is not working for a long time.Please help me.

Closed Issue: Could not load file or assembly AjaxControlToolkit [27253]

$
0
0
Hi i started to have problems with ajax on my server. I publish my project to my server and use aspnet_compiler to compile it. But i have all of a sudden started getting the error telling me it could not load file or assembly for AjaxControlToolkit. I have repeatetly uninstalled it from NuGet and reinstalled. I have rebuilt, and i have cleaned out the temporary folders in the windir and the local temp directory. Nothing has worked. This is what i have in my web.config:

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="HtmlSanitizationLibrary" publicKeyToken="d127efab8a9c114f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.60623.0" newVersion="4.1.60623.0" />
</dependentAssembly>
</assemblyBinding>
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 Issue: Exception with AutoCompleteExtender [27378]

$
0
0
Hi.

I was following the tutorial http://www.asp.net/ajaxlibrary/act_AutoComplete_Simple.ashx, which requires the use of the Ajax Control Toolkit, and when arrived at step 4 (Add AutoComplete Page Method), an unexpected exception has been raised (in attachments or with that link : http://www.hostingpics.net/viewer.php?id=661255UnexpectedException.png).

Is there a problem relative to the toolkit, or is there a step I did wrong in the tutorial ?

Please, help me.
Comments: In the current v15.1 release of Ajax Control Toolkit we got rid of this code.

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

$
0
0
AjaxFileUpload don't work in the usercontrol. Any Events are not triggered.
Comments: Would you provide a sample project that illustrates the described problem?
Viewing all 4356 articles
Browse latest View live


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