ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2017 www.aspforums.com. All rights reserved.Zoom ( Enlarge image ) on MouseOver in ListView Image Gallery using ASP.Net<p>http://aspsnippets.com/Articles/Image-Gallery-using-ASP.Net-GridView-control.aspx</p> <p>used the css and html from the above sample code &nbsp;, but instead of the actual image i get loader image</p> <p>i am using datalist to display image</p> <p>&nbsp;</p> <p>&nbsp;</p> <pre class="brush: xml">&lt;asp:ListView ID=&#34;ListView1&#34; runat=&#34;server&#34;&gt; &lt;LayoutTemplate&gt; &lt;ul class=&#34;ProductList&#34;&gt; &lt;asp:PlaceHolder runat=&#34;server&#34; ID=&#34;itemPlaceholder&#34;&gt;&lt;/asp:PlaceHolder&gt; &lt;/ul&gt; &lt;/LayoutTemplate&gt; &lt;ItemTemplate&gt; &lt;li onclick=&#34;return LoadDiv(this.src);&#34;&gt; &lt;asp:Image ID=&#34;Img1&#34; runat=&#34;server&#34; ImageUrl=&#39;&lt;%#&#34;../images/&#34;+Eval(&#34;photo&#34;)%&gt;&#39; Height=&#34;200px&#34; BorderStyle=&#34;Double&#34; Width=&#34;150px&#34; /&gt;&lt;br /&gt; &lt;br /&gt; &lt;/li&gt; &lt;/ItemTemplate&gt; &lt;EmptyItemTemplate&gt; &lt;div&gt; Sorry! No Item found found. &lt;/div&gt; &lt;/EmptyItemTemplate&gt; &lt;/asp:ListView&gt;</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/206519/Zoom-Enlarge-image-on-MouseOver-in-ListView-Image-Gallery-using-ASPNet/http://www.aspforums.net/Threads/206519/Zoom-Enlarge-image-on-MouseOver-in-ListView-Image-Gallery-using-ASPNet/Sun, 17 Feb 2013 23:28:30 GMTZip more than one files and download using ASP.Net<p>I need to download more than one file from server and download into loacl. Using gzipStream class in system.io.compression.</p>http://www.aspforums.net/Threads/812268/Zip-more-than-one-files-and-download-using-ASPNet/http://www.aspforums.net/Threads/812268/Zip-more-than-one-files-and-download-using-ASPNet/Thu, 18 Jul 2013 09:47:06 GMTYes No Confirmation Message Box using VB.Net<p>Is there any other option to display a message in server since this way it cannot show a message?</p> <pre class="brush: vb">Dim msgRslt As MsgBoxResult = MsgBox(&#34;Jig tool succussfully registered. Do you want to continue register jigtool? .&#34;, MsgBoxStyle.YesNo) If msgRslt = MsgBoxResult.Yes Then Response.Redirect(&#34;regJig.aspx&#34;) ElseIf msgRslt = MsgBoxResult.No Then Response.Redirect(&#34;home.aspx&#34;) End If</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/558322/Yes-No-Confirmation-Message-Box-using-VBNet/http://www.aspforums.net/Threads/558322/Yes-No-Confirmation-Message-Box-using-VBNet/Mon, 17 Oct 2016 02:40:58 GMTWhy I cannot AjaxFileUpload page proper<p>Hello,</p> <p>I am using asp.net 3.5 version in my web project. These codes given here are very useful for uploadşng file(s). Thanks.</p> <p>When I use these codes on my project, there is no problem to open File Upload page on my browser. However, I cannot view file upload object in the page. I cannot choose or click on it. The screenshot is looking like this;</p> <p><img src="http://i.hizliresim.com/8P5DzA.png" alt="Ajax File Upload Screenshot" width="581" height="125" /></p> <p>What could be the problem? Am I doing something wrong?</p> <p>Thanks in advance.&nbsp;</p>http://www.aspforums.net/Threads/145947/Why-I-cannot-AjaxFileUpload-page-proper/http://www.aspforums.net/Threads/145947/Why-I-cannot-AjaxFileUpload-page-proper/Fri, 13 Jan 2017 02:23:21 GMTWhy do we need Forms Authentication in ASP.Net<p>Hi sir,</p> <p>My question is why do we need forms authentication , instead of being use by just checking user name and password, whats make the difference as we read forms authentication is very important. please let me know as more and more details about it with example if possible.&nbsp;</p> <p>&nbsp;</p> <p>Thanks Sir,</p> <p>Harry virk.</p>http://www.aspforums.net/Threads/449750/Why-do-we-need-Forms-Authentication-in-ASPNet/http://www.aspforums.net/Threads/449750/Why-do-we-need-Forms-Authentication-in-ASPNet/Tue, 30 Jul 2013 03:05:19 GMTWhich validation good one for asp.net<p>hi suggest me to choose good validation and standardized for all browser and user friendly too</p>http://www.aspforums.net/Threads/178306/Which-validation-good-one-for-aspnet/http://www.aspforums.net/Threads/178306/Which-validation-good-one-for-aspnet/Thu, 04 Oct 2012 09:08:43 GMTwhich type of security should i apply in asp.net e-commerce website<p>Hi All, I am working on E-Commerce project based on Asp.Net. I need to implement Security in my Project. Kindly suggest me which type of Security should i apply that is open source and in-build. Kindly provide me some reference.&nbsp;</p> <p>Thanks in Advance</p>http://www.aspforums.net/Threads/136085/which-type-of-security-should-i-apply-in-aspnet-e-commerce-website/http://www.aspforums.net/Threads/136085/which-type-of-security-should-i-apply-in-aspnet-e-commerce-website/Wed, 23 Dec 2015 03:11:31 GMTwhich one is better jquery and webservice or general server side binding.<p>which one is better? jquery and webservice or general server side binding.</p>http://www.aspforums.net/Threads/374714/which-one-is-better-jquery-and-webservice-or-general-server-side-binding/http://www.aspforums.net/Threads/374714/which-one-is-better-jquery-and-webservice-or-general-server-side-binding/Fri, 29 Jun 2012 04:41:38 GMTYes No Confirmation Dialog using Modal Popup in ASP.Net<p>1-I want to "when I was click the Show button show Datetime.now in label but but popup will not close" ;</p> <p>2-When popup open all textboxt empty</p> <p>3-when popup close ;closeButton will run like Response.Redirect("abc.aspx")</p> <p>&nbsp;</p> <p>This is my code;</p> <p>&lt;style type="text/css"&gt;<br />#overlay {<br />position: fixed;<br />top: 0;<br />left: 0;<br />width: 100%;<br />height: 100%;<br />background-color: #000;<br />filter:alpha(opacity=70);<br />-moz-opacity:0.7;<br />-khtml-opacity: 0.7;<br />opacity: 0.7;<br />z-index: 100;<br />display: none;<br />}<br />.content a{<br />text-decoration: none;<br />}<br />.popup{<br />width: 100%;<br />margin: 0 auto;<br />display: none;<br />position: fixed;<br />z-index: 101;<br />}<br />.content{<br />min-width: 600px;<br />width: 600px;<br />min-height: 150px;<br />margin: 100px auto;<br />background: #f3f3f3;<br />position: relative;<br />z-index: 103;<br />padding: 10px;<br />border-radius: 5px;<br />box-shadow: 0 2px 5px #000;<br />}<br />.content p{<br />clear: both;<br />color: #555555;<br />text-align: justify;<br />}<br />.content p a{<br />color: #d91900;<br />font-weight: bold;<br />}<br />.content .x{<br />float: right;<br />height: 35px;<br />left: 22px;<br />position: relative;<br />top: -25px;<br />width: 34px;<br />}<br />.content .x:hover{<br />cursor: pointer;<br />}<br />&lt;/style&gt;<br />&lt;script type="text/javascript" src="jquery-1.8.2.js"&gt;&lt;/script&gt;<br />&lt;script type='text/javascript'&gt;<br /> $(function () {<br /> var overlay = $('&lt;div id="overlay"&gt;&lt;/div&gt;');<br /> //$('.close').click(function () {<br /> // $('.popup').hide();<br /> // overlay.appendTo(document.body).remove();<br /> // return false;<br /> //});</p> <p>$('.x').click(function () {<br /> $('.popup').hide();<br /> overlay.appendTo(document.body).remove();<br /> return false;<br /> });</p> <p>$('.click').click(function () {<br /> overlay.show();<br /> overlay.appendTo(document.body);<br /> $('.popup').show();<br /> return false;<br /> });<br /> });<br />&lt;/script&gt;<br />&lt;/head&gt;<br />&lt;body&gt;<br /> &lt;form runat="server"&gt;<br />&lt;div class='popup'&gt;<br />&lt;div class='content'&gt;<br />&lt;img src="x.png" alt='quit' class='x' id='x' /&gt;<br />&lt;p&gt;<br />Please use above search option which was there in top right side to get help with many of articles.<br /> &lt;br/&gt;<br /> &lt;asp:TextBox ID="TextBox1" runat="server"&gt;&lt;/asp:TextBox&gt;<br /> &lt;br/&gt;<br /> &lt;asp:TextBox ID="TextBox2" runat="server"&gt;&lt;/asp:TextBox&gt;<br />&lt;br/&gt;<br /> &lt;asp:Button ID="btnTime" runat="server" Text="Time??" /&gt;<br /> &lt;br /&gt;</p> <p>&lt;asp:Label ID="labelTime" runat="server" Text="_"&gt;&lt;/asp:Label&gt;<br />&lt;br/&gt;<br />&lt;a href='' class='close'&gt;Kapat&lt;/a&gt;<br />&lt;/p&gt;<br />&lt;/div&gt;<br />&lt;/div&gt; <br /> <br /> <br /> <br />&lt;div id='container'&gt;<br />&lt;a href='' class='click'&gt;&lt;h2&gt;&lt;b&gt;Click Here to See Popup! &lt;/b&gt;&lt;/h2&gt;&lt;/a&gt; &lt;br/&gt;<br />&lt;/div&gt;<br /> &lt;/form&gt;<br />&lt;/body&gt;</p>http://www.aspforums.net/Threads/139625/Yes-No-Confirmation-Dialog-using-Modal-Popup-in-ASPNet/http://www.aspforums.net/Threads/139625/Yes-No-Confirmation-Dialog-using-Modal-Popup-in-ASPNet/Fri, 17 May 2013 00:26:57 GMTYearly Report using Bar Chart in ASP.Net<p>I want to generate the yearly report&nbsp;</p> <p>how i get my input in dropdown list as march2015 to febuary 2016</p> <p>i want to extract and generate the datas from database and sorting by using month and the year of the date??? How?? help me with the code?????</p>http://www.aspforums.net/Threads/164306/Yearly-Report-using-Bar-Chart-in-ASPNet/http://www.aspforums.net/Threads/164306/Yearly-Report-using-Bar-Chart-in-ASPNet/Wed, 24 Feb 2016 03:18:37 GMTYear Month and Day parameters describe an un-representable DateTime<p>HI</p> <p>&nbsp;</p> <p>&nbsp;I use below code to showing date in Persian in my site</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <pre class="brush: csharp"> DateTime miladi = DateTime.Now; System.Globalization.PersianCalendar shamsi = new System.Globalization.PersianCalendar(); DateTime shamsidate = new DateTime(shamsi.GetYear(miladi), shamsi.GetMonth(miladi), shamsi.GetDayOfMonth(miladi)); Lbldate.Text = (shamsidate.ToString(&#34;yyyy/MM/dd&#34;, System.Globalization.CultureInfo.InvariantCulture)); </pre> <p>but below erro happen</p> <h1 style="font-family: Verdana; font-weight: normal; font-size: 18pt; color: red;">Server Error in '/behtop website' Application.</h1> <hr size="1" width="100%" /> <h2 style="font-family: Verdana; font-weight: normal; font-size: 14pt; color: maroon;"><em>Year, Month, and Day parameters describe an un-representable DateTime.</em></h2> <p><span style="color: #000000; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-family: Arial,Helvetica,Geneva,SunSans-Regular,sans-serif;"><span style="color: #000000; font-size: 11px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-family: Arial,Helvetica,Geneva,SunSans-Regular,sans-serif;"><strong style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px;">Description:<span class="Apple-converted-space">&nbsp;</span></strong>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.<span class="Apple-converted-space">&nbsp;</span><br /><br /><strong style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px;">Exception Details:<span class="Apple-converted-space">&nbsp;</span></strong>System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.<br /><br /><strong style="font-family: Verdana; font-weight: bold; color: black; margin-top: -5px;">Source Error:</strong><span class="Apple-converted-space">&nbsp;</span><br /><br /></span></span></p> <table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td> <pre style="font-family: 'Lucida Console'; font-size: 0.9em;">Line 43: DateTime miladi = DateTime.Now; Line 44: System.Globalization.PersianCalendar shamsi = new System.Globalization.PersianCalendar(); <span style="color: red;">Line 45: DateTime shamsidate = new DateTime(shamsi.GetYear(miladi), shamsi.GetMonth(miladi), shamsi.GetDayOfMonth(miladi)); </span>Line 46: Line 47: </pre> </td> </tr> </tbody> </table> <p>it worked correctly before but suddenly it make an error Why?</p> <p>Best Regards</p> <p>Thanks alot</p>http://www.aspforums.net/Threads/916100/Year-Month-and-Day-parameters-describe-an-un-representable-DateTime/http://www.aspforums.net/Threads/916100/Year-Month-and-Day-parameters-describe-an-un-representable-DateTime/Mon, 20 May 2013 01:19:54 GMTWhich is the protocol used while making payments in ecommerce website ASP.Net<p>Hi,</p> <p>This question was asked to me in an interview. The guy was asking about 3rd party payment gateway and he asked which protocal is used. I did not understand what he meant.. Can you please explain?</p>http://www.aspforums.net/Threads/115706/Which-is-the-protocol-used-while-making-payments-in-ecommerce-website-ASPNet/http://www.aspforums.net/Threads/115706/Which-is-the-protocol-used-while-making-payments-in-ecommerce-website-ASPNet/Wed, 20 Jun 2012 00:27:10 GMTXML validation for accepting Null value aswell as Time (HH:MM)<p>Hi,</p> <p>below are the sample to play with</p> <p>&nbsp;</p> <pre class="brush: xml">&lt;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&gt; &lt;UsersList&gt; &lt;User&gt; &lt;Name&gt;sam&lt;/Name&gt; &lt;BirthTime&gt;&lt;/BirthTime&gt; &lt;/User&gt; &lt;User&gt; &lt;Name&gt;wit&lt;/Name&gt; &lt;BirthTime&gt;&lt;/BirthTime&gt; &lt;/User&gt; &lt;/UsersList&gt;</pre> <p>&nbsp;</p> <pre class="brush: xml">&lt;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&gt; &lt;xs:schema xmlns:xs=&#34;http://www.w3.org/2001/XMLSchema&#34; elementFormDefault=&#34;qualified&#34; attributeFormDefault=&#34;qualified&#34;&gt; &lt;xs:element name=&#34;UsersList&#34;&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element ref=&#34;User&#34; maxOccurs=&#34;unbounded&#34;/&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;xs:element name=&#34;User&#34;&gt; &lt;xs:complexType&gt; &lt;xs:sequence&gt; &lt;xs:element ref=&#34;Name&#34; /&gt; &lt;xs:element ref=&#34;BirthTime&#34; /&gt; &lt;/xs:sequence&gt; &lt;/xs:complexType&gt; &lt;/xs:element&gt; &lt;xs:element name = &#34;Name&#34;&gt; &lt;xs:simpleType&gt; &lt;xs:restriction base = &#34;xs:string&#34;&gt; &lt;xs:pattern value=&#34;[a-zA-Z0-9]*&#34;/&gt; &lt;/xs:restriction&gt; &lt;/xs:simpleType&gt; &lt;/xs:element&gt; &lt;xs:element name=&#34;BirthTime&#34;&gt; &lt;xs:simpleType&gt; &lt;xs:restriction base=&#34;xs:string&#34;&gt; &lt;xs:pattern value=&#34;(0[0-9]|[1][0-9]|2[0-3]):[0-5][0-9]&#34;/&gt; &lt;/xs:restriction&gt; &lt;/xs:simpleType&gt; &lt;/xs:element&gt; &lt;/xs:schema&gt;</pre> <p>Basically i want the birth time should allow &nbsp;empty value or value with HH:MM format. for HH:MM format i managed but unable to allow the emoty value. tried with nillable = true option. but not working. any sugestion please</p>http://www.aspforums.net/Threads/110178/XML-validation-for-accepting-Null-value-aswell-as-Time-HHMM/http://www.aspforums.net/Threads/110178/XML-validation-for-accepting-Null-value-aswell-as-Time-HHMM/Thu, 03 Nov 2016 01:59:18 GMTxml usage for dropdownlist in asp.net<p>how to create a xml page for a dropdownlist and use it in asp.net.</p>http://www.aspforums.net/Threads/170990/xml-usage-for-dropdownlist-in-aspnet/http://www.aspforums.net/Threads/170990/xml-usage-for-dropdownlist-in-aspnet/Wed, 30 May 2012 04:19:45 GMTXML Parsing Error: not well-formed<p>Hi sir,</p> <p>I am deploying&nbsp; website on server but it is showing error in local it is working fine.<br /><br /><strong>XML Parsing Error: not well-formed</strong><br /><strong>Location: file://///10.10.1.220/share/CozmoBlog/Default.aspx</strong><br />Line Number 1, Column 2:&lt;%@ Page Language="C#" AutoEventWireup="true" <span style="color: #ff0000;">MasterPageFile="MasterPage.master"&nbsp; CodeFile="Default.aspx.cs" Inherits="_Default" %&gt;<br /></span></p> <p><span style="color: #ff0000;"><strong><span style="color: #000000;">screenshot</span></strong><br /></span></p> <p><span style="color: #000000;"><a href="https://lh3.googleusercontent.com/-em4UmVw3L44/VPVQTeXSnmI/AAAAAAAABUE/Uu5GBHxhJTE/w958-h766-no/Untitled-1.jpg" target="_blank">https://lh3.googleusercontent.com/-em4UmVw3L44/VPVQTeXSnmI/AAAAAAAABUE/Uu5GBHxhJTE/w958-h766-no/Untitled-1.jpg</a></span></p> <p><span style="color: #000000;">regards</span></p> <p><span style="color: #000000;">firoz</span></p>http://www.aspforums.net/Threads/526264/XML-Parsing-Error-not-well-formed/http://www.aspforums.net/Threads/526264/XML-Parsing-Error-not-well-formed/Tue, 03 Mar 2015 01:27:33 GMTXML Parsing Error: no element found<p>My website was running perfectly without errors both on IIS and VS2013. Now today it stopped working in IIS 7 but working on VS2013. when i explore it using localhost/bsd then it gave this error :</p> <p>XML Parsing Error: no element found<br />Location: http://localhost/BSD/Builder.aspx<br />Line Number 1, Column 1:</p> <p>This error goes same for all page while accessing from IIS Localhost</p> <p><img src="http://i1286.photobucket.com/albums/a615/Emadkhanqai/xmlerror_zps7ed98a22.png" alt="" width="1024" height="575" /></p> <p>As you can see in picture , I surfed internet and found these two :</p> <p><a href="http://forums.asp.net/t/1004395.aspx?What+causes+this+XML+Parsing+Error+no+element+found">http://forums.asp.net/t/1004395.aspx?What+causes+this+XML+Parsing+Error+no+element+found</a></p> <p><br /><a href="http://www.c-sharpcorner.com/Forums/Thread/216997/how-to-resolve-xml-parsing-error-no-element-found.aspx">http://www.c-sharpcorner.com/Forums/Thread/216997/how-to-resolve-xml-parsing-error-no-element-found.aspx</a></p> <p>but none of them helped me.</p>http://www.aspforums.net/Threads/154356/XML-Parsing-Error-no-element-found/http://www.aspforums.net/Threads/154356/XML-Parsing-Error-no-element-found/Mon, 16 Feb 2015 08:20:37 GMTxamlparserexception was thrown on shinyredTheme silverlight-4 (vs2010)<p>Hi,</p> <p>&nbsp;I am new to silverlight( working in silverlight 4.0) and getting Xaml exception&nbsp; .</p> <p>&nbsp;&nbsp; xamlparserexception was thrown on shinyredTheme: cannot create an instance of "ShinyRedTheme" . (Error Details are as :)<br /><br />&nbsp; Invalid attribute value SearchMode for property Property. [Line: 3291 Position: 26]<br />&nbsp;&nbsp; at MS.Internal.XcpImports.CreateFromXaml(String xamlString, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers, Boolean expandTemplatesDuringParse)<br />&nbsp;&nbsp; at System.Windows.Controls.Theming.ResourceParser.Parse(Stream stream, Boolean checkTypes)<br />&nbsp;&nbsp; at System.Windows.Controls.Theming.Theme.LoadTheme(Stream themeResourceStream)<br />&nbsp;&nbsp; at System.Windows.Controls.Theming.Theme..ctor(Assembly themeAssembly, String themeResourceName)<br />&nbsp;&nbsp; at System.Windows.Controls.Theming.ShinyRedTheme..ctor()</p> <p>&nbsp;</p> <p>&nbsp;&nbsp;</p> <p>&nbsp; My Xaml is:-</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;controls:ChildWindow x:Class="BulkEmail.Bulk_Email.NewUserWindow"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlns:shinyRed="clr-namespace:System.Windows.Controls.Theming;assembly=System.Windows.Controls.Theming.ShinyRed"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Width="400" Height="300" <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Title="New User"&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Grid x:Name="LayoutRoot" ShowGridLines="True"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Grid.ColumnDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ColumnDefinition Width="*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Grid.ColumnDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Grid.RowDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Grid.RowDefinitions&gt;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Border Grid.Column="0" Grid.Row="0" x:Name="bdrNewUser"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;shinyRed:ShinyRedTheme&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Grid&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Grid.ColumnDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ColumnDefinition Width="3.5*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ColumnDefinition Width="6.5*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Grid.ColumnDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Grid.RowDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="2.5*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="Auto"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="10"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="Auto"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="3*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="1*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="30"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Grid.RowDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;StackPanel x:Name="HeaderStackPanel" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Center" HorizontalAlignment="Center"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBlock x:Name="HeaderText" Text="Please Enter Details" FontSize="15" Margin="2,2,2,2"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/StackPanel&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBlock x:Name="tbEmailID" Text="Email ID :" Grid.Row="1" Grid.Column="0" Margin="30,6,2,2"&gt;&lt;/TextBlock&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBlock x:Name="tbMobileNumber" Text="Mobile Number :" Grid.Row="3" Grid.Column="0" Margin="30,6,2,2"&gt;&lt;/TextBlock&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBox x:Name="txtEmailID" Grid.Row="1" MaxLength="30" Grid.Column="1" Width="200" HorizontalAlignment="Left" Height="25" Margin="2,2,2,2"&gt;&lt;/TextBox&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBox x:Name="txtMobileNumber" Grid.Row="3" MaxLength="10" Grid.Column="1" Width="200" HorizontalAlignment="Left" Height="25" Margin="2,2,2,2"&gt;&lt;/TextBox&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;StackPanel Grid.Row="4" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Orientation="Horizontal"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Button x:Name="btnSubmit" Cursor="Hand" Content="Submit" Height="25" Margin="2,2,2,2" Width="80" Click="btnSubmit_Click"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Button x:Name="btnCancel" Cursor="Hand" Content="Cancel" Height="25" Margin="2,2,2,2" Width="80" Click="btnCancel_Click"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/StackPanel&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;HyperlinkButton Content="Enter Verification Code." Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" Height="23" FontSize="12"&nbsp; Margin="2,2,2,2" Name="hprlnkVerification" HorizontalAlignment="Center" Click="hprlnkVerification_Click"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBlock x:Name="tbWait" Text="Please Wait..." Grid.Row="6" FontSize="14" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Visibility="Collapsed"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Grid&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/shinyRed:ShinyRedTheme&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Border&gt;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Border Grid.Column="0" Grid.Row="0" x:Name="bdrVerification" Visibility="Collapsed"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;shinyRed:ShinyRedTheme&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Grid&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Grid.ColumnDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ColumnDefinition Width="3.5*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ColumnDefinition Width="6.5*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Grid.ColumnDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Grid.RowDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="1.5*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="Auto"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="10"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="Auto"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="10"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="Auto"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="1.5*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;RowDefinition Height="1*"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Grid.RowDefinitions&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;StackPanel x:Name="HeaderStackPanelV" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Center" HorizontalAlignment="Center"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBlock x:Name="HeaderTextV" Text="Please Enter Verification Details" FontSize="15" Margin="2,2,2,2"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/StackPanel&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBlock x:Name="tbEmailIDV" Text="EmailID :" Grid.Row="1" Grid.Column="0" Margin="30,6,2,2"&gt;&lt;/TextBlock&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBlock x:Name="tbMobileNumberV" Text="Mobile Number :" Grid.Row="3" Grid.Column="0" Margin="30,6,2,2"&gt;&lt;/TextBlock&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBlock x:Name="tbVeriCode" Text="Verification Code :" Grid.Row="5" Grid.Column="0" Margin="30,6,2,2"&gt;&lt;/TextBlock&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBox x:Name="txtEmailIDV" Grid.Row="1" MaxLength="30" Grid.Column="1" Width="200" HorizontalAlignment="Left" Height="25" Margin="2,2,2,2"&gt;&lt;/TextBox&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBox x:Name="txtMobileNumberV" Grid.Row="3" MaxLength="10" Grid.Column="1" Width="200" HorizontalAlignment="Left" Height="25" Margin="2,2,2,2"&gt;&lt;/TextBox&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;TextBox x:Name="txtVeriCode" Grid.Row="5" MaxLength="10" Grid.Column="1" Width="200" HorizontalAlignment="Left" Height="25" Margin="2,2,2,2"&gt;&lt;/TextBox&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;StackPanel Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Center" Orientation="Horizontal"&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Button x:Name="btnSubmitV" Cursor="Hand" Content="Submit" Height="25" Margin="2,2,2,2" Width="80" Click="btnSubmitV_Click"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Button x:Name="btnCancelV" Cursor="Hand" Content="Cancel" Height="25" Margin="2,2,2,2" Width="80" Click="btnCancelV_Click"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/StackPanel&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;HyperlinkButton Content="New User" Grid.Row="7" Grid.Column="0" Grid.ColumnSpan="2" Height="23" FontSize="12"&nbsp; Margin="2,2,2,2" Name="hprlnkNewUser" HorizontalAlignment="Center" Click="hprlnkNewUser_Click"/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Grid&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/shinyRed:ShinyRedTheme&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Border&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/Grid&gt;<br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; <br />&lt;/controls:ChildWindow&gt;</p> <p>&nbsp;</p> <p>Thanks.</p>http://www.aspforums.net/Threads/154435/xamlparserexception-was-thrown-on-shinyredTheme-silverlight-4-vs2010/http://www.aspforums.net/Threads/154435/xamlparserexception-was-thrown-on-shinyredTheme-silverlight-4-vs2010/Mon, 21 May 2012 04:52:59 GMTWriting Nested If condition using C# in ASP.Net<p>hi</p> <p>I use if condition in behind code:</p> <pre class="brush: csharp">if (Ch3D.Checked == true) { &nbsp;&nbsp;&nbsp; _cmd.Parameters.AddWithValue(&#34;@GenrePre&#34;, &#34;1&#34;); } else { &nbsp;&nbsp;&nbsp; if (ChOscar.Checked == true) &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _cmd.Parameters.AddWithValue(&#34;@GenrePre&#34;, &#34;2&#34;); &nbsp;&nbsp;&nbsp; } &nbsp;&nbsp;&nbsp; else &nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (ChDobleF.Checked == true) &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _cmd.Parameters.AddWithValue(&#34;@GenrePre&#34;, &#34;3&#34;); &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } &nbsp;&nbsp;&nbsp; } }</pre> <p>as you see I used neasted <strong>if else condition</strong> is there other code that I use it instead of neasted if else contition?</p> <p>best regards</p> <p>neda</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/816715/Writing-Nested-If-condition-using-C-in-ASPNet/http://www.aspforums.net/Threads/816715/Writing-Nested-If-condition-using-C-in-ASPNet/Thu, 21 Jul 2016 07:45:07 GMTWPF MVVM Pattern<p>Hi All,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have to create one web form( Example Customer Details) using WPF MVVM Pattern,I need one clear understand of each layer.We need to Perform Validation,Data Error in View and also use Grid View or list view data control to perform insert,Delete,Update and Search Operation.I am very new to WPF MVVM.Can any one help me out !!! </p>http://www.aspforums.net/Threads/129962/WPF-MVVM-Pattern/http://www.aspforums.net/Threads/129962/WPF-MVVM-Pattern/Wed, 01 Jan 2014 23:29:48 GMTWithout effecting Quality Reduce Image File Size While resizing Saving to Folder in ASP.Net<p>Sir,</p> <p>I have uploaded a .jpg image and resized as Small and Large thumbnail. The small image is (135 X 173) but after resizing the small thumbnail image file size is of 40.8 KB. And mostly all images (around 64) thumbnails having file size more than 40 KB. Due to which thmubnails taking lot of time to get display.</p> <p>Is there a way through which we can reduce the image file size upto 8 to 12 kb, but without effecting image quaity??</p> <p>below is the source code that i am using for resizing an image:</p> <p>&nbsp;</p> <p>&nbsp;</p> <pre class="brush: vb">If FileUpload1.HasFile Then Dim stream As Stream = FileUpload1.PostedFile.InputStream Dim x As String = IO.Path.GetExtension(FileUpload1.FileName).ToLower If x = &#34;.jpg&#34; Or x = &#34;.jpeg&#34; Then Dim image As New Bitmap(stream) Dim imgwidth As Integer Dim imgheight As Integer Dim picwidth As Integer Dim picheight As Integer Dim aspect As Double Dim imgwidth1 As Integer Dim imgheight1 As Integer Dim picwidth1 As Integer Dim picheight1 As Integer Dim aspect1 As Double picwidth = 135 &#39;for small image picheight = 300 picwidth1 = 500 &#39;for big image picheight1 = 500 imgwidth = image.Width imgheight = image.Height imgwidth1 = image.Width imgheight1 = image.Height If imgwidth &gt; picwidth Then aspect = picwidth / imgwidth imgwidth = imgwidth * aspect imgheight = imgheight * aspect End If If imgheight &gt; picheight Then aspect = picheight / imgheight imgwidth = imgwidth * aspect imgheight = imgheight * aspect End If If imgwidth1 &gt; picwidth1 Then aspect1 = picwidth1 / imgwidth1 imgwidth1 = imgwidth1 * aspect1 imgheight1 = imgheight1 * aspect1 End If If imgheight1 &gt; picheight1 Then aspect1 = picheight1 / imgheight1 imgwidth1 = imgwidth1 * aspect1 imgheight1 = imgheight1 * aspect1 End If filename = DateTime.Now.Year &amp; &#34;-&#34; &amp; DateTime.Now.Month &amp; &#34;-&#34; &amp; DateTime.Now.Day &amp; &#34;-&#34; &amp; DateTime.Now.Hour &amp; &#34;-&#34; &amp; DateTime.Now.Minute &amp; &#34;-&#34; &amp; DateTime.Now.Second &amp; &#34;-&#34; &amp; DateTime.Now.Millisecond &amp; x &#39;--Save small image Dim target As New Bitmap(imgwidth, imgheight) Dim graphic As Graphics = Graphics.FromImage(target) graphic.DrawImage(image, 0, 0, imgwidth, imgheight) target.Save(Server.MapPath(&#34;photos/small/&#34; &amp; filename)) &#39;--Save large image Dim target1 As New Bitmap(imgwidth1, imgheight1) Dim graphic1 As Graphics = Graphics.FromImage(target1) graphic1.DrawImage(image, 0, 0, imgwidth1, imgheight1) target1.Save(Server.MapPath(&#34;photos/semi/&#34; &amp; filename)) &#39;save to database Dim con As New SqlConnection(constr) Dim cmd As New SqlCommand(&#34;insert into ImageTable(Picture1) values(@Picture1)&#34;, con) cmd.Parameters.AddWithValue(&#34;@Picture1&#34;, filename) con.Open() cmd.ExecuteNonQuery() con.Close() End If End If</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/773017/Without-effecting-Quality-Reduce-Image-File-Size-While-resizing-Saving-to-Folder-in-ASPNet/http://www.aspforums.net/Threads/773017/Without-effecting-Quality-Reduce-Image-File-Size-While-resizing-Saving-to-Folder-in-ASPNet/Sat, 31 Aug 2013 02:26:04 GMT