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

Closed Unassigned: MaskedEditExtender Automcomplete Problem [27582]

$
0
0
i have a MaskedEditExtender assigned to a text box to control the input of date/times..

i have it set to autocomplete but when i enter the following dates (below) the "time" element isnt being set to the clock anymore it is putting in a time based on the date i have entered, eg:

01/11/2011 and then tab out of the edit i then get 01/11/2011 01:11:20
04/052011 and then tab out of the edit i then get 04/05/2011 04:05:00

anyone any ideas...?

Thanks
Dave
Comments: We were unable to reproduce this issue with the latest version of ASP.NET AJAX Control Toolkit v15.1. Please upgrade to the latest version of AJAX Control Toolkit v15.1. If the problem remains, feel free to post a new issue.

Commented Unassigned: Visual Studio 2013 MaskedEditValidator not validating dates properly [27589]

$
0
0
When validating, 01/05/2013 is a valid date where 01/13/2013 is not a valid date.
Code:
<asp:Label runat="server" AssociatedControlID="ShowEndDate" CssClass="col-md-6 control-label">Show end date</asp:Label>
<div class="col-md-6">
<asp:TextBox runat="server" ID="ShowEndDate" CssClass="form-control"/><ajaxtoolkit:calendarextender
TargetControlID="ShowEndDate"
runat="server" />
<ajaxtoolkit:maskededitextender ID="MaskedEditExtender3" runat="server"
TargetControlID="ShowEndDate"
Mask="99/99/9999"
MessageValidatorTip="true"
OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError"
MaskType="Date"
PromptCharacter="_"
CultureName = "en-GB"
ErrorTooltipEnabled="True" UserDateFormat="DayMonthYear" />
&nbsp;&nbsp;
Comments: We do not see any problems with the described behavior so far. When you specify the "en-GB" culture for MaskedEditExtender, it assumes that a date will be entered in the dd/MM/yyyy format. Hence, 01/13/2013 is not a valid date, because it means you try to enter the 13th month, so MaskedEditValidator will not validate it.   Would you please share more details about the problem you faced?

Commented Unassigned: Sys Undefined [27938]

$
0
0
I gotten one website that I downloaded to work with the autocomplete extender. I then created a new data scaffolding website using an ADO entity model. I have created a custom list form, which was generated by the data scaffolding, and am trying to put an autocomplete extender on it. I get a sys undefined error in internet explorer. I go into the debugger and see the error.

Sys.Application.add_init(function() {
$create(Sys.Extended.UI.AutoCompleteBehavior, {"completionSetCount":100,"delimiterCharacters":"","enableCaching":false,"id":"txtName_AutoCompleteExtender","minimumPrefixLength":2,"serviceMethod":"GetDevelopments","servicePath":"/SewerCleaningHeaders/List.aspx","useContextKey":true}, null, null, $get("ContentPlaceHolder1_txtName"));
});

sys undefined.

I downloaded the the 15.1.3 version of ajax control tookit. It has done away with toolkit script manager and replaced it with scriptmanager. Which is what I needed because the page generated by the datascaffolding already has a script manager in the site master.

The code for the site master is as follows:

<%@ Master Language="VB" CodeFile="Site.master.vb" Inherits="Site" %>

<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" %>


<!DOCTYPE html>

<html lang="en">
<head runat="server">
<meta charset="utf-8" />
<title>Dynamic Data Site</title>
<link href="~/Site.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>

<h1 class="DDMainHeader">Dynamic Data Site</h1>
<div class="DDNavigation">
<a runat="server" href="~/"><img alt="Back to home page" runat="server" src="DynamicData/Content/Images/back.gif" />Back to home page</a>
</div>

<form id="form1" runat="server">
<div>
<%-- TODO: Enable partial rendering by setting the EnablePartialRendering attribute to "true" to provide a smoother browsing experience.
Leaving partial rendering disabled will provide a better debugging experience while the application is in development. --%>

