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

Created Unassigned: Issue loading assembly [27447]

$
0
0
Hi,

I'am just trying to use the last version of the ajaxcontroltoolkit from june 2013 (.net v3.5) in replacement of the April version.

I always update the stable version on my current project, trying to have the latest possibility, so this is not the first time I update the dll's.

But this this, I face an issue, and I don't know how to solve it.

Here my exception message.

```
An exception of type System.IO.FileLoadException occured in class ASP.global_asax at method Application_Error :
Message : Impossible de charger le fichier ou l'assembly 'AjaxControlToolkit, Version=3.5.7.429, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' ou une de ses dépendances. La définition trouvée du manifeste de l'assembly ne correspond pas à la référence de l'assembly. (Exception de HRESULT : 0x80131040)
StackTrace : à System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.Load(String assemblyString)
à AjaxControlToolkit.ToolkitScriptManager.ScriptEntry.LoadAssembly() dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 762
à AjaxControlToolkit.ToolkitScriptManager.DeserializeScriptEntries(String serializedScriptEntries, Boolean loaded) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 650
à AjaxControlToolkit.ToolkitScriptManager.OnLoad(EventArgs e) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 201
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
```
It seem's that, at some point, there a referencing to the old dll. For information I'm not using the GAC, just using the dll directly in the project.

I've try to erase (cleaning all referencies on the project, and erasing all dll in the bin and obj directories) and re-add the dll unsuccessfuly.

I begin to think that the error may directly come from the toolkit.

Any help would be appreciable.
Thanks

Edited Unassigned: Issue loading assembly [27447]

$
0
0
Hi,

I'am just trying to use the last version of the ajaxcontroltoolkit from june 2013 (.net v3.5) in replacement of the April version.

I always update the stable version on my current project, trying to have the latest possibility, so this is not the first time I update the dll's.

But this time I face an issue, and I don't know how to solve it.

Here my exception message.

```
An exception of type System.IO.FileLoadException occured in class ASP.global_asax at method Application_Error :
Message : Impossible de charger le fichier ou l'assembly 'AjaxControlToolkit, Version=3.5.7.429, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' ou une de ses dépendances. La définition trouvée du manifeste de l'assembly ne correspond pas à la référence de l'assembly. (Exception de HRESULT : 0x80131040)
StackTrace : à System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
à System.Reflection.Assembly.Load(String assemblyString)
à AjaxControlToolkit.ToolkitScriptManager.ScriptEntry.LoadAssembly() dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 762
à AjaxControlToolkit.ToolkitScriptManager.DeserializeScriptEntries(String serializedScriptEntries, Boolean loaded) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 650
à AjaxControlToolkit.ToolkitScriptManager.OnLoad(EventArgs e) dans f:\TeamCity\buildAgent\work\80acd78aa4c25314\Server\AjaxControlToolkit\ToolkitScriptManager\ToolkitScriptManager.cs:ligne 201
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Control.LoadRecursive()
à System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
```
It seem's that, at some point, there a referencing to the old dll. For information I'm not using the GAC, just using the dll directly in the project.

I've try to erase (cleaning all referencies on the project, and erasing all dll in the bin and obj directories) and re-add the dll unsuccessfuly.

I begin to think that the error may directly come from the toolkit.

Any help would be appreciable.
Thanks

Created 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:).
-----------

Commented Unassigned: AsyncFileUpload with Firefox 22.0b1 script busy [27429]

$
0
0
I always test my sites with beta versions of firefox, this week Firefox 22.0b1 was released and the AsyncFileUpload started to generate a "script busy" message and it is not working anymore:


> Script: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CombineScriptsHandler.ashx?_TSM_HiddenField_=ctl00_SampleContent_ScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.7.123%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen%3a608fa982-dded-4326-bfe7-b13cdd701e9a%3ade1feab2%3af9cec9bc%3ae4bd8421%3af2c8e708%3a720a52bf%3a4a2c8239:12

Actually you can go the AjaxControlToolkit example to see the error (of course, if you have installed Firefox 22.0b1)
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx

I removed the width and set the type to Traditional according to some solutions, but it did not work... and I installed the last version of the toolkit (April 2013).

With previous Firefox versions, the control works fine.

Any help is appreciated.
Thanks
Comments: Same Issue here for Firefox 22 and Ajax FileUpload. Thanks to ptldhaval, your css-workaround resolved this problem!

Created Unassigned: Bug in BalloonPopupExtender: DisplayOnClick server property not saved in extender's client object [27463]

$
0
0
In __set_displayOnClick__ function of Sys.Extended.UI.BalloonPopupControlBehavior object, value assigned to __this.displatOnClick__ field thought must be assigned to this._displayOnClick


