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

Commented Unassigned: v15.1.2 TabContainer not working on IE [27883]

$
0
0
I just tried updating to the latest AJAX Control Toolkit from a really old version. So far, all the components seem to work except the TabContainer.

I am using VS2010, and ASP.net 4.0 with C#.

The tab does not show, and the page throws a script error upon load:
```
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E)
Timestamp: Fri, 26 Jun 2015 22:52:08 UTC


Message: Expected identifier, string or number
Line: 365
Char: 5
Code: 0
URI: http://localhost:53243/ScriptResource.axd?d=gGy0IYFiFei-bvFLbddGL7lWwVwa6rB96uDiGYwaYBlSXiuqkjwttTmaqs22BD9ZV0eePPVG5MEMrMdKRm3ZPWkB5208jR4DQXqXgXa-K8vbpN0J4J2GPZAfCFGt6Clo0&t=4c030be6


Message: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: type
Line: 3803
Char: 12
Code: 0
URI: http://localhost:53243/ScriptResource.axd?d=fljd3nXzqvqnwxuNyoHzJXKdgwQAVTCCWbkv8wKW_SpVa765kyr5aHk6Z8XAJ_aSbGTGcorFXPz9m7FcY5CFwUf7O5rj7TZsuTM2R0VYzs72Nhc4wCtt6s1eXjVQVUVqyAP86837dynzdGTeqKrLjsx1tWidUfp6mxbbeiNYD9emxfIpGnPn6ggb6FP6FmLx0&t=7b689585


```

I even verified this by creating a brand new empty Web Application, and dropping a single TabContainer onto the default page. Same deal. Oddly though, the page does view fine in Chrome and Firefox.
```
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="WebApplication2._Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2>
Welcome to ASP.NET!
</h2>
<p>
To learn more about ASP.NET visit <a href="http://www.asp.net" title="ASP.NET Website">
www.asp.net</a>.
</p>
<p>
You can also find <a href="http://go.microsoft.com/fwlink/?LinkID=152368&clcid=0x409"
title="MSDN ASP.NET Docs">documentation on ASP.NET at MSDN</a>.
</p>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1">
<cc1:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
<ContentTemplate>
test 1
</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
<ContentTemplate>
test 2
</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>
</asp:Content>

```