<asp:ScriptManager id=ToolKitScriptManager1 runat="server" EnablePartialRendering="False" >
<Scripts>
<asp:ScriptReference Path="~/Scripts/" Name="jquery" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" />
</Scripts>
</asp:ScriptManager>

the code in the custom form that I am only modifying is as follows ( with autocomplete extender on bottom)

<%@ Page Language="VB" MasterPageFile="~/Site.master" CodeFile="List.aspx.vb" Inherits="List" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register src="~/DynamicData/Content/GridViewPager.ascx" tagname="GridViewPager" tagprefix="asp" %>

<asp:Content ID="headContent" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:DynamicDataManager ID="DynamicDataManager1" runat="server" AutoLoadForeignKeys="true">
<DataControls>
<asp:DataControlReference ControlID="GridView1" />
</DataControls>
</asp:DynamicDataManager>




<h2 class="DDSubHeader"><%= table.DisplayName%></h2>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div class="DD">
<asp:ValidationSummary ID="ValidationSummary1" runat="server" EnableClientScript="true"
HeaderText="List of validation errors" CssClass="DDValidator" />
<asp:DynamicValidator runat="server" ID="GridViewValidator" ControlToValidate="GridView1" Display="None" CssClass="DDValidator" />

<asp:QueryableFilterRepeater runat="server" ID="FilterRepeater">
<ItemTemplate>
<asp:Label runat="server" Text='<%# Eval("DisplayName") %>' OnPreRender="Label_PreRender" />
<asp:DynamicFilter runat="server" ID="DynamicFilter" OnFilterChanged="DynamicFilter_FilterChanged" /><br />
</ItemTemplate>
</asp:QueryableFilterRepeater>
<br />
</div>

<asp:EntityDataSource ID="GridDataSource" runat="server" EnableDelete="true" />
<asp:Button ID="Button1" runat="server" Text="Search" />
<br />
<asp:GridView ID="GridView1" runat="server" DataSourceID="GridDataSource" EnablePersistedSelection="true"
AllowPaging="True" AllowSorting="True" CssClass="DDGridView"
RowStyle-CssClass="td" HeaderStyle-CssClass="th" CellPadding="6">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:DynamicHyperLink runat="server" Action="Edit" Text="Edit"
/>&nbsp;<asp:LinkButton runat="server" CommandName="Delete" Text="Delete"
OnClientClick='return confirm("Are you sure you want to delete this item?");'
/>&nbsp;<asp:DynamicHyperLink runat="server" Text="Details" />
</ItemTemplate>
</asp:TemplateField>
<asp:HyperLinkField Text="Add" DataNavigateUrlFormatString="~/SewerCleaningHeaders/Insert.aspx" />
</Columns>

<PagerStyle CssClass="DDFooter"/>
<PagerTemplate>
<asp:GridViewPager runat="server" />
</PagerTemplate>
<EmptyDataTemplate>
There are currently no items in this table.
</EmptyDataTemplate>
</asp:GridView>

<div class="DDBottomHyperLink">
<asp:DynamicHyperLink ID="InsertHyperLink" runat="server" NavigateUrl=<%# table.GetActionPath("videolist", GetDataItem())%> Action="videolist"><img runat="server" src="~/DynamicData/Content/Images/plus.gif" />Insert new item</asp:DynamicHyperLink>
</div>


</ContentTemplate>
</asp:UpdatePanel>



<asp:Label runat="server" ID="lblReferrerName" Text="Address: "></asp:Label>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
<asp:Label runat="server" ID="Label1" Text=" Select address and press button "></asp:Label>
<asp:Button ID="Button2" runat="server" Text="Button" Width="67px" />


<asp:AutoCompleteExtender ID="txtName_AutoCompleteExtender" BehaviorID="txtName_AutoCompleteExtender" runat="server"
DelimiterCharacters="" Enabled="True"
TargetControlID="txtName" MinimumPrefixLength="2" CompletionInterval="1000"
EnableCaching="false" FirstRowSelected="false" CompletionSetCount= "100" ServiceMethod="GetDevelopments"
UseContextKey="True">
</asp:AutoCompleteExtender>