Edited Unassigned: Bug in BalloonPopupExtender: DisplayOnClick server property not saved in extender's client object [27463]

$
0
0
In __set_displayOnClick__ function of Sys.Extended.UI.BalloonPopupControlBehavior object, value assigned to __this.displayOnClick__ field thought must be assigned to this._displayOnClick


Commented Unassigned: AsyncFileUpload with Firefox 22.0b1 script busy [27429]

$
0
0
I always test my sites with beta versions of firefox, this week Firefox 22.0b1 was released and the AsyncFileUpload started to generate a "script busy" message and it is not working anymore:


> Script: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CombineScriptsHandler.ashx?_TSM_HiddenField_=ctl00_SampleContent_ScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.7.123%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen%3a608fa982-dded-4326-bfe7-b13cdd701e9a%3ade1feab2%3af9cec9bc%3ae4bd8421%3af2c8e708%3a720a52bf%3a4a2c8239:12

Actually you can go the AjaxControlToolkit example to see the error (of course, if you have installed Firefox 22.0b1)
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx

I removed the width and set the type to Traditional according to some solutions, but it did not work... and I installed the last version of the toolkit (April 2013).

With previous Firefox versions, the control works fine.

Any help is appreciated.
Thanks
Comments: The problem here is that this library is trying to use HTMLInputElement.size to change the width of the <input type='file'>. This does not follow the HTML specifications and Firefox was the only browser to have that behaviour. There is a code path that use input.size if the browser is Firefox. This code path is no longer needed and Firefox will interpret CSS width properties as any other browsers. For more information on this problem, see https://bugzilla.mozilla.org/show_bug.cgi?id=887857

Created Unassigned: Cannot clear HTML Editor Extender [27464]

$
0
0
I'm using ACT 4.1.7.607. Client is IE 9.

I can not find a solution where I can clear the contents of the editor from the client.

I have tried using JQuery:
<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" height="200px" Width="837px"></asp:TextBox>
<ajaxToolkit:HtmlEditorExtender ID="htmlEditorExtender" TargetControlID="TextBox1" runat="server" EnableSanitization="False"></ajaxToolkit:HtmlEditorExtender>
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Submit" />
<asp:Button ID="Button2" runat="server" Text="Clear" />

<script type="text/javascript" language="javascript">
$(document).ready(function () {
$('#<%=Button2.ClientID%>').click(function () {
var editorControl = $get("<%=TextBox1.ClientID%>");
var clearValue = '';
editorControl.innerHTML = clearValue;
})
})
</script>

This seems to change the innerHTML value of the textbox. However, the screen does not update to show the change.

Have also tried JavaScript:

<asp:TextBox ID="TextBox1" runat="server" TextMode="MultiLine" height="200px" Width="837px"></asp:TextBox>
<ajaxToolkit:HtmlEditorExtender ID="htmlEditorExtender" TargetControlID="TextBox1" runat="server" EnableSanitization="False"></ajaxToolkit:HtmlEditorExtender>
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Submit" />
<asp:Button ID="Button2" runat="server" Text="Clear" OnClientClick="javascript:clearEditor()" />

<script type="text/javascript" language="javascript">
function clearEditor(){
document..getElementById('<%=TextBox1.ClientID%>').innerHTML = '';
}
</script>

This also seems to change the innerHTML value, but, again it does not show the change in browser window.

If there is a solution to this, I would be most grateful to see it.

Commented Unassigned: AsyncFileUpload with Firefox 22.0b1 script busy [27429]

$
0
0
I always test my sites with beta versions of firefox, this week Firefox 22.0b1 was released and the AsyncFileUpload started to generate a "script busy" message and it is not working anymore:


> Script: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CombineScriptsHandler.ashx?_TSM_HiddenField_=ctl00_SampleContent_ScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.7.123%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen%3a608fa982-dded-4326-bfe7-b13cdd701e9a%3ade1feab2%3af9cec9bc%3ae4bd8421%3af2c8e708%3a720a52bf%3a4a2c8239:12

Actually you can go the AjaxControlToolkit example to see the error (of course, if you have installed Firefox 22.0b1)
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx

I removed the width and set the type to Traditional according to some solutions, but it did not work... and I installed the last version of the toolkit (April 2013).

With previous Firefox versions, the control works fine.

Any help is appreciated.
Thanks
Comments: I have the same issue...

Created 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

Commented Unassigned: AsyncFileUpload with Firefox 22.0b1 script busy [27429]

