Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

ajax does not work while using url rewrite

$
0
0

hi there,i'm using ajax in my app.

there is an issue while using url rewrite:

<rule><match url="(.*)"><conditions><add matchType="IsFile" negate="true" /><add matchType="IsDirectory" negate="true" /></conditions><action type="Rewrite" url="{R:1}.aspx"/></rule>

as soon as I remove above codes,everything goes well.

I want to remove .aspx extension in every page.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Flyfect.WebForm1" %><%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"><title></title></head><body><form id="form1" runat="server"><asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager><asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate><asp:DropDownList ID="DropDownList1" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" AutoPostBack="true" runat="server"><asp:ListItem Value="0" Text="test"></asp:ListItem><asp:ListItem Value="1" Text="test"></asp:ListItem></asp:DropDownList><asp:Button ID="Button1" Visible="false" runat="server" Text="Button" /></ContentTemplate></asp:UpdatePanel><div></div></form></body></html>


Viewing all articles
Browse latest Browse all 5678

Trending Articles



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