<script src="~/Scripts/MicrosoftAjaxToolkit/MicrosoftAjax.js" type="text/javascript"></script>
<script src="~/Scripts/MicrosoftAjaxToolkit/Debug/AutoComplete.debug.js" type="text/javascript"></script>



</asp:Content>

I've never actually made one of my exsisting website work with the ajax am I missing something? I've worked on this for days and have tried many different things like copying the ajax control toolkit scripts, .js files to my website's scripts directory. Is that the wrong way to do it. They weren't there before. Tutorials that I've watched haven't even mentioned the script files but I saw it as one of the solutions.
Comments: Per Mikhail at devexpress I uncommented the mybase call and the sys undefined error went away. Protected Overrides Sub OnPreRenderComplete(ByVal e As EventArgs) Dim routeValues As New RouteValueDictionary(GridView1.GetDefaultValues) InsertHyperLink.NavigateUrl = table.GetActionPath(PageAction.Insert, routeValues) MyBase.OnPreRenderComplete(e) End Sub Mikhail was very patient working with me and I learnt a lot about using ajaxcontroltoolkit like using a webmethod to call my code behind for the ajaxtoolkit control.

Commented Unassigned: Sys Undefined [27938]

$
0
0
I gotten one website that I downloaded to work with the autocomplete extender. I then created a new data scaffolding website using an ADO entity model. I have created a custom list form, which was generated by the data scaffolding, and am trying to put an autocomplete extender on it. I get a sys undefined error in internet explorer. I go into the debugger and see the error.

Sys.Application.add_init(function() {
$create(Sys.Extended.UI.AutoCompleteBehavior, {"completionSetCount":100,"delimiterCharacters":"","enableCaching":false,"id":"txtName_AutoCompleteExtender","minimumPrefixLength":2,"serviceMethod":"GetDevelopments","servicePath":"/SewerCleaningHeaders/List.aspx","useContextKey":true}, null, null, $get("ContentPlaceHolder1_txtName"));
});

sys undefined.

I downloaded the the 15.1.3 version of ajax control tookit. It has done away with toolkit script manager and replaced it with scriptmanager. Which is what I needed because the page generated by the datascaffolding already has a script manager in the site master.

The code for the site master is as follows:

<%@ Master Language="VB" CodeFile="Site.master.vb" Inherits="Site" %>

<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" %>


<!DOCTYPE html>

<html lang="en">
<head runat="server">
<meta charset="utf-8" />
<title>Dynamic Data Site</title>
<link href="~/Site.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>

<h1 class="DDMainHeader">Dynamic Data Site</h1>
<div class="DDNavigation">
<a runat="server" href="~/"><img alt="Back to home page" runat="server" src="DynamicData/Content/Images/back.gif" />Back to home page</a>
</div>

<form id="form1" runat="server">
<div>
<%-- TODO: Enable partial rendering by setting the EnablePartialRendering attribute to "true" to provide a smoother browsing experience.
Leaving partial rendering disabled will provide a better debugging experience while the application is in development. --%>

<asp:ScriptManager id=ToolKitScriptManager1 runat="server" EnablePartialRendering="False" >
<Scripts>
<asp:ScriptReference Path="~/Scripts/" Name="jquery" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" />
</Scripts>
</asp:ScriptManager>

the code in the custom form that I am only modifying is as follows ( with autocomplete extender on bottom)

<%@ Page Language="VB" MasterPageFile="~/Site.master" CodeFile="List.aspx.vb" Inherits="List" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register src="~/DynamicData/Content/GridViewPager.ascx" tagname="GridViewPager" tagprefix="asp" %>

<asp:Content ID="headContent" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:DynamicDataManager ID="DynamicDataManager1" runat="server" AutoLoadForeignKeys="true">
<DataControls>
<asp:DataControlReference ControlID="GridView1" />
</DataControls>
</asp:DynamicDataManager>




