<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>.NET Blog - Chris Frazier Style - All Comments</title><link>http://weblogs.asp.net/cfrazier/default.aspx</link><description>Blog Gratia Blogis.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: Forcing the DataGridView to do my bidding - a tale of ComboBox hackery</title><link>http://weblogs.asp.net/cfrazier/archive/2005/12/07/432607.aspx#6559474</link><pubDate>Sun, 24 Aug 2008 12:51:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6559474</guid><dc:creator>Ran</dc:creator><description>&lt;p&gt;thanx!!!&lt;/p&gt;
&lt;p&gt;that worked great :)&lt;/p&gt;
&lt;p&gt;much more simple then anything else that I have found&lt;/p&gt;
&lt;p&gt;on the net..&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6559474" width="1" height="1"&gt;</description></item><item><title>re: ASP.NET - UrlRewriting with PathInfo and base urls</title><link>http://weblogs.asp.net/cfrazier/archive/2007/03/15/asp-net-urlrewriting-with-pathinfo-and-base-urls.aspx#6555250</link><pubDate>Sat, 23 Aug 2008 07:12:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6555250</guid><dc:creator>Jandost</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Really useful post. It helped me a lot. There needs to be a small modification in the code. &amp;nbsp;Like:&lt;/p&gt;
&lt;p&gt;(Since most of the time RawUrl and PathInfo are empty strings and there we get an EXCEPTION of string cannot be empty.&lt;/p&gt;
&lt;p&gt;string reqPath = Request . PathInfo;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string raw = Request . RawUrl;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string url = Request . Url . ToString ( );&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ( reqPath.Length &amp;gt;0 )&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url = url . Replace ( reqPath , &amp;quot;&amp;quot; );&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ( raw.Length &amp;gt; 0 )&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;url = url . Replace ( raw , &amp;quot;&amp;quot; );&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this . Page . Header . Controls . Add ( new LiteralControl ( &amp;quot;&amp;lt;base href=\&amp;quot;&amp;quot; + url + &amp;quot;\&amp;quot;&amp;gt;&amp;quot; ) ); &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6555250" width="1" height="1"&gt;</description></item><item><title>re: Hannah Henson</title><link>http://weblogs.asp.net/cfrazier/archive/2003/10/10/31549.aspx#6454518</link><pubDate>Mon, 28 Jul 2008 18:29:19 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6454518</guid><dc:creator>nick</dc:creator><description>&lt;p&gt;tYa7cq hi! hice site!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6454518" width="1" height="1"&gt;</description></item><item><title>re: What's this? My Application won't Exit? </title><link>http://weblogs.asp.net/cfrazier/archive/2006/07/14/What_2700_s-this_3F00_-My-Application-won_2700_t-Exit_3F00_-.aspx#6350450</link><pubDate>Wed, 02 Jul 2008 14:18:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6350450</guid><dc:creator>Srimoyee</dc:creator><description>&lt;p&gt;Use Environment.Exit(0)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6350450" width="1" height="1"&gt;</description></item><item><title>re: RE: Finding calling method using reflection</title><link>http://weblogs.asp.net/cfrazier/archive/2006/08/11/RE_3A00_-Finding-calling-method-using-reflection.aspx#6342601</link><pubDate>Tue, 01 Jul 2008 00:19:03 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6342601</guid><dc:creator>Ananda</dc:creator><description>&lt;p&gt;Try this:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.csharp-examples.net/reflection-calling-method-name/"&gt;www.csharp-examples.net/reflection-calling-method-name&lt;/a&gt;&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6342601" width="1" height="1"&gt;</description></item><item><title>re: Visual Studio 2005 Designer: Touchy, Thouchy!</title><link>http://weblogs.asp.net/cfrazier/archive/2006/03/31/441564.aspx#6270393</link><pubDate>Thu, 12 Jun 2008 14:13:15 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6270393</guid><dc:creator>gstoy</dc:creator><description>&lt;p&gt;not always true&lt;/p&gt;
&lt;p&gt;I've seen others mention that a control is not fully sited (i.e. ISite hasn't initialised itself completely) while its constructor executes, so that Designtime returns false even when in designer... The secret exit seems to be somewhere else&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6270393" width="1" height="1"&gt;</description></item><item><title>re: devenv.exe /setup</title><link>http://weblogs.asp.net/cfrazier/archive/2003/04/08/5093.aspx#6248062</link><pubDate>Wed, 04 Jun 2008 18:26:55 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6248062</guid><dc:creator>ShopPhotoCopiers</dc:creator><description>&lt;p&gt;thanks for your help. solved my problem.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6248062" width="1" height="1"&gt;</description></item><item><title>re: skmMenu code change to work with xhtml doctypes</title><link>http://weblogs.asp.net/cfrazier/archive/2007/03/22/skmmenu-code-change-to-work-with-xhtml-doctypes.aspx#6229956</link><pubDate>Thu, 29 May 2008 18:34:58 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6229956</guid><dc:creator>William R</dc:creator><description>&lt;p&gt;If you enter the function as shown, it fixes firefox but generates an error in IE, IE already has the 'px' part, so you end up with 'pxpx' which bombs. I traced it down, and I changed the&lt;/p&gt;
&lt;p&gt;x = element + 'px';&lt;/p&gt;
&lt;p&gt;for&lt;/p&gt;
&lt;p&gt;x = addPX(element);&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;function addPX(s) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;s = ''+s; &amp;nbsp;// force to string&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;if (s.indexOf('px') &amp;lt;= 0) {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return s + 'px';&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;} else {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return s;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;} // could be expressed in a nasty ? clause in js, but I won't go there.&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6229956" width="1" height="1"&gt;</description></item><item><title>re: FIX: Design View error in VS 2005</title><link>http://weblogs.asp.net/cfrazier/archive/2006/02/20/438613.aspx#6224223</link><pubDate>Tue, 27 May 2008 10:12:51 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6224223</guid><dc:creator>Arijit</dc:creator><description>&lt;p&gt;Thanks for this link. This was very helpful &amp;amp; resolved my problem. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6224223" width="1" height="1"&gt;</description></item><item><title>thrown down net</title><link>http://weblogs.asp.net/cfrazier/archive/2005/07/27/420792.aspx#6220798</link><pubDate>Sun, 25 May 2008 22:12:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6220798</guid><dc:creator>thrown down net</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;thrown down net&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6220798" width="1" height="1"&gt;</description></item></channel></rss>