$
0
0
I always test my sites with beta versions of firefox, this week Firefox 22.0b1 was released and the AsyncFileUpload started to generate a "script busy" message and it is not working anymore:


> Script: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CombineScriptsHandler.ashx?_TSM_HiddenField_=ctl00_SampleContent_ScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.7.123%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen%3a608fa982-dded-4326-bfe7-b13cdd701e9a%3ade1feab2%3af9cec9bc%3ae4bd8421%3af2c8e708%3a720a52bf%3a4a2c8239:12

Actually you can go the AjaxControlToolkit example to see the error (of course, if you have installed Firefox 22.0b1)
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx

I removed the width and set the type to Traditional according to some solutions, but it did not work... and I installed the last version of the toolkit (April 2013).

With previous Firefox versions, the control works fine.

Any help is appreciated.
Thanks
Comments: Thanks ptldhaval, your css solution works!

Commented Unassigned: AsyncFileUpload with Firefox 22.0b1 script busy [27429]

$
0
0
I always test my sites with beta versions of firefox, this week Firefox 22.0b1 was released and the AsyncFileUpload started to generate a "script busy" message and it is not working anymore:


> Script: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CombineScriptsHandler.ashx?_TSM_HiddenField_=ctl00_SampleContent_ScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.7.123%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen%3a608fa982-dded-4326-bfe7-b13cdd701e9a%3ade1feab2%3af9cec9bc%3ae4bd8421%3af2c8e708%3a720a52bf%3a4a2c8239:12

Actually you can go the AjaxControlToolkit example to see the error (of course, if you have installed Firefox 22.0b1)
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx

I removed the width and set the type to Traditional according to some solutions, but it did not work... and I installed the last version of the toolkit (April 2013).

With previous Firefox versions, the control works fine.

Any help is appreciated.
Thanks
Comments: Delete part of code from AsyncFileUpload.pre.js. It works on FF 22 and FF 16. Regression tests (with older versions of Firefox) are required. ``` if (Sys.Browser.agent == Sys.Browser.Firefox) { this._inputFile.size = 20; var width = this._inputFile.offsetWidth; this._inputFile.style.width = ""; while (this._inputFile.offsetWidth < width) { this._inputFile.size++; } } ```

Commented Issue: PieChart doesn't render all segments correctly [27373]

$
0
0
AjaxToolkit Version: 4.1.7.123
Using IE9.

When populating the PieChart via code if a segment covers more than approx 50% then it isn't displayed correctly.

Code:

string[] surveyItems = new string[3] { "Yes", "No", "Don't Know" };
int[] surveyAnswers = new int[3] { 1, 5, 1 };

for (int i = 0; i < 3; i++)
{
PieChartValue pcv = new PieChartValue();
pcv.Category = surveyItems[i].ToString();
pcv.Data = surveyAnswers[i];
PieChart1.PieChartValues.Add(pcv);
}

This issue can also be replicated by 'hardcoding' the values in the aspx page.

<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
<asp:PieChart ID="PieChart1" runat="server">
<PieChartValues>
<asp:PieChartValue Category="Yes" Data="1" PieChartValueColor=""
PieChartValueStrokeColor="" />
<asp:PieChartValue Category="No" Data="5" PieChartValueColor=""
PieChartValueStrokeColor="" />
<asp:PieChartValue Category="Don't Know" Data="1" PieChartValueColor=""
PieChartValueStrokeColor="" />
</PieChartValues>
</asp:PieChart>



Comments: Any update on this?

Created Unassigned: AjaxFileUpload: allow control of Azure blob names [27466]

$
0
0
When the AjaxFileUpload control has "StoreToAzure" set to true, the files are uploaded directly to Azure storage (and the container specified by "AzureContainerName"). This is a great new feature. However, it would be nice if we had some control over the Azure blob name in this process. Currently the blob name is always the same as the client-side file name. This makes it hard to use Azure virtual directory naming or rename the blob if there happens to be one with the same name already uploaded. The workaround for this case, is not to use the StoreToAzure option, save the file to the web server, then upload to Azure from the web server (with more control over the blob names). But that's not nearly as efficient as uploading directly to Azure from the browser.

Commented Unassigned: AsyncFileUpload with Firefox 22.0b1 script busy [27429]

$
0
0
I always test my sites with beta versions of firefox, this week Firefox 22.0b1 was released and the AsyncFileUpload started to generate a "script busy" message and it is not working anymore:


> Script: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CombineScriptsHandler.ashx?_TSM_HiddenField_=ctl00_SampleContent_ScriptManager1_HiddenField&_TSM_CombinedScripts_=%3b%3bAjaxControlToolkit%2c+Version%3d4.1.7.123%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3aen%3a608fa982-dded-4326-bfe7-b13cdd701e9a%3ade1feab2%3af9cec9bc%3ae4bd8421%3af2c8e708%3a720a52bf%3a4a2c8239:12