<h2 class="DDSubHeader"><%= table.DisplayName%></h2>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div class="DD">
<asp:ValidationSummary ID="ValidationSummary1" runat="server" EnableClientScript="true"
HeaderText="List of validation errors" CssClass="DDValidator" />
<asp:DynamicValidator runat="server" ID="GridViewValidator" ControlToValidate="GridView1" Display="None" CssClass="DDValidator" />

<asp:QueryableFilterRepeater runat="server" ID="FilterRepeater">
<ItemTemplate>
<asp:Label runat="server" Text='<%# Eval("DisplayName") %>' OnPreRender="Label_PreRender" />
<asp:DynamicFilter runat="server" ID="DynamicFilter" OnFilterChanged="DynamicFilter_FilterChanged" /><br />
</ItemTemplate>
</asp:QueryableFilterRepeater>
<br />
</div>

<asp:EntityDataSource ID="GridDataSource" runat="server" EnableDelete="true" />
<asp:Button ID="Button1" runat="server" Text="Search" />
<br />
<asp:GridView ID="GridView1" runat="server" DataSourceID="GridDataSource" EnablePersistedSelection="true"
AllowPaging="True" AllowSorting="True" CssClass="DDGridView"
RowStyle-CssClass="td" HeaderStyle-CssClass="th" CellPadding="6">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:DynamicHyperLink runat="server" Action="Edit" Text="Edit"
/>&nbsp;<asp:LinkButton runat="server" CommandName="Delete" Text="Delete"
OnClientClick='return confirm("Are you sure you want to delete this item?");'
/>&nbsp;<asp:DynamicHyperLink runat="server" Text="Details" />
</ItemTemplate>
</asp:TemplateField>
<asp:HyperLinkField Text="Add" DataNavigateUrlFormatString="~/SewerCleaningHeaders/Insert.aspx" />
</Columns>

<PagerStyle CssClass="DDFooter"/>
<PagerTemplate>
<asp:GridViewPager runat="server" />
</PagerTemplate>
<EmptyDataTemplate>
There are currently no items in this table.
</EmptyDataTemplate>
</asp:GridView>

<div class="DDBottomHyperLink">
<asp:DynamicHyperLink ID="InsertHyperLink" runat="server" NavigateUrl=<%# table.GetActionPath("videolist", GetDataItem())%> Action="videolist"><img runat="server" src="~/DynamicData/Content/Images/plus.gif" />Insert new item</asp:DynamicHyperLink>
</div>


</ContentTemplate>
</asp:UpdatePanel>



<asp:Label runat="server" ID="lblReferrerName" Text="Address: "></asp:Label>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
<asp:Label runat="server" ID="Label1" Text=" Select address and press button "></asp:Label>
<asp:Button ID="Button2" runat="server" Text="Button" Width="67px" />


<asp:AutoCompleteExtender ID="txtName_AutoCompleteExtender" BehaviorID="txtName_AutoCompleteExtender" runat="server"
DelimiterCharacters="" Enabled="True"
TargetControlID="txtName" MinimumPrefixLength="2" CompletionInterval="1000"
EnableCaching="false" FirstRowSelected="false" CompletionSetCount= "100" ServiceMethod="GetDevelopments"
UseContextKey="True">
</asp:AutoCompleteExtender>

<script src="~/Scripts/MicrosoftAjaxToolkit/MicrosoftAjax.js" type="text/javascript"></script>
<script src="~/Scripts/MicrosoftAjaxToolkit/Debug/AutoComplete.debug.js" type="text/javascript"></script>



</asp:Content>

