<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for Ivan Uzunov Blog</title>
	<link>http://www.ivanuzunov.net</link>
	<description>Web Development Tips &#038; Tricks</description>
	<pubDate>Sat, 17 May 2008 08:31:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>Comment on How to perform conditional PostBack in ASP.NET by Steve Snively</title>
		<link>http://www.ivanuzunov.net/how-to-perform-conditional-postback-in-aspnet/#comment-30298</link>
		<pubDate>Wed, 20 Feb 2008 19:03:42 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/how-to-perform-conditional-postback-in-aspnet/#comment-30298</guid>
					<description>Good solution, but __doPostBack() is only generated if your dropdown (or any other control) has AutoPostback="true".

I found that you can cause the page to generate the autopostback script with a call to Page.ClientScript.GetPostBackEventReference().  If you wrap your conditional logic around the postback event reference you end up with cleaner conditional postback code.  In fact, it boils down to one line you can put in your control code behind.

DropDownList1.Attributes.Add("onchange", "if(this.selectedIndex==2){"+Page.ClientScript.GetPostBackEventReference(DropDownList1, "")+"} return true;" );

Enjoy!</description>
		<content:encoded><![CDATA[<p>Good solution, but __doPostBack() is only generated if your dropdown (or any other control) has AutoPostback=&#8221;true&#8221;.</p>
<p>I found that you can cause the page to generate the autopostback script with a call to Page.ClientScript.GetPostBackEventReference().  If you wrap your conditional logic around the postback event reference you end up with cleaner conditional postback code.  In fact, it boils down to one line you can put in your control code behind.</p>
<p>DropDownList1.Attributes.Add(&#8221;onchange&#8221;, &#8220;if(this.selectedIndex==2){&#8221;+Page.ClientScript.GetPostBackEventReference(DropDownList1, &#8220;&#8221;)+&#8221;} return true;&#8221; );</p>
<p>Enjoy!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Using JavaScript confirm() in ASP.NET control OnClientClick property by software_outsourcer</title>
		<link>http://www.ivanuzunov.net/using-javascript-confirm-in-aspnet-control-onclientclick-property/#comment-22214</link>
		<pubDate>Sun, 11 Nov 2007 15:11:18 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/using-javascript-confirm-in-aspnet-control-onclientclick-property/#comment-22214</guid>
					<description>Thank you Ivan for short usefull tip..</description>
		<content:encoded><![CDATA[<p>Thank you Ivan for short usefull tip..
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Redirect all HTTP requests to HTTPS with ISAPI Rewrite by Brent Lagerman</title>
		<link>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/#comment-21240</link>
		<pubDate>Fri, 02 Nov 2007 03:02:49 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/#comment-21240</guid>
					<description>nevermind, anyone looking to use mod_rewrite with .htaccess files on IIS should just get ISAPI 3.0 which allows you to use apache style mod_rewrite rules.

b r e n t
mimoYmima.com</description>
		<content:encoded><![CDATA[<p>nevermind, anyone looking to use mod_rewrite with .htaccess files on IIS should just get ISAPI 3.0 which allows you to use apache style mod_rewrite rules.</p>
<p>b r e n t<br />
mimoYmima.com
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Prevent postback in FF invoked by textarea enter click (ASP.NET 2.0) by Brando</title>
		<link>http://www.ivanuzunov.net/prevent-postback-in-ff-invoked-by-textarea-enter-click-aspnet-20/#comment-21124</link>
		<pubDate>Wed, 31 Oct 2007 18:55:13 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/prevent-postback-in-ff-invoked-by-textarea-enter-click-aspnet-20/#comment-21124</guid>
					<description>Worked like a charm, once I replaced $id with document.getElementById().</description>
		<content:encoded><![CDATA[<p>Worked like a charm, once I replaced $id with document.getElementById().
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Redirect all HTTP requests to HTTPS with ISAPI Rewrite by Brent Lagerman</title>
		<link>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/#comment-20912</link>
		<pubDate>Mon, 29 Oct 2007 04:14:43 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/#comment-20912</guid>
					<description>I'm just using ISAPI for the first time to rewrite my .html urls to .php

Here's something I found that works with apache using mod_rewrite:

# Redirects .html to .php
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*).html$ $1.php [QSA,L]

I do understand regex somewhat, but I don't really know what the QSA,L means, does anyone know how to rewrite this for ISAPI?  Any help is greatly appreciated.

b r e n t</description>
		<content:encoded><![CDATA[<p>I&#8217;m just using ISAPI for the first time to rewrite my .html urls to .php</p>
<p>Here&#8217;s something I found that works with apache using mod_rewrite:</p>
<p># Redirects .html to .php<br />
Options +FollowSymLinks<br />
RewriteEngine on<br />
RewriteRule ^(.*).html$ $1.php [QSA,L]</p>
<p>I do understand regex somewhat, but I don&#8217;t really know what the QSA,L means, does anyone know how to rewrite this for ISAPI?  Any help is greatly appreciated.</p>
<p>b r e n t
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Redirect all HTTP requests to HTTPS with ISAPI Rewrite by Ivan Uzunov</title>
		<link>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/#comment-17020</link>
		<pubDate>Fri, 21 Sep 2007 13:17:43 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/#comment-17020</guid>
					<description>Is this what you are looking for?

RewriteRule /([^?/]+)/popular/?\??(.*) /$1/default.aspx?page=PopularItems&#038;$2 [I,L] 

The sample above uses virtual directory. This is the same sample without virtual directory:

RewriteRule /popular/?\??(.*) /default.aspx?page=PopularItems&#038;$1 [I,L]</description>
		<content:encoded><![CDATA[<p>Is this what you are looking for?</p>
<p>RewriteRule /([^?/]+)/popular/?\??(.*) /$1/default.aspx?page=PopularItems&#038;$2 [I,L] </p>
<p>The sample above uses virtual directory. This is the same sample without virtual directory:</p>
<p>RewriteRule /popular/?\??(.*) /default.aspx?page=PopularItems&#038;$1 [I,L]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Redirect all HTTP requests to HTTPS with ISAPI Rewrite by shal</title>
		<link>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/#comment-16869</link>
		<pubDate>Wed, 19 Sep 2007 16:06:47 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/redirect-all-http-requests-to-https-with-isapi-rewrite/#comment-16869</guid>
					<description>Hi, 

   Can someone please reply a simple syntax for rewriting url without file extension and trailing variable can be rewritten as folders. I am aware of the examples in website and forums but still struggling to get it working. Kindly it will be highly appreciated if someone can reply to the query and also if you can tell the ways I can check my Isapi working.

 

 

 

Kind regards,

ShalRiedel</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>   Can someone please reply a simple syntax for rewriting url without file extension and trailing variable can be rewritten as folders. I am aware of the examples in website and forums but still struggling to get it working. Kindly it will be highly appreciated if someone can reply to the query and also if you can tell the ways I can check my Isapi working.</p>
<p>Kind regards,</p>
<p>ShalRiedel
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Create High Quality Thumbnails with .NET by Matheus</title>
		<link>http://www.ivanuzunov.net/create-high-quality-thumbnails-with-net/#comment-16816</link>
		<pubDate>Tue, 18 Sep 2007 18:56:59 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/create-high-quality-thumbnails-with-net/#comment-16816</guid>
					<description>This is perfect! Many Thanks!</description>
		<content:encoded><![CDATA[<p>This is perfect! Many Thanks!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Create High Quality Thumbnails with .NET by Ryan</title>
		<link>http://www.ivanuzunov.net/create-high-quality-thumbnails-with-net/#comment-15013</link>
		<pubDate>Sat, 25 Aug 2007 10:34:01 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/create-high-quality-thumbnails-with-net/#comment-15013</guid>
					<description>Just what I needed, Thanks a million..</description>
		<content:encoded><![CDATA[<p>Just what I needed, Thanks a million..
</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Top 10 JavaScript String.prototype Extensions by lee&#8217;s garbage collection &#187; Blog Archive &#187; Interesting links&#8230;</title>
		<link>http://www.ivanuzunov.net/top-10-javascript-stringprototype-extensions/#comment-14979</link>
		<pubDate>Fri, 24 Aug 2007 20:08:01 +0000</pubDate>
		<guid>http://www.ivanuzunov.net/top-10-javascript-stringprototype-extensions/#comment-14979</guid>
					<description>[...] Today I found out that you can extend the JavaScript String object with the String.prototype extensions (standard part of the JavaScript language). So when you define a function like: String.prototype.trim = function(){ } Then you can just use it like: test.trim() While not being very spectucular, it&#8217;s still pretty neat. When you are dealing with forms that require a lot of checks, than this baby can come to hand. Here the blog entry that pointed me to this. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Today I found out that you can extend the JavaScript String object with the String.prototype extensions (standard part of the JavaScript language). So when you define a function like: String.prototype.trim = function(){ } Then you can just use it like: test.trim() While not being very spectucular, it&#8217;s still pretty neat. When you are dealing with forms that require a lot of checks, than this baby can come to hand. Here the blog entry that pointed me to this. [&#8230;]
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