I am using the latest Chrome and Firefox versions, but I am using IE8 (because of some stupid legacy tools my company uses break under the newer IE versions).
Comments: If you installed the AJAX Control Toolkit using the [Installer](https://www.devexpress.com/Products/AJAX-Control-Toolkit), you can find a sample site in the \Documents\ASP.NET AJAX Control Toolkit folder (the one that is hosted at http://ajaxcontroltoolkit.devexpress.com).

Closed Unassigned: Masked Edit Extender Not Working on Windows Phone 8 [27722]

$
0
0
Using 4.0.30319 of the toolkit, the Window's phone 8 browser will not work with the masked edit extender. When entering text or dates, the text that you type in is placed in front of the mask text or behind it. You can reproduce the issue by trying out the control on the tookit demo site using the windows mobile browser.
Comments: We will check it while working on future releases. Thank you for your comments!

Commented Unassigned: v15.1.2 Named ControlBundles - Scripts being fetched twice [27877]

$
0
0
#Taken from the upgrade notes for v15.1:

> Note: if you use named Control Bundles (defined in the ~/AjaxControlToolkit.config file), then adjust the script bundle virtual path as shown below:

```
"~/Scripts/AjaxControlToolkit/<ControlBundleName>Bundle".
```

When I try to use named bundles, I get lots of js errors due to the scripts having been loaded twice, once from the named bundle path and again as individual script requests (although it does appear that only the scripts required by the listed controls are being requested).

My named bundle in ajaxcontroltoolkit.config:
```
<?xml version="1.0"?>
<ajaxControlToolkit>
<controlBundles>
<controlBundle name="MyControls">
<control name="ModalPopupExtender" />
<control name="TextBoxWatermarkExtender" />
<control name="ValidatorCalloutExtender" />
<control name="RatingExtender" />
</controlBundle>
</controlBundles>
</ajaxControlToolkit>
```

For this combination of controls, with the following in the Scripts section of the ScripManager:
```
<asp:ScriptReference Path="~/Scripts/AjaxControlToolkit/MyControlsBundle" />
```
Which renders the following to the page:
```
<script src="/Scripts/AjaxControlToolkit/MyControlsBundle?v=O3ddV2GUABJyHyjuUxaVBNm_B_CImi6mx5n1B_iSi-c1" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/ComponentSet.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/Common.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/BaseScripts.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/TextBoxWatermark.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/Compat.Timer.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/AnimationScripts.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/Animation.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/Popup.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/ValidatorCallout.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/RoundedCorners.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/DropShadow.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/Compat.DragDrop.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/FloatingBehavior.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/DynamicPopulate.js" type="text/javascript"></script>
<script src="http://ajax.aspnetcdn.com/ajax/act/15.1.1/Scripts/AjaxControlToolkit/Release/ModalPopup.js" type="text/javascript"></script>

```
/Scripts/AjaxControlToolkit/MyControlsBundle?v={hash} returns a 195kb file.

Note: The above is using CDN settings, but I get the same problem whether the scripts are loaded from CDN or local server:

It happens in any combination of the following settings:
BundleTable.Bundles.UseCdn = true/false
ScriptManager.EnableCdn = true false
BundleTable.EnableOptimizations = true/false
compilation debug = true/false

If I remove the specific bundle naming it should fall back to the default (un-named) control bundle, which it appears to do (bundle file is still 195kb if served locally, 295kb from CDN presumably because it serves up the full suite of controls and not the restricted set), but, I really wanted to use different named bundles for different parts of my site.


Comments: Thanks, I actually came to a similar conclusion. My experience was that when using named bundles, both the bundle AND the unbundled scripts were being emitted. The act of adding in a default controlBundle limited the duplication. As I was always using one or other of my named bundles, I opted for having an EMPTY defaultBundle config, which removes all of the individual scripts, leaving just the bundle. Example: ``` <controlBundles> <controlBundle></controlBundle> <controlBundle name="bundleSetOne"> <control name="ModalPopupExtender" /> <control name="TextBoxWatermarkExtender" /> <control name="RatingExtender" /> </controlBundle> <controlBundle name="bundleSetTwo"> <control name="ModalPopupExtender" /> <control name="TextBoxWatermarkExtender" /> <control name="ValidatorCalloutExtender" /> <control name="RatingExtender" /> </controlBundle> </controlBundles> ```

Closed Unassigned: AutoCompleteExtender ArgumentUndefinedException [27881]

$
0
0

Getting "JavaScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: type"

same code worked with:
VS2005, framework 2, Ajaxcontroltoolkit v1.0.10920

generates error with:
VS2010, Framework 4.0, Ajaxcontroltoolkit v 4.1.7.1213

<asp:AutoCompleteExtender runat="server" ID="aceBadge" ServiceMethod="GetBadgeList" ServicePath="~/SysManagerSvc.asmx"
MinimumPrefixLength="2" TargetControlID="txtByBadge" CompletionInterval="1000" CompletionSetCount="20" Enabled="true" UseContextKey="false" />

Is there a missing property declaration that is mandatory?
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: Problem With IE8 and TabPanel [23482]

$
0
0
I have an app the works fine with IE7. When using EI8 I get the intermittent error: Sys.InvalidOperationException: Component 'ctl00_PageContent_tcTabs' was not found. The first time I access a page with a TabPanel on it, it usually works. When I either re-access the same page or access another page with a TabPabel on it, I get the error. The TabPanel is enclosed within an UpdatePanel. The ScriptManager is located within the master page.

I am using Visual Studio 2008. The toolkit version is 3.0.30512.1 The problem does not occur when I run the app within Visual Studio, nor when I run the app on localhost. It only fails on the remote production server.

The first function in the failing call stack is:
Sys.Application.add_init(function() {
$create(AjaxControlToolkit.TabPanel, {"headerTab":$get("__tab_ctl00_PageContent_tcTabs_tpGeneralFields"),"ownerID":"ctl00_PageContent_tcTabs"}, null, {"owner":"ctl00_PageContent_tcTabs"}, $get("ctl00_PageContent_tcTabs_tpGeneralFields"));
});

This appears to be some sort of timing problem.

Here is the contents of the UpdatePanel:
<asp:UpdatePanel ID="upMain" runat="server">
<ContentTemplate>
<ajaxtk:TabContainer runat="server" ID="tcTabs" Height="200" ActiveTabIndex="0" Width="720" AutoPostBack="false" >
<ajaxtk:TabPanel runat="server" ID="tpGeneralFields" HeaderText="&lt;span class='tabPanelSmall' title='General Fields'&gt;General Fields&lt;/span&gt;" ToolTip="General Fields" >
<ContentTemplate>
<table border="0" width="720" cellspacing="0" cellpadding="0">
<tr>
<th align="left">
Type Of Service:
</th>
<td>
<asp:DropDownList ID="cbxTypeOfService" runat="server" />
</td>
<th align="left">
Rule Number:
</th>
<td>
<igtxt:WebNumericEdit ID="neRuleNumber" runat="server" MaxValue="127"
MaxLength="3" SpinWrap="True" Width="50px" DataMode="Byte">
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
</tr>
<tr>
<th align="left">
Rule Version:
</th>
<td>
<igtxt:WebNumericEdit ID="neRuleVersion" runat="server" MaxValue="127"
MaxLength="3" SpinWrap="True" width="50px" DataMode="Byte" >
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
<th align="left">
Rule Priority:
</th>
<td>
<igtxt:WebNumericEdit ID="neRulePriority" runat="server" MaxValue="127"
MaxLength="3" SpinWrap="True" width="50px" DataMode="Byte">
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
</tr>
<tr>
<th align="left" title="Effective date between date start and date end">
Effective Date Range:
</th>
<td>
<igsch:WebDateChooser ID="dtEffectiveDateStart" runat="server" Width="100px"
MinDate="1990-01-01" MaxDate="2099-12-31" NullDateLabel="" >
<CalendarLayout>
<CalendarStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
</CalendarStyle>
</CalendarLayout>
</igsch:WebDateChooser>
</td>
<th align="center">
-- and --
</th>
<td>
<igsch:WebDateChooser ID="dtEffectiveDateEnd" runat="server" Width="100px"
MinDate="1990-01-01" MaxDate="2099-12-31" NullDateLabel="" >
<CalendarLayout>
<CalendarStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
</CalendarStyle>
</CalendarLayout>
</igsch:WebDateChooser>
</td>
</tr>
<tr>
<th align="left" title="End date between date start and date end">
End Date Range:
</th>
<td>
<igsch:WebDateChooser ID="dtEndDateStart" runat="server" Width="100px"
MinDate="1990-01-01" MaxDate="2099-12-31" NullDateLabel="" >
<CalendarLayout>
<CalendarStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
</CalendarStyle>
</CalendarLayout>
</igsch:WebDateChooser>
</td>
<th align="center">
-- and --
</th>
<td>
<igsch:WebDateChooser ID="dtEndDateEnd" runat="server" Width="100px"
MinDate="1990-01-01" MaxDate="2099-12-31" NullDateLabel="" >
<CalendarLayout>
<CalendarStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
</CalendarStyle>
</CalendarLayout>
</igsch:WebDateChooser>
</td>
</tr>
<tr>
<th align="left" title="End date between date start and date end">
Age Range:
</th>
<td>
<igtxt:WebNumericEdit ID="neAgeStart" runat="server" MaxValue="120"
MaxLength="3" SpinWrap="True" width="50px" DataMode="Byte" >
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
<th align="center">
-- and --
</th>
<td>
<igtxt:WebNumericEdit ID="neAgeEnd" runat="server" MaxValue="120"
MaxLength="3" SpinWrap="True" width="50px" DataMode="Byte" >
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
</tr>
<tr>
<th align="left">
Use for Fee For Service?:
</th>
<td colspan="3">
<asp:DropDownList ID="cbxUseForFeeForService" runat="server"
DataTextField="TextField" DataValueField="ValueField">
<asp:ListItem Selected="True" Value="NA">Not Selected</asp:ListItem>
<asp:ListItem Value="N">No</asp:ListItem>
<asp:ListItem Value="Y">Yes</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<th align="left">
Use for Encounters?:
</th>
<td colspan="3">
<asp:DropDownList ID="cbxUseForEncounters" runat="server"
DataTextField="TextField" DataValueField="ValueField">
<asp:ListItem Selected="True" Value="NA">Not Selected</asp:ListItem>
<asp:ListItem Value="N">No</asp:ListItem>
<asp:ListItem Value="Y">Yes</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<th align="left">
Use For Gross Adjustments?:
</th>
<td colspan="3">
<asp:DropDownList ID="cbxUseForGrossAdjustments" runat="server"
DataTextField="TextField" DataValueField="ValueField">
<asp:ListItem Selected="True" Value="NA">Not Selected</asp:ListItem>
<asp:ListItem Value="N">No</asp:ListItem>
<asp:ListItem Value="Y">Yes</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<th align="left">
MSIS File:
</th>
<td colspan="3">
<asp:DropDownList ID="cbxMSISFile" runat="server"
DataTextField="TextField" DataValueField="ValueField">
<asp:ListItem Selected="True" Value="NA">Not Selected</asp:ListItem>
<asp:ListItem Value="ClaimIP">ClaimIP</asp:ListItem>
<asp:ListItem Value="ClaimLT">ClaimLT</asp:ListItem>
<asp:ListItem Value="ClaimOT">ClaimOT</asp:ListItem>
<asp:ListItem Value="ClaimRX">ClaimRX</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</ContentTemplate>
</ajaxtk:TabPanel>
<ajaxtk:TabPanel runat="server" ID="tpCodeFields" HeaderText="&lt;span class='tabPanelSmall' title='Code Fields'&gt;Code Fields&lt;/span&gt;" ToolTip="Code Fields" >
<ContentTemplate>
<table border="0" width="720" cellspacing="0" cellpadding="0">
<tr>
<th align="left">
Diagnosis Code:
</th>
<td>
<asp:TextBox ID="txDiagnosisCode" runat="server" MaxLength="5" Columns="5"/>
</td>
<th align="left">
MCO Program:
</th>
<td>
<asp:TextBox ID="txMCOProgram" runat="server" MaxLength="4" Columns="4"/>
</td>
</tr>
<tr>
<th align="left">
Low Procedure Code:
</th>
<td>
<asp:TextBox ID="txLowProcedureCode" runat="server" MaxLength="6" Columns="6"/>
</td>
<th align="left">
High Procedure Code:
</th>
<td>
<asp:TextBox ID="txHighProcedureCode" runat="server" MaxLength="6" Columns="6"/>
</td>
</tr>
<tr>
<th align="left">
Provider Type:
</th>
<td>
<asp:TextBox ID="txProviderType" runat="server" MaxLength="4" Columns="4"/>
</td>
<th align="left">
Provider Type Specialty:
</th>
<td>
<asp:TextBox ID="txProviderTypeSpecialty" runat="server" MaxLength="4" Columns="4"/>
</td>
</tr>
<tr>
<th align="left">
Provider Type Sub Specialty:
</th>
<td colspan="3">
<asp:TextBox ID="txProviderTypeSubSpecialty" runat="server" MaxLength="4" Columns="4"/>
</td>
</tr>
</table>
</ContentTemplate>
</ajaxtk:TabPanel>
</ajaxtk:TabContainer>
<table border="0" width="720" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4" align="center">
<br />
<asp:Button ID="btSearch" runat="server" Text="Search" />
<asp:Button ID="btCancel" runat="server" Text="Cancel" />
<asp:Button ID="btClear" runat="server" Text="Clear" />
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>

I have a number of Text Boxes, Combo Boxes and Infragistics controls within the two tabs.

I tried adding the meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
but it didn't seem to help the problem.

Please advise.
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: Problem With IE8 and TabPanel [23482]

$
0
0
I have an app the works fine with IE7. When using EI8 I get the intermittent error: Sys.InvalidOperationException: Component 'ctl00_PageContent_tcTabs' was not found. The first time I access a page with a TabPanel on it, it usually works. When I either re-access the same page or access another page with a TabPabel on it, I get the error. The TabPanel is enclosed within an UpdatePanel. The ScriptManager is located within the master page.

I am using Visual Studio 2008. The toolkit version is 3.0.30512.1 The problem does not occur when I run the app within Visual Studio, nor when I run the app on localhost. It only fails on the remote production server.

The first function in the failing call stack is:
Sys.Application.add_init(function() {
$create(AjaxControlToolkit.TabPanel, {"headerTab":$get("__tab_ctl00_PageContent_tcTabs_tpGeneralFields"),"ownerID":"ctl00_PageContent_tcTabs"}, null, {"owner":"ctl00_PageContent_tcTabs"}, $get("ctl00_PageContent_tcTabs_tpGeneralFields"));
});

This appears to be some sort of timing problem.

Here is the contents of the UpdatePanel:
<asp:UpdatePanel ID="upMain" runat="server">
<ContentTemplate>
<ajaxtk:TabContainer runat="server" ID="tcTabs" Height="200" ActiveTabIndex="0" Width="720" AutoPostBack="false" >
<ajaxtk:TabPanel runat="server" ID="tpGeneralFields" HeaderText="&lt;span class='tabPanelSmall' title='General Fields'&gt;General Fields&lt;/span&gt;" ToolTip="General Fields" >
<ContentTemplate>
<table border="0" width="720" cellspacing="0" cellpadding="0">
<tr>
<th align="left">
Type Of Service:
</th>
<td>
<asp:DropDownList ID="cbxTypeOfService" runat="server" />
</td>
<th align="left">
Rule Number:
</th>
<td>
<igtxt:WebNumericEdit ID="neRuleNumber" runat="server" MaxValue="127"
MaxLength="3" SpinWrap="True" Width="50px" DataMode="Byte">
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
</tr>
<tr>
<th align="left">
Rule Version:
</th>
<td>
<igtxt:WebNumericEdit ID="neRuleVersion" runat="server" MaxValue="127"
MaxLength="3" SpinWrap="True" width="50px" DataMode="Byte" >
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
<th align="left">
Rule Priority:
</th>
<td>
<igtxt:WebNumericEdit ID="neRulePriority" runat="server" MaxValue="127"
MaxLength="3" SpinWrap="True" width="50px" DataMode="Byte">
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
</tr>
<tr>
<th align="left" title="Effective date between date start and date end">
Effective Date Range:
</th>
<td>
<igsch:WebDateChooser ID="dtEffectiveDateStart" runat="server" Width="100px"
MinDate="1990-01-01" MaxDate="2099-12-31" NullDateLabel="" >
<CalendarLayout>
<CalendarStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
</CalendarStyle>
</CalendarLayout>
</igsch:WebDateChooser>
</td>
<th align="center">
-- and --
</th>
<td>
<igsch:WebDateChooser ID="dtEffectiveDateEnd" runat="server" Width="100px"
MinDate="1990-01-01" MaxDate="2099-12-31" NullDateLabel="" >
<CalendarLayout>
<CalendarStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
</CalendarStyle>
</CalendarLayout>
</igsch:WebDateChooser>
</td>
</tr>
<tr>
<th align="left" title="End date between date start and date end">
End Date Range:
</th>
<td>
<igsch:WebDateChooser ID="dtEndDateStart" runat="server" Width="100px"
MinDate="1990-01-01" MaxDate="2099-12-31" NullDateLabel="" >
<CalendarLayout>
<CalendarStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
</CalendarStyle>
</CalendarLayout>
</igsch:WebDateChooser>
</td>
<th align="center">
-- and --
</th>
<td>
<igsch:WebDateChooser ID="dtEndDateEnd" runat="server" Width="100px"
MinDate="1990-01-01" MaxDate="2099-12-31" NullDateLabel="" >
<CalendarLayout>
<CalendarStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False">
</CalendarStyle>
</CalendarLayout>
</igsch:WebDateChooser>
</td>
</tr>
<tr>
<th align="left" title="End date between date start and date end">
Age Range:
</th>
<td>
<igtxt:WebNumericEdit ID="neAgeStart" runat="server" MaxValue="120"
MaxLength="3" SpinWrap="True" width="50px" DataMode="Byte" >
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
<th align="center">
-- and --
</th>
<td>
<igtxt:WebNumericEdit ID="neAgeEnd" runat="server" MaxValue="120"
MaxLength="3" SpinWrap="True" width="50px" DataMode="Byte" >
<SpinButtons Display="OnRight" />
</igtxt:WebNumericEdit>
</td>
</tr>
<tr>
<th align="left">
Use for Fee For Service?:
</th>
<td colspan="3">
<asp:DropDownList ID="cbxUseForFeeForService" runat="server"
DataTextField="TextField" DataValueField="ValueField">
<asp:ListItem Selected="True" Value="NA">Not Selected</asp:ListItem>
<asp:ListItem Value="N">No</asp:ListItem>
<asp:ListItem Value="Y">Yes</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<th align="left">
Use for Encounters?:
</th>
<td colspan="3">
<asp:DropDownList ID="cbxUseForEncounters" runat="server"
DataTextField="TextField" DataValueField="ValueField">
<asp:ListItem Selected="True" Value="NA">Not Selected</asp:ListItem>
<asp:ListItem Value="N">No</asp:ListItem>
<asp:ListItem Value="Y">Yes</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<th align="left">
Use For Gross Adjustments?:
</th>
<td colspan="3">
<asp:DropDownList ID="cbxUseForGrossAdjustments" runat="server"
DataTextField="TextField" DataValueField="ValueField">
<asp:ListItem Selected="True" Value="NA">Not Selected</asp:ListItem>
<asp:ListItem Value="N">No</asp:ListItem>
<asp:ListItem Value="Y">Yes</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<th align="left">
MSIS File:
</th>
<td colspan="3">
<asp:DropDownList ID="cbxMSISFile" runat="server"
DataTextField="TextField" DataValueField="ValueField">
<asp:ListItem Selected="True" Value="NA">Not Selected</asp:ListItem>
<asp:ListItem Value="ClaimIP">ClaimIP</asp:ListItem>
<asp:ListItem Value="ClaimLT">ClaimLT</asp:ListItem>
<asp:ListItem Value="ClaimOT">ClaimOT</asp:ListItem>
<asp:ListItem Value="ClaimRX">ClaimRX</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
</table>
</ContentTemplate>
</ajaxtk:TabPanel>
<ajaxtk:TabPanel runat="server" ID="tpCodeFields" HeaderText="&lt;span class='tabPanelSmall' title='Code Fields'&gt;Code Fields&lt;/span&gt;" ToolTip="Code Fields" >
<ContentTemplate>
<table border="0" width="720" cellspacing="0" cellpadding="0">
<tr>
<th align="left">
Diagnosis Code:
</th>
<td>
<asp:TextBox ID="txDiagnosisCode" runat="server" MaxLength="5" Columns="5"/>
</td>
<th align="left">
MCO Program:
</th>
<td>
<asp:TextBox ID="txMCOProgram" runat="server" MaxLength="4" Columns="4"/>
</td>
</tr>
<tr>
<th align="left">
Low Procedure Code:
</th>
<td>
<asp:TextBox ID="txLowProcedureCode" runat="server" MaxLength="6" Columns="6"/>
</td>
<th align="left">
High Procedure Code:
</th>
<td>
<asp:TextBox ID="txHighProcedureCode" runat="server" MaxLength="6" Columns="6"/>
</td>
</tr>
<tr>
<th align="left">
Provider Type:
</th>
<td>
<asp:TextBox ID="txProviderType" runat="server" MaxLength="4" Columns="4"/>
</td>
<th align="left">
Provider Type Specialty:
</th>
<td>
<asp:TextBox ID="txProviderTypeSpecialty" runat="server" MaxLength="4" Columns="4"/>
</td>
</tr>
<tr>
<th align="left">
Provider Type Sub Specialty:
</th>
<td colspan="3">
<asp:TextBox ID="txProviderTypeSubSpecialty" runat="server" MaxLength="4" Columns="4"/>
</td>
</tr>
</table>
</ContentTemplate>
</ajaxtk:TabPanel>
</ajaxtk:TabContainer>
<table border="0" width="720" cellspacing="0" cellpadding="0">
<tr>
<td colspan="4" align="center">
<br />
<asp:Button ID="btSearch" runat="server" Text="Search" />
<asp:Button ID="btCancel" runat="server" Text="Cancel" />
<asp:Button ID="btClear" runat="server" Text="Clear" />
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>

I have a number of Text Boxes, Combo Boxes and Infragistics controls within the two tabs.

I tried adding the meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
but it didn't seem to help the problem.

Please advise.

Commented Issue: problem with IE8 onclick event not getting attached to controls inside tabs? [23226]

$
0
0
I have quite a few .net forms that use the tab control for navigation. Inside each tab I have forms that have asp:buttons to submit data as a postback. IE8 is the only browser where they onclick event does not get added to the button, in each case the button simply does nothing. Every other browser works fine. Running .net framework 3.5 sp1, VS2008 SP1, ajaxcontroltoolkit dll is latest stable from site released June 2009.
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: problem with IE8 onclick event not getting attached to controls inside tabs? [23226]

$
0
0
I have quite a few .net forms that use the tab control for navigation. Inside each tab I have forms that have asp:buttons to submit data as a postback. IE8 is the only browser where they onclick event does not get added to the button, in each case the button simply does nothing. Every other browser works fine. Running .net framework 3.5 sp1, VS2008 SP1, ajaxcontroltoolkit dll is latest stable from site released June 2009.

Commented Issue: Errors when using tabs since Internet Explorer 8 is installed [23093]

$
0
0
Hello,

since I have installed Internet Explorer 8 I get a lot of error messages like the following if I use a tabs control:

Invalid character in Base-64 string
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: Errors when using tabs since Internet Explorer 8 is installed [23093]

$
0
0
Hello,

since I have installed Internet Explorer 8 I get a lot of error messages like the following if I use a tabs control:

Invalid character in Base-64 string

Commented Unassigned: modalpopupextender tab stop on image [27653]

$
0
0
On a web page, there's an asp:Image control and several other controls with TabIndex set. When modalpopupextender is triggered, a popup panel is shown with all controls on the backgroud page disabled except the image control, even though you cannot click the image, you can stop at the image on the background page along with the controls on the popup panel using tab key.

I don't want the tab key to stop at the image on the background page, just like it does not stop at the TextBox on the background page.

James

Comments: Would you please provide a sample project?

Edited Unassigned: modalpopupextender tab stop on image [27653]

$
0
0
On a web page, there's an asp:Image control and several other controls with TabIndex set. When modalpopupextender is triggered, a popup panel is shown with all controls on the backgroud page disabled except the image control, even though you cannot click the image, you can stop at the image on the background page along with the controls on the popup panel using tab key.

I don't want the tab key to stop at the image on the background page, just like it does not stop at the TextBox on the background page.

James

Edited Unassigned: When adding TabContainer programmatically inside a user control, only controls in the first tab show up [27636]

$
0
0
When you have a tab container within a user control that is added programmatically, only the controls in the first tab show up, the other tabs are blank.

But when you place the same control onto a page directly within the .aspx file, everything works correctly.

sample code below:

test.aspx:
```

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>
<%@ Register Src="~/TestTabs.ascx" TagPrefix="uc1" TagName="TestTabs" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePageMethods="True"></ajaxToolkit:ToolkitScriptManager>

<div>
<asp:PlaceHolder runat="server" ID="ContentPlace"></asp:PlaceHolder>
</div>
</form>
</body>
</html>
```

test.aspx.cs

```
using System;

public partial class DTest : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
var ctrl = LoadControl("TestTabs.ascx");

ContentPlace.Controls.Add(ctrl);

}
}

```
TestTabs.ascx

```
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TestTabs.ascx.cs" Inherits="TestTabs" %>

<ajaxToolkit:TabContainer ID="TabContainer1" runat="server"
Width="810px"
ActiveTabIndex="0"
OnDemand="true"
TabStripPlacement="Top"
ScrollBars="Auto" Height="300px">
<ajaxToolkit:TabPanel ID="TabPanel1" runat="server"
HeaderText="Modules"
Enabled="true"
TabIndex="0"
ScrollBars="Auto">
<ContentTemplate>
<asp:Label runat="server" Text="Page #1"></asp:Label>
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel2" runat="server"
HeaderText="Modules"
Enabled="true"
TabIndex="0"
ScrollBars="Auto">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Page #2"></asp:Label>
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel3" runat="server"
HeaderText="Modules"
Enabled="true"
TabIndex="0"
ScrollBars="Auto">
<ContentTemplate>
<asp:Label ID="Label2" runat="server" Text="Page #3"></asp:Label>
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>


```


Edited Unassigned: Issues installing Ajax Control Toolkit 15.1.2 [27894]

$
0
0
Hi,

I'm just upgrading the Ajax Control Toolkit to the latest version by DevExpress and to do so I uninstalled the previous version and installed the 15.1.2.
Everything went well with the exception of not getting installed the localization subfolders within the Bin folder as in the past hence I have not other local (ex. ar folder that used to contain the AjaxControlToolkit.resources.dll file).

I'm not sure if there is a parameter excluding these files or there is something wrong with the install. I assumed it's the first one as otherwise there should have been more people looking for.

Tks

Commented Unassigned: Issues installing Ajax Control Toolkit 15.1.2 [27894]

$
0
0
Hi,

I'm just upgrading the Ajax Control Toolkit to the latest version by DevExpress and to do so I uninstalled the previous version and installed the 15.1.2.
Everything went well with the exception of not getting installed the localization subfolders within the Bin folder as in the past hence I have not other local (ex. ar folder that used to contain the AjaxControlToolkit.resources.dll file).

I'm not sure if there is a parameter excluding these files or there is something wrong with the install. I assumed it's the first one as otherwise there should have been more people looking for.

Tks

Comments:  Satellite assemblies were required to render localized controls' strings, such as "Today", in the Calendar extender. This string turns to "Oggi" in the Italian localization. This string localization was moved to the client side and can be applied via certain javascript function calls.   In fact, the Toolkit Localization is not connected with validation, it is just a set of messages used by controls. What AJAX Control Toolkit control are you using? 

Commented Unassigned: When adding TabContainer programmatically inside a user control, only controls in the first tab show up [27636]

$
0
0
When you have a tab container within a user control that is added programmatically, only the controls in the first tab show up, the other tabs are blank.

But when you place the same control onto a page directly within the .aspx file, everything works correctly.

sample code below:

test.aspx:
```

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>
<%@ Register Src="~/TestTabs.ascx" TagPrefix="uc1" TagName="TestTabs" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePageMethods="True"></ajaxToolkit:ToolkitScriptManager>

<div>
<asp:PlaceHolder runat="server" ID="ContentPlace"></asp:PlaceHolder>
</div>
</form>
</body>
</html>
```

test.aspx.cs

```
using System;

public partial class DTest : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
var ctrl = LoadControl("TestTabs.ascx");

ContentPlace.Controls.Add(ctrl);

}
}

```
TestTabs.ascx

```
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TestTabs.ascx.cs" Inherits="TestTabs" %>

<ajaxToolkit:TabContainer ID="TabContainer1" runat="server"
Width="810px"
ActiveTabIndex="0"
OnDemand="true"
TabStripPlacement="Top"
ScrollBars="Auto" Height="300px">
<ajaxToolkit:TabPanel ID="TabPanel1" runat="server"
HeaderText="Modules"
Enabled="true"
TabIndex="0"
ScrollBars="Auto">
<ContentTemplate>
<asp:Label runat="server" Text="Page #1"></asp:Label>
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel2" runat="server"
HeaderText="Modules"
Enabled="true"
TabIndex="0"
ScrollBars="Auto">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Page #2"></asp:Label>
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel3" runat="server"
HeaderText="Modules"
Enabled="true"
TabIndex="0"
ScrollBars="Auto">
<ContentTemplate>
<asp:Label ID="Label2" runat="server" Text="Page #3"></asp:Label>
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>


```


Comments: It seems that you are loading UserControl in a wrong way. Calling the Page_Load method will result in recreating TabContainer each request and resetting an active tab index to zero, so the server cannot load another TabPanel content. According to the [ASP.NET Page Life Cycle](https://msdn.microsoft.com/en-us/library/ms178472.aspx), it is better to move the UserControl load code to the OnInit method.

Closed Unassigned: When adding TabContainer programmatically inside a user control, only controls in the first tab show up [27636]

$
0
0
When you have a tab container within a user control that is added programmatically, only the controls in the first tab show up, the other tabs are blank.

But when you place the same control onto a page directly within the .aspx file, everything works correctly.

sample code below:

test.aspx:
```

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="Test" %>
<%@ Register Src="~/TestTabs.ascx" TagPrefix="uc1" TagName="TestTabs" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePageMethods="True"></ajaxToolkit:ToolkitScriptManager>

<div>
<asp:PlaceHolder runat="server" ID="ContentPlace"></asp:PlaceHolder>
</div>
</form>
</body>
</html>
```

test.aspx.cs

```
using System;

public partial class DTest : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
var ctrl = LoadControl("TestTabs.ascx");

ContentPlace.Controls.Add(ctrl);

}
}

```
TestTabs.ascx

```
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TestTabs.ascx.cs" Inherits="TestTabs" %>

<ajaxToolkit:TabContainer ID="TabContainer1" runat="server"
Width="810px"
ActiveTabIndex="0"
OnDemand="true"
TabStripPlacement="Top"
ScrollBars="Auto" Height="300px">
<ajaxToolkit:TabPanel ID="TabPanel1" runat="server"
HeaderText="Modules"
Enabled="true"
TabIndex="0"
ScrollBars="Auto">
<ContentTemplate>
<asp:Label runat="server" Text="Page #1"></asp:Label>
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel2" runat="server"
HeaderText="Modules"
Enabled="true"
TabIndex="0"
ScrollBars="Auto">
<ContentTemplate>
<asp:Label ID="Label1" runat="server" Text="Page #2"></asp:Label>
</ContentTemplate>
</ajaxToolkit:TabPanel>
<ajaxToolkit:TabPanel ID="TabPanel3" runat="server"
HeaderText="Modules"
Enabled="true"
TabIndex="0"
ScrollBars="Auto">
<ContentTemplate>
<asp:Label ID="Label2" runat="server" Text="Page #3"></asp:Label>
</ContentTemplate>
</ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>


```


Closed Unassigned: Scripts not being imported. Error on clauses [27885]

$
0
0
Hi everyone.
I have a Masterpage which includes ALL my scripts and styles.
Up to AjaxControlToolkit 4.5, the tag <script type="text/javascript" src='<%= ResolveUrl("~/Scripts/jquery-1.10.2.js")%>'></script> worked just fine. Really fine!
Then I installed the new release jut yesterday. What a headache!

i can't find where to insert this: "in the “ajaxControlToolkit” config section (Web.config), set the “renderStyleLinks” attribute to “true”, and the “useStaticResources” attribute to “false”

Any help?

Regards.

Edited Unassigned: AjaxFileUpload control doesn't work with ASP Routing [27754]

$
0
0
When using ASP .NET routing, the AjaxFileUpload control throws an exception related to not being able to find the temp directory where the control stores the uploaded file.

It seems only routes that contain Route Data are affected, but I'm not sure about this.

The exception is:

Could not find a part of the path 'C:\Users\[user]\AppData\Local\Temp\_AjaxFileUpload\[fileId]'

The issue, and its solution, is documented here:

http://stackoverflow.com/questions/19115761/ajax-fileupload-route-querystring-directorynotfoundexception

I followed the directions in the posted solution by changing line 22 of the AjaxFileUpload.Control.pre.js file as follows:

this._uploadUrl = 'AjaxFileUploadHandler.axd';
to:
this._uploadUrl = '/AjaxFileUploadHandler.axd';

I don't pretend to understand the full issue here, but it would be nice if this control worked with routing so that I didn't have to run a fork of the Toolkit dll to have this work.

Commented Unassigned: AsyncFileUpload reports wrong ContentType in FireFox and Chrome [27634]

$
0
0
If I upload an excel file but name it "excel.jpg" for instance on upload complete the ContenType property will report 'image/jpeg' in Chrome and FireFox.

Internet Explorer reports 'application/x-zip-compressed'
Comments: It seems that this is an ASP.NET issue, not AsyncFileUpload.
Viewing all 4356 articles
Browse latest View live


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