<?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>Diary of an Entrepreneur Web Developer &#187; General</title>
	<atom:link href="http://www.cosmocentral.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cosmocentral.com</link>
	<description></description>
	<lastBuildDate>Wed, 11 Aug 2010 22:44:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>LinkButton Inside an UpdatePanel Causes Full Postback &#8211; ASP .NET</title>
		<link>http://www.cosmocentral.com/2010/08/linkbutton-inside-an-updatepanel-causes-full-postback-asp-net/</link>
		<comments>http://www.cosmocentral.com/2010/08/linkbutton-inside-an-updatepanel-causes-full-postback-asp-net/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 01:37:53 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=736</guid>
		<description><![CDATA[If you place LinkButton inside a repeater which is inside an UpdatePanel, you will get a full postback if you click on the LinkButton.]]></description>
			<content:encoded><![CDATA[<p>If you place LinkButton inside a repeater which is inside an UpdatePanel, you will get a full postback if you click on the LinkButton.</p>
<p><strong>Solution?</strong><br />
On code behind register the linkbutton inside the repeater for Asynchronous postback.<br />
Like this<br />
<code>foreach (RepeaterItem ri in rpt.Items)<br />
            {<br />
                if (ri.ItemType == ListItemType.Item || ri.ItemType == ListItemType.AlternatingItem)<br />
                {<br />
                    LinkButton lb = (LinkButton)ri.FindControl("lb");<br />
                    ScriptManager1.RegisterAsyncPostBackControl(lb);<br />
                }<br />
            }</code></p>
<p>Read the original article at Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21403-linkbutton-inside-repeater-updatepanel-causes-full-postback-asp-net.html">http://www.webcosmoforums.com/asp/21403-linkbutton-inside-repeater-updatepanel-causes-full-postback-asp-net.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/08/linkbutton-inside-an-updatepanel-causes-full-postback-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aspnet_merge.exe exited with code 1 &#8211; Duplicate Class Error</title>
		<link>http://www.cosmocentral.com/2010/08/aspnet_merge-exe-exited-with-code-1-duplicate-class-error/</link>
		<comments>http://www.cosmocentral.com/2010/08/aspnet_merge-exe-exited-with-code-1-duplicate-class-error/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 00:25:18 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=733</guid>
		<description><![CDATA[Usually you would get this error with your Web Deployment Project if there have multiple classes with same name.]]></description>
			<content:encoded><![CDATA[<p>Usually you would get this error with your Web Deployment Project if there have multiple classes with same name.</p>
<p>To fix this issue you need to rename the conflicting classes.</p>
<p>To find out the conflicting classes follow these steps:</p>
<p>- From Visual Studio Tools Menu Click Options.<br />
- Expand Projects and Solutions<br />
- Click on Build and Run<br />
- From the dropdown &#8220;MSBuild Project Build Output Verbosity&#8221; select Diagnostic<br />
- Click on OK to save<br />
- Now build your project using the Web Deployment Project<br />
- Now wait for the project build to fail.<br />
- From the Visual Studio View Menu click on Output You will see where the duplicates on output when it fails to build. Fix the duplicates.<br />
- Build again. </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21401-aspnet_merge-exe-exited-code-1-a.html">http://www.webcosmoforums.com/asp/21401-aspnet_merge-exe-exited-code-1-a.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/08/aspnet_merge-exe-exited-with-code-1-duplicate-class-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Change asp.net version in IIS 7</title>
		<link>http://www.cosmocentral.com/2010/07/how-to-change-asp-net-version-in-iis-7/</link>
		<comments>http://www.cosmocentral.com/2010/07/how-to-change-asp-net-version-in-iis-7/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 22:01:57 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=731</guid>
		<description><![CDATA[To change the .Net version of your website, login with remote desktop and open Internet Information Services Manager on the windows 2008 server. This is found under Start Menu > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager.]]></description>
			<content:encoded><![CDATA[<p>1. To change the .Net version of your website, login with remote desktop and open Internet Information Services Manager on the windows 2008 server. This is found under Start Menu > Control Panel > Administrative Tools > Internet Information Services (IIS) Manager.</p>
<p>2. Click on the + next to your server name to expand and then click on Application Pools.</p>
<p>3. Locate the application pool for the website you are changing asp.net for. Right click on the application pool and click on Basic Settings.</p>
<p>4. From the drop down menu under .NET Framework Version choose the version of asp.net you wish the site to run on. If asp.net version you wish to use does not appear on the list, you need to install that .net version first. Just Google the .net <version> download, you would find the link at Microsoft for download. </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/windows-server/21310-how-change-asp-net-version-iis-7-a.html">http://www.webcosmoforums.com/windows-server/21310-how-change-asp-net-version-iis-7-a.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/how-to-change-asp-net-version-in-iis-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unknown Server Tag for Custom Control</title>
		<link>http://www.cosmocentral.com/2010/07/unknown-server-tag-for-custom-control/</link>
		<comments>http://www.cosmocentral.com/2010/07/unknown-server-tag-for-custom-control/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 00:30:00 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=725</guid>
		<description><![CDATA[While working on my first project with Visual Studio 2010, i had to go through some weird stuffs as I tried to convert a Website project to a Website Application project.]]></description>
			<content:encoded><![CDATA[<p>While working on my first project with Visual Studio 2010, i had to go through some weird stuffs as I tried to convert a Website project to a Website Application project.</p>
<p>One of the problems was with custom controls.<br />
Here is the sample code in C# of a custom control I used for that project.</p>
<p>namespace CustomControls<br />
{<br />
    public class MyTextArea : TextBox<br />
    {<br />
           //&#8212;&#8212;&#8212;-code here<br />
    }<br />
}</p>
<p>On web.cinfig I added</p>
<pages>
  <controls><br />
        <add tagPrefix="cc" namespace="CustomControls"/><br />
  </controls>
</pages>
<p>On a page I use the control like this:<br />
<cc:MyTextArea ID="test" runat="server"><br />
</cc:MyTextArea></p>
<p>It compiles fine without any error. However when I view the page on browser I get the error:<br />
Unknown Server Tag cc:MyTextArea</p>
<p>Note that this code worked fine in both visual studio 2005, and visual studio 2008.</p>
<p>Solution:<br />
Apparently I would need to add the assembly reference on web.config</p>
<pages>
  <controls><br />
        <add tagPrefix="cc" namespace="CustomControls" assembly="MyProjectName" /><br />
  </controls>
</pages>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21267-unknown-server-tag-custom-control-visual-studio-2010-a.html">http://www.webcosmoforums.com/asp/21267-unknown-server-tag-custom-control-visual-studio-2010-a.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/unknown-server-tag-for-custom-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unhandled error in silverlight application code 2104 category:initialize &#8211; Silverlight in IIS</title>
		<link>http://www.cosmocentral.com/2010/07/unhandled-error-in-silverlight-application-code-2104-categoryinitialize-silverlight-in-iis/</link>
		<comments>http://www.cosmocentral.com/2010/07/unhandled-error-in-silverlight-application-code-2104-categoryinitialize-silverlight-in-iis/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 16:44:17 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=722</guid>
		<description><![CDATA[When you're hosting Silverlight, you have to tweak your IIS settings to allow the server to know how to handle the extensions that it's not familiar with.]]></description>
			<content:encoded><![CDATA[<p>When you&#8217;re hosting Silverlight, you have to tweak your IIS settings to allow the server to know how to handle the extensions that it&#8217;s not familiar with.</p>
<p>In IIS you have to add these MIME types.</p>
<p>.xaml application/xaml+xml<br />
.xap application/x-silverlight-app<br />
.xbap application/x-ms-xbap</p>
<p>To add the MIME types to IIS6:</p>
<p>1. Choose the Virtual Directory or Default Web Site in IIS<br />
2. Open the context menu and choose &#8220;Properties&#8221;<br />
3. Select the &#8220;HTTP-Headers&#8221; tab<br />
4. Click the button labeled &#8220;File Types&#8230;&#8221; in MIME Map section<br />
5. Choose &#8220;New Type&#8221; and type the extension from above into the extension field and the application type into the MIME type field.<br />
6. After adding all 3, click &#8220;OK&#8221; then click &#8220;Apply&#8221; on the main menu. You&#8217;re done. No restart needed.</p>
<p>In more recent versions of IIS, process is little different, but I am sure you got the idea how to do it. </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21242-unhandled-error-silverlight-application-code-2104-category-initialize-silverlight-iis.html">http://www.webcosmoforums.com/asp/21242-unhandled-error-silverlight-application-code-2104-category-initialize-silverlight-iis.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/unhandled-error-in-silverlight-application-code-2104-categoryinitialize-silverlight-in-iis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Check Uploaded File Extension &#8211; ASP .Net</title>
		<link>http://www.cosmocentral.com/2010/07/how-to-check-uploaded-file-extension-asp-net/</link>
		<comments>http://www.cosmocentral.com/2010/07/how-to-check-uploaded-file-extension-asp-net/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 14:41:25 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=718</guid>
		<description><![CDATA[How to Check Uploaded File Extension - ASP .Net]]></description>
			<content:encoded><![CDATA[<p>If you have fileUpload as your upload control<br />
<code>&lt;input id="fileUpload" type="file" runat="server" /></code></p>
<p>This code sample check the file type if its an image. It can be altered for other file types as well. This example code is in C#.<br />
<code>HttpPostedFile myPostedFile=fileUpload.PostedFile;<br />
if(myPostedFile!=null &#038;&#038; myPostedFile.ContentLength>0)<br />
{<br />
FileInfo finfo = new FileInfo(myPostedFile.FileName);<br />
            string fileExtension = finfo.Extension.ToLower();<br />
            if (fileExtension != ".gif" &#038;&#038; fileExtension != ".jpg" &#038;&#038; fileExtension != ".jpeg" &#038;&#038; fileExtension != ".png")<br />
            {<br />
//show error message<br />
                return;<br />
            }<br />
}</code></p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21239-how-check-uploaded-file-extension-asp-net.html">http://www.webcosmoforums.com/asp/21239-how-check-uploaded-file-extension-asp-net.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/how-to-check-uploaded-file-extension-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Know Which Version of Silverlight is Installed in Your Computer</title>
		<link>http://www.cosmocentral.com/2010/07/know-which-version-of-silverlight-is-installed-in-your-computer/</link>
		<comments>http://www.cosmocentral.com/2010/07/know-which-version-of-silverlight-is-installed-in-your-computer/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 18:40:16 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming / Coding]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=712</guid>
		<description><![CDATA[To know which version of silver is installed in your computer simply go to this page]]></description>
			<content:encoded><![CDATA[<p>To know which version of silver is installed in your computer simply go to this page <a href="http://www.microsoft.com/getsilverlight/get-started/install/default.aspx">http://www.microsoft.com/getsilverlight/get-started/install/default.aspx</a></p>
<p>It will show you the version of silverlight installed in your computer or if not it will show you link to install it. </p>
<p>From Webcosmo Webmaster Forum <a href="http://www.webcosmoforums.com/asp/21219-know-version-silverlight-installed-your-computer.html">http://www.webcosmoforums.com/asp/21219-know-version-silverlight-installed-your-computer.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/07/know-which-version-of-silverlight-is-installed-in-your-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ad Network List to Earn from Your Webistes</title>
		<link>http://www.cosmocentral.com/2010/03/ad-network-list-to-earn-from-your-webistes/</link>
		<comments>http://www.cosmocentral.com/2010/03/ad-network-list-to-earn-from-your-webistes/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 15:18:12 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Making Money]]></category>
		<category><![CDATA[monetization]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=656</guid>
		<description><![CDATA[This is a huge list of ad networks that you can use to earn money from your websites. Since the list is huge.]]></description>
			<content:encoded><![CDATA[<p>This is a huge list of ad networks that you can use to earn money  from your websites. Since the list is huge, I am posting only few here.  You can view the complete list here at our webmaster forum <strong><a title="List of Ad Networks" href="http://www.webcosmoforums.com/make-money-online/12584-list-ad-networks-affiliate-programs.html">http://www.webcosmoforums.com/make-money-online/12584-list-ad-networks-affiliate-programs.html</a></strong></p>
<p><strong>ad pepper</strong><br />
Ad pepper can provide exclusive or non-exclusive representation for your   ad inventory. They offer many types of CPM ads including graphic,   contextual, and integrated text links.<br />
<a href="http://www.adpepper.com/" target="_blank">ad pepper media &#8211; the  powerful network.</a></p>
<p><strong>AdBrite</strong><br />
AdBrite offers CPC, CPA, and CPM in a variety of formats including text   ads, inline ads, banners, video, full page ads, ads in photos. You can   set your own price and run ads from another ad network if AdBrite can&#8217;t   supply an advertiser at your asking price.<br />
<a href="http://www.adbrite.com/" target="_blank">AdBrite: The  Internet&#8217;s Ad Marketplace</a></p>
<p><strong>AdDynamyx</strong><br />
AdDynamyx offers CPM and CPC graphic ads featuring Fortune 500   Advertisers. They serve standard ad units as well as various types of   pop unders and floating ads.<br />
<a href="https://www.addynamix.com/" target="_blank">https://www.addynamix.com/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/03/ad-network-list-to-earn-from-your-webistes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Check Supplier Product Pricing if Profitable</title>
		<link>http://www.cosmocentral.com/2010/03/how-to-check-supplier-product-pricing-if-profitable/</link>
		<comments>http://www.cosmocentral.com/2010/03/how-to-check-supplier-product-pricing-if-profitable/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 13:53:52 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[Advertising / Marketing]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Making Money]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=647</guid>
		<description><![CDATA[It sounds easy, really is, to check pricing of a product to sell if its profitable. Just need some commonsense. Yet many do mistake in this.]]></description>
			<content:encoded><![CDATA[<p>It sounds easy, really is, to check pricing of a product to sell if its  profitable. Just need some commonsense. Yet many do mistake in this.</p>
<p>After you get the wholesale price list from your prospective supplier,  find out how much others are selling for that exact same item.</p>
<p><strong>Some good places to check pricing:</strong></p>
<ul>
<li>Ebay.com</li>
<li>Amazon.com</li>
<li>Overstock.com</li>
<li>Walmart.com</li>
</ul>
<p>Many people selling on these sites (except walmart) are suppliers. Since  its very competitive there prices are lower there. You really have to  make sure you are able to compete with those sellers there.<br />
<strong><br />
Your sell price should consist of these parts:</strong></p>
<ul>
<li>wholesale price</li>
<li>shipping cost (if you offer free shipping)</li>
<li>listing/success fees (if you sale on ebay/amazon etc where you  have to pay for listing/success)</li>
<li>Operational costs (this could be hosting, office supplies etc)</li>
<li>Marketing expenses (marketing costs like ppc etc)</li>
</ul>
<p>Based on this see how many percentage of profit you can make per  product. If you make less then 25% profit, I would strongly recommend  looking for some other supplier.</p>
<p>Source:  <a href="http://www.webcosmoforums.com/general-business/17377-how-check-supplier-product-pricing-if-profitable-e-commerce.html">WebcosmoForums.com Webmaster Forum</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/03/how-to-check-supplier-product-pricing-if-profitable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Selling Products &#8211; Where to Sell</title>
		<link>http://www.cosmocentral.com/2010/03/selling-products-where-to-sell/</link>
		<comments>http://www.cosmocentral.com/2010/03/selling-products-where-to-sell/#comments</comments>
		<pubDate>Sun, 14 Mar 2010 05:19:54 +0000</pubDate>
		<dc:creator>manik</dc:creator>
				<category><![CDATA[Advertising / Marketing]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Making Money]]></category>
		<category><![CDATA[e-commerce]]></category>

		<guid isPermaLink="false">http://www.cosmocentral.com/?p=636</guid>
		<description><![CDATA[People sell their products in different ways. Some sell on their very own e-commerce website, some on shopping comparison sites, some on ebay, amazon etc.

Here is a short list of some major places you can sell your products. Remember this is not an elaborated talk on them.]]></description>
			<content:encoded><![CDATA[<p>People sell their products in different ways. Some sell on their very own  e-commerce website, some on shopping comparison sites, some on ebay,  amazon etc.</p>
<p>Here is a short list of some major places you can sell your products. Remember this is not an elaborated talk on them.</p>
<p><strong>Your E-Commerce Site</strong><br />
Although you can control the shopping experience and other aspects of  your business, its really tough to market and make money. Specially it  takes quite a bit of time and effort to get people come to your site and  get used to shopping.<br />
<strong><br />
EBay<br />
</strong>Largest marketplace of all. Your products would be visible to a huge  ebay audience.</p>
<p><strong>Amazon</strong><br />
Amazon is a great marketplace. Although not as big as eBay, it still a giant marketplace.</p>
<p><strong>Google Base</strong><br />
Its free to use. You can upload your products and make them indexed on  Google for people to search.</p>
<p><strong>Shopping Comparison Sites</strong><br />
Most of them charge money to list products. Here are some major ones to  mention:</p>
<ul>
<li>Shopzilla</li>
<li>Bizrate</li>
<li>Shopping.com</li>
<li>Ciao</li>
<li>Price Savvy</li>
<li>Next Tag</li>
<li>Kelkoo</li>
<li>Price Grabber</li>
<li>Price Runner</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.cosmocentral.com/2010/03/selling-products-where-to-sell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