I've never actually made one of my exsisting website work with the ajax am I missing something? I've worked on this for days and have tried many different things like copying the ajax control toolkit scripts, .js files to my website's scripts directory. Is that the wrong way to do it. They weren't there before. Tutorials that I've watched haven't even mentioned the script files but I saw it as one of the solutions.
Comments: Mikhail explained how to use webmethod as below This happens because of the way AutoComplete extender builds Web method path. If you debug AutoComplete.debug.js file you will see, that target URL looks like "/default.aspx/GetCompletionList" But this notation works only for Web services that have .asmx extension, not .aspx pages. So the better way to call this method properly is to create a separate Web service file with .asmx extension and provide this name to ServicePath property of the extender. You can see an example of this principle in the Sample site: https://ajaxcontroltoolkit.codeplex.com/SourceControl/latest#AjaxControlToolkit.SampleSite/AutoComplete/AutoComplete.aspx Attaching method name to .aspx page is also possible, but requires more work with URL routing.

Commented Unassigned: Version 4.1.7.1005. AsyncFileUploadID=AsyncFileUpload1&rnd= [27593]

$
0
0

STEPS TO REPRODUCE ERROR

STEP 1

Configure AsyncFileUpload with normal client (JavaScript) and server methods.

__On client functions__:

uploadError(sender, args) {..} and function uploadComplete(sender, args) {..}

_On server codebehind_:

AsyncFileUpload1_UploadedComplete(..) and AsyncFileUpload1_UploadedFileError(..)

On ASPX add a button than only do a Postback.

Now upload a large file (over 4 mbytes the default limit). After detected uploadError on Client JavaScript Function, the control display on red background color the name of the file.

STEP 2

Click on the Button to generate a Postback.

RESULT:

Automatically launch a new browser tab showing a URL querystring like this:

http://localhost/ImagesInGridViewDb/tImageUpload1.aspx___?AsyncFileUploadID=AsyncFileUpload1&rnd=0008577673175017342___

What is the mean of:

?AsyncFileUploadID=AsyncFileUpload1&rnd=0008577673175017342

