<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ASP.NET postbacks and URL rewriting</title>
	<atom:link href="http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/feed/" rel="self" type="application/rss+xml" />
	<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/</link>
	<description>IIS, FastCGI, PHP and other interesting stuff</description>
	<lastBuildDate>Mon, 30 Jan 2012 13:10:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Saeed Neamati</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-11899</link>
		<dc:creator>Saeed Neamati</dc:creator>
		<pubDate>Mon, 30 Jan 2012 13:10:03 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-11899</guid>
		<description>Thanks. The whole article was something I&#039;ve done it before, many times. But, I didn&#039;t know about Request.RawUrl. What I&#039;ve done in my previous projects, was to create a custom form control, and set the action attribute of that, in overridden Render method.

However, this method is really nice and clean. Thanks.</description>
		<content:encoded><![CDATA[<p>Thanks. The whole article was something I&#8217;ve done it before, many times. But, I didn&#8217;t know about Request.RawUrl. What I&#8217;ve done in my previous projects, was to create a custom form control, and set the action attribute of that, in overridden Render method.</p>
<p>However, this method is really nice and clean. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jorge</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-11854</link>
		<dc:creator>Jorge</dc:creator>
		<pubDate>Mon, 19 Dec 2011 00:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-11854</guid>
		<description>Third time that you have saved me hours worth of troubleshooting! The code &quot;form1.Action = Request.RawUrl;&quot; in my codebehind page fixed the issue as you described.  

Thanks again!!!</description>
		<content:encoded><![CDATA[<p>Third time that you have saved me hours worth of troubleshooting! The code &#8220;form1.Action = Request.RawUrl;&#8221; in my codebehind page fixed the issue as you described.  </p>
<p>Thanks again!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bijay</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-11829</link>
		<dc:creator>Bijay</dc:creator>
		<pubDate>Thu, 08 Dec 2011 08:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-11829</guid>
		<description>I have an issue in my asp.net web site. Sometimes button click events are not firing and sometimes it is firing.

You can check in the live site also. Here is the link http://www.enjoysharepoint.com/sendmail.aspx .Here if you can send mail to fewlines4biju@gmail.com with ant text. If the events will properly fire then it will not clear the text, but it will show a message &quot;Mail Sent !!!&quot; below to send mail button.

But if the event will not fire then it simply clear the text boxes.

What I feel is that, after I have implemented URL rewritting by using Intelligencia.UrlRewriter.dll , the behaviour changes to this. 

Please let me know any solution for this.

If you will try for 2/3 times, the event is firing.

Waiting for ur replies!!!</description>
		<content:encoded><![CDATA[<p>I have an issue in my asp.net web site. Sometimes button click events are not firing and sometimes it is firing.</p>
<p>You can check in the live site also. Here is the link <a href="http://www.enjoysharepoint.com/sendmail.aspx" rel="nofollow">http://www.enjoysharepoint.com/sendmail.aspx</a> .Here if you can send mail to <a href="mailto:fewlines4biju@gmail.com">fewlines4biju@gmail.com</a> with ant text. If the events will properly fire then it will not clear the text, but it will show a message &#8220;Mail Sent !!!&#8221; below to send mail button.</p>
<p>But if the event will not fire then it simply clear the text boxes.</p>
<p>What I feel is that, after I have implemented URL rewritting by using Intelligencia.UrlRewriter.dll , the behaviour changes to this. </p>
<p>Please let me know any solution for this.</p>
<p>If you will try for 2/3 times, the event is firing.</p>
<p>Waiting for ur replies!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prabhakaran</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-11677</link>
		<dc:creator>prabhakaran</dc:creator>
		<pubDate>Sun, 16 Oct 2011 12:08:57 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-11677</guid>
		<description>Hello,

I am new to IIS 7.5 I have done the URL Rewirte Module 2.0 in my asp.net application.

but i have to still go forward learn 

because, when i try to use http://technofast.ganees.com/ganees to redirect to mypage.aspx?ownpagename=ganees

how do i write the rule to match url here &quot;ganees&quot; is dynamic name that need to access via request.querystring[&quot;ganees&quot;].toString() in  code behind

please help to observe this concept.

Thanks in Advance

with regards,
prabhakaran</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am new to IIS 7.5 I have done the URL Rewirte Module 2.0 in my asp.net application.</p>
<p>but i have to still go forward learn </p>
<p>because, when i try to use <a href="http://technofast.ganees.com/ganees" rel="nofollow">http://technofast.ganees.com/ganees</a> to redirect to mypage.aspx?ownpagename=ganees</p>
<p>how do i write the rule to match url here &#8220;ganees&#8221; is dynamic name that need to access via request.querystring["ganees"].toString() in  code behind</p>
<p>please help to observe this concept.</p>
<p>Thanks in Advance</p>
<p>with regards,<br />
prabhakaran</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: n.T.p</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-11643</link>
		<dc:creator>n.T.p</dc:creator>
		<pubDate>Fri, 30 Sep 2011 03:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-11643</guid>
		<description>Thanks !!!!!!!!!!!..............</description>
		<content:encoded><![CDATA[<p>Thanks !!!!!!!!!!!&#8230;&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Babu</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-11552</link>
		<dc:creator>Babu</dc:creator>
		<pubDate>Thu, 15 Sep 2011 10:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-11552</guid>
		<description>I has a doubt........I want to rewrieUrl with Images....\
Actually we have done this concept but Images r not displaying....all are fine except Images and JQuery Concepts

data is coming but images ae not coming
Could any one please suggest about this problem.</description>
		<content:encoded><![CDATA[<p>I has a doubt&#8230;&#8230;..I want to rewrieUrl with Images&#8230;.\<br />
Actually we have done this concept but Images r not displaying&#8230;.all are fine except Images and JQuery Concepts</p>
<p>data is coming but images ae not coming<br />
Could any one please suggest about this problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ruslany</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-11024</link>
		<dc:creator>ruslany</dc:creator>
		<pubDate>Thu, 19 May 2011 06:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-11024</guid>
		<description>Hi Yossi, the form tag has to have the runat=&quot;server&quot;. This causes ASP.NET to process the form element during generation of HTTP response and to replace the URL in the action attribute. Without this ASP.NET will not touch the form element.</description>
		<content:encoded><![CDATA[<p>Hi Yossi, the form tag has to have the runat=&#8221;server&#8221;. This causes ASP.NET to process the form element during generation of HTTP response and to replace the URL in the action attribute. Without this ASP.NET will not touch the form element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yossi</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-11016</link>
		<dc:creator>yossi</dc:creator>
		<pubDate>Wed, 18 May 2011 06:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-11016</guid>
		<description>I added tags in the previous message that probably caused some content removal, here is the corrected section (without the tags):

******
All my pages are rewritten from MyDomain/MyPage
to MyDomain/htmls/MyPage.aspx
My Website default document (as specified in IIS manager) is therefore: MyDomain/htmls/home.aspx
******

Yossi</description>
		<content:encoded><![CDATA[<p>I added tags in the previous message that probably caused some content removal, here is the corrected section (without the tags):</p>
<p>******<br />
All my pages are rewritten from MyDomain/MyPage<br />
to MyDomain/htmls/MyPage.aspx<br />
My Website default document (as specified in IIS manager) is therefore: MyDomain/htmls/home.aspx<br />
******</p>
<p>Yossi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yossi</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-11009</link>
		<dc:creator>yossi</dc:creator>
		<pubDate>Tue, 17 May 2011 11:25:23 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-11009</guid>
		<description>Hello Ruslany,
I&#039;m using URLRewrite module of IIS 7
All my pages are rewritten from /
to /htmls/.aspx.
My Website default document is therefore: htmls/home.aspx

When I submit a standard (without runat=server tag) form in the homepage, form fields are not sent back to the Homepage.
ASP.Net form (with runat=server tag) fields are posted-back well though.

What might be the reason for that?
Thanks in advance
Yossi (Israel)</description>
		<content:encoded><![CDATA[<p>Hello Ruslany,<br />
I&#8217;m using URLRewrite module of IIS 7<br />
All my pages are rewritten from /<br />
to /htmls/.aspx.<br />
My Website default document is therefore: htmls/home.aspx</p>
<p>When I submit a standard (without runat=server tag) form in the homepage, form fields are not sent back to the Homepage.<br />
ASP.Net form (with runat=server tag) fields are posted-back well though.</p>
<p>What might be the reason for that?<br />
Thanks in advance<br />
Yossi (Israel)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/comment-page-1/#comment-10942</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Wed, 04 May 2011 13:56:04 +0000</pubDate>
		<guid isPermaLink="false">http://ruslany.net/2008/10/aspnet-postbacks-and-url-rewriting/#comment-10942</guid>
		<description>Thanks for the quick reply Ruslany.  I was actually able to correct the problem by adding the following statement in the default.aspx code behind file:

Form.Action = Request.RawUrl.Replace(&quot;default.aspx&quot;, &quot;&quot;)

I&#039;m not sure why the original Request.RawUrl statement did not work.  All is working properly now.

Best regards,

Louis</description>
		<content:encoded><![CDATA[<p>Thanks for the quick reply Ruslany.  I was actually able to correct the problem by adding the following statement in the default.aspx code behind file:</p>
<p>Form.Action = Request.RawUrl.Replace(&#8220;default.aspx&#8221;, &#8220;&#8221;)</p>
<p>I&#8217;m not sure why the original Request.RawUrl statement did not work.  All is working properly now.</p>
<p>Best regards,</p>
<p>Louis</p>
]]></content:encoded>
	</item>
</channel>
</rss>

