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

Closed Issue: ajax multiple file control is not working with IE [27242]

$
0
0
My question is that how can i make the ajax file upload control compatible with IE8. it works fine in Google and Mozilla but my restriction is i have to use IE8.
I want to upload multiple files using AJAX file upload control.
Comments: We tested this control in all modern browsers IE 8 and did not detect the described problem in the current v15.1 version of Ajax Control Toolkit.

Closed Issue: Combox trigger SelectedIndexChanged on mousup in stead of mousedown. [27245]

$
0
0
When you want to select an item in the combobox with you mouse the item gets selected immediatly after you press the mosue button, even before de mousebutton is released.

The selection of an item should be triggered when you release the mousebutten like a regular drowdownlist.

Comments: Thank you for your suggestion! We will keep it in mind during our future work.

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

Comments: We applied the changes that you suggested in the Calendar extender source code, but unfortunately, this solution does not work in the scenario you provided. Let me thank you for your efforts. We have taken the issue you described into account and will fix it as soon as possible. Best regards, Fadil

Edited Task: Improve documentation [27836]

$
0
0
Current issues:
1. No automated generation of API reference
2. Missing docs for some extenders
3. Outdated content

Commented Unassigned: AJAX ComboBox [27737]

$
0
0
Hi, i have issue with my combobox. Everything is working fine but i need my multiple column combobox to display only one column. What i need is when i select one value from it, where one row contain id number and name, to display only the id number. I use database from sql server for filling the combobox.

working in C#.