[See the image](https://skydrive.live.com/redir?resid=F3D7A503C5A2E642!133&authkey=!AFD5WoeoR16nmUg&v=3&ithint=photo%2c.JPG)






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

Commented Unassigned: 'navigator.appName' of ajax toolkit is said to have Browser Detection Techniques [27606]

$
0
0
Hi

We are trying to check our web application whether it meets the 'standards level' of the modernization levels.

We doubt, it is failing because of browser detection techniques as - verified from http://www.modern.ie/en-us/report . The browser detection type is shown 'navigator.appName', which is present in the ajax toolkit used.

Could somebody help us in overcoming this problem?

Teja

Comments: Hello, Ksrteja!   We just checked the http://ajaxcontroltoolkit.devexpress.com site (which uses ASP.NET AJAX Control Toolkit v15.1) with this tool and have no browser detection issues.   Does this still apply to your application? If not, would you please provide a sample site that has browser detection issues?

Commented Unassigned: tab wrapping [27618]

$
0
0
on the tab control if you have more tabs that fix it will wrap but the height of the header
".ajax__tab_xp .ajax__tab_header" dose not change (I have checked in IE 10 & IE 11 with compatibility off)
so then the content is under the header
I had to add

<style>* .ajax__tab_xp .ajax__tab_header { height:50px!important; }</style>
to fix it

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

Commented Unassigned: Gridview buttons don't fire with htmleditorextender on the same page (IE 11) [27621]

$
0
0
I created a simple page with a gridview that has a button field. I also added a textbox/hemleditorextender. Buttons do not fire postback in IE 11. Seems ok in previous version of IE.
Comments: Try to add UseSubmitBehavior="false" attribute to the button template to avoid this error. For details, please see this stackoverflow thread: http://stackoverflow.com/a/12081309/644496

Closed Unassigned: Gridview buttons don't fire with htmleditorextender on the same page (IE 11) [27621]

$
0
0
I created a simple page with a gridview that has a button field. I also added a textbox/hemleditorextender. Buttons do not fire postback in IE 11. Seems ok in previous version of IE.

Closed Unassigned: Sys Undefined [27938]

$
0
0
I gotten one website that I downloaded to work with the autocomplete extender. I then created a new data scaffolding website using an ADO entity model. I have created a custom list form, which was generated by the data scaffolding, and am trying to put an autocomplete extender on it. I get a sys undefined error in internet explorer. I go into the debugger and see the error.

Sys.Application.add_init(function() {
$create(Sys.Extended.UI.AutoCompleteBehavior, {"completionSetCount":100,"delimiterCharacters":"","enableCaching":false,"id":"txtName_AutoCompleteExtender","minimumPrefixLength":2,"serviceMethod":"GetDevelopments","servicePath":"/SewerCleaningHeaders/List.aspx","useContextKey":true}, null, null, $get("ContentPlaceHolder1_txtName"));
});

sys undefined.

I downloaded the the 15.1.3 version of ajax control tookit. It has done away with toolkit script manager and replaced it with scriptmanager. Which is what I needed because the page generated by the datascaffolding already has a script manager in the site master.

The code for the site master is as follows:

<%@ Master Language="VB" CodeFile="Site.master.vb" Inherits="Site" %>

<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" %>


<!DOCTYPE html>

<html lang="en">
<head runat="server">
<meta charset="utf-8" />
<title>Dynamic Data Site</title>
<link href="~/Site.css" rel="stylesheet" type="text/css" />
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>

<h1 class="DDMainHeader">Dynamic Data Site</h1>
<div class="DDNavigation">
<a runat="server" href="~/"><img alt="Back to home page" runat="server" src="DynamicData/Content/Images/back.gif" />Back to home page</a>
</div>

<form id="form1" runat="server">
<div>
<%-- TODO: Enable partial rendering by setting the EnablePartialRendering attribute to "true" to provide a smoother browsing experience.
Leaving partial rendering disabled will provide a better debugging experience while the application is in development. --%>

<asp:ScriptManager id=ToolKitScriptManager1 runat="server" EnablePartialRendering="False" >
<Scripts>
<asp:ScriptReference Path="~/Scripts/" Name="jquery" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" />
</Scripts>
</asp:ScriptManager>

the code in the custom form that I am only modifying is as follows ( with autocomplete extender on bottom)

<%@ Page Language="VB" MasterPageFile="~/Site.master" CodeFile="List.aspx.vb" Inherits="List" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<%@ Register src="~/DynamicData/Content/GridViewPager.ascx" tagname="GridViewPager" tagprefix="asp" %>

<asp:Content ID="headContent" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:DynamicDataManager ID="DynamicDataManager1" runat="server" AutoLoadForeignKeys="true">
<DataControls>
<asp:DataControlReference ControlID="GridView1" />
</DataControls>
</asp:DynamicDataManager>




<h2 class="DDSubHeader"><%= table.DisplayName%></h2>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div class="DD">
<asp:ValidationSummary ID="ValidationSummary1" runat="server" EnableClientScript="true"
HeaderText="List of validation errors" CssClass="DDValidator" />
<asp:DynamicValidator runat="server" ID="GridViewValidator" ControlToValidate="GridView1" Display="None" CssClass="DDValidator" />

<asp:QueryableFilterRepeater runat="server" ID="FilterRepeater">
<ItemTemplate>
<asp:Label runat="server" Text='<%# Eval("DisplayName") %>' OnPreRender="Label_PreRender" />
<asp:DynamicFilter runat="server" ID="DynamicFilter" OnFilterChanged="DynamicFilter_FilterChanged" /><br />
</ItemTemplate>
</asp:QueryableFilterRepeater>
<br />
</div>

<asp:EntityDataSource ID="GridDataSource" runat="server" EnableDelete="true" />
<asp:Button ID="Button1" runat="server" Text="Search" />
<br />
<asp:GridView ID="GridView1" runat="server" DataSourceID="GridDataSource" EnablePersistedSelection="true"
AllowPaging="True" AllowSorting="True" CssClass="DDGridView"
RowStyle-CssClass="td" HeaderStyle-CssClass="th" CellPadding="6">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:DynamicHyperLink runat="server" Action="Edit" Text="Edit"
/>&nbsp;<asp:LinkButton runat="server" CommandName="Delete" Text="Delete"
OnClientClick='return confirm("Are you sure you want to delete this item?");'
/>&nbsp;<asp:DynamicHyperLink runat="server" Text="Details" />
</ItemTemplate>
</asp:TemplateField>
<asp:HyperLinkField Text="Add" DataNavigateUrlFormatString="~/SewerCleaningHeaders/Insert.aspx" />
</Columns>

<PagerStyle CssClass="DDFooter"/>
<PagerTemplate>
<asp:GridViewPager runat="server" />
</PagerTemplate>
<EmptyDataTemplate>
There are currently no items in this table.
</EmptyDataTemplate>
</asp:GridView>

<div class="DDBottomHyperLink">
<asp:DynamicHyperLink ID="InsertHyperLink" runat="server" NavigateUrl=<%# table.GetActionPath("videolist", GetDataItem())%> Action="videolist"><img runat="server" src="~/DynamicData/Content/Images/plus.gif" />Insert new item</asp:DynamicHyperLink>
</div>


</ContentTemplate>
</asp:UpdatePanel>



<asp:Label runat="server" ID="lblReferrerName" Text="Address: "></asp:Label>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
<asp:Label runat="server" ID="Label1" Text=" Select address and press button "></asp:Label>
<asp:Button ID="Button2" runat="server" Text="Button" Width="67px" />


<asp:AutoCompleteExtender ID="txtName_AutoCompleteExtender" BehaviorID="txtName_AutoCompleteExtender" runat="server"
DelimiterCharacters="" Enabled="True"
TargetControlID="txtName" MinimumPrefixLength="2" CompletionInterval="1000"
EnableCaching="false" FirstRowSelected="false" CompletionSetCount= "100" ServiceMethod="GetDevelopments"
UseContextKey="True">
</asp:AutoCompleteExtender>

<script src="~/Scripts/MicrosoftAjaxToolkit/MicrosoftAjax.js" type="text/javascript"></script>
<script src="~/Scripts/MicrosoftAjaxToolkit/Debug/AutoComplete.debug.js" type="text/javascript"></script>



</asp:Content>

I've never actually made one of my exsisting website work with the ajax am I missing something? I've worked on this for days and have tried many different things like copying the ajax control toolkit scripts, .js files to my website's scripts directory. Is that the wrong way to do it. They weren't there before. Tutorials that I've watched haven't even mentioned the script files but I saw it as one of the solutions.

Commented Unassigned: Gridview buttons don't fire with htmleditorextender on the same page (IE 11) [27621]

$
0
0
I created a simple page with a gridview that has a button field. I also added a textbox/hemleditorextender. Buttons do not fire postback in IE 11. Seems ok in previous version of IE.
Comments: I wasn't able to add this line. I'm guessing because I'm using the ButtonField of the Gridview, with a CommandName.

Created Unassigned: AjaxFileUpload doesn't work when page contains a querystring [27962]

$
0
0
Unfortunately, it seems like an old issue has returned in the latest release. If your page uses a querystring, the ajaxfileupload control overwrites any pre-existing key/pairs and replaces them with its own for contextkey, done, guid on every postback. I need to pass the querystring value to the OnUploadComplete Event, but this is no longer possible.

Here are the old work items, both which have been closed previously:

http://ajaxcontroltoolkit.codeplex.com/workitem/27467

https://ajaxcontroltoolkit.codeplex.com/workitem/27149


Please fix.

Thanks!

Closed Issue: create link only working in chrome [27695]

$
0
0
It does not insert the link when I test it in firefox or IE11. doesn't even copy a link on your sample page for me except with google chrome.

Closed Issue: HTMLEditor stripping out + (plus) characters, converting them to spaces [26912]

$
0
0
To reproduce, visit the demo page:

http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx

1) Type a +
2) Hit submit content
3) Watch the + disappear