Actually you can go the AjaxControlToolkit example to see the error (of course, if you have installed Firefox 22.0b1)
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/AsyncFileUpload/AsyncFileUpload.aspx

I removed the width and set the type to Traditional according to some solutions, but it did not work... and I installed the last version of the toolkit (April 2013).

With previous Firefox versions, the control works fine.

Any help is appreciated.
Thanks
Comments: Same Issue here for Firefox 22 and Ajax FileUpload. Thanks to ptldhaval, your css-workaround resolved this problem!

Commented Unassigned: error raising upload complete event and start new upload [27438]

$
0
0
I have the same issue as Brian Potter on http://stephenwalther.com/archive/2013/04/30/april-2013-release-of-the-ajax-control-toolkit. I have registered AjaxFileUploadHandler.axd in web.config but it makes no difference. I suspect there is a security issues but where? I don't have an App_Data and am trying to save to ~/Images but the error occurs at the start. The upload complete method is not reached.
Comments: Same issue. Works fine for IE, Firefox, Chrome in dev environment (VS2012) but javascript error in IE9 "error raising upload complete event and start new upload" when deployed to a server with IIS7. Works fine with Firefox & Chrome even when deployed. So, it fails only in IE.

Commented Issue: TabContainer: UseVerticalStripPlacement causes error in IE [27204]

$
0
0
If you use a TabContainer with UseVerticalStripPlacement="True", the script throws an error in IE on this line:
$get(this.get_id() + "_headerSpannerHeight").style.height = spannerHeight;

On my page, spannerHeight is calculated as -67px. This throws an error in IE 8 but is fine in Firefox 13 and Chrome 11.

Note, my TabContainer is empty and I am dynamically adding content to it during Page_Init. I am using Ajax Control Toolkit 4.1.60623.
Comments: Hello, I had the same problem, I solved this change the size of Width and Height of TabContainerControl. I was using Width="100%" and Height="100%" and the number of Tabs on vertical was 17, after I changed the to fix number like Width="700px" and Height="800px". This solved my problem.

Commented Unassigned: MaskedEdit not working in April 2013 and June 2013 release [27419]

$
0
0
I have a problem’s with new version (April 2013) of MaskedEdit. Date and Time value is not verified, TextBox is not cleared on wrong value and also on exit from TextBox stays __.__.____. The same happened when I use code from sample page with new version of AjaxControlToolkit.dll. What I’m doing wrong?
My code:
```
<form id="form1" runat="server">
<ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" ScriptMode="Release" LoadScriptsBeforeUI="false"
EnablePageMethods="true" EnablePartialRendering="true" EnableScriptGlobalization="true" EnableScriptLocalization="true">
</ajaxToolkit:ToolkitScriptManager>
<div>
<asp:TextBox ID="txtDate" runat="server" Width="78px"></asp:TextBox>
<asp:ImageButton ID="ibKoledar" runat="server" CausesValidation="False" ImageAlign="AbsMiddle" />
<asp:TextBox ID="txtTime" runat="server" Width="42px"></asp:TextBox>
<ajaxToolkit:CalendarExtender ID="calendarExtenderDatum" runat="server" CssClass="Koledar" Format="dd.MM.yyyy"
PopupButtonID="ibKoledar" TargetControlID="txtDate" FirstDayOfWeek="Monday">
</ajaxToolkit:CalendarExtender>
<ajaxToolkit:MaskedEditExtender EnableViewState="false" ID="meeDate" runat="server" Century="2000" ClearTextOnInvalid="True" ClipboardEnabled="False" CultureDateFormat="dd.MM.yyyy"
CultureName="sl-SI" Mask="99/99/9999" MaskType="Date" TargetControlID="txtDate">
</ajaxToolkit:MaskedEditExtender>
<ajaxToolkit:MaskedEditValidator EnableViewState="false" ID="mevDatum" runat="server" ControlExtender="meeDate" ControlToValidate="txtDate" Display="Dynamic"></ajaxToolkit:MaskedEditValidator>
<ajaxToolkit:MaskedEditExtender EnableViewState="false" ID="meeTime" runat="server" AutoComplete="true" ClearTextOnInvalid="True" Mask="99:99" MaskType="Time" TargetControlID="txtTime"></ajaxToolkit:MaskedEditExtender>
<ajaxToolkit:MaskedEditValidator EnableViewState="false" ID="mevTime" runat="server" ControlExtender="meeTime" ControlToValidate="txtTime" Display="Dynamic"></ajaxToolkit:MaskedEditValidator>
<asp:Button ID="Button1" runat="server" Text="Button" />
</div>
</form>
```
Comments: Seems this is a bug and the control sends unmasked value to the server even ClearMaskOnLostFocus="true"