using (SqlConnection sqlConnection = new SqlConnection("Data Source=MILAN\\SQLEXPRESS;Initial Catalog=sm;Integrated Security=True"))
{
string sql = "sql";
SqlCommand sqlCmd = new SqlCommand(sql, sqlConnection);
sqlConnection.Open();

SqlDataAdapter sqlDa = new SqlDataAdapter(sqlCmd);

sqlDa.Fill(dt);

for (int i = 0; i < dt.Rows.Count; i++)
{
id = dt.Rows[i]["column_1"].ToString();
name = dt.Rows[i]["column_2"].ToString();
newName = id + " | " + name;
}
Comments: Hi! Would you please clarify your question and provide a sample project to us for investigation? Best regards, Fadil

Edited Issue: AJAX ComboBox [27737]

$
0
0
Hi, i have issue with my combobox. Everything is working fine but i need my multiple column combobox to display only one column. What i need is when i select one value from it, where one row contain id number and name, to display only the id number. I use database from sql server for filling the combobox.

working in C#.

using (SqlConnection sqlConnection = new SqlConnection("Data Source=MILAN\\SQLEXPRESS;Initial Catalog=sm;Integrated Security=True"))
{
string sql = "sql";
SqlCommand sqlCmd = new SqlCommand(sql, sqlConnection);
sqlConnection.Open();

SqlDataAdapter sqlDa = new SqlDataAdapter(sqlCmd);

sqlDa.Fill(dt);

for (int i = 0; i < dt.Rows.Count; i++)
{
id = dt.Rows[i]["column_1"].ToString();
name = dt.Rows[i]["column_2"].ToString();
newName = id + " | " + name;
}

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





Comments: Would you please provide a sample project and specify your locale?

Closed Issue: Huge Bug in MaskedEdit [27244]

$
0
0
Version: 4.1.60623.0

My DateTime MaskedEdit is broken in new version of AjaxToolkit. When I type in the date-time, e.g. "08/20/2012 11:45" and leave the text box after typing (tab, enter, or mouse-click), the time automatically switches to "08:20" so the value of text box becomes "08/20/2012 08:20". Looks like AjaxToolKit automatically switches Hour and MInute of time to month and day of the date. No matter what I do the time keeps switching to month and day.

As soon as I revert to older version of AjaxControlToolKit.dll, the MaskedEdit starts working as expected!

Here is my asp.net html for my controls

<asp:TextBox ID="txtBeginDateTime" runat="server" Width="105px" CssClass="inputText"
OnTextChanged="RequestData_EventHandler" />
<ajaxToolkit:MaskedEditExtender ID="MaskedEditExtenderBeginDateTime" runat="server"
TargetControlID="txtBeginDateTime" Mask="99/99/9999 99:99" MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus" OnInvalidCssClass="MaskedEditError" MaskType="DateTime"
AcceptAMPM="False" ErrorTooltipEnabled="True" ClearMaskOnLostFocus="False" InputDirection="LeftToRight" />
<ajaxToolkit:MaskedEditValidator ID="MaskedEditValidatorBeginDateTime" runat="server"
ControlExtender="MaskedEditExtenderBeginDateTime" ControlToValidate="txtBeginDateTime"
IsValidEmpty="False" EmptyValueMessage="Date and time are required" InvalidValueMessage="Date and/or time is invalid"
Display="Dynamic" TooltipMessage="Input a date and time" EmptyValueBlurredText="*"
InvalidValueBlurredMessage="*" SetFocusOnError="True" />
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: AjaxFileUpload fails when tried with large files [27209]

$
0
0
When I try to upload a file with a size of approximately 250MB it shows the progress many times running and which also exceeds 100% and then returns success with out uploading files. I have attached a sample screen shot of the behavior. We are able to upload large files using standard upload control.
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: How to support AjaxControlToolkit.resources.dll of Vietnamese language? [27251]

$
0
0
I'm using Calendar component of AjaxControlToolkit.dll, it support lots of language resource file(AjaxControlToolkit.resources.dll, please see the attachment), except Vietnamese language. So I try to create an Vietnamese resource library by myself, but it doesn't work. So the issue is how can I support more language resource library?
Any suggestion?

Any help would be appreciated!
Comments: You can add Vietnamese language support by yourself. Here is the link to the issue where you can find a brief explanation of how to do that: https://ajaxcontroltoolkit.codeplex.com/workitem/27914

Closed Issue: How to support AjaxControlToolkit.resources.dll of Vietnamese language? [27251]

$
0
0
I'm using Calendar component of AjaxControlToolkit.dll, it support lots of language resource file(AjaxControlToolkit.resources.dll, please see the attachment), except Vietnamese language. So I try to create an Vietnamese resource library by myself, but it doesn't work. So the issue is how can I support more language resource library?
Any suggestion?

Any help would be appreciated!

Closed Issue: TabPanel print two ids in HTML [27073]

$
0
0
Hi, i am creating dinamically tabs on a TabContainer and all display and work well.

But when the you look the HTML of TabPanel have the id repeated like that:

<div id="ctl00_uxcph_body_uxtc_tabs_uxtp_es" id="ctl00_uxcph_body_uxtc_tabs_uxtp_es" class="ajax__tab_panel">

ASPX CODE OF TAB CONTAINER

This is inside an asp:Content element.

<ajaxToolkit:TabContainer ID="uxtc_tabs" runat="server" />

ASPX.CS CODE OF CREATING TABS

TabPanel tabPanel = new TabPanel();
tabPanel.ID = "uxtp_" + idioma.Abreviatura;
tabPanel.HeaderText = idioma.Nombre;
uxtc_tabs.Tabs.Add(tabPanel);

After this code, I created other controls inside the TabPanel like HtmlGenericControl, Label, TextBox, UpadePanel and RequiredFieldValidator and all works and displays 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: AsyncFileUpload doesn't work when visible = false on page_load [25449]

$
0
0
Simple to replicate... Add an UpdatePanel to a new page and put an AsyncFileUpload in it with the "visible" property set to false. Also add a LinkButton and have the event "Click" set the AsyncFileUpload visibility to true. Uploads will no longer work with SaveAs under the "UploadedComplete" event for the AsyncFileUpload control.

Interestingly enough, this ONLY happens when visibility is set to false on the initial page loading. If you programatically set it to visible = false in the page_load event, the same error occurs. If you use something other than a LinkButton to trigger visible = true, the same bug occurs.
Comments: Thank you for sharing your experience!

Closed Issue: _setFocus:function(a){$get("__tab_"+a.get_element().id).focus()},_header_onclick:function(b){var a=this;b.prevent [27255]

$
0
0
on IE 8
_setFocus:function(a){$get("__tab_"+a.get_element().id).focus()},_header_onclick:function(b){var a=this;b.prevent

_setFocuse is not check if the element is visible!!
Comments: Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Created Unassigned: Script Fetal error in debug mode Tabs.js [27939]

$
0
0
v15.1.3
Script fetal error in debug mode, Tabs.js line 361, column 5, addtional comma ',' in TabPanel, _enabledHeaderEventHandlers definition function.

Closed Issue: Flickering problem in tab header [12105]

$
0
0
Hello,
I am using the latest version of the ajax control tool kit.I working with the tab control. I am using IE7.
I have added a label in the header template of the tab panel in the tab control and i am dynamically setting the text of that label. I am getting a flickering when i move the mouse over from one tab to another. This happens when the page length is big and scrollbars are seen. I have tried to set the header text but the API provided gives javascript errors when i set the header text. I have sent the attachment that you can visually see the problem.
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: 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
Comments: Would you provide a sample project that illustrates the described problem?a

Commented 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!!

Comments: Would you provide a sample project that illustrates the described problem?

Edited Issue: Script Fetal error in debug mode Tabs.js [27939]

$
0
0
v15.1.3
Script fetal error in debug mode, Tabs.js line 361, column 5, addtional comma ',' in TabPanel, _enabledHeaderEventHandlers definition function.

Edited Issue: Script Fetal error in debug mode Tabs.js [27939]

$
0
0
v15.1.3
Script fetal error in debug mode, Tabs.js line 361, column 5, addtional comma ',' in TabPanel, _enabledHeaderEventHandlers definition function.
Viewing all 4356 articles
Browse latest View live


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