<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://aspadvice.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>GetWhatYouWant</title><link>http://aspadvice.com/blogs/getwhatyouwant/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 (Build: 60809.935)</generator><item><title>SQL - Alternative to FOR XML PATH</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx</link><pubDate>Fri, 08 Jan 2010 08:19:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:58309</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/58309.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=58309</wfw:commentRss><description>&lt;p&gt;If you try to use the FOR XML PATH to concate multiple rows into one over a huge set of records, you will eventually hit the very slow performance issue. One way to overcome this issue is to create a function to help you concatenate the value as below&lt;/p&gt;&lt;p&gt;Calling SQL&lt;br /&gt;-----------&lt;br /&gt;SELECT ID, dbo.Concatenate_Mulitple_Columns(ID)&lt;br /&gt;FROM TableName1&lt;/p&gt;&lt;p&gt;Function&lt;br /&gt;--------&lt;br /&gt;CREATE FUNCTION Concatenate_Mulitple_Columns&lt;br /&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @ID INT&lt;br /&gt;)&lt;br /&gt;RETURNS VARCHAR(1000) --Amend this to the desired length&lt;br /&gt;AS&lt;br /&gt;BEGIN&lt;/p&gt;&lt;p&gt;DECLARE @Conc AS VARCHAR(1000)&lt;br /&gt;SET @Conc = &amp;#39;&amp;#39;&lt;/p&gt;&lt;p&gt;SELECT @Conc = Coalesce(@Conc + &amp;#39;, &amp;#39;, &amp;#39;&amp;#39;) + ColumnName&lt;br /&gt;FROM TableName2&lt;br /&gt;WHERE ID = @ID&lt;/p&gt;&lt;p&gt;RETURN @Conc&lt;/p&gt;&lt;p&gt;END&lt;br /&gt;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx&amp;amp;;subject=SQL+-+Alternative+to+FOR+XML+PATH" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx&amp;amp;;title=SQL+-+Alternative+to+FOR+XML+PATH" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx&amp;amp;title=SQL+-+Alternative+to+FOR+XML+PATH" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx&amp;amp;;title=SQL+-+Alternative+to+FOR+XML+PATH" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx&amp;amp;;title=SQL+-+Alternative+to+FOR+XML+PATH&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2010/01/08/SQL-_2D00_-Alternative-to-FOR-XML-PATH.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=58309" width="1" height="1"&gt;</description></item><item><title>ASP.Net - Window form application change / set start up form</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx</link><pubDate>Wed, 16 Dec 2009 07:54:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:57855</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/57855.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=57855</wfw:commentRss><description>&lt;p&gt;1. Find the .cs file under the project i.e. program.cs or class1.cs&lt;/p&gt;&lt;p&gt;2. Find the Application.Run(new Form1()); line&lt;/p&gt;&lt;p&gt;3. Edit the Form1 to Form2 (your desired new startup window form name), done&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx&amp;amp;;subject=ASP.Net+-+Window+form+application+change+%2f+set+start+up+form" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx&amp;amp;;title=ASP.Net+-+Window+form+application+change+%2f+set+start+up+form" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx&amp;amp;title=ASP.Net+-+Window+form+application+change+%2f+set+start+up+form" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx&amp;amp;;title=ASP.Net+-+Window+form+application+change+%2f+set+start+up+form" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx&amp;amp;;title=ASP.Net+-+Window+form+application+change+%2f+set+start+up+form&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/16/ASP.Net-_2D00_-Window-form-application-change-_2F00_-set-start-up-form.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=57855" width="1" height="1"&gt;</description></item><item><title>Good tools</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx</link><pubDate>Thu, 10 Dec 2009 08:07:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:57734</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/57734.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=57734</wfw:commentRss><description>&lt;p&gt;There are variety of free tools out there for you to choose of.&lt;br /&gt;Listed below, are all the tools which i found useful that can enhance your performance during your development as well as in daily life&lt;/p&gt;&lt;p&gt;1.&amp;nbsp;ScreenHunter&lt;br /&gt;&amp;nbsp;Just a simple F6 key you can capture the picture on the screen&lt;br /&gt;&amp;nbsp;Download: &lt;a href="http://wisdom-soft.com/products/screenhunter.htm"&gt;http://wisdom-soft.com/products/screenhunter.htm&lt;/a&gt;&lt;/p&gt;&lt;p&gt;2.&amp;nbsp;HotKeyz&lt;br /&gt;&amp;nbsp;Configure your shortcut keys to open programs&lt;br /&gt;&amp;nbsp;Download: &lt;a href="http://www.skynergy.com/hotkeyz.html"&gt;http://www.skynergy.com/hotkeyz.html&lt;/a&gt;&lt;/p&gt;&lt;p&gt;3.&amp;nbsp;Notepad++&lt;br /&gt;&amp;nbsp;Dont like to use notepad? Cannot undo more than one steps? Use this tools. Able to open many tabs in on environment&lt;br /&gt;&amp;nbsp;Download: &lt;a href="http://notepad-plus.sourceforge.net/uk/download.php"&gt;http://notepad-plus.sourceforge.net/uk/download.php&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;4.&amp;nbsp;Taskbar Shuffle&lt;br /&gt;&amp;nbsp;Sometime you dont want the tabs in your taskbar to be appended at the back, instead you want to shiff it to the front or middle. This tools offers great feasibility to shifting icons and tabs&lt;br /&gt;&amp;nbsp;Download: &lt;a href="http://download.cnet.com/Taskbar-Shuffle/3000-2072_4-10531265.html"&gt;http://download.cnet.com/Taskbar-Shuffle/3000-2072_4-10531265.html&lt;/a&gt;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx&amp;amp;;subject=Good+tools" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx&amp;amp;;title=Good+tools" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx&amp;amp;title=Good+tools" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx&amp;amp;;title=Good+tools" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx&amp;amp;;title=Good+tools&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/10/Good-tools.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=57734" width="1" height="1"&gt;</description></item><item><title>.Net Compressing file using SharpZipLib</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx</link><pubDate>Wed, 09 Dec 2009 05:27:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:57712</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/57712.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=57712</wfw:commentRss><description>&lt;p&gt;If you want to compress or decompress a file,&amp;nbsp;SharpZipLibis a good alternative apart the build-in GZipStream / DeflateStream (2.0 &amp;amp; above) in System.IO.Compression. If you are using .net 1.0/1.1, you can find this library very useful since there is no build in compression in those frameworks.&lt;/p&gt;&lt;p&gt;download SharpZipLib: &lt;a href="http://sharpdevelop.net/OpenSource/SharpZipLib/Download.aspx"&gt;http://sharpdevelop.net/OpenSource/SharpZipLib/Download.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In this scenario, i wrote a console app to generated data into an excel. The file size came out to about 25M, which is impossible for me to send the file out via email. therefore i need to compress the file, here is an example on how you can compress a file. &lt;/p&gt;&lt;p&gt;FileStream ostream;&lt;br /&gt;byte[] obuffer;&lt;br /&gt;string outPath = @&amp;quot;C:\\excel.zip&amp;quot;;&lt;br /&gt;string inPath = @&amp;quot;C:\\excel.xls&amp;quot;;&lt;br /&gt;ZipOutputStream oZipStream = new ZipOutputStream(File.Create(outPath)); // create zip stream&lt;br /&gt;oZipStream.SetLevel(5);&lt;br /&gt;ZipEntry oZipEntry;&lt;br /&gt;oZipEntry = new ZipEntry(Path.GetFileName(inPath));&lt;br /&gt;&lt;strong&gt;oZipEntry.Size = new FileInfo(inPath).Length;&lt;/strong&gt;&lt;br /&gt;oZipStream.PutNextEntry(oZipEntry);&lt;br /&gt;ostream = File.OpenRead(inPath);&lt;br /&gt;obuffer = new byte[ostream.Length];&lt;br /&gt;ostream.Read(obuffer, 0, obuffer.Length);&lt;br /&gt;oZipStream.Write(obuffer, 0, obuffer.Length);&lt;br /&gt;oZipStream.Finish();&lt;br /&gt;oZipStream.Close();&lt;br /&gt;&lt;/p&gt;&lt;p&gt;note the bolded text, you need to include this line of code,&amp;nbsp;especially when you are using .net 1.0/1.1 because if try to extract out the file&amp;nbsp;you compressed using window defaulted, you will get an error like &amp;quot;the compressed (zipped) Folder is invalid or corrunpted (Note: you will getting the error only when you are trying to extract using the windows default extraction tools, if you using winrar or 7zip i suppose you are able to extract without that line of code).&lt;/p&gt;&lt;p&gt;I encountered the error above when i was trying to extract the file, thanks to: &lt;a href="http://blog.tylerholmes.com/2008/12/windows-xp-unzip-errors-with.html"&gt;http://blog.tylerholmes.com/2008/12/windows-xp-unzip-errors-with.html&lt;/a&gt;&amp;nbsp;which help me solved the problem&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx&amp;amp;;subject=.Net+Compressing+file+using+SharpZipLib" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx&amp;amp;;title=.Net+Compressing+file+using+SharpZipLib" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx&amp;amp;title=.Net+Compressing+file+using+SharpZipLib" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx&amp;amp;;title=.Net+Compressing+file+using+SharpZipLib" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx&amp;amp;;title=.Net+Compressing+file+using+SharpZipLib&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/09/.Net-Compressing-file-using-SharpZipLib.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=57712" width="1" height="1"&gt;</description></item><item><title>ASP.Net - Javascript onChange does not trigger AutoPostBack</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx</link><pubDate>Tue, 08 Dec 2009 01:30:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:57690</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/57690.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=57690</wfw:commentRss><description>&lt;p&gt;If you have an AutoPostBack set to true inorder to fire some code behind methods but before the AutoPostBack event you want to check the selected value to do something else before the postback event occur, here&amp;#39;s the code :&lt;/p&gt;&lt;p&gt;&amp;lt;asp:dropdownlist id=&amp;quot;ddl1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;nbsp; AutoPostBack=&amp;quot;True&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;script language=&amp;quot;javascript&amp;quot; event=&amp;quot;onchange&amp;quot; for=&amp;quot;ddl1&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;if (document.yourformnamehere.ddl1.value == &amp;quot;ABC&amp;quot;){&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;location.href = &amp;quot;page2.aspx&amp;quot;;&lt;br /&gt;&amp;nbsp;}else{&lt;br /&gt;&amp;nbsp;&amp;nbsp;this.form.submit();&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;return true;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;In this case, &lt;br /&gt;1)&amp;nbsp;i have a dropdownlist which AutoPostBack set to true&lt;br /&gt;2)&amp;nbsp;but before the postback event triggered i want to check whether the value selected is it &amp;quot;ABC&amp;quot;&lt;br /&gt;3)&amp;nbsp;if yes, redirect the page to page2.aspx directly&lt;br /&gt;4)&amp;nbsp;if no, call the form.submit() to cause the postback&lt;/p&gt;&lt;p&gt;

			if (document.Query.productLineDL.value == "Voice"){			
				location.href = "QueryII.aspx";
			}else{
				this.form.submit();
			}
			return true;
		

			if (document.Query.productLineDL.value == "Voice"){			
				location.href = "QueryII.aspx";
			}else{
				this.form.submit();
			}
			return true;
		&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx&amp;amp;;subject=ASP.Net+-+Javascript+onChange+does+not+trigger+AutoPostBack" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx&amp;amp;;title=ASP.Net+-+Javascript+onChange+does+not+trigger+AutoPostBack" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx&amp;amp;title=ASP.Net+-+Javascript+onChange+does+not+trigger+AutoPostBack" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx&amp;amp;;title=ASP.Net+-+Javascript+onChange+does+not+trigger+AutoPostBack" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx&amp;amp;;title=ASP.Net+-+Javascript+onChange+does+not+trigger+AutoPostBack&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/12/08/ASP.Net-_2D00_-Javascript-onChange-does-not-trigger-AutoPostBack.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=57690" width="1" height="1"&gt;</description></item><item><title>ASP.NET - Class file get Session, Application and QueryString </title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx</link><pubDate>Mon, 23 Nov 2009 02:49:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:57448</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/57448.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=57448</wfw:commentRss><description>&lt;p&gt;&lt;u&gt;Session&lt;/u&gt;&lt;/p&gt;&lt;p&gt;System.Web.HttpContext.Current.Session[&amp;quot;name&amp;quot;]&lt;/p&gt;&lt;p&gt;&lt;u&gt;Application&lt;/u&gt;&lt;/p&gt;&lt;p&gt;System.Web.HttpContext.Current.Application[&amp;quot;name&amp;quot;]&lt;/p&gt;&lt;p&gt;&lt;u&gt;QueryString&lt;/u&gt;&lt;/p&gt;&lt;p&gt;System.Web.HttpContext.Current.Request.QueryString[&amp;quot;name&amp;quot;]&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx&amp;amp;;subject=ASP.NET+-+Class+file+get+Session%2c+Application+and+QueryString+" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx&amp;amp;;title=ASP.NET+-+Class+file+get+Session%2c+Application+and+QueryString+" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx&amp;amp;title=ASP.NET+-+Class+file+get+Session%2c+Application+and+QueryString+" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx&amp;amp;;title=ASP.NET+-+Class+file+get+Session%2c+Application+and+QueryString+" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx&amp;amp;;title=ASP.NET+-+Class+file+get+Session%2c+Application+and+QueryString+&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/23/ASP.NET-_2D00_-Class-file-get-Session_2C00_-Application-and-QueryString-.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=57448" width="1" height="1"&gt;</description></item><item><title>EXCEL - Simple Date format</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx</link><pubDate>Wed, 18 Nov 2009 03:03:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:57378</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/57378.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=57378</wfw:commentRss><description>&lt;p&gt;DATE &amp;amp; TIME&lt;/p&gt;&lt;p&gt;=(DATE(YEAR(NOW()), MONTH(NOW()), DAY(NOW())) + TIME(HOUR(NOW()),MINUTE(NOW()),SECOND(NOW())))&lt;/p&gt;&lt;p&gt;&amp;nbsp;Calculate working days different between two dates &lt;/p&gt;&lt;p&gt;=NETWORKDAYS(startdate,enddate)&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx&amp;amp;;subject=EXCEL+-+Simple+Date+format" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx&amp;amp;;title=EXCEL+-+Simple+Date+format" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx&amp;amp;title=EXCEL+-+Simple+Date+format" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx&amp;amp;;title=EXCEL+-+Simple+Date+format" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx&amp;amp;;title=EXCEL+-+Simple+Date+format&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/11/18/EXCEL-_2D00_-Simple-Date-format.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=57378" width="1" height="1"&gt;</description></item><item><title>SQL - Multiple rows into single column</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx</link><pubDate>Wed, 20 May 2009 10:16:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:53190</guid><dc:creator>mo meng</dc:creator><slash:comments>1</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/53190.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=53190</wfw:commentRss><description>&lt;table style="background-color:white;border:black 1px solid;"&gt;&lt;tr&gt;&lt;td&gt;&lt;p&gt;&lt;font color="#0000ff"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;SELECT a.id,&lt;/p&gt;&lt;p&gt;concatename = substring((SELECT ( &amp;#39;, &amp;#39; + name )&lt;/p&gt;&lt;p&gt;FROM table b&lt;/p&gt;&lt;p&gt;WHERE a.id = b.id&lt;/p&gt;&lt;p&gt;ORDER BY id&lt;/p&gt;&lt;p&gt;FOR XML PATH( &amp;#39;&amp;#39; ) &lt;br /&gt;), 3, 1000 )FROM table a&lt;/p&gt;&lt;p&gt;GROUP BY id&amp;nbsp;&lt;/p&gt;&lt;p&gt;refer more at here:&lt;/p&gt;&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/SQLExamples/Wiki/View.aspx?title=createacommadelimitedlist"&gt;http://code.msdn.microsoft.com/SQLExamples/Wiki/View.aspx?title=createacommadelimitedlist&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx&amp;amp;;subject=SQL+-+Multiple+rows+into+single+column" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx&amp;amp;;title=SQL+-+Multiple+rows+into+single+column" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx&amp;amp;title=SQL+-+Multiple+rows+into+single+column" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx&amp;amp;;title=SQL+-+Multiple+rows+into+single+column" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx&amp;amp;;title=SQL+-+Multiple+rows+into+single+column&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/20/SQL-_2D00_-Multiple-rows-into-single-column.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=53190" width="1" height="1"&gt;</description></item><item><title>ASP.NET - GridView RowCommand get row index</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx</link><pubDate>Fri, 15 May 2009 04:48:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:53047</guid><dc:creator>mo meng</dc:creator><slash:comments>10</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/53047.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=53047</wfw:commentRss><description>&lt;p&gt;if you did assign a value into the&amp;nbsp;CommandArgument e.g. below, you need to use the&amp;nbsp;#1 methond else #2&lt;/p&gt;&lt;p&gt;&amp;lt;ItemTemplate&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;asp:ImageButton ID=&amp;quot;imgUpdate&amp;quot; runat=&amp;quot;server&amp;quot; CommandName=&amp;quot;Update1&amp;quot; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CommandArgument=&amp;#39;&amp;lt;%# Eval(&amp;quot;id&amp;quot;) %&amp;gt;&amp;#39; ImageUrl=&amp;quot;~/icons/Update001 (2).gif&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/ItemTemplate&amp;gt;&lt;/p&gt;&lt;p&gt;#1&lt;/p&gt;&lt;p&gt;VB&lt;/p&gt;&lt;p&gt;Dim selectedRow As GridViewRow = DirectCast(DirectCast(e.CommandSource, LinkButton).NamingContainer, GridViewRow)&lt;br /&gt;Dim intRowIndex As Integer = Convert.ToInt32(selectedRow.RowIndex)&lt;br /&gt;GridView.Rows(intRowIndex).BackColor = System.Drawing.Color.Blue&lt;/p&gt;&lt;p&gt;C#&lt;/p&gt;&lt;p&gt;GridViewRow selectedRow = (GridViewRow)((ImageButton)e.CommandSource).NamingContainer;&lt;br /&gt;int intRowIndex = Convert.ToInt32(selectedRow.RowIndex);&lt;br /&gt;GridView.Rows[intRowIndex].BackColor = System.Drawing.Color.Blue;&lt;/p&gt;&lt;p&gt;or #2&lt;/p&gt;&lt;p&gt;VB&lt;/p&gt;&lt;p&gt;Dim selectedRow As GridViewRow = GridView.Rows(Convert.ToInt32(e.CommandArgument))&lt;br /&gt;selectedRow.BackColor = System.Drawing.Color.Blue&lt;/p&gt;&lt;p&gt;C#&lt;/p&gt;&lt;p&gt;GridViewRow selectedRow = GridView.Rows[Convert.ToInt32(e.CommandArgument)];&lt;br /&gt;selectedRow.BackColor = System.Drawing.Color.Blue;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx&amp;amp;;subject=ASP.NET+-+GridView+RowCommand+get+row+index" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx&amp;amp;;title=ASP.NET+-+GridView+RowCommand+get+row+index" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx&amp;amp;title=ASP.NET+-+GridView+RowCommand+get+row+index" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx&amp;amp;;title=ASP.NET+-+GridView+RowCommand+get+row+index" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx&amp;amp;;title=ASP.NET+-+GridView+RowCommand+get+row+index&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/15/ASP.NET-_2D00_-GridView-RowCommand-get-row-index.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=53047" width="1" height="1"&gt;</description></item><item><title>ASP.NET - Javascript and Validator</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx</link><pubDate>Wed, 13 May 2009 05:24:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:52956</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/52956.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=52956</wfw:commentRss><description>&lt;font size="2"&gt;&lt;p&gt;when you need to call a javascript with&amp;nbsp;a validator together, somehow the&amp;nbsp;validator get passed by and the page&amp;nbsp;get a refresh before the validator&amp;#39;s message shows up. to cater for this look at the example below where i include the Page_ClientValidate() checking in the javascript&lt;/p&gt;&lt;p&gt;&amp;lt;script type=&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;text/javascript&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Validation()&lt;p&gt;{&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; tempString = document.getElementById(&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%=TextBox1.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).value;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;text/javascript&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Validation()&lt;p&gt;{&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; tempString = document.getElementById(&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%=TextBox1.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).value;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; Validation()&lt;p&gt;{&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; tempString = document.getElementById(&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%=TextBox1.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).value;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; tempString = document.getElementById(&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%=TextBox1.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).value;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;p&gt;if&lt;font size="2" color="#000000"&gt; (tempString != &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;a&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt; &amp;amp; Page_ClientValidate())&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#000000"&gt; (tempString != &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;a&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font color="#000000"&gt; &amp;amp; Page_ClientValidate())&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;{alert(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;a&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;else&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; { &lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;a&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;else&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; { &lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;false&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;else&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; { &lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;else&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; { &lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;return&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;true&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;p&gt;&amp;lt;/&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;script&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;script&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;p&gt;&amp;lt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;TextBox&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#000000"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;txtUserId&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#000000"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;TextBox&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;TextBox&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#000000"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;txtUserId&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#000000"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;TextBox&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;RequiredFieldValidator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;RequiredFieldValidator&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ControlToValidate&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;txtUserId&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ErrorMessage&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;Please enter a user Id&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Display&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;Dynamic&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;RequiredFieldValidator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;RequiredFieldValidator&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ControlToValidate&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;txtUserId&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ErrorMessage&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;Please enter a user Id&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Display&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;Dynamic&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;Button&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;Button2&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;OnClientClick&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;return Validation()&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Text&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;Button&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;Button&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;Button2&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;OnClientClick&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;return Validation()&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Text&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;Button&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx&amp;amp;;subject=ASP.NET+-+Javascript+and+Validator" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx&amp;amp;;title=ASP.NET+-+Javascript+and+Validator" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx&amp;amp;title=ASP.NET+-+Javascript+and+Validator" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx&amp;amp;;title=ASP.NET+-+Javascript+and+Validator" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx&amp;amp;;title=ASP.NET+-+Javascript+and+Validator&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/13/ASP.NET-_2D00_-Javascript-and-Validator.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=52956" width="1" height="1"&gt;</description></item><item><title>ASP.NET - Copy file to another folder</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx</link><pubDate>Mon, 11 May 2009 01:50:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:52867</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/52867.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=52867</wfw:commentRss><description>&lt;p&gt;foreach (string item in Directory.GetFiles(Server.MapPath(&amp;quot;~/PdfFolder/&amp;quot;), &amp;quot;*.*&amp;quot;)) &lt;br /&gt;{&lt;/p&gt;&lt;p&gt;File.Copy(item, Server.MapPath(&amp;quot;~/Destination/&amp;quot;) + Path.GetFileName(item), true); &lt;br /&gt;File.Delete(item);&lt;/p&gt;&lt;p&gt;}&lt;br /&gt;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx&amp;amp;;subject=ASP.NET+-+Copy+file+to+another+folder" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx&amp;amp;;title=ASP.NET+-+Copy+file+to+another+folder" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx&amp;amp;title=ASP.NET+-+Copy+file+to+another+folder" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx&amp;amp;;title=ASP.NET+-+Copy+file+to+another+folder" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx&amp;amp;;title=ASP.NET+-+Copy+file+to+another+folder&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/11/ASP.NET-_2D00_-Copy-file-to-another-folder.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=52867" width="1" height="1"&gt;</description></item><item><title>ASP.NET - INPUT button fire javascript and serverclick</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx</link><pubDate>Sat, 09 May 2009 12:05:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:52837</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/52837.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=52837</wfw:commentRss><description>&lt;p&gt;if you encounter problem when you want to use an html buttom control and you wish to fire both javascript and serverclick event, you will notice that you only can fire the javascript event ONLY. inorder for you to fire both the javascript and serverclick event you can try to change the type of input to submit&lt;/p&gt;&lt;p&gt;html&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;function validate()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (document.getElementById(&amp;#39;TextBox1&amp;#39;).value ==&amp;quot;&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert(&amp;quot;Enter value into textbox&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.getElementById(&amp;#39;TextBox1&amp;#39;).focus()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return false;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return true;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;asp:textbox id=&amp;quot;TextBox1&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;&amp;lt;/asp:textbox&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;lt;input id=&amp;quot;Button1&amp;quot; runat=&amp;quot;server&amp;quot; onclick=&amp;quot;return validate();&amp;quot; type=&amp;quot;submit&amp;quot; value=&amp;quot;button&amp;quot; onserverclick=&amp;quot;Button1_ServerClick&amp;quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;code&lt;br /&gt;protected void Button1_ServerClick(object sender, EventArgs e)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write(&amp;quot;B&amp;quot;);&lt;br /&gt;}&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx&amp;amp;;subject=ASP.NET+-+INPUT+button+fire+javascript+and+serverclick" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx&amp;amp;;title=ASP.NET+-+INPUT+button+fire+javascript+and+serverclick" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx&amp;amp;title=ASP.NET+-+INPUT+button+fire+javascript+and+serverclick" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx&amp;amp;;title=ASP.NET+-+INPUT+button+fire+javascript+and+serverclick" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx&amp;amp;;title=ASP.NET+-+INPUT+button+fire+javascript+and+serverclick&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/09/ASP.NET-_2D00_-INPUT-button-fire-javascript-and-serverclick.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=52837" width="1" height="1"&gt;</description></item><item><title>ASP.NET - JavaScript radiobutton div visibility</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx</link><pubDate>Tue, 05 May 2009 06:19:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:52657</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/52657.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=52657</wfw:commentRss><description>&lt;p&gt;&lt;font color="#0000ff"&gt;function&lt;/font&gt;&lt;font size="2"&gt; displayPanelReason() {&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;block&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; displayPanelUpdateTicketIT() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;block&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; hideDIV() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;block&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; displayPanelUpdateTicketIT() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;block&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; hideDIV() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; displayPanelUpdateTicketIT() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;block&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; hideDIV() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; displayPanelUpdateTicketIT() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;block&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; hideDIV() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;block&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; hideDIV() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;block&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; hideDIV() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; hideDIV() {&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelReason.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;document.getElementById(&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;#39;&amp;lt;%= PanelUpdateTicketIT.ClientID %&amp;gt;&amp;#39;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).style.display = &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;none&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;/font&gt;&lt;font size="2"&gt; &lt;p&gt;}&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;p&gt;&amp;lt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;RadioButton&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;RadioButton1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;GroupName&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;rbtn&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;onclick&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;displayPanelReason()&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Text&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;PanelReason&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;RadioButton&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;RadioButton1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;GroupName&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;rbtn&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;onclick&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;displayPanelReason()&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Text&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;PanelReason&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;RadioButton&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;RadioButton2&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;GroupName&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;rbtn&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;onclick&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;displayPanelUpdateTicketIT()&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Text&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;PanelUpdateTicketIT&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;RadioButton&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;RadioButton2&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;GroupName&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;rbtn&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;onclick&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;displayPanelUpdateTicketIT()&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Text&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;PanelUpdateTicketIT&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;RadioButton&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;RadioButton3&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;GroupName&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;rbtn&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;onclick&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;hideDIV()&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Text&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;None&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;asp&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;:&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;RadioButton&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;ID&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;RadioButton3&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;GroupName&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;rbtn&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;onclick&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;hideDIV()&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;Text&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;None&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;/&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;div&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;id&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;PanelReason&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;style&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;display&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;:&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;none&amp;quot;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;PanelReason&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;div&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;div&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;id&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;PanelReason&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;style&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;display&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;:&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;none&amp;quot;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;PanelReason&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;div&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;p&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;div&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;id&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;PanelUpdateTicketIT&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;style&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;display&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;:&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;none&amp;quot;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;PanelUpdateTicketIT&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;div&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;div&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;id&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;PanelUpdateTicketIT&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;runat&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;style&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;=&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#ff0000"&gt;&lt;font size="2" color="#ff0000"&gt;display&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;:&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;none&amp;quot;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;PanelUpdateTicketIT&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;lt;/&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;div&lt;/font&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx&amp;amp;;subject=ASP.NET+-+JavaScript+radiobutton+div+visibility" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx&amp;amp;;title=ASP.NET+-+JavaScript+radiobutton+div+visibility" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx&amp;amp;title=ASP.NET+-+JavaScript+radiobutton+div+visibility" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx&amp;amp;;title=ASP.NET+-+JavaScript+radiobutton+div+visibility" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx&amp;amp;;title=ASP.NET+-+JavaScript+radiobutton+div+visibility&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/05/05/ASP.NET-_2D00_-JavaScript-radiobutton-div-visibility.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=52657" width="1" height="1"&gt;</description></item><item><title>ASP.NET - alert</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx</link><pubDate>Thu, 30 Apr 2009 03:34:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:52574</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/52574.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=52574</wfw:commentRss><description>&lt;font size="2"&gt;&lt;p&gt;ClientScript.RegisterStartupScript(&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;typeof&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font size="2" color="#2b91af"&gt;&lt;font size="2" color="#2b91af"&gt;Page&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;), &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;Startup&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;,&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;typeof&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;(&lt;/font&gt;&lt;font size="2" color="#2b91af"&gt;&lt;font size="2" color="#2b91af"&gt;Page&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;), &lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&amp;quot;Startup&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;,&lt;/font&gt;&lt;font size="2" color="#a31515"&gt;&lt;font size="2" color="#a31515"&gt;&lt;p&gt;&amp;quot;&amp;lt;script&amp;gt;alert(&amp;#39;Put your message here&amp;#39;)&amp;lt;/script&amp;gt;&amp;quot;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;p&gt;&lt;font size="2"&gt;use typeof instead of&amp;nbsp;&lt;font color="#0000ff"&gt;Me&lt;/font&gt;&lt;font size="2"&gt;.GetType()&lt;/font&gt; or &lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;this&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.GetType()&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;&lt;a href="http://blogs.ipona.com/james/archive/2006/10/03/6710.aspx"&gt;http://blogs.ipona.com/james/archive/2006/10/03/6710.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx&amp;amp;;subject=ASP.NET+-+alert" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx&amp;amp;;title=ASP.NET+-+alert" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx&amp;amp;title=ASP.NET+-+alert" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx&amp;amp;;title=ASP.NET+-+alert" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx&amp;amp;;title=ASP.NET+-+alert&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-alert.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=52574" width="1" height="1"&gt;</description></item><item><title>ASP.NET - datetime format</title><link>http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx</link><pubDate>Thu, 30 Apr 2009 00:57:00 GMT</pubDate><guid isPermaLink="false">e709ad4c-0c15-48eb-915e-c462c6e85445:52572</guid><dc:creator>mo meng</dc:creator><slash:comments>0</slash:comments><comments>http://aspadvice.com/blogs/getwhatyouwant/comments/52572.aspx</comments><wfw:commentRss>http://aspadvice.com/blogs/getwhatyouwant/commentrss.aspx?PostID=52572</wfw:commentRss><description>&lt;p&gt;Response.Write(&amp;quot;&amp;lt;br /&amp;gt;today:&amp;quot; + DateTime.Now.ToShortTimeString() + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;); //today:8:56 AM &lt;/p&gt;&lt;p&gt;Response.Write(&amp;quot;&amp;lt;br /&amp;gt;day:&amp;quot; + DateTime.Now.ToString(&amp;quot;dd&amp;quot;) + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;); //day:30 &lt;/p&gt;&lt;p&gt;Response.Write(&amp;quot;&amp;lt;br /&amp;gt;month:&amp;quot; + DateTime.Now.ToString(&amp;quot;MM&amp;quot;) + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;); //month:04 &lt;/p&gt;&lt;p&gt;Response.Write(&amp;quot;&amp;lt;br /&amp;gt;month:&amp;quot; + DateTime.Now.ToString(&amp;quot;MMM&amp;quot;) + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;); //month:Apr &lt;/p&gt;&lt;p&gt;Response.Write(&amp;quot;&amp;lt;br /&amp;gt;year:&amp;quot; + DateTime.Now.ToString(&amp;quot;yyyy&amp;quot;) + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;); //year:2009 &lt;/p&gt;&lt;p&gt;Response.Write(&amp;quot;&amp;lt;br /&amp;gt;hour:&amp;quot; + DateTime.Now.ToString(&amp;quot;hh&amp;quot;) + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;); //hour:08 &lt;/p&gt;&lt;p&gt;Response.Write(&amp;quot;&amp;lt;br /&amp;gt;minute:&amp;quot; + DateTime.Now.ToString(&amp;quot;mm&amp;quot;) + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;); //minute:56 &lt;/p&gt;&lt;p&gt;Response.Write(&amp;quot;&amp;lt;br /&amp;gt;AM/PM:&amp;quot; + DateTime.Now.ToString(&amp;quot;tt&amp;quot;) + &amp;quot;&amp;lt;br /&amp;gt;&amp;quot;); //AM/PM:AM&lt;/p&gt;
