<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tips by Ervin Ter &#187; asp-net</title>
	<atom:link href="http://www.ervinter.com/tag/asp-net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ervinter.com</link>
	<description>Programming, Web News, Web Hostings, Technology</description>
	<lastBuildDate>Sun, 01 Aug 2010 15:29:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Tips: ASP.NET Webform Postback Twice</title>
		<link>http://www.ervinter.com/2010/03/20/tips-asp-net-webform-postback-twice/</link>
		<comments>http://www.ervinter.com/2010/03/20/tips-asp-net-webform-postback-twice/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 16:27:47 +0000</pubDate>
		<dc:creator>ervinter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asp-net]]></category>

		<guid isPermaLink="false">http://www.ervinter.com/?p=544</guid>
		<description><![CDATA[If your ASP.NET webform is postback twice, then you are coming to right place to get the solution. ImageButton Do remember to always set your ImageButton with ImageUrl. If the property of ImageUrl is blank, then it will postback twice for attend to get the value. AutoEventWiredUp If you think you are not using any <a href="http://www.ervinter.com/2010/03/20/tips-asp-net-webform-postback-twice/" class="more-link">More &#62;</a>


No related posts.]]></description>
			<content:encoded><![CDATA[<p>If your ASP.NET webform is postback twice, then you are coming to right place to get the solution.</p>
<h2>ImageButton</h2>
<p>Do remember to always set your ImageButton with ImageUrl. If the property of ImageUrl is blank, then it will postback twice for attend to get the value.</p>
<h2>AutoEventWiredUp</h2>
<p>If you think you are not using any ImageButton and your webform is triggering postback twice, most probably is due to the AutoEventWiredUp attribute. In VB.NET, whenever you add new webform, this property will auto set to False, while in C#.NET, whenever you add new webform, this property will auto set to True. Therefore, if you are developing ASP.NET application using VB.NET then you are safe. My advice for C#.NET web developer is to always set this AutoEventWiredUp to False and manually code the handler for any of Events.</p>
<h2>Else&#8230;</h2>
<p>If you are still facing this postback twice problem which are not due to ImageButton and AutoEventWiredUp, then probably you have to search around Google and you might found the solution.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ervinter.com/2010/03/20/tips-asp-net-webform-postback-twice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free ASP.NET 4 Hosting from MaximumASP</title>
		<link>http://www.ervinter.com/2009/11/11/free-asp-net-4-hosting-from-maximumasp/</link>
		<comments>http://www.ervinter.com/2009/11/11/free-asp-net-4-hosting-from-maximumasp/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 07:53:23 +0000</pubDate>
		<dc:creator>ervinter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asp-net]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://www.ervinter.com/2009/11/11/free-asp-net-4-hosting-from-maximumasp/</guid>
		<description><![CDATA[MaximumASP is happy to announce the launch of a free hosting account to kick the tires of the latest and greatest from Microsoft &#8211; ASP.NET 4 and Visual Studio 2010. via aspnet4beta.maximumasp.com This is cool I think to test out new dot net framework. I would like to test with Entity Framework 4 Posted via <a href="http://www.ervinter.com/2009/11/11/free-asp-net-4-hosting-from-maximumasp/" class="more-link">More &#62;</a>


<strong>Related posts:</strong><ol><li><a href='http://www.ervinter.com/2009/11/10/fresh-mind-with-good-sleep/' rel='bookmark' title='Permanent Link: Fresh Mind with Good Sleep'>Fresh Mind with Good Sleep</a> <small>Fresh Mind with Good Sleep After being so busy over...</small></li>
<li><a href='http://www.ervinter.com/2009/11/10/airasia-com-year-end-extra-flights-promotion/' rel='bookmark' title='Permanent Link: AirAsia.com &#8211; Year End Extra Flights Promotion'>AirAsia.com &#8211; Year End Extra Flights Promotion</a> <small>Year End Extra Flights Year End Extra Flights &#8211;> Effective...</small></li>
<li><a href='http://www.ervinter.com/2009/11/11/c-send-new-post-to-posterous/' rel='bookmark' title='Permanent Link: C# Send New Post to Posterous'>C# Send New Post to Posterous</a> <small>Posterous has a set of API for developer to call...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="posterous_bookmarklet_entry">
<blockquote class="posterous_short_quote">MaximumASP is happy to announce the launch of a free hosting account to kick the tires of the latest   and greatest from Microsoft &#8211; ASP.NET 4 and Visual Studio 2010.</p></blockquote>
<div class="posterous_quote_citation">via <a href="http://aspnet4beta.maximumasp.com/">aspnet4beta.maximumasp.com</a></div>
<p>This is cool I think to test out new dot net framework. I would like to test with Entity Framework 4</p>
</div>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via web</a>   from <a href="http://ervinter.posterous.com/free-aspnet-4-hosting-from-maximumasp">Ervin Ter&#8217;s posterous</a>  </p>


<p><strong>Related posts:</strong><ol><li><a href='http://www.ervinter.com/2009/11/10/fresh-mind-with-good-sleep/' rel='bookmark' title='Permanent Link: Fresh Mind with Good Sleep'>Fresh Mind with Good Sleep</a> <small>Fresh Mind with Good Sleep After being so busy over...</small></li>
<li><a href='http://www.ervinter.com/2009/11/10/airasia-com-year-end-extra-flights-promotion/' rel='bookmark' title='Permanent Link: AirAsia.com &#8211; Year End Extra Flights Promotion'>AirAsia.com &#8211; Year End Extra Flights Promotion</a> <small>Year End Extra Flights Year End Extra Flights &#8211;> Effective...</small></li>
<li><a href='http://www.ervinter.com/2009/11/11/c-send-new-post-to-posterous/' rel='bookmark' title='Permanent Link: C# Send New Post to Posterous'>C# Send New Post to Posterous</a> <small>Posterous has a set of API for developer to call...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ervinter.com/2009/11/11/free-asp-net-4-hosting-from-maximumasp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling debug in other than dev environment &#8211; Sys.InvalidOperationException</title>
		<link>http://www.ervinter.com/2009/06/30/disabling-debug-in-other-than-dev-environment-sysinvalidoperationexception/</link>
		<comments>http://www.ervinter.com/2009/06/30/disabling-debug-in-other-than-dev-environment-sysinvalidoperationexception/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 03:23:49 +0000</pubDate>
		<dc:creator>ervinter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asp-net]]></category>

		<guid isPermaLink="false">http://www.ervinter.com/?p=428</guid>
		<description><![CDATA[If your web application using Microsoft Ajax (Ajax Control Toolkit), then you probably encounter common unknown javascript error as following: Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method. Cause: Unknown handler error in MicrosoftAjax.debug.js Resolution: To ensure your server not prompting this debug message on your test or production server, just set debug=”false” in <a href="http://www.ervinter.com/2009/06/30/disabling-debug-in-other-than-dev-environment-sysinvalidoperationexception/" class="more-link">More &#62;</a>


No related posts.]]></description>
			<content:encoded><![CDATA[<p>If your web application using Microsoft Ajax (Ajax Control Toolkit), then you probably encounter common unknown javascript error as following:</p>
<p><a rel="attachment wp-att-427" href="http://www.ervinter.com/2009/06/30/disabling-debug-in-other-than-dev-environment-sysinvalidoperationexception/jserror/"><img class="alignnone size-full wp-image-427" title="jserror" src="http://www.ervinter.com/wp-content/uploads/2009/06/jserror.png" alt="jserror" width="537" height="128" /></a></p>
<p>Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method.</p>
<h2>Cause:</h2>
<p>Unknown handler error in MicrosoftAjax.debug.js</p>
<h2>Resolution:</h2>
<p>To ensure your server not prompting this debug message on your test or production server, just set debug=”false” in web.config. By doing this, ASP.net will not automatically include MicrosoftAjax.debug.js into one of the resource.axd</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.ervinter.com/2009/06/30/disabling-debug-in-other-than-dev-environment-sysinvalidoperationexception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Consuming ASP.NET Handler By jQuery Ajax With JSON</title>
		<link>http://www.ervinter.com/2009/05/05/consuming-aspnet-handler-by-jquery-ajax-with-json/</link>
		<comments>http://www.ervinter.com/2009/05/05/consuming-aspnet-handler-by-jquery-ajax-with-json/#comments</comments>
		<pubDate>Tue, 05 May 2009 04:32:10 +0000</pubDate>
		<dc:creator>ervinter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asp-net]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.ervinter.com/?p=410</guid>
		<description><![CDATA[Step towards Web 2.0 development nowdays, ajax is one of the important element in web development. There are various way of doing asynchronous call to server or web service to execute a job. In this post, I am using jQuery to consume ASP.NET handler through a simple javascript codes. In the normal scenario, if client <a href="http://www.ervinter.com/2009/05/05/consuming-aspnet-handler-by-jquery-ajax-with-json/" class="more-link">More &#62;</a>


<strong>Related posts:</strong><ol><li><a href='http://www.ervinter.com/2009/11/16/microsoft-application-architecture-guide-2nd-edition-from-patterns-practices/' rel='bookmark' title='Permanent Link: Microsoft Application Architecture Guide 2nd Edition from Patterns &#038; Practices'>Microsoft Application Architecture Guide 2nd Edition from Patterns &#038; Practices</a> <small>Microsoft Patterns &amp; Practices released the 2nd edition of their...</small></li>
<li><a href='http://www.ervinter.com/2009/09/24/asp-net-mvc-how-to-implement-querystring/' rel='bookmark' title='Permanent Link: ASP.NET MVC &#8211; How to implement querystring'>ASP.NET MVC &#8211; How to implement querystring</a> <small>In this tutorial, I would like to share with you...</small></li>
<li><a href='http://www.ervinter.com/2010/03/20/tips-asp-net-webform-postback-twice/' rel='bookmark' title='Permanent Link: Tips: ASP.NET Webform Postback Twice'>Tips: ASP.NET Webform Postback Twice</a> <small>If your ASP.NET webform is postback twice, then you are...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Step towards Web 2.0 development nowdays, ajax is one of the important element in web development. There are various way of doing asynchronous call to server or web service to execute a job.</p>
<p>In this post, I am using jQuery to consume ASP.NET handler through a simple javascript codes. In the normal scenario, if client side requesting a simple string, server just have to return response context with plain/text. If you wish to return a set of data to be return in formatted string, you can either have the options like text/xml or application/json. My example code here will be using application/json with the assistance of third party component, Newtonsoft Json.</p>
<h2>Scenario</h2>
<p>&#8220;I Wish to use javascript to execute a job asynchronously to ASP.NET and receiving set of data in object. I do not wish to make my asynchronous call to any of my ASP.NET aspx pages because it is not a best practice. How can I do it?&#8221;</p>
<h2>Expectation</h2>
<ul>
<li>Data return from server in JSON object</li>
<li>Calling ASP.NET handler</li>
<li>Using jQuery</li>
</ul>
<h2>Prerequisite Component</h2>
<ul>
<li>jQuery 1.3.2</li>
<li>Newtonsoft Json</li>
</ul>
<h2>Solution File Structure</h2>
<p><img class="alignnone size-full wp-image-411" style="border: 1px solid black;" title="0001-20090505-120336" src="http://www.ervinter.com/wp-content/uploads/2009/05/0001-20090505-120336.gif" alt="0001-20090505-120336" width="283" height="247" /></p>
<p>Download <strong><span style="color: #0000ff;"><a rel="attachment wp-att-413" href="http://www.ervinter.com/2009/05/05/consuming-aspnet-handler-by-jquery-ajax-with-json/hellojson_050509_1229/">hellojson_050509_1229</a></span></strong></p>


<p><strong>Related posts:</strong><ol><li><a href='http://www.ervinter.com/2009/11/16/microsoft-application-architecture-guide-2nd-edition-from-patterns-practices/' rel='bookmark' title='Permanent Link: Microsoft Application Architecture Guide 2nd Edition from Patterns &#038; Practices'>Microsoft Application Architecture Guide 2nd Edition from Patterns &#038; Practices</a> <small>Microsoft Patterns &amp; Practices released the 2nd edition of their...</small></li>
<li><a href='http://www.ervinter.com/2009/09/24/asp-net-mvc-how-to-implement-querystring/' rel='bookmark' title='Permanent Link: ASP.NET MVC &#8211; How to implement querystring'>ASP.NET MVC &#8211; How to implement querystring</a> <small>In this tutorial, I would like to share with you...</small></li>
<li><a href='http://www.ervinter.com/2010/03/20/tips-asp-net-webform-postback-twice/' rel='bookmark' title='Permanent Link: Tips: ASP.NET Webform Postback Twice'>Tips: ASP.NET Webform Postback Twice</a> <small>If your ASP.NET webform is postback twice, then you are...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ervinter.com/2009/05/05/consuming-aspnet-handler-by-jquery-ajax-with-json/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enhanced ASP.NET Tree View with JQuery</title>
		<link>http://www.ervinter.com/2008/07/20/enhanced-aspnet-tree-view-with-jquery/</link>
		<comments>http://www.ervinter.com/2008/07/20/enhanced-aspnet-tree-view-with-jquery/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 15:34:42 +0000</pubDate>
		<dc:creator>ervinter</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[asp-net]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.ervinter.com/?p=42</guid>
		<description><![CDATA[Recently I come across to a project which required a tree view with some ASP.NET control to be attach with some tree view node. The default ASP.NET treeview doesn&#8217;t provide this feature and there is no way to extending the default tree view. Therefore, I decided to write a composite control from scratch. The purpose <a href="http://www.ervinter.com/2008/07/20/enhanced-aspnet-tree-view-with-jquery/" class="more-link">More &#62;</a>


<strong>Related posts:</strong><ol><li><a href='http://www.ervinter.com/2009/09/25/asp-net-mvc-how-to-have-multiple-submit-button-in-form/' rel='bookmark' title='Permanent Link: ASP.NET MVC &#8211; How to have multiple submit button in form'>ASP.NET MVC &#8211; How to have multiple submit button in form</a> <small>In this tutorial, I would like to share simple form...</small></li>
<li><a href='http://www.ervinter.com/2009/11/09/20-google-wave-invitations/' rel='bookmark' title='Permanent Link: 20 Google Wave Invitations [Finished]'>20 Google Wave Invitations [Finished]</a> <small>For those of you who are really need google wave...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Recently I come across to a project which required a tree view with some ASP.NET control to be attach with some tree view node. The default ASP.NET treeview doesn&#8217;t provide this feature and there is no way to extending the default tree view. Therefore, I decided to write a composite control from scratch.</p>
<blockquote><p>The purpose of this control is to allow user to input control such as Button, Drop Down List, Radio Button List, Radio Button, List Box, Check Box List, Check Box and TextBox into each row of tree view. Additionally, I used JQuery assisting this tree view&#8217;s behavior of Collapse and Expand.</p></blockquote>
<p>Result of this Extend Tree View as below:</p>
<p><a href="http://www.ervinter.com/wp-content/uploads/2008/07/screenhunter_01-jul-20-2313.gif" target="_blank"><img class="alignnone size-full wp-image-43" style="border: 1px solid gray; margin: 1px;" title="Extend Tree View 1" src="http://www.ervinter.com/wp-content/uploads/2008/07/screenhunter_01-jul-20-2313.gif" alt="" width="500" height="429" /></a></p>
<p>Click here to see action in video:<a href="http://www.ervinter.com/wp-content/uploads/2008/07/extend-tree-view.avi">extend-tree-view</a></p>
<p>Example of the picture above showing the tree consisting 2 root with 1 level of sub-tree. Let&#8217;s see on &#8220;TICKET&#8221; root, there is a label with drop down list. This enabling user to check on &#8220;TICKET&#8221; and there is an input control allowing user to select which &#8220;TICKET&#8221; type (just an example scenario).</p>
<p>To begin with using the this tree, just drag and drop this tree view control from your sidebar or you can code as below:<br />
<a href="http://www.ervinter.com/wp-content/uploads/2008/07/screenhunter_02-jul-20-2321.gif" target="_blank"><img class="alignnone size-full wp-image-45" title="screenhunter_02-jul-20-2321" src="http://www.ervinter.com/wp-content/uploads/2008/07/screenhunter_02-jul-20-2321.gif" alt="" width="465" height="105" /></a></p>
<p>Attached with this post the source code of this composite control with a demo web project: <a href="http://www.ervinter.com/wp-content/uploads/2008/07/extendtreeview.zip">Download source code here</a></p>


<p><strong>Related posts:</strong><ol><li><a href='http://www.ervinter.com/2009/09/25/asp-net-mvc-how-to-have-multiple-submit-button-in-form/' rel='bookmark' title='Permanent Link: ASP.NET MVC &#8211; How to have multiple submit button in form'>ASP.NET MVC &#8211; How to have multiple submit button in form</a> <small>In this tutorial, I would like to share simple form...</small></li>
<li><a href='http://www.ervinter.com/2009/11/09/20-google-wave-invitations/' rel='bookmark' title='Permanent Link: 20 Google Wave Invitations [Finished]'>20 Google Wave Invitations [Finished]</a> <small>For those of you who are really need google wave...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.ervinter.com/2008/07/20/enhanced-aspnet-tree-view-with-jquery/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
<enclosure url="http://www.ervinter.com/wp-content/uploads/2008/07/extend-tree-view.avi" length="2406804" type="video/x-msvideo" />
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->