Example: a.aspx?id=1 is rewritten as a.html?id=1
When the postback event of a.aspx is triggered, for example, after clicking a button, the address changes back to a.aspx?id=1
The solution is as follows:
Register as follows on the a.aspx page:
<%@ Register TagPrefix="url" Namespace="Intelligencia.UrlRewriter" Assembly="Intelligencia.UrlRewriter" %>
Then, replace <asp:form runat="server"> with < url:form runat="server>
This method was found in Google's urlrewriter group.
See: http://groups.google.com/group/UrlRewriter/browse_thread/thread/9eb59d8534ed0ec3/839990b919648ed9?lnk=gst&q=postback&rnum=2#839990b919648ed9
http://www.cnblogs.com/yurichou/archive/2007/01/09/616001.html