&lt;div class = "shareblock"&gt;&lt;strong&gt;Share this post:&lt;/strong&gt; &lt;a href = "mailto:?body=Thought you might like this: http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx&amp;amp;;subject=ASP.NET+-+datetime+format" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx"&gt;email it!&lt;/a&gt; |  &lt;a href = "http://del.icio.us/post?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx&amp;amp;;title=ASP.NET+-+datetime+format" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx"&gt;bookmark it!&lt;/a&gt; |  &lt;a href = "http://www.digg.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx&amp;amp;;phase=2" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx"&gt;digg it!&lt;/a&gt; |  &lt;a href = "http://reddit.com/submit?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx&amp;amp;title=ASP.NET+-+datetime+format" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx"&gt;reddit!&lt;/a&gt; |  &lt;a href = "http://www.dotnetkicks.com/submit/?url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx&amp;amp;;title=ASP.NET+-+datetime+format" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx"&gt;kick it!&lt;/a&gt; |  &lt;a href = "https://favorites.live.com/quickadd.aspx?marklet=1&amp;amp;;mkt=en-us&amp;amp;;url=http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx&amp;amp;;title=ASP.NET+-+datetime+format&amp;amp;;top=1" target="_blank" title = "Post http://aspadvice.com/blogs/getwhatyouwant/archive/2009/04/30/ASP.NET-_2D00_-datetime-format.aspx"&gt;live it!&lt;/a&gt;&lt;/div&gt;&lt;img src="http://aspadvice.com/aggbug.aspx?PostID=52572" width="1" height="1"&gt;</description></item></channel></rss>