<?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/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>.NET &#8211; Amazing Things</title>
	<atom:link href="https://www.amazingthings.in/category/visual-studio/feed" rel="self" type="application/rss+xml" />
	<link>https://www.amazingthings.in</link>
	<description>Amazing Things is for Everyone. Everything which is amazing. Amazing wallpapers, entertainment, creativity, technology updates &#38; knowledge.</description>
	<lastBuildDate>Thu, 20 Sep 2018 12:26:53 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.3</generator>

<image>
	<url>https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2017/12/AmazingThings.png?fit=32%2C32&#038;ssl=1</url>
	<title>.NET &#8211; Amazing Things</title>
	<link>https://www.amazingthings.in</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">44718163</site>	<item>
		<title>How to get current cursor position in C and dot net</title>
		<link>https://www.amazingthings.in/how-to-get-current-cursor-position-in-c-and-dot-net.html</link>
					<comments>https://www.amazingthings.in/how-to-get-current-cursor-position-in-c-and-dot-net.html#respond</comments>
		
		<dc:creator><![CDATA[Vinayak Bamane]]></dc:creator>
		<pubDate>Tue, 28 May 2013 09:52:21 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[current cursor position in c#]]></category>
		<category><![CDATA[winforms]]></category>
		<guid isPermaLink="false">http://www.amazingthings.in/?p=2704</guid>

					<description><![CDATA[<p>&#160; How to get cursor position in C# In future if you are working on any Game Development project or any project where you need to find the current cursor position, this simple program might help you. &#160; Code(.cs file) :  namespace CursorPosition { public partial class Form1 : Form { public Form1() { InitializeComponent(); [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/how-to-get-current-cursor-position-in-c-and-dot-net.html">How to get current cursor position in C and dot net</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p><strong><span style="font-family: georgia, palatino; font-size: large; color: #ff9900;">How to get cursor position in C#</span></strong></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">In future if you are working on any Game Development project or any project where you need to find the current cursor position, this simple program might help you.</span></p>
<p><a href="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/05/CropperCapture1.gif"><img fetchpriority="high" decoding="async" data-attachment-id="2705" data-permalink="https://www.amazingthings.in/how-to-get-current-cursor-position-in-c-and-dot-net.html/croppercapture1-7" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/05/CropperCapture1.gif?fit=916%2C643&amp;ssl=1" data-orig-size="916,643" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="CropperCapture[1]" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/05/CropperCapture1.gif?fit=300%2C210&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/05/CropperCapture1.gif?fit=696%2C489&amp;ssl=1" class="alignnone size-full wp-image-2705" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/05/CropperCapture1.gif?resize=696%2C489" alt="CropperCapture[1]" width="696" height="489" data-recalc-dims="1" /></a></p>
<p>&nbsp;</p>
<p><span style="color: #ff9900; font-family: georgia, palatino; font-size: large;"><strong>Code(.cs file) : </strong></span></p>
<p>namespace CursorPosition<br />
{<br />
public partial class Form1 : Form<br />
{<br />
public Form1()<br />
{<br />
InitializeComponent();</p>
<p>this.MouseMove+=Form1_MouseMove;<br />
}</p>
<p>void Form1_MouseMove(object sender, MouseEventArgs e)<br />
{<br />
cursorPositionLabel.Text = e.Location.ToString();<br />
}</p>
<p>private void Form1_Load(object sender, EventArgs e)<br />
{</p>
<p>}</p>
<p>}<br />
}</p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/how-to-get-current-cursor-position-in-c-and-dot-net.html">How to get current cursor position in C and dot net</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.amazingthings.in/how-to-get-current-cursor-position-in-c-and-dot-net.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2704</post-id>	</item>
		<item>
		<title>Encrypt Connection String in Asp.net</title>
		<link>https://www.amazingthings.in/encrypt-connection-string-in-aspnet.html</link>
					<comments>https://www.amazingthings.in/encrypt-connection-string-in-aspnet.html#respond</comments>
		
		<dc:creator><![CDATA[Vinayak Bamane]]></dc:creator>
		<pubDate>Sun, 03 Mar 2013 17:03:45 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[how to encrypt connection string in asp.net]]></category>
		<category><![CDATA[how to encrypt connection string inside web.config file in asp.net]]></category>
		<guid isPermaLink="false">http://www.amazingthings.in/?p=2380</guid>

					<description><![CDATA[<p>How to encrypt Connection string in Web.Config file using Asp.Net While developing web projects we generally keep our Connection String under the Web.config, which get stored in plain text format which anybody can read. Connection String contains database connections, username, password etc. which is threat to your secured data. The best idea is to keep [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/encrypt-connection-string-in-aspnet.html">Encrypt Connection String in Asp.net</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong style="color: #ff9900; font-family: georgia, palatino; font-size: medium;">How to encrypt Connection string in Web.Config file using Asp.Net</strong></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">While developing web projects we generally keep our Connection String under the Web.config, which get stored in plain text format which anybody can read. Connection String contains database connections, username, password etc. which is threat to your secured data.</span></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">The best idea is to keep our connection string in encrypted format which is not easily readable and which makes your connection string safe.</span></p>
<p><span style="font-family: georgia, palatino; font-size: medium;"><strong>HOW TO ENCRYPT CONNECTION STRING</strong></span></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">1. First Create web project in asp.net, then add connection details to web.config file.</span></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">2. Go to Start &gt;&nbsp;&nbsp;All Programs &gt;&gt; Microsoft visual studio 2008 &gt;&gt; Visual Studio Tools &gt;&gt; Visual Studio 2012 Command Prompt</span></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">After Opening Command prompt type following command&nbsp;aspnet_regiis.exe -pef &#8220;connectionStrings&#8221;&nbsp;&#8220;C:\VisualStudio2008\Authorization&#8221;</span></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">After that you will get a message stating &#8220;Encrypting configuration section… Succeeded!&#8221;.</span></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">Now when you will open your web.config file you will find encrypted connection string.</span></p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/encrypt-connection-string-in-aspnet.html">Encrypt Connection String in Asp.net</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.amazingthings.in/encrypt-connection-string-in-aspnet.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2380</post-id>	</item>
		<item>
		<title>Use AjaxFileUpload Control in Visual Studio 2012</title>
		<link>https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html</link>
					<comments>https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html#respond</comments>
		
		<dc:creator><![CDATA[Vinayak Bamane]]></dc:creator>
		<pubDate>Mon, 07 Jan 2013 11:21:26 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[AjaxFileUpload control]]></category>
		<category><![CDATA[How to use AjaxFileUpload control in visual studio 2012]]></category>
		<guid isPermaLink="false">http://www.amazingthings.in/?p=2140</guid>

					<description><![CDATA[<p>While developing a project you might come across a situation where you need to upload multiple files at a time. If you working on Asp.net project and you come across similar situation no need to worry you have nice options to accomplish this task. We can make use of AjaxFileUpload Control. It offers several features. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html">Use AjaxFileUpload Control in Visual Studio 2012</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">While developing a project you might come across a situation where you need to upload multiple files at a time. If you working on Asp.net project and you come across similar situation no need to worry you have nice options to accomplish this task.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">We can make use of <strong><span style="color: #99cc00;" data-mce-mark="1">AjaxFileUpload</span></strong> Control. It offers several features.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>1. Upload multiple files at a time.</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>2. Progress bar to display file upload status.</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>3. Drag and drop facility.</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">In order to use AjaxFileUpload control first you need to add AjaxControlToolkit to your application, wanted to learn how to do it? Please refer my previous post on <a title="AjaxControlToolkit" href="http://www.amazingthings.in/2012/12/add-ajaxcontroltoolkit-to-visual-studio-2012.html" target="_blank">How to add AjaxControlToolkit to Visual Studio 2012</a>.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;">The best part of this control is you can control which file types you want to upload. You can make use of <strong style="font-family: georgia, palatino; font-size: medium;">AllowedFileTypes</strong> property. You can simply allow different file types&nbsp;separated&nbsp;by commas in <strong style="font-family: georgia, palatino; font-size: medium;">AllowedFileTypes</strong> control.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;"><a href="http://www.amazingthings.in/2013/01/use-ajaxfileupload-control-in-visual-studio-2012.html/ajaxupload" rel="attachment wp-att-2172"><img decoding="async" data-attachment-id="2172" data-permalink="https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html/ajaxupload" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/01/AjaxUpload.gif?fit=%2C&amp;ssl=1" data-orig-size="" data-comments-opened="1" data-image-meta="[]" data-image-title="AjaxUpload" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/01/AjaxUpload.gif?fit=300%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/01/AjaxUpload.gif?fit=1024%2C1024&amp;ssl=1" class="alignnone size-full wp-image-2172" alt="AjaxUpload" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2013/01/AjaxUpload.gif?w=696" data-recalc-dims="1" /></a></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;">&nbsp;</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;">Using this Control is very simple you just need &nbsp;to drag this control from ToolBox and drop it on your .aspx page, add directive to <strong>register assembly</strong> and <strong>add script manager</strong> and you are all set to use <strong>AjaxFileUpload</strong> control. Registering assembly and adding script manager shown in code given below.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;"><code lang="asp">//&nbsp;Register&nbsp;Assembly<br />
< %@&nbsp;Register&nbsp;assembly="AjaxControlToolkit"&nbsp;namespace="AjaxControlToolkit"&nbsp;tagprefix="asp"&nbsp;%></p>
<p>//&nbsp;Add&nbsp;Script&nbsp;Manager<br />
<asp:scriptmanager &nbsp;Id="Scriptmanager1"&nbsp;runat="server"></asp:scriptmanager></p>
<p>//&nbsp;AjaxFileUpload&nbsp;Control<br />
<asp:ajaxfileupload &nbsp;ID="AjaxFileUpload1"&nbsp;runat="server"></asp:ajaxfileupload></code></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;"><strong>AjaxFileUpload&nbsp;</strong>Control Properties :</span></p>
<ul style="text-align: justify;">
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>ThrobberID</strong>&nbsp;&#8211; The ID of a control that is shown while the file is uploading. The throbber&nbsp;image is displayed for browsers that do not support the HTML5 File API.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>ContextKeys</strong>&nbsp;&#8211; A dictionary that can be used to pass information to the server when a file is uploaded.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>MaximumNumberOfFiles</strong>&nbsp;&#8211; This property enables you to limit the number of files that a user can add to the upload queue.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>AllowedFileTypes</strong>&nbsp;&#8211; This property enables you to restrict the types of files that can be uploaded. You can assign a comma delimited list of file extensions to this property.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>IsInFileUploadPostBack</strong>&nbsp;&#8211; This property has the value true when a page is created in response to an AjaxFileUpload asynchronous postback.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>OnClientUploadComplete</strong>&nbsp;&#8211; The name of a JavaScript function executed in the client-side after a file is uploaded successfully.</span></li>
<li><span style="font-family: georgia, palatino; font-size: medium;"><strong>OnClientUploadError</strong>&nbsp;&#8211; The name of a JavaScript function executed in the client-side if the file upload failed.</span></li>
</ul>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html">Use AjaxFileUpload Control in Visual Studio 2012</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.amazingthings.in/use-ajaxfileupload-control-in-visual.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2140</post-id>	</item>
		<item>
		<title>Add AjaxControltoolkit to Visual Studio 2012</title>
		<link>https://www.amazingthings.in/add-ajaxcontroltoolkit-to-visual-studio.html</link>
					<comments>https://www.amazingthings.in/add-ajaxcontroltoolkit-to-visual-studio.html#respond</comments>
		
		<dc:creator><![CDATA[Vinayak Bamane]]></dc:creator>
		<pubDate>Sun, 30 Dec 2012 22:35:32 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[add ajax control toolkit to asp.net 4.5]]></category>
		<category><![CDATA[how to add ajax control toolkit to asp.net 4.5]]></category>
		<category><![CDATA[how to add ajaxcontroltoolkit to visual studio 2012]]></category>
		<guid isPermaLink="false">http://www.amazingthings.in/?p=2115</guid>

					<description><![CDATA[<p>Ajax control toolkit contains rich set of controls which are used build highly responsive and interactive web applications. Ajax Control toolkit contains more than 40 controls to choose from which includes ColorPicker, AutoComplete, Calender, Accordion, Watermark, etc.&#160;Ajax Control Toolkit&#8217;s recently updated version came in&#160;September 2012.&#160; Now if you want to add Ajax Control toolkit to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/add-ajaxcontroltoolkit-to-visual-studio.html">Add AjaxControltoolkit to Visual Studio 2012</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">
<p style="text-align: justify;"><span style="color: #99cc00;"><strong style="font-family: georgia, palatino; font-size: medium;">Ajax control toolkit</strong></span><span style="font-family: georgia, palatino; font-size: medium;"> contains rich set of controls which are used build highly responsive and interactive web applications. Ajax Control toolkit contains more than 40 controls to choose from which includes </span><strong style="font-family: georgia, palatino; font-size: medium;"><span style="font-family: georgia, palatino; font-size: medium;">ColorPicker, AutoComplete, Calender, Accordion, Watermark, etc.</span></strong><span style="font-family: georgia, palatino; font-size: medium;">&nbsp;Ajax Control Toolkit&#8217;s recently updated version came in</span><strong style="font-family: georgia, palatino; font-size: medium;"><span style="font-family: georgia, palatino; font-size: medium;">&nbsp;September 2012.&nbsp;</span></strong></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">Now if you want to add Ajax Control toolkit to your asp.net project in Visual Studio 2012, you have two options.</span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium; color: #ff6600;" data-mce-mark="1"><strong>1. Using NuGet Package Manager</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">This is very simple way to add AjaxControlToolkit to your asp.net project. Just right click on your project under Solution Explorer &gt; Manage NuGet Packages &gt; Online and then select AjaxControlToolkit and then install it.</span></p>
<p style="text-align: justify;"><img decoding="async" data-attachment-id="2122" data-permalink="https://www.amazingthings.in/add-ajaxcontroltoolkit-to-visual-studio.html/nugetpackage" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/NuGetPackage.png?fit=500%2C330&amp;ssl=1" data-orig-size="500,330" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="NuGetPackage" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/NuGetPackage.png?fit=300%2C198&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/NuGetPackage.png?fit=500%2C330&amp;ssl=1" class="aligncenter size-full wp-image-2122" alt="NuGetPackage" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/NuGetPackage.png?resize=500%2C330" width="500" height="330" srcset="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/NuGetPackage.png?w=500&amp;ssl=1 500w, https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/NuGetPackage.png?resize=300%2C198&amp;ssl=1 300w" sizes="(max-width: 500px) 100vw, 500px" data-recalc-dims="1" /></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong><span style="color: #ff6600;" data-mce-mark="1">2. Add Manually</span>&nbsp;</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>Step 1 : Download</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">Go to http://ajaxcontroltoolkit.codeplex.com &gt; Downloads &gt; Click on Ajax Control Toolkit 4 &gt; Download.</span></p>
<p style="text-align: justify;"><a href="http://www.amazingthings.in/2012/12/add-ajaxcontroltoolkit-to-visual-studio-2012.html/croppercapture1-6" rel="attachment wp-att-2123"><img decoding="async" data-attachment-id="2123" data-permalink="https://www.amazingthings.in/add-ajaxcontroltoolkit-to-visual-studio.html/croppercapture1-6" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture12.gif?fit=%2C&amp;ssl=1" data-orig-size="" data-comments-opened="1" data-image-meta="[]" data-image-title="DownloadAjaxToolkit" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture12.gif?fit=300%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture12.gif?fit=1024%2C1024&amp;ssl=1" class="alignnone size-full wp-image-2123" alt="DownloadAjaxToolkit" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture12.gif?w=696" data-recalc-dims="1" /></a></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>Step 2 : Extract</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;" data-mce-mark="1">Right Click Zip file &gt; Properties &gt; Unblock &gt; And then Extract file</span></p>
<p style="text-align: justify;"><a href="http://www.amazingthings.in/2012/12/add-ajaxcontroltoolkit-to-visual-studio-2012.html/croppercapture2" rel="attachment wp-att-2125"><img decoding="async" data-attachment-id="2125" data-permalink="https://www.amazingthings.in/add-ajaxcontroltoolkit-to-visual-studio.html/croppercapture2" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture2.gif?fit=773%2C630&amp;ssl=1" data-orig-size="773,630" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="Unblock" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture2.gif?fit=300%2C244&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture2.gif?fit=696%2C567&amp;ssl=1" class="alignnone size-full wp-image-2125" alt="Unblock" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture2.gif?resize=696%2C567" width="696" height="567" data-recalc-dims="1" /></a></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;"><strong>Step 3 : Add toolkit to Visual Studio</strong></span></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;">Right Click on your Toolbox Menus &gt; Click on add tab &gt; Name it as &#8220;AjaxControlToolkit&#8221; &gt; Right Click on newly added tab &gt; Choose Items &gt; Browse &gt; Select extracted AjaxControlToolkit.dll &gt; Hit ok and there you go.</span></p>
<p style="text-align: justify;"><a href="http://www.amazingthings.in/2012/12/add-ajaxcontroltoolkit-to-visual-studio-2012.html/addtovisualstudio" rel="attachment wp-att-2126"><img loading="lazy" decoding="async" data-attachment-id="2126" data-permalink="https://www.amazingthings.in/add-ajaxcontroltoolkit-to-visual-studio.html/addtovisualstudio" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/AddToVisualStudio.gif?fit=983%2C639&amp;ssl=1" data-orig-size="983,639" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="AddToVisualStudio" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/AddToVisualStudio.gif?fit=300%2C195&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/AddToVisualStudio.gif?fit=696%2C452&amp;ssl=1" class="alignnone size-full wp-image-2126" alt="AddToVisualStudio" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/AddToVisualStudio.gif?resize=696%2C452" width="696" height="452" data-recalc-dims="1" /></a></p>
<p style="text-align: justify;"><span style="font-family: georgia, palatino; font-size: medium;">Select the way which suits you add AjaxControlToolkit to your toolbox and enjoy making a responsive, interactive web applications.</span></p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/add-ajaxcontroltoolkit-to-visual-studio.html">Add AjaxControltoolkit to Visual Studio 2012</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.amazingthings.in/add-ajaxcontroltoolkit-to-visual-studio.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2115</post-id>	</item>
		<item>
		<title>Asp.Net LogIn and CreateUserWizard Controls</title>
		<link>https://www.amazingthings.in/aspnet-login-and-createuserwizard.html</link>
					<comments>https://www.amazingthings.in/aspnet-login-and-createuserwizard.html#respond</comments>
		
		<dc:creator><![CDATA[Vinayak Bamane]]></dc:creator>
		<pubDate>Sun, 16 Dec 2012 13:08:44 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Asp.Net LogIn and CreateNewUserWizard Controls]]></category>
		<guid isPermaLink="false">http://www.amazingthings.in/?p=1728</guid>

					<description><![CDATA[<p>Title : Asp.net Log In and CreateNewUser Control Description :  Whenever we wanted to develop Log In and register page we think of Text Box to enter required details and then a button to submit that data to database.  Asp.Net came with few controls they gives a ready Log In and Create New User control, by making [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/aspnet-login-and-createuserwizard.html">Asp.Net LogIn and CreateUserWizard Controls</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong style="color: #ff6600; font-family: georgia, palatino; font-size: large;"><span style="color: #ff6600; font-family: georgia, palatino; font-size: large;" data-mce-mark="1">Title :</span> <span style="color: #ff6600; font-family: georgia, palatino; font-size: large;" data-mce-mark="1">Asp.net Log In and CreateNewUser Control</span></strong></p>
<p><span style="color: #ff6600; font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>Description : </strong></span></p>
<p style="text-align: justify;"><span style="font-size: medium; font-family: georgia, palatino;">Whenever we wanted to develop Log In and register page we think of Text Box to enter required details and then a button to submit that data to database.  Asp.Net came with few controls they gives a ready Log In and Create New User control, by making use of these controls we can easily develop Log In page.</span></p>
<p style="text-align: justify;"><span style="font-size: medium; font-family: georgia, palatino;">All you need to do is just <strong>drag and drop Log In and Create New User Control</strong> on your webpage and <strong>THAT&#8217;S IT, </strong>rest work is done by Asp.Net controls. <strong>AMAZING RIGHT?</strong></span></p>
<p style="text-align: justify;"><span style="font-size: medium; font-family: georgia, palatino;">Both controls comes with predefined templates, even you can<strong> style</strong> them as per your need, by making use of <strong>LayoutTemplate</strong>.</span></p>
<p style="text-align: justify;"><span style="font-size: medium; font-family: georgia, palatino;">After adding those controls it automatically adds a database in your back end, add columns to it and whenever you add new user it  fires query and add that user data into database. The best part of it is it Stores <strong>password</strong> in <strong>ENCRYPTED</strong> as well as <strong>HASHED</strong> format.</span></p>
<p style="text-align: justify;"><span style="font-size: medium; font-family: georgia, palatino;">There are few other controls which are add on to these controls.</span></p>
<p style="text-align: justify;"><span style="font-size: medium; font-family: georgia, palatino;"><strong>Log In Name, Log In View, Log In Status, Password Recovery, Change Password </strong>which gives power to these two controls.</span></p>
<p style="text-align: justify;"><span style="font-size: medium; font-family: georgia, palatino;">You just need to add few elements into your web.config file. </span></p>
<p><span style="font-size: medium;" data-mce-mark="1"><strong><span style="color: #ff6600; font-family: georgia, palatino;" data-mce-mark="1">Demo : </span></strong></span></p>
<p><a href="http://www.amazingthings.in/2012/12/asp-net-login-and-createuserwizard-controls.html/croppercapture1-5" rel="attachment wp-att-1820"><img loading="lazy" decoding="async" data-attachment-id="1820" data-permalink="https://www.amazingthings.in/aspnet-login-and-createuserwizard.html/croppercapture1-5" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture11.gif?fit=472%2C408&amp;ssl=1" data-orig-size="472,408" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="CropperCapture[1]" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture11.gif?fit=300%2C259&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture11.gif?fit=472%2C408&amp;ssl=1" class="alignnone size-full wp-image-1820" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/12/CropperCapture11.gif?resize=472%2C408" alt="CropperCapture[1]" width="472" height="408" data-recalc-dims="1" /></a></p>
<p><span style="color: #ff6600; font-family: georgia, palatino; font-size: medium;" data-mce-mark="1"><strong>.aspx</strong></span> <strong><span style="color: #ff6600; font-size: medium; font-family: georgia, palatino;" data-mce-mark="1">Code</span></strong></p>
<p><span style="color: #ff6600;"><strong>LogIn.aspx</strong></span></p>
<p><code></code></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<form id="form1">
<div>
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<p><strong>Don&#8217;t have an Account ?</strong></p>
<p>&nbsp;</p>
</form>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="color: #ff6600;"><strong>Register.aspx</strong></span></p>
<p><code>&lt; %@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="_Default" %&gt;</code></p>
<p>&lt; !DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</p>
<p>&nbsp;</p>
<style type="text/css">
        .auto-style1 {<br />
            height: 28px;<br />
        }<br />
    </style>
<p>&nbsp;</p>
<form id="form1">
<div>
<p>&nbsp;</p>
<table style="font-family: Verdana; font-size: 100%; width: 301px;">
<tbody>
<tr>
<td style="color: white; background-color: #5d7b9d; font-size: Medium; font-weight: bold;" colspan="2" align="center">Sign Up for Your New Account</td>
</tr>
<tr>
<td style="font-size: Small;" align="right">User Name:</td>
<td>
*</td>
</tr>
<tr>
<td style="font-size: Small;" align="right">Password:</td>
<td>
*</td>
</tr>
<tr>
<td style="font-size: Small;" align="right">Confirm Password:</td>
<td>
*</td>
</tr>
<tr>
<td style="font-size: Small;" align="right">E-mail:</td>
<td>
*</td>
</tr>
<tr>
<td style="font-size: Small;" align="right">Security Question:</td>
<td>
*</td>
</tr>
<tr>
<td style="font-size: Small;" align="right">Security Answer:</td>
<td>
*</td>
</tr>
<tr>
<td class="auto-style1" colspan="2" align="center"></td>
</tr>
<tr>
<td style="color: red;" colspan="2" align="center"></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<table style="font-family: Verdana; font-size: 100%; width: 301px;">
<tbody>
<tr>
<td style="color: white; background-color: #5d7b9d; font-size: Medium; font-weight: bold;" colspan="2" align="center">Complete</td>
</tr>
<tr>
<td>Your account has been successfully created.</td>
</tr>
<tr>
<td colspan="2" align="right"></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
</div>
</form>
<p>&nbsp;</p>
<p><span style="color: #ff6600;"><strong>Home.aspx</strong></span></p>
<p><code>&lt; %@ Page Language="C#" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home" %&gt;</code></p>
<p>&lt; !DOCTYPE html PUBLIC &#8220;-//W3C//DTD XHTML 1.0 Transitional//EN&#8221; &#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#8221;&gt;</p>
<p>&nbsp;</p>
<form id="form1">
<div>
<p><a href="Login.aspx" target="_blank" rel="nofollow">Login.aspx</a> | <a href="Register.aspx" target="_blank" rel="nofollow">Register.aspx</a></p>
<hr />
<p>&nbsp;</p>
<p>Welcome ,</p>
<p>Please Login or create a new account!</p>
<p>&nbsp;</p>
</div>
</form>
<p>&nbsp;</p>
<p><span style="color: #ff6600;"><strong>Web.Config</strong></span></p>
<p><code lang="xml[lines]">&lt; ?xml version="1.0"?&gt;<br />
<!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\vx.x\Config
--></p>
<p></code></p>
<section></section>
<p>&nbsp;</p>
<section></section>
<section></section>
<section></section>
<section></section>
<p>&nbsp;</p>
<p><!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --></p>
<p><!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
--><br />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customerrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm"></error>
<error statusCode="404" redirect="FileNotFound.htm"></error>
</customerrors>
--></p>
<p><!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --></p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/aspnet-login-and-createuserwizard.html">Asp.Net LogIn and CreateUserWizard Controls</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.amazingthings.in/aspnet-login-and-createuserwizard.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1728</post-id>	</item>
		<item>
		<title>Fancy Contact us Page Using ASP.NET</title>
		<link>https://www.amazingthings.in/fancy-contact-us-page-using-asp-dot-net.html</link>
					<comments>https://www.amazingthings.in/fancy-contact-us-page-using-asp-dot-net.html#comments</comments>
		
		<dc:creator><![CDATA[Vinayak Bamane]]></dc:creator>
		<pubDate>Sun, 25 Nov 2012 14:48:37 +0000</pubDate>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[contact us page using asp.net]]></category>
		<guid isPermaLink="false">http://www.amazingthings.in/?p=992</guid>

					<description><![CDATA[<p>Title : Contact us page using ASP.NET Description : I am going to design contact us page where you will fill up necessary fields and click button to submit it. I will make use of few textboxes to enter some necessary fields and then at the end there will be a button called submit which [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/fancy-contact-us-page-using-asp-dot-net.html">Fancy Contact us Page Using ASP.NET</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong style="font-family: georgia, palatino; font-size: medium; text-align: justify;"><span style="color: #ff6600;">Title</span> : Contact us page using ASP.NET</strong></p>
<p><strong style="color: #ff6600; font-family: georgia, palatino; font-size: medium;">Description <span style="color: #000000;">:</span></strong></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">I am going to design contact us page where you will fill up necessary fields and click button to submit it.</span></p>
<p><span style="font-family: georgia, palatino; font-size: medium;">I will make use of few textboxes to enter some necessary fields and then at the end there will be a button called submit which will send data in form of an email notification.</span></p>
<p><strong style="font-family: georgia, palatino; font-size: medium;"><span style="color: #ff6600;">Demo</span> :</strong></p>
<p><a href="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/CropperCapture14.gif"><img loading="lazy" decoding="async" data-attachment-id="1426" data-permalink="https://www.amazingthings.in/fancy-contact-us-page-using-asp-dot-net.html/croppercapture1-4" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/CropperCapture14.gif?fit=521%2C339&amp;ssl=1" data-orig-size="521,339" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="CropperCapture[1]" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/CropperCapture14.gif?fit=300%2C195&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/CropperCapture14.gif?fit=521%2C339&amp;ssl=1" class="alignnone size-full wp-image-1426" title="Asp contact us form" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/CropperCapture14.gif?resize=521%2C339" alt="Asp contact us form" width="521" height="339" srcset="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/CropperCapture14.gif?w=521&amp;ssl=1 521w, https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/CropperCapture14.gif?resize=300%2C195&amp;ssl=1 300w" sizes="(max-width: 521px) 100vw, 521px" data-recalc-dims="1" /></a></p>
<p><strong><span style="font-family: georgia, palatino; font-size: medium;"><span style="color: #ff6600;">Email Notification</span> : </span></strong></p>
<p><a href="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/Capture.png"><img loading="lazy" decoding="async" data-attachment-id="989" data-permalink="https://www.amazingthings.in/capture" data-orig-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/Capture.png?fit=381%2C204&amp;ssl=1" data-orig-size="381,204" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="Email Notifiaction ASP.NET" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/Capture.png?fit=300%2C160&amp;ssl=1" data-large-file="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/Capture.png?fit=381%2C204&amp;ssl=1" class="size-full wp-image-989" title="Email Notifiaction ASP.NET" src="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/Capture.png?resize=381%2C204" alt="Email Notifiaction ASP.NET" width="381" height="204" srcset="https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/Capture.png?w=381&amp;ssl=1 381w, https://i0.wp.com/www.amazingthings.in/wp-content/uploads/2012/11/Capture.png?resize=300%2C160&amp;ssl=1 300w" sizes="(max-width: 381px) 100vw, 381px" data-recalc-dims="1" /></a></p>
<p style="text-align: justify;"><span style="color: #ff0000; font-family: georgia, palatino; font-size: medium;"><strong>.aspx Code :</strong></span></p>
<p><code lang="asp[lines]"><br />
</code></p>
<p><code></code><code></code></p>
<p><code></code><code></code></p>
<p><code></code><code></code></p>
<form id="form1">
<table class="auto-style1">
<tbody>
<tr>
<td class="auto-style2"></td>
<td>Contact Us</td>
</tr>
<tr>
<td class="auto-style2"></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</form>
<p><code lang="asp[lines]"><br />
</code></p>
<p><code lang="asp[lines]"><br />
</code></p>
<p style="text-align: justify;"><span style="color: #ff6600; font-size: medium; font-family: georgia, palatino;"><strong>Code Behind Button <span style="color: #000000;">:</span></strong></span></p>
<p><code lang="asp[lines]">using System;<br />
using System.Collections.Generic;<br />
using System.Linq;<br />
using System.Net;<br />
using System.Net.Mail;<br />
using System.Web;<br />
using System.Web.UI;<br />
using System.Web.UI.WebControls;</code></p>
<p><code></code><code></code></p>
<p>namespace AmazingThingsDemoOG<br />
{<br />
public partial class _Default : System.Web.UI.Page<br />
{<br />
protected void Page_Load(object sender, EventArgs e)<br />
{</p>
<p><code></code><code></code></p>
<p>}</p>
<p><code></code><code></code></p>
<p>//This function will be called on button click to send email<br />
protected void SendEMail()<br />
{<br />
try<br />
{<br />
//url of your website<br />
String url = &#8220;YourURL&#8221;;</p>
<p><code></code><code></code></p>
<p>//Email id and Password of that Email id which you will be using to send email<br />
NetworkCredential loginInfo = new NetworkCredential(&#8220;EmailId&#8221;, &#8220;Password&#8221;);</p>
<p><code></code><code></code></p>
<p>//Declare new MailMessage object and initialize with values such as from address, to address, bcc address, subject etc<br />
MailMessage msg = new MailMessage();<br />
msg.From = new MailAddress(&#8220;FromAddress&#8221;);<br />
msg.To.Add(new MailAddress(emailTextBox.Text));<br />
msg.Bcc.Add(new MailAddress(&#8220;BccAddress&#8221;));<br />
msg.Subject = &#8220;Notification from:Your Website Name&#8221;;<br />
msg.Body = &#8220;Hi,&#8221; + nameTextBox.Text + &#8221;<br />
Thanks for contacting us. We will contact you soon.<br />
&#8221; + &#8220;Our System has recorded a message<br />
&#8221; + messageTextBox.Text + &#8221;<br />
Thanks and Regards<br />
&#8221; + url;<br />
msg.IsBodyHtml = true;</p>
<p><code></code><code></code></p>
<p>//Name the client which you will be using to send email.<br />
SmtpClient client = new SmtpClient(&#8220;smtp.gmail.com&#8221;);</p>
<p><code></code><code></code></p>
<p>client.EnableSsl = true;<br />
client.UseDefaultCredentials = false;<br />
client.Credentials = loginInfo;<br />
client.Send(msg);<br />
}<br />
catch (Exception ex)<br />
{<br />
confirmationLabel.Text = ex.Message;<br />
}</p>
<p><code></code><code></code></p>
<p>}</p>
<p><code></code><code></code></p>
<p>protected void submit_Click(object sender, EventArgs e)<br />
{<br />
try<br />
{<br />
//It Will call function SendEmail and confirms that message sent succesfully.<br />
SendEMail();<br />
confirmationLabel.Text = &#8220;Thanks for contacting us. We will get back to you in 24Hrs.&#8221;;<br />
confirmationLabel.Visible = true;<br />
subjectTextBox.Text = &#8220;&#8221;;<br />
emailTextBox.Text = &#8220;&#8221;;<br />
nameTextBox.Text = &#8220;&#8221;;<br />
messageTextBox.Text = &#8220;&#8221;;<br />
}<br />
catch (Exception) { }<br />
}<br />
}</p>
<p><code lang="asp[lines]"><br />
</code></p>
<p><code>}</code></p>
<p><span style="font-family: georgia, palatino;"> <span style="font-size: medium; font-family: georgia, palatino;"><strong>I have used CSS to make contact us page attractive.</strong></span></span></p>
<p><span style="font-family: georgia, palatino;"><strong><span style="color: #ff6600; font-size: medium;">CSS Code :</span></strong></span></p>
<p><span style="font-family: georgia, palatino;"><code lang="css[lines]">.TextBox<br />
{<br />
padding: 9px;<br />
border: solid 1px #E5E5E5;<br />
outline: 0;<br />
font: normal 13px/100% Verdana, Tahoma, sans-serif;<br />
width: 200px;<br />
background: #FFFFFF url('bg_form.png') left top repeat-x;<br />
background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF));<br />
background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);<br />
box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;<br />
-moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;<br />
-webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;<br />
}       </code></span></p>
<p><code></code><code></code></p>
<p>.TextBox:hover, textarea:hover,<br />
.TextBox:focus, textarea:focus<br />
{<br />
border-color: #C9C9C9;<br />
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px;<br />
}</p>
<p><code lang="css[lines]"><br />
</code></p>
<p><code lang="css[lines]">        .Button<br />
{<br />
width: auto;<br />
padding: 9px 15px;<br />
background: #617798;<br />
border: 0;<br />
font-size: 14px;<br />
color: #FFFFFF;<br />
-moz-border-radius: 5px;<br />
-webkit-border-radius: 5px;<br />
cursor: pointer;<br />
}</code></p>
<p>[box type=&#8221;success&#8221; align=&#8221;aligncenter&#8221; width=&#8221;620&#8243; ]This project was successfully compiled using  <strong>Microsoft Visual Studio 2012</strong> [/box]</p>
<p>The post <a rel="nofollow" href="https://www.amazingthings.in/fancy-contact-us-page-using-asp-dot-net.html">Fancy Contact us Page Using ASP.NET</a> appeared first on <a rel="nofollow" href="https://www.amazingthings.in">Amazing Things</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.amazingthings.in/fancy-contact-us-page-using-asp-dot-net.html/feed</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">992</post-id>	</item>
	</channel>
</rss>