I know we can all add, but if you ever wanted to teach math, I hope you're not using this control.

Closed Issue: StartUpload not firing Ajax Asyncfileupload,if uploads are placed inside different div [27620]

$
0
0
Hi,

I am facing a strange issue with asyncfileupload. I am using jquery accordion in my form. Say, I have div with id="formcontent" and I am having 4 div's inside. say, div1,div2,div3 and div 4. I am displaying one div at a time using accordion. I have 7 asyncfileuploads in div4. I have two in div1. If I place an asyncfileupload in div2, the uploads in div4 stopped working(uploads in div1 continues to work).And the upload I placed in div2 also not working. When I am clicking select file,it opens file location, I am selecting the file, after that no event happening.StartUpload function is not firing. No clue of what is happening.Because,if I place the upload which is in div2 to div4, all uploads starts working fine.

Please help me with a solution. Struggling with the same from the last week.

Additional Info: I am using ajax control tool kit version 3.0.30930.28736. I am working in a SharePoint 2010 application. So, I can't use higher versions.

Please see the mark up below.
```
<asp:AsyncFileUpload ID="asyncFuplSchedule" Width="400px" runat="server" OnClientUploadError="uploadError"
OnClientUploadStarted="StartUpload" OnClientUploadComplete="asyncFuplSchedule_UploadComplete" CompleteBackColor="Lime"
UploaderStyle="Modern" ThrobberID="trbSchedule" OnUploadedComplete="asyncFuplSchedule_UploadedComplete"
UploadingBackColor="#66CCFF" />
<asp:Label ID="trbSchedule" runat="server" Style="display: none">
<img src="/sites/obs/_layouts/images/indicator.gif" align="middle" alt="loading" />
</asp:Label>
```