Commented Unassigned: Resolved: AjaxFileUploader April 2013 Upload Error [27416]

$
0
0
I resolved this problem. I did not have the correct entries in web.config

I just update to the latest version of the Ajax Control Toolkit. I am using the AjaxFileUploader and I am now getting the following ASP exception. I was not getting this with the prior release. Could this be a permissions issue? I'm running IIS Web Server on Windows 2003 R2 Server. THe application is using ASP Version 4.0.30319


Event Type: Warning
Event Source: ASP.NET 4.0.30319.0
Event Category: Web Event
Event ID: 1309
Date: 5/7/2013
Time: 1:32:15 PM
User: N/A
Computer: IBT-2800
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5/7/2013 1:32:15 PM
Event time (UTC): 5/7/2013 5:32:15 PM
Event ID: 08196419444443849c97355eb97d151f
Event sequence: 443
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1686273646/Root/MIS-1-130124201373726250
Trust level: Full
Application Virtual Path: /MIS
Application Path: C:\Buzz\iis_root\OLI\GardenAndGunClub\MIS2013\
Machine name: IBT-2800

Process information:
Process ID: 5628
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: DirectoryNotFoundException
Exception message: Could not find a part of the path 'C:\WINDOWS\TEMP\_AjaxFileUpload\16B95B50-13DA-9103-48EB-36A9A338C289\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path)
at AjaxControlToolkit.AjaxFileUpload.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Request information:
Request URL: http://www.gardenandgunclub.com/MIS/apply2.aspx?contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&done=1&guid=16B95B50-13DA-9103-48EB-36A9A338C289
Request path: /MIS/apply2.aspx
User host address: 10.10.80.66
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 16
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path)
at AjaxControlToolkit.AjaxFileUpload.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Comments: I just upgraded to new version. O have 2 problems: 1-Same as above. Server side error: Could not find a part of the path 'C:\Users\admin\AppData\Local\Temp\_AjaxFileUpload\EF1BAB2C-5367-AC44-4D4F-E9E64BAF6DA6'. 2- In IE it does give client side permission error: 0x80070005 - JavaScript runtime error: Access is denied.

Commented Unassigned: Resolved: AjaxFileUploader April 2013 Upload Error [27416]

$
0
0
I resolved this problem. I did not have the correct entries in web.config

I just update to the latest version of the Ajax Control Toolkit. I am using the AjaxFileUploader and I am now getting the following ASP exception. I was not getting this with the prior release. Could this be a permissions issue? I'm running IIS Web Server on Windows 2003 R2 Server. THe application is using ASP Version 4.0.30319


Event Type: Warning
Event Source: ASP.NET 4.0.30319.0
Event Category: Web Event
Event ID: 1309
Date: 5/7/2013
Time: 1:32:15 PM
User: N/A
Computer: IBT-2800
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 5/7/2013 1:32:15 PM
Event time (UTC): 5/7/2013 5:32:15 PM
Event ID: 08196419444443849c97355eb97d151f
Event sequence: 443
Event occurrence: 3
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1686273646/Root/MIS-1-130124201373726250
Trust level: Full
Application Virtual Path: /MIS
Application Path: C:\Buzz\iis_root\OLI\GardenAndGunClub\MIS2013\
Machine name: IBT-2800

Process information:
Process ID: 5628
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: DirectoryNotFoundException
Exception message: Could not find a part of the path 'C:\WINDOWS\TEMP\_AjaxFileUpload\16B95B50-13DA-9103-48EB-36A9A338C289\'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path)
at AjaxControlToolkit.AjaxFileUpload.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



Request information:
Request URL: http://www.gardenandgunclub.com/MIS/apply2.aspx?contextKey={DA8BEDC8-B952-4d5d-8CC2-59FE922E2923}&done=1&guid=16B95B50-13DA-9103-48EB-36A9A338C289
Request path: /MIS/apply2.aspx
User host address: 10.10.80.66
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 16
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
at System.IO.Directory.GetFiles(String path)
at AjaxControlToolkit.AjaxFileUpload.OnPreRender(EventArgs e)
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Comments: I solved my issue by the webconfig by the way andgray introduced. <handlers> <add name="AjaxFileUploadHandler" verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/> </handlers> thanks
Viewing all 4356 articles
Browse latest View live


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