Closed Issue: asyncfileupload progress events and hide textbox [24790]

$
0
0
was very happy to see the async file upload control. I've been using flash for async upload and would really like to replace it. Unfortunately it doesn't look like there is a way to monitor progress during the upload (I need to show file upload progress) either using client or server events. And there is no way to hide the filename box. An option to make the control invisible would be good.

Closed Issue: HTMLEditorExtender UNDO after REMOVE FORMATTING wipes out most of text. [27167]

$
0
0
On IE9 if you select some formatted text and click on "Remove Formatting" this works OK. But if you immediately click on "Undo" then only a portion of all the text in the editor survives. I think it is only the current "line" of text.

This seems to work fine in IE9 Compatibilty Mode, IE8, IE7, Firefox, Safari and Chrome.

Closed Issue: HtmlEditorExtender appending pageURL to the HREF values [27658]

$
0
0
When modify the text in HtmlEditorExtender control, HREF values appended with the Current URL + href value. Example as follows,

__This is <a href="#value1#">Link</a> for HtmlEditorExtender control__ becomes as follows

__This is <a href="http://www.mydomain.com/app1/mypage #value1#">Link</a> for HtmlEditorExtender control__

Commented Unassigned: Background Issue with ModalPopup Usercontrol on Top of Another [27958]

$
0
0
![Image](http://s17.postimg.org/4201p6ri7/2015_10_09_12_53_08.jpg)

I have one modalpopup with one user control and second on top of the other. My second layer background and its alignment is getting screwed. When i use old ajaxcontrol library it does nto happen. can you please let me know whether it is Bug in ajax library or should i try different property?? I do have modalpopupbackground property set up and they are alright.

Attached is the the sample project if you need to see the code. This happens in IE. it works fine with Chrome for some reason.

I think there is something in ajaxcontroltoolkit library 15.1.3 that causes this issue. please assist.
Comments: I believe 3.0 & 3.3...but attached is the sample code that is basic app..please take a look and see if it make sense or not. I would like to get that fixed asap if possible. can you assist on this.

Commented Issue: DropDownExtender HighlightBackColor property only works with basic colors [27906]

$
0
0
Hello,

I want to use the DropDownExtender control and define the HighlightBackColor. If I set HighlightBackColor to "blue" or the Hex equivalent it works. If I set the HighlightBackColor to "#0065AD" it works not. What can I do?
Comments: The title was edited as this issue is included in What's new list for the v15.1.4 release.
Viewing all 4356 articles
Browse latest View live


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