<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-32097932</id><updated>2012-01-30T22:29:18.728+05:30</updated><category term='Visual Studio'/><category term='Getting Date only from SQL'/><category term='New Software'/><category term='Location'/><category term='rw6828'/><category term='Finding Network'/><category term='Forms Authentication'/><category term='Infragistics UltraFlowLayoutManager'/><category term='STSADM'/><category term='Windows'/><category term='Connection Timout'/><category term='SharePoint Backup'/><category term='Web Development'/><category term='Aviation'/><category term='Backup'/><category term='Web Part'/><category term='STSADM Path'/><category term='Forms'/><category term='Connecting to Internet'/><category term='Manufacturer Image'/><category term='Google Video Chat'/><category term='GMail'/><category term='IMAX'/><category term='Integration Services'/><category term='HP iPAQ'/><category term='Quotes'/><category term='Windows Vista'/><category term='SQL CE'/><category term='CSS'/><category term='SQL Server 2005'/><category term='DATEPART'/><category term='Hyper-V'/><category term='Number Games'/><category term='Tips'/><category term='Access Point Name'/><category term='DevExpress'/><category term='Word'/><category term='IIS'/><category term='WSS'/><category term='HyperV'/><category term='Content Placeholder'/><category term='Edit Files'/><category term='Execution Timeout'/><category term='Format'/><category term='iPhone'/><category term='iTunes'/><category term='Crystal Report Parameter value VB.NET'/><category term='Dataset'/><category term='Boeing B747'/><category term='Migrating to .Net'/><category term='Windows 2003 and Windows XP'/><category term='Upload File Size'/><category term='Search Engine'/><category term='Debugging WSs'/><category term='ASP.Net'/><category term='Intel'/><category term='.NET'/><category term='Excel'/><category term='NTFS'/><category term='Microsoft'/><category term='APN'/><category term='.Net Compact Framework'/><category term='Timeout'/><category term='&quot;HP iPAQ rw6828&quot;'/><category term='KeycodeV2.dll'/><category term='.Net Future'/><category term='SQL Mail'/><category term='Singapore'/><category term='Deployment Project'/><category term='Mac OS'/><category term='Flight Simulator'/><category term='Virtualization'/><category term='Health'/><category term='Cloud'/><category term='Worm'/><category term='Office'/><category term='Documents to check while buying'/><category term='SharePoint'/><category term='STSADM not a valid Win32 application'/><category term='Remote Connections'/><category term='Identity Column'/><category term='NetAdvantage for WPF'/><category term='Shortcuts'/><category term='UK Trip'/><category term='Null'/><category term='Master Page'/><category term='Setting MIME Types'/><category term='Bing'/><category term='Computers'/><category term='Distributing'/><category term='SQL Server Reporting Services'/><category term='Install'/><category term='Windows 2003 Boot Error'/><category term='SQL Query'/><category term='VB 6'/><category term='Database'/><category term='Active Directory'/><category term='SharePoint Mobile View'/><category term='EMail'/><category term='IE Developer Toolbar'/><category term='Hardware'/><category term='Device Emulator'/><category term='WPF'/><category term='Silverlight'/><category term='Database Mail'/><category term='Cars'/><category term='Publishing Infrastructure'/><category term='Configure SMTP'/><category term='Removing Shutdown Comment'/><category term='Offline'/><category term='SQL'/><category term='Sending E Mails SQL Server'/><category term='Connection'/><category term='Image'/><category term='Regular Expressions'/><category term='.Net Micro Framework'/><category term='Changing'/><category term='Errors'/><category term='Free Computer Education'/><category term='Singapore Airport'/><category term='Errors Upgrading'/><category term='Registering Crystal Reports'/><category term='Resetting'/><category term='Searching'/><category term='Infragistics'/><category term='Web'/><category term='Administration'/><category term='Photoshop'/><category term='Windows Server Update Services'/><category term='Australia'/><category term='Dimo'/><category term='Flash'/><category term='Temporary Internet Files'/><category term='CAST'/><category term='GETDATE'/><category term='Travel'/><category term='iPod'/><category term='Mercedes'/><category term='Microsoft Office 2007'/><category term='Networking'/><category term='Windows 2008 R2'/><category term='Benz'/><category term='WSUS'/><category term='OS Update'/><category term='Spider Man 3'/><category term='Service Packs'/><category term='Mercedes Benz'/><category term='Not Showing'/><category term='iPhone Worm'/><category term='Not a valid Win32 application'/><category term='South Australia'/><category term='Finding Carrier'/><category term='MySQL'/><category term='CRCDisk.SYS'/><category term='&apos;'/><category term='Background Image Re Sizing'/><category term='Syncing Contact Lists'/><category term='Web Services'/><category term='DLL'/><category term='Entertainment'/><category term='.NET 3.0'/><category term='Planes'/><category term='Setup'/><category term='Virtualisation'/><category term='DataTable.Select Not Sorting'/><category term='FLOOR'/><category term='Programming Languages'/><category term='Upgrade'/><category term='Installing HyperV Integration Services'/><category term='Layout Problems'/><category term='iPod Worm'/><category term='DB Mail'/><category term='ROM'/><category term='HTML'/><category term='Collaboration'/><category term='Edit Contents'/><category term='Offline Mail'/><category term='JavaScript'/><category term='Movies'/><category term='Synchronizing Contacts'/><category term='Not Detecting'/><category term='Debugging SPs'/><category term='MDI Background Image'/><category term='OS'/><category term='Playing Media Files in .Net Compact Framework 2.0'/><category term='Buying a vehicle'/><category term='Wireless'/><category term='Windows Mobile'/><category term='Facts'/><category term='SQL Server'/><category term='Visual Studio 2005'/><category term='invalid keycode'/><category term='AJAX'/><category term='Security'/><category term='Firewall'/><category term='Hotels'/><category term='Look and Feel'/><category term='Emulator Connectivity'/><category term='Electronics'/><category term='Groove'/><category term='Pocket PC'/><category term='Shopping'/><category term='Settings'/><category term='Windows Azure'/><category term='Textbox'/><category term='Windows 2008'/><category term='Number Tricks'/><category term='Time Out'/><category term='STSADM Error'/><category term='Android'/><category term='Boeing 787'/><category term='Mobile'/><category term='Welcome Page'/><category term='MIME'/><category term='Internet'/><category term='Missing Textbox'/><category term='Flight Simulation'/><category term='Music'/><category term='Gadgets'/><category term='Stored Procedures'/><category term='Cannot find KeycodeV2.dll'/><category term='GO'/><category term='90% Errors'/><category term='Java'/><category term='BlackBerry'/><category term='Setting up Networking in the Device Emulator'/><category term='.Net Dataset Table Select &quot;Not Sorting&quot;'/><category term='Network Diagnostic Tool'/><category term='Typed Dataset'/><category term='C#'/><category term='iTunes Error'/><category term='Disabling the Shutdown Event Tracker in Windows 2003'/><category term='Airbus A380'/><category term='Data'/><category term='Google Talk'/><category term='Publishing Feature'/><category term='Impressive Ideas'/><category term='Update'/><category term='Adelaide'/><category term='Automating Actions'/><category term='Default Page'/><category term='UltraFlowLayoutManager'/><category term='Enabling Remote Connections on SQL Server 2005'/><category term='Conecting to internet'/><category term='iPod not detecting'/><title type='text'>Arjuna</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default?start-index=101&amp;max-results=100'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>211</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-32097932.post-5664312297637413604</id><published>2011-12-05T17:00:00.001+05:30</published><updated>2011-12-05T17:02:00.221+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='South Australia'/><category scheme='http://www.blogger.com/atom/ns#' term='Travel'/><category scheme='http://www.blogger.com/atom/ns#' term='Australia'/><title type='text'>Rocking Horse – Gumeracha South Australia</title><content type='html'>&lt;p align="justify"&gt;When you come to South Australia another good place you should visit is the Rocking Horse at Gumeracha. There you will find a huge wooden rocking horse to which you can climb after paying few dollars. You can also watch the birds kept there and do not forget the Toy Factory nearby to do some shopping which has a good collection of gifts.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; padding-left: 0px; width: 404px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:b0d80c67-db6d-49b5-8e23-860ade47f814" class="wlWriterEditableSmartContent"&gt;&lt;table border=0 cellspacing=0 cellpadding=0 style='outline:none;border-style:none;margin:0px;padding:0px;width:404px;border-collapse:collapse;'&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style='margin:0px;padding:0px;outline:none;border-style:none;width:auto'&gt;&lt;a style="outline:none;border-style:none;margin:0px;padding:0px;" target="_blank" href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=play&amp;amp;resid=33617FA54CAB904D!1818&amp;amp;type=5&amp;amp;authkey=!ANEuTjyauCyXEBc&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" alt="View album" title="View album" src="http://lh4.ggpht.com/-XPVK0WizMFE/TtyrSYB2MCI/AAAAAAAABWA/c0dcxtjq6ug/Rocking%252520Horse%252520-%252520SA%25255B20%25255D.jpg?imgmax=800" /&gt;&lt;/a&gt;&lt;div style='width:404px;text-align:center;overflow:visible;padding:0px;margin:0px;'&gt;                                            &lt;div style='width:404px;overflow:visible;'&gt;&lt;a style="text-decoration:none;" href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=browse&amp;amp;resid=33617FA54CAB904D!1818&amp;amp;type=5&amp;amp;authkey=!ANEuTjyauCyXEBc&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" target="_blank"&gt;&lt;span  style="line-height:1.26em;padding:0px;width:404px;font-size:26pt;font-family:'Segoe UI', helvetica, arial, sans-serif;"  defaultText="Enter album name here"&gt;Rocking Horse - SA&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;                                            &lt;div style="text-align:center;padding:9px 0px 0px 0px;margin:0px 0px 0px 0px;font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;"&gt;                                                &lt;table border=0 cellspacing=0 cellpadding=0 style="text-align:center;width:auto;margin-left:auto;margin-right:auto;padding:0px;outline:none;border-style:none;border-collapse:collapse;"&gt;                                     &lt;tr&gt;                                       &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:6px 12px 6px 0px;"&gt;&lt;a href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=play&amp;amp;resid=33617FA54CAB904D!1818&amp;amp;type=5&amp;amp;authkey=!ANEuTjyauCyXEBc&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;VIEW SLIDE SHOW&lt;/a&gt;&lt;/td&gt;                                       &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:6px 0px 6px 0px;"&gt;&lt;a href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=downloadphotos&amp;amp;resid=33617FA54CAB904D!1818&amp;amp;type=5&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=!ANEuTjyauCyXEBc" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;DOWNLOAD ALL&lt;/a&gt;&lt;/td&gt;                                                                            &lt;/tr&gt;                                   &lt;/table&gt;                                                                                                                                &lt;/div&gt;                                                                                       &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;  &lt;p align="justify"&gt;If any one interested visiting below are the contact details. But do not try to rock the horse.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Address&lt;/u&gt;&lt;/strong&gt;     &lt;br /&gt;The Toy Factory,     &lt;br /&gt;Adelaide-Mannum Road,     &lt;br /&gt;Gumeracha, SA 5233,     &lt;br /&gt;South Australia,     &lt;br /&gt;Australia.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Telephone&lt;/u&gt;&lt;/strong&gt;     &lt;br /&gt;(08) 8389 1085&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Map&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;iframe height="350" marginheight="0" src="http://maps.google.com.au/maps?f=q&amp;amp;source=s_q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=Rocking+Horse+near+South+Australia&amp;amp;aq=2&amp;amp;sll=-34.926111,138.650316&amp;amp;sspn=0.000664,0.001206&amp;amp;vpsrc=6&amp;amp;ie=UTF8&amp;amp;hq=Rocking+Horse&amp;amp;hnear=South+Australia&amp;amp;ll=-34.820986,138.891647&amp;amp;spn=0.010252,0.01929&amp;amp;t=h&amp;amp;z=14&amp;amp;iwloc=A&amp;amp;cid=6925829014735170038&amp;amp;output=embed" frameborder="0" width="425" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt;    &lt;br /&gt;&lt;small&gt;&lt;a style="text-align: left; color: #0000ff" href="http://maps.google.com.au/maps?f=q&amp;amp;source=embed&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=Rocking+Horse+near+South+Australia&amp;amp;aq=2&amp;amp;sll=-34.926111,138.650316&amp;amp;sspn=0.000664,0.001206&amp;amp;vpsrc=6&amp;amp;ie=UTF8&amp;amp;hq=Rocking+Horse&amp;amp;hnear=South+Australia&amp;amp;ll=-34.820986,138.891647&amp;amp;spn=0.010252,0.01929&amp;amp;t=h&amp;amp;z=14&amp;amp;iwloc=A&amp;amp;cid=6925829014735170038"&gt;View Larger Map&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-5664312297637413604?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/5664312297637413604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=5664312297637413604' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5664312297637413604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5664312297637413604'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/12/rocking-horse-gumeracha-south-australia.html' title='Rocking Horse – Gumeracha South Australia'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-XPVK0WizMFE/TtyrSYB2MCI/AAAAAAAABWA/c0dcxtjq6ug/s72-c/Rocking%252520Horse%252520-%252520SA%25255B20%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-1019509291078279061</id><published>2011-12-05T15:26:00.001+05:30</published><updated>2011-12-05T15:26:44.826+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='iPod'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Device Emulator'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net Future'/><title type='text'>Developing iPhone and Android Applications using C# .Net</title><content type='html'>&lt;p align="justify"&gt;Being a .Net developer did you think how great if you could develop applications for most popular mobile device platforms like iPhone and Android with the .Net skills you already have. If you were thinking like me then the wait is over. &lt;/p&gt;  &lt;p align="justify"&gt;Now with Mono you can create cross platform applications using your .Net framework skills. Mono is a software platform using which you can develop applications which runs on iPhones, Android devices, iPads and iPod Touches. &lt;/p&gt;  &lt;p align="justify"&gt;As per the &lt;a href="http://xamarin.com/" target="_blank"&gt;Mono site&lt;/a&gt;, &lt;em&gt;“The Mono Project is an open development initiative sponsored by Novell to develop an open source, UNIX version of the Microsoft .NET development platform.”&lt;/em&gt; If you are wondering about the name Mono, it is 'monkey' in Spanish. &lt;/p&gt;  &lt;p align="justify"&gt;You can try Mono for free by downloading the trial by going to the &lt;a href="http://xamarin.com/trial" target="_blank"&gt;trial link&lt;/a&gt;. The good thing is after installing Mono you can use the more familiar Visual Studio to do the development using the available Mono templates.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-1019509291078279061?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/1019509291078279061/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=1019509291078279061' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1019509291078279061'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1019509291078279061'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/12/developing-iphone-and-android.html' title='Developing iPhone and Android Applications using C# .Net'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-3727235116659197381</id><published>2011-11-30T17:21:00.000+05:30</published><updated>2011-12-05T18:12:58.879+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='South Australia'/><category scheme='http://www.blogger.com/atom/ns#' term='Travel'/><category scheme='http://www.blogger.com/atom/ns#' term='Australia'/><title type='text'>Whispering Wall – Williamstown South Australia</title><content type='html'>&lt;p align="justify"&gt;Barossa Dam or whispering wall in Williamstown is not a place you should miss in your visit to South Australia. From the outer look it is just a dam created in Barossa Reservoir. But the magic starts after you send a friend to the other side of the dam and speak.&lt;/p&gt;  &lt;p align="justify"&gt;You and your friend will be able to talk as you two are near each other. The sound is very clear hence the name you can whisper and that will be heard by a person who is in the other side of the dam.&lt;/p&gt;  &lt;p align="justify"&gt;I was said that when the dam was built the lead engineer used to listen to the workers using this amazing facility to get to know what they are talking about him. Also it seems a later attempt to build a similar dam following the same design and material failed to demonstrate the whisper ability. So this is a unique dam you will not find elsewhere.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; padding-left: 0px; width: 404px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:fbe44b57-fc75-47ea-8e5b-1fb316c0956b" class="wlWriterEditableSmartContent"&gt;&lt;table border=0 cellspacing=0 cellpadding=0 style='outline:none;border-style:none;margin:0px;padding:0px;width:404px;border-collapse:collapse;'&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style='margin:0px;padding:0px;outline:none;border-style:none;width:auto'&gt;&lt;a style="outline:none;border-style:none;margin:0px;padding:0px;" target="_blank" href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=play&amp;amp;resid=33617FA54CAB904D!1826&amp;amp;type=5&amp;amp;authkey=!AE4JBSsSQuGiso0&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" alt="View album" title="View album" src="http://lh5.ggpht.com/-MUh8mAb4Qbw/Tty8UD5Q0jI/AAAAAAAABWU/jWNLRz2d7cU/Whispering%252520Wall%25255B1%25255D.jpg?imgmax=800" /&gt;&lt;/a&gt;&lt;div style='width:404px;text-align:center;overflow:visible;padding:0px;margin:0px;'&gt;                                            &lt;div style='width:404px;overflow:visible;'&gt;&lt;a style="text-decoration:none;" href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=browse&amp;amp;resid=33617FA54CAB904D!1826&amp;amp;type=5&amp;amp;authkey=!AE4JBSsSQuGiso0&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" target="_blank"&gt;&lt;span  style="line-height:1.26em;padding:0px;width:404px;font-size:26pt;font-family:'Segoe UI', helvetica, arial, sans-serif;"  defaultText="Enter album name here"&gt;Whispering Wall&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;                                            &lt;div style="text-align:center;padding:9px 0px 0px 0px;margin:0px 0px 0px 0px;font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;"&gt;                                                &lt;table border=0 cellspacing=0 cellpadding=0 style="text-align:center;width:auto;margin-left:auto;margin-right:auto;padding:0px;outline:none;border-style:none;border-collapse:collapse;"&gt;                                     &lt;tr&gt;                                       &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:6px 12px 6px 0px;"&gt;&lt;a href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=play&amp;amp;resid=33617FA54CAB904D!1826&amp;amp;type=5&amp;amp;authkey=!AE4JBSsSQuGiso0&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;VIEW SLIDE SHOW&lt;/a&gt;&lt;/td&gt;                                       &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:6px 0px 6px 0px;"&gt;&lt;a href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=downloadphotos&amp;amp;resid=33617FA54CAB904D!1826&amp;amp;type=5&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=!AE4JBSsSQuGiso0" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;DOWNLOAD ALL&lt;/a&gt;&lt;/td&gt;                                                                            &lt;/tr&gt;                                   &lt;/table&gt;                                                                                                                                &lt;/div&gt;                                                                                       &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;  &lt;p align="justify"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;&lt;u&gt;Map&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;iframe height="350" marginheight="0" src="http://maps.google.com.au/maps?q=-34.645425,138.84721&amp;amp;num=1&amp;amp;t=h&amp;amp;vpsrc=6&amp;amp;ie=UTF8&amp;amp;ll=-34.645495,138.847167&amp;amp;spn=0.021325,0.038581&amp;amp;z=14&amp;amp;output=embed" frameborder="0" width="425" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt;  &lt;br /&gt;&lt;small&gt;&lt;a style="text-align: left; color: #0000ff" href="http://maps.google.com.au/maps?q=-34.645425,138.84721&amp;amp;num=1&amp;amp;t=h&amp;amp;vpsrc=6&amp;amp;ie=UTF8&amp;amp;ll=-34.645495,138.847167&amp;amp;spn=0.021325,0.038581&amp;amp;z=14&amp;amp;source=embed"&gt;View Larger Map&lt;/a&gt;&lt;/small&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-3727235116659197381?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/3727235116659197381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=3727235116659197381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/3727235116659197381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/3727235116659197381'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/11/whispering-wall-williamstown-south.html' title='Whispering Wall – Williamstown South Australia'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-MUh8mAb4Qbw/Tty8UD5Q0jI/AAAAAAAABWU/jWNLRz2d7cU/s72-c/Whispering%252520Wall%25255B1%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-4235187705757713582</id><published>2011-11-30T07:54:00.001+05:30</published><updated>2011-11-30T08:21:56.119+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Adelaide'/><category scheme='http://www.blogger.com/atom/ns#' term='South Australia'/><category scheme='http://www.blogger.com/atom/ns#' term='Travel'/><category scheme='http://www.blogger.com/atom/ns#' term='Australia'/><title type='text'>Adelaide – South Australia</title><content type='html'>&lt;p align="justify"&gt;Thought to share some nice photos captured in the city I live in. Even though the city is small there are many thing that you can enjoy in this city so I recommend Adelaide for travelers. If you are in Australia don’t forget to visit Adelaide for few days.&lt;/p&gt; &lt;center&gt;   &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:7b759066-0b80-47ec-b6d2-1c046abc3529" class="wlWriterEditableSmartContent"&gt;&lt;table border=0 cellspacing=0 cellpadding=0 style='outline:none;border-style:none;margin:0px;padding:0px;width:404px;border-collapse:collapse;'&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style='margin:0px;padding:0px;outline:none;border-style:none;width:auto'&gt;&lt;a style="outline:none;border-style:none;margin:0px;padding:0px;" target="_blank" href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=play&amp;amp;resid=33617FA54CAB904D!1767&amp;amp;type=5&amp;amp;authkey=!ACTokjsqNjTxHwY&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos"&gt;&lt;img style="outline:none;border-style:none;padding:0px;margin:0px;border:0px;background:none;background-image:none;vertical-align:bottom;" alt="View album" title="View album" src="http://lh6.ggpht.com/-JehnECGUB7s/TtWT67uZgXI/AAAAAAAABV0/uaqlT0Rx6vw/Adelaide%252520City%2525201%25255B2%25255D.jpg?imgmax=800" /&gt;&lt;/a&gt;&lt;div style='width:404px;text-align:center;overflow:visible;padding:0px;margin:0px;'&gt;                                            &lt;div style='width:404px;overflow:visible;'&gt;&lt;a style="text-decoration:none;" href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=browse&amp;amp;resid=33617FA54CAB904D!1767&amp;amp;type=5&amp;amp;authkey=!ACTokjsqNjTxHwY&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" target="_blank"&gt;&lt;span  style="line-height:1.26em;padding:0px;width:404px;font-size:26pt;font-family:'Segoe UI', helvetica, arial, sans-serif;"  defaultText="Enter album name here"&gt;Adelaide City 1&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;                                            &lt;div style="text-align:center;padding:9px 0px 0px 0px;margin:0px 0px 0px 0px;font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;"&gt;                                                &lt;table border=0 cellspacing=0 cellpadding=0 style="text-align:center;width:auto;margin-left:auto;margin-right:auto;padding:0px;outline:none;border-style:none;border-collapse:collapse;"&gt;                                     &lt;tr&gt;                                       &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:6px 12px 6px 0px;"&gt;&lt;a href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=play&amp;amp;resid=33617FA54CAB904D!1767&amp;amp;type=5&amp;amp;authkey=!ACTokjsqNjTxHwY&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;VIEW SLIDE SHOW&lt;/a&gt;&lt;/td&gt;                                       &lt;td style="vertical-align:top;outline:none;border-style:none;margin:0px;padding:6px 0px 6px 0px;"&gt;&lt;a href="https://skydrive.live.com/redir.aspx?cid=33617fa54cab904d&amp;amp;page=downloadphotos&amp;amp;resid=33617FA54CAB904D!1767&amp;amp;type=5&amp;amp;Bsrc=Photomail&amp;amp;Bpub=SDX.Photos&amp;amp;authkey=!ACTokjsqNjTxHwY" border="0" target="_blank" style="font-family:'Segoe UI', helvetica, arial, sans-serif;font-size:8pt;outline:none;border-style:none;text-decoration: none;padding:0px;margin:0px;"&gt;DOWNLOAD ALL&lt;/a&gt;&lt;/td&gt;                                                                            &lt;/tr&gt;                                   &lt;/table&gt;                                                                                                                                &lt;/div&gt;                                                                                       &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt; &lt;/center&gt;  &lt;p align="justify"&gt;Album contain photos of Adelaide city and few of the many gardens Adelaide.&lt;/p&gt;  &lt;p align="justify"&gt;Cathedral shown is the famous St. Peters Cathedral located in 27, King William Road, Adelaide, SA 5000, Australia. Which is located in the following map.&lt;/p&gt; &lt;center&gt;&lt;iframe height="350" marginheight="0" src="http://maps.google.com.au/maps?q=-34.913017,138.598395&amp;amp;num=1&amp;amp;t=h&amp;amp;vpsrc=6&amp;amp;ie=UTF8&amp;amp;ll=-34.913055,138.598377&amp;amp;spn=0.00154,0.00228&amp;amp;z=18&amp;amp;output=embed" frameborder="0" width="425" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt;    &lt;br /&gt;&lt;small&gt;&lt;a style="text-align: left; color: #0000ff" href="http://maps.google.com.au/maps?q=-34.913017,138.598395&amp;amp;num=1&amp;amp;t=h&amp;amp;vpsrc=6&amp;amp;ie=UTF8&amp;amp;ll=-34.913055,138.598377&amp;amp;spn=0.00154,0.00228&amp;amp;z=18&amp;amp;source=embed"&gt;View Larger Map&lt;/a&gt;&lt;/small&gt;&lt;/center&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-4235187705757713582?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/4235187705757713582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=4235187705757713582' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4235187705757713582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4235187705757713582'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/11/adelaide-south-australia.html' title='Adelaide – South Australia'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-JehnECGUB7s/TtWT67uZgXI/AAAAAAAABV0/uaqlT0Rx6vw/s72-c/Adelaide%252520City%2525201%25255B2%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-8205162696334264212</id><published>2011-11-29T21:09:00.001+05:30</published><updated>2011-11-29T21:09:14.710+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Part'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>Expandable Regions using HTML</title><content type='html'>&lt;p align="justify"&gt;You can create nice looking expandable regions using just HTML and some Java scripting. This is specially useful if you are to create a site without any major programming languages. Today I thought to share an expandable region that I created to give you an idea to get it done.&lt;/p&gt;  &lt;p align="justify"&gt;When the code works it will look like the following.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-mCqme2gGxCw/TtT8kqICPEI/AAAAAAAABVM/7BDq-zexwUg/s1600-h/image%25255B8%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-hAG6lcN5cf8/TtT8liJpoLI/AAAAAAAABVU/V5qVkwK-Lcs/image_thumb%25255B4%25255D.png?imgmax=800" width="173" height="132" /&gt;&lt;/a&gt;&lt;a href="http://lh3.ggpht.com/-1j9DhiYDzJw/TtT8mQVZefI/AAAAAAAABVc/5V2pQ5TK3e8/s1600-h/image%25255B7%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-XeqJx1VVaZ0/TtT8nkDNijI/AAAAAAAABVk/sMbwQzrAPbQ/image_thumb%25255B3%25255D.png?imgmax=800" width="214" height="254" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;p align="justify"&gt;You should be excited by now, to get it working you need the following code inserted into a body section of a HTML file. Please note I have added the CSS also in to the page body, but if you have a separate CSS file please separate the CSS .&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:37a8316b-2340-4eae-a8f2-c97edf454334" class="wlWriterEditableSmartContent"&gt; &lt;div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt; &lt;div style="background: #ddd; max-height: 500px; overflow: auto"&gt; &lt;ol style="background: #ffffff; margin: 0 0 0 3em; padding: 0 0 0 5px; white-space: nowrap"&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;text/css&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#800000"&gt;a.headingStyle&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    {&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;text-decoration&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;none&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#ff0000"&gt;margin-left&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0.5em&lt;/span&gt;;            &lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    }&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#800000"&gt;a.headingStyle:hover&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    {&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#ff0000"&gt;text-decoration&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;underline&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    }&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#800000"&gt;a.headingStyle&lt;/span&gt; &lt;span style="color:#800000"&gt;span.charStyle&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    {&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#ff0000"&gt;font-family&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;monospace&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;font-weight&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;normal&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    }&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#800000"&gt;.contentStyle&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    {&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;display&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;none&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#ff0000"&gt;margin-left&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;1.5em&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;margin-right&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0.5em&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#ff0000"&gt;margin-bottom&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0.5em&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;border-width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;thin&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#ff0000"&gt;border-style&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;outset&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;background-color&lt;/span&gt;:&lt;span style="color:#0000ff"&gt;#D2E3FF&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    }&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#800000"&gt;.upArrowStyle&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    {&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;height&lt;/span&gt;:&lt;span style="color:#0000ff"&gt;32px&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#ff0000"&gt;background-image&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(&amp;#39;Up_Arrow_32x32.png&amp;#39;)&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;background-repeat&lt;/span&gt;:&lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    }&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#800000"&gt;.downArrowStyle&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    {&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;height&lt;/span&gt;:&lt;span style="color:#0000ff"&gt;32px&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#ff0000"&gt;background-image&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(&amp;#39;Down_Arrow_32x32.png&amp;#39;)&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#ff0000"&gt;background-repeat&lt;/span&gt;:&lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    }&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&amp;nbsp;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    func&lt;span style="color:#0000ff"&gt;tion dis&lt;/span&gt;play(item) {&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        if (docu&lt;span style="color:#0000ff"&gt;me&lt;/span&gt;nt.getElementById) {&lt;/li&gt; &lt;li&gt;            // Retrievin&lt;span style="color:#006400"&gt;g the first child item.&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            var firstChildIt&lt;span style="color:#0000ff"&gt;em &lt;/span&gt;= item.firstChild;&lt;/li&gt; &lt;li&gt;            // Getting the corre&lt;span style="color:#006400"&gt;ct child item with inner HTML text.&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#006400"&gt;firstC&lt;/span&gt;hildItem = item.firstChild.innerHTML ? item.firstChild : item.firstChild.nextSibling;&lt;/li&gt; &lt;li&gt;            // Toggling the + or - accor&lt;span style="color:#006400"&gt;ding to the state after click.&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#006400"&gt;firstChildItem&lt;/span&gt;.innerHTML = firstChildItem.innerHTML == &amp;#39;+&amp;#39; ? &amp;#39;-&amp;#39; : &amp;#39;+&amp;#39;;&lt;/li&gt; &lt;li&gt;            //&lt;span style="color:#800000"&gt; To&lt;/span&gt;ggl&lt;span style="color:#800000"&gt;ing&lt;/span&gt; th&lt;span style="color:#800000"&gt;e d&lt;/span&gt;isplay image after &lt;span style="color:#006400"&gt;click.&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#006400"&gt;item.className = item.&lt;/span&gt;className == &amp;quot;downArrowStyle&amp;quot; ? &amp;quot;upArrowStyle&amp;quot; : &amp;quot;dow&lt;span style="color:#800000"&gt;nArrowStyle&amp;quot;;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#800000"&gt;        // Get&lt;/span&gt; th&lt;span style="color:#800000"&gt;e sub item to to&lt;/span&gt;ggle visibility.&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#006400"&gt;           var nextSubItem = item.parentN&lt;/span&gt;ode.nextSibling.st&lt;span style="color:#0000ff"&gt;yle&lt;/span&gt; ? item.parentNode.nextSibling : item.parentNode.nextSibling.nextSibling;&lt;/li&gt; &lt;li&gt;            // Toggle visibility of the sub item.&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            n&lt;span style="color:#006400"&gt;extSubItem.style.display = nextSubIte&lt;/span&gt;m.style.display == &amp;#39;block&amp;#39; ? &amp;#39;none&amp;#39; : &amp;#39;block&amp;#39;;&lt;/li&gt; &lt;li&gt;        }&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    }&lt;/li&gt; &lt;li&gt;&amp;nbsp;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    // &lt;span style="color:#800000"&gt;Display&lt;/span&gt;ing&lt;span style="color:#800000"&gt; every&lt;/span&gt;thi&lt;span style="color:#800000"&gt;ng if i&lt;/span&gt;tem could not be found.&lt;/li&gt; &lt;li&gt;    if (!docum&lt;span style="color:#006400"&gt;ent.getElementById)&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#006400"&gt;document.write(&amp;#39;&amp;lt;style &lt;/span&gt;type=&amp;quot;text&lt;span style="color:#0000ff"&gt;/c&lt;/span&gt;ss&amp;quot;&amp;gt;&amp;lt;!--&amp;#92;n .dspcont{display:block;}&amp;#92;n //--&amp;gt;&amp;lt;/style&amp;gt;&amp;#39;);&lt;/li&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&amp;nbsp;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#006400"&gt;&amp;lt;!-- If Java scripts are blocked, display everything expanded. --&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;noscript&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;text/css&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#800000"&gt;.dspcont&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        {&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#ff0000"&gt;display&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;block&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;        }&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;noscript&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#006400"&gt;&amp;lt;!-- If + or - is required to be displayed besides the image simply change display:none; to display:block; in following sections. --&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;h1&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;javascript:void(0)&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;downArrowStyle&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;onclick&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;display(this)&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;display&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:none;&amp;quot;&amp;gt;&lt;/span&gt;+&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;margin-left&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:34px;&amp;quot;&amp;gt;&lt;/span&gt;Main Title 1&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;h1&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;contentStyle&amp;quot;&amp;gt;&lt;/span&gt;Title 1 content goes here.&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;h1&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;javascript:void(0)&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;downArrowStyle&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;onclick&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;display(this)&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;display&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:none;&amp;quot;&amp;gt;&lt;/span&gt;+&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;margin-left&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:34px;&amp;quot;&amp;gt;&lt;/span&gt;Main Title 2&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;h1&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;contentStyle&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;h2&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;javascript:void(0)&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;downArrowStyle&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;onclick&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;display(this)&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;display&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:none;&amp;quot;&amp;gt;&lt;/span&gt;+&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;margin-left&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:34px;&amp;quot;&amp;gt;&lt;/span&gt;Sub Title 1&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;h2&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;contentStyle&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            Sub title 1 content goes here.&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;h2&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;javascript:void(0)&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;downArrowStyle&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;onclick&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;display(this)&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;display&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:none;&amp;quot;&amp;gt;&lt;/span&gt;+&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;margin-left&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:34px;&amp;quot;&amp;gt;&lt;/span&gt;Sub Title 2&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;h2&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;contentStyle&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            Sub title 2 content goes here.&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;h1&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;javascript:void(0)&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;downArrowStyle&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;onclick&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;display(this)&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;display&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:none;&amp;quot;&amp;gt;&lt;/span&gt;+&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;&lt;/span&gt;&lt;span style="color:#ff0000"&gt;margin-left&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:34px;&amp;quot;&amp;gt;&lt;/span&gt;Main Title 3&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;span&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;h1&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;contentStyle&amp;quot;&amp;gt;&lt;/span&gt;Title 3 content goes here.&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&amp;#160;&lt;/p&gt;  &lt;p align="justify"&gt;Remember to correct the image URLs, otherwise they will go missing. &lt;/p&gt;  &lt;p align="justify"&gt;I need to thank M. C. Matti for his great &lt;a href="http://www.webreference.com/programming/css_content/3.html" target="_blank"&gt;article&lt;/a&gt; which gave me this idea. Also you can use this method to create expandable regions in other sites which use different technologies. For example if you need to add this to a SharePoint site, just use a Content Editor web part and paste the code using Source Editor in web part properties.&lt;/p&gt;  &lt;p align="justify"&gt;Hope this helps.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-8205162696334264212?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/8205162696334264212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=8205162696334264212' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8205162696334264212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8205162696334264212'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/11/expandable-regions-using-html.html' title='Expandable Regions using HTML'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-hAG6lcN5cf8/TtT8liJpoLI/AAAAAAAABVU/V5qVkwK-Lcs/s72-c/image_thumb%25255B4%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2438488354704832792</id><published>2011-11-15T18:47:00.001+05:30</published><updated>2011-11-16T19:06:52.244+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>HTML Menu</title><content type='html'>&lt;p align="justify"&gt;Today I thought to share with you, how to create menus using HTML only. These menus will be very useful if you need to create web sites using only HTML.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-GBkAHkIh8JI/TsO8Iq4rscI/AAAAAAAABUc/HlIh2pDOzkE/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-PC-yW-dm7JI/TsO8Jn0oshI/AAAAAAAABUk/wVVPLmVxx3c/image_thumb%25255B1%25255D.png?imgmax=800" width="412" height="172" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Above menu is created using basic unordered list (UL), list items (LI), links and some CSS.&lt;/p&gt;  &lt;p align="justify"&gt;Below is the HTML code for the menu. In the code I have created the full menu using HTML lists and used CSS to format the list to work as a menu.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:f212af67-67fa-449b-8406-186a7825be0d" class="wlWriterEditableSmartContent"&gt; &lt;div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt; &lt;div style="background: #ddd; max-height: 500px; overflow: auto"&gt; &lt;ol style="background: #ffffff; margin: 0 0 0 2.5em; padding: 0 0 0 5px; white-space: nowrap"&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenu&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Home.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuLink&amp;quot;&amp;gt;&lt;/span&gt;Home&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenu&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Page1.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;e&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Page2.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;ee&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module1.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuLink&amp;quot;&amp;gt;&lt;/span&gt;Module 1&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenu&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module1_Page1.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;dd&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module1_Page2.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;ddd&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module1_Page3.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;dddd&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module2.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuLink&amp;quot;&amp;gt;&lt;/span&gt;Module 2&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenu&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module2_Page1.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;c&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module2_Page2.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;cc&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module2_Page3.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;ccc&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module3.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuLink&amp;quot;&amp;gt;&lt;/span&gt;Module 3&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenu&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module3_Page1.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;bb&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module3_Page2.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;bbb&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module3_Page3.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;bbbb&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module4.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;mainMenuLink&amp;quot;&amp;gt;&lt;/span&gt;Module 4&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenu&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module4_Page1.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;aa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module4_Page2.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;aaa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItem&amp;quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Module4_Page3.html&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;subMenuItemLink&amp;quot;&amp;gt;&lt;/span&gt;aaaa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;a&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;li&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;ul&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&amp;#160;&lt;/p&gt;  &lt;p align="justify"&gt;Below is the CSS that you need to make the above HTML work as a menu.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:441add07-a804-4122-bcfe-f114ddcfd0af" class="wlWriterEditableSmartContent"&gt; &lt;div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt; &lt;div style="background: #ddd; max-height: 500px; overflow: auto"&gt; &lt;ol style="background: #ffffff; margin: 0 0 0 2.5em; padding: 0 0 0 5px; white-space: nowrap"&gt; &lt;li&gt;&lt;span style="color:#800000"&gt;.subMenu&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;{&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;padding&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;1px&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;position&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;absolute&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;visibility&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;hidden&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;}&lt;/li&gt; &lt;li&gt;&lt;span style="color:#800000"&gt;.subMenuItem&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;{&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;list-style&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;none&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;float&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;left&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;position&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;relative&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;margin&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0px&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;display&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;block&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;92px&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;}&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#800000"&gt;.subMenuItemLink&lt;/span&gt;&lt;/li&gt; &lt;li&gt;{&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;color&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;White&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;text-align&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;left&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;text-decoration&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;none&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;padding-left&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;5px&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;display&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;block&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;height&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;32px&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;92px&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;background-image&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(&amp;#39;./Images/menuButtonSelected.jpg&amp;#39;)&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;}&lt;/li&gt; &lt;li&gt;&amp;lt;!&lt;span style="color:#800000"&gt;--&lt;/span&gt; &lt;span style="color:#800000"&gt;Changing&lt;/span&gt; &lt;span style="color:#800000"&gt;the&lt;/span&gt; &lt;span style="color:#800000"&gt;menu&lt;/span&gt; &lt;span style="color:#800000"&gt;when&lt;/span&gt; &lt;span style="color:#800000"&gt;mouse&lt;/span&gt; &lt;span style="color:#800000"&gt;is&lt;/span&gt; &lt;span style="color:#800000"&gt;over&lt;/span&gt; &lt;span style="color:#800000"&gt;the&lt;/span&gt; &lt;span style="color:#800000"&gt;menu.&lt;/span&gt; --&lt;span style="color:#800000"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#800000"&gt;.mainMenuItem:hover&lt;/span&gt; &lt;span style="color:#800000"&gt;.mainMenuLink&lt;/span&gt;&lt;/li&gt; &lt;li&gt;{&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;color&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;White&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;background-color&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;Blue&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;background-image&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(&amp;#39;./Images/menuButtonSelected.jpg&amp;#39;)&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;}&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&amp;lt;!&lt;span style="color:#800000"&gt;--&lt;/span&gt; &lt;span style="color:#800000"&gt;Changing&lt;/span&gt; &lt;span style="color:#800000"&gt;the&lt;/span&gt; &lt;span style="color:#800000"&gt;menu&lt;/span&gt; &lt;span style="color:#800000"&gt;when&lt;/span&gt; &lt;span style="color:#800000"&gt;it&lt;/span&gt; &lt;span style="color:#800000"&gt;is&lt;/span&gt; &lt;span style="color:#800000"&gt;selected.&lt;/span&gt; --&lt;span style="color:#800000"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#800000"&gt;.mainMenuItem:active&lt;/span&gt; &lt;span style="color:#800000"&gt;.mainMenuLink&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;{&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;background-image&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(&amp;#39;./Images/menuButtonSelected.jpg&amp;#39;)&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;}&lt;/li&gt; &lt;li&gt;&amp;lt;!&lt;span style="color:#800000"&gt;--&lt;/span&gt; &lt;span style="color:#800000"&gt;Showing&lt;/span&gt; &lt;span style="color:#800000"&gt;the&lt;/span&gt; &lt;span style="color:#800000"&gt;sub&lt;/span&gt; &lt;span style="color:#800000"&gt;menu&lt;/span&gt; &lt;span style="color:#800000"&gt;items&lt;/span&gt; &lt;span style="color:#800000"&gt;when&lt;/span&gt; &lt;span style="color:#800000"&gt;mouse&lt;/span&gt; &lt;span style="color:#800000"&gt;is&lt;/span&gt; &lt;span style="color:#800000"&gt;over&lt;/span&gt; &lt;span style="color:#800000"&gt;the&lt;/span&gt; &lt;span style="color:#800000"&gt;main&lt;/span&gt; &lt;span style="color:#800000"&gt;menu.&lt;/span&gt; --&lt;span style="color:#800000"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#800000"&gt;.mainMenuItem:hover&lt;/span&gt; &lt;span style="color:#800000"&gt;.subMenu&lt;/span&gt;&lt;/li&gt; &lt;li&gt;{&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;visibility&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;visible&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;z-index&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;}&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&amp;#160;&lt;/p&gt;  &lt;p align="justify"&gt;Do not forget to import the CSS into the HTML page by using a link as shown below.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:97c00a0e-3ec0-415f-9d56-0573ed4df403" class="wlWriterEditableSmartContent"&gt; &lt;div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt; &lt;div style="background: #ddd; max-height: 300px; overflow: auto"&gt; &lt;ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;"&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;link&lt;/span&gt; &lt;span style="color:#ff0000"&gt;rel&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;stylesheet&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;text/css&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;href&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;DefaultStyles.css&amp;quot;&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p align="justify"&gt;I used the following images as the background images of the links.&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh3.ggpht.com/-LYMx8ePDmbI/TsO8KS5WiFI/AAAAAAAABUo/3Gb1kU6CzeU/s1600-h/menuButton11%25255B2%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="menuButton11" border="0" alt="menuButton11" src="http://lh4.ggpht.com/-5at88AMf1qs/TsO8LIlwycI/AAAAAAAABU0/kEWfKCEt41U/menuButton11_thumb.jpg?imgmax=800" width="99" height="39" /&gt;&lt;/a&gt;&amp;#160; &lt;a href="http://lh5.ggpht.com/-ITFiEB3gIP0/TsO8MVbE8yI/AAAAAAAABU4/egMh9LIHf-E/s1600-h/menuButtonSelected11%25255B2%25255D.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="menuButtonSelected11" border="0" alt="menuButtonSelected11" src="http://lh6.ggpht.com/-FoIJNZDHQuE/TsO8NFUuxGI/AAAAAAAABVE/gAKO2_AqrkA/menuButtonSelected11_thumb.jpg?imgmax=800" width="99" height="39" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;I think the code is not that complex, so hope this helps, let me know if you need any help on this, I will try to help you out.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2438488354704832792?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2438488354704832792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2438488354704832792' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2438488354704832792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2438488354704832792'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/11/temp-test.html' title='HTML Menu'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-PC-yW-dm7JI/TsO8Jn0oshI/AAAAAAAABUk/wVVPLmVxx3c/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-1094074335507390059</id><published>2011-11-15T17:22:00.001+05:30</published><updated>2011-11-15T17:22:32.650+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Flight Simulation'/><category scheme='http://www.blogger.com/atom/ns#' term='Flight Simulator'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Microsoft Flight</title><content type='html'>&lt;p align="justify"&gt;In early 2009 I got shocked when I heard that Microsoft Aces game studio was closed down by Microsoft which was responsible for developing well known PC simulation software's and games such as Flight Simulator, Combat Flight Simulator and Train Simulator.&lt;/p&gt;  &lt;p align="justify"&gt;But recently after getting to know that Microsoft is now developing the Flight Simulator internal at Microsoft I am more than happy. After seeing the new visuals of the renamed product Microsoft Flight, I am extremely exited and waiting until they release the next version.&lt;/p&gt;  &lt;p align="justify"&gt;See for your selves by visiting Microsoft Flight &lt;a title="Microsoft Flight" href="http://www.microsoft.com/games/flight/" target="_blank"&gt;site&lt;/a&gt; which is the next version of Microsoft Flight Simulator X.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-1094074335507390059?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/1094074335507390059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=1094074335507390059' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1094074335507390059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1094074335507390059'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/11/in-early-2009-i-got-shocked-when-i.html' title='Microsoft Flight'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2483825394349825520</id><published>2011-11-04T20:10:00.001+05:30</published><updated>2011-11-07T09:26:10.466+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computers'/><category scheme='http://www.blogger.com/atom/ns#' term='Word'/><title type='text'>Word Field Code Samples</title><content type='html'>&lt;p align="justify"&gt;As I mentioned in my last post, I will list down some uses of Word field codes here. If you would like to know what they are I invite you to read my previous post on field codes.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Notes -&lt;/u&gt; &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;div align="justify"&gt;Always remember to user Ctrl + F9 to put curly braces, sorry no copy pasting, you have to type all.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;If the codes are misbehaving, right click and click on &lt;em&gt;Update Field&lt;/em&gt;.&lt;/div&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;div align="justify"&gt;1. Using Word how to greet the user according to the time of the day.&lt;/div&gt;  &lt;div align="justify"&gt;&amp;#160;&lt;/div&gt;  &lt;p align="justify"&gt;&lt;strong&gt;{ If &amp;quot;{ Time \@ &amp;quot;HH:mm&amp;quot; }&amp;quot; &amp;gt; &amp;quot;12:00&amp;quot; { If &amp;quot;{ Time \@ &amp;quot;HH:mm&amp;quot; }&amp;quot; &amp;gt; &amp;quot;15:00&amp;quot; { If &amp;quot;{ Time \@ &amp;quot;HH:mm&amp;quot; }&amp;quot; &amp;gt; &amp;quot;18:00&amp;quot; &amp;quot;Good Night&amp;quot; &amp;quot;Good Evening&amp;quot; } &amp;quot;Good Afternoon&amp;quot; } &amp;quot;Good Morning&amp;quot; }&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-owFUH8B4rMI/TrP5GVDy42I/AAAAAAAABR8/MqHV3q-RpQY/s1600-h/image8.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-8iHhw7lc4IE/TrP5HpwcJ7I/AAAAAAAABSE/kFFEFv_FgrI/image_thumb4.png?imgmax=800" width="476" height="49" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-NIl2fycmAMs/TrP5ImzzPfI/AAAAAAAABSM/USC7eqxd4qU/s1600-h/image16.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-1H3tCi24YjY/TrP5J2JJnNI/AAAAAAAABSU/N2gCUvx9L4Q/image_thumb8.png?imgmax=800" width="399" height="438" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2. Concatenating text and displaying in Word.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;Welcome { UserName } you are reading { FileName \* MergeFormat }.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-nOUL_mOVXI0/TrP5KiKLf4I/AAAAAAAABSc/p1F5XWchnmo/s1600-h/image65.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-i2V8OBF67jw/TrP5L3qtwmI/AAAAAAAABSk/JWlP3mc5o-g/image_thumb37.png?imgmax=800" width="467" height="85" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3. Displaying page number in odd pages and text on others in Word.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;{ If { =Mod({ Page }, 2) } =1 { Page } &amp;quot;PTO&amp;quot; }&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-R8AYCzcn4H4/TrP5NKpBZbI/AAAAAAAABSs/w58LtmykwP8/s1600-h/image%25255B34%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-RHqcFZ6ajGA/TrP5N4Z3JOI/AAAAAAAABS0/FSFntemCNro/image_thumb%25255B18%25255D.png?imgmax=800" width="469" height="87" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-RPy_JKpKZmA/TrP5O9A4ZsI/AAAAAAAABS8/iltwzpEaT2o/s1600-h/image%25255B42%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-2Sa9WuyOZYI/TrP5P0IKu6I/AAAAAAAABTE/Gt-1xKnei0E/image_thumb%25255B24%25255D.png?imgmax=800" width="471" height="97" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;4. Using Word skipping page number on first two pages and then showing page numbers starting from number 2.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;{ If { Page } &amp;lt; 3 &amp;quot;&amp;quot; { ={ Page } - 1 } }&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-uA5F2dy_FiU/TrP5QoK-jnI/AAAAAAAABTM/coc9Mkeawa8/s1600-h/image%25255B28%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-URtjC0_-01k/TrP5SKR8PUI/AAAAAAAABTU/RkwZFnLsPSc/image_thumb%25255B14%25255D.png?imgmax=800" width="467" height="68" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-Z6RB-CsDROg/TrP5TD80sJI/AAAAAAAABTc/qV51MJs0fOY/s1600-h/image%25255B30%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/--l51El0GfBM/TrP5T3ra2BI/AAAAAAAABTk/2kuuFg9YRhc/image_thumb%25255B16%25255D.png?imgmax=800" width="469" height="72" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;5. Displaying last saved user name on the last page in Word.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;{ If { Page } = { NumPages } &amp;quot;This { FileName } was last saved by { LastSavedBy } on {DocProperty LastSavedTime }. Document was edited for { EditTime } minutes.&amp;quot; &amp;quot;&amp;quot; }&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/-nXDdFTfTEQ8/TrP5U7yL7KI/AAAAAAAABTs/nhNvGre28cY/s1600-h/image%25255B11%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-lKcVhQSKufc/TrP5WJtOexI/AAAAAAAABT0/3oOHTHLCIxI/image_thumb%25255B5%25255D.png?imgmax=800" width="467" height="131" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;6. Displaying number of characters, words, paragraphs, pages in a Word document.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;This document has { NumWords } words in { NumPages } pages.&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/-5OriuCf4JSo/TrP5WyeIzrI/AAAAAAAABT8/rFNKLLrGIJc/s1600-h/image%25255B47%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-5_Gwy0DsFCk/TrP5X1M25wI/AAAAAAAABUE/3hfVbzKiNz0/image_thumb%25255B27%25255D.png?imgmax=800" width="468" height="101" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;This document has { NumChars } characters in { DocProperty Paragraphs } paragraphs.&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-8cqWLYW7r-A/TrP5Y3ERGcI/AAAAAAAABUM/Nye2MdDEigA/s1600-h/image%25255B53%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-WDwfmMZ_jak/TrP5Z4T6RmI/AAAAAAAABUU/5F8xlApKReY/image_thumb%25255B31%25255D.png?imgmax=800" width="467" height="97" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2483825394349825520?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2483825394349825520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2483825394349825520' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2483825394349825520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2483825394349825520'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/11/word-field-code-samples.html' title='Word Field Code Samples'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-8iHhw7lc4IE/TrP5HpwcJ7I/AAAAAAAABSE/kFFEFv_FgrI/s72-c/image_thumb4.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-3973095363439145107</id><published>2011-11-03T18:33:00.001+05:30</published><updated>2011-11-03T18:41:33.370+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computers'/><category scheme='http://www.blogger.com/atom/ns#' term='Word'/><title type='text'>Field Codes in Word</title><content type='html'>&lt;p align="justify"&gt;When playing with Microsoft Word I found a nice feature from which we can do few more things with Word other than typing documents.&lt;/p&gt;  &lt;p align="justify"&gt;It is known as field codes. Below are some of them with their descriptions.&lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="400"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="200"&gt;         &lt;p align="center"&gt;&lt;strong&gt;Field Code&lt;/strong&gt;&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top" width="200"&gt;         &lt;p align="center"&gt;&lt;strong&gt;Description&lt;/strong&gt;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;DocProperty&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves current document properties.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;NumChars&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves the number of characters in the current document.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;NumWords&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves the number of words in the current document.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;NumPages&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves the number of pages in the current document.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Page&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves the current page number of the document.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;LastSavedBy&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves the name of the user who saved the document last.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;SectionPages&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves the total number of pages in the current section.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Template&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieve the name of the title the document is based on.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;Time&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves the current system time and you can format the time using date formats.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;UserInitials&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves the current user’s initials.&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="200"&gt;UserName&lt;/td&gt;        &lt;td valign="top" width="200"&gt;Retrieves the current user’s name.&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p align="justify"&gt;I did mention only few field codes above to just make you start thinking the things which can be achieved by using them in your documents.&lt;/p&gt;  &lt;p align="justify"&gt;To demonstrate I will create a Word document which greets the user with his name. To do this there are 2 ways, one is easy and the other is little hard.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;&lt;u&gt;Method 1&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;1. First the easy way, just open Word, place your cursor where you need your greeting to appear and click on &lt;em&gt;Insert &lt;/em&gt;tab to show the insert ribbon. Then click on &lt;em&gt;Quick Parts&lt;/em&gt; and then on &lt;em&gt;Field&lt;/em&gt;…&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-dH7IaXHukdY/TrKQ8k8kFMI/AAAAAAAABQ8/zfJh1k15Pe4/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-mZWeQ9vcnu0/TrKQ9lEDweI/AAAAAAAABRE/S2T8creSYGo/image_thumb%25255B1%25255D.png?imgmax=800" width="499" height="117" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;2. From the field window select &lt;em&gt;UserName&lt;/em&gt; field and choose an appropriate format from the format list and press ok.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/-kiLgMMJhPlk/TrKQ-yJorVI/AAAAAAAABRM/pNysNOEiq-8/s1600-h/image%25255B8%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-qRi4pNJxBR0/TrKRAKmYryI/AAAAAAAABRU/IJ5zL9CIr6A/image_thumb%25255B4%25255D.png?imgmax=800" width="500" height="337" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;This will add the following to your Word document which is responsible in showing the current user’s name.&lt;/p&gt;  &lt;p align="justify"&gt;{ USERNAME&amp;#160; \* Caps \* MERGEFORMAT }&lt;/p&gt;  &lt;p align="justify"&gt;3. To hide the code and display the user name right click on the code and click on &lt;em&gt;Toggle Field Codes&lt;/em&gt;.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-7jtChCQvvko/TrKRBQ9cHlI/AAAAAAAABRY/8ck_b6-PjZc/s1600-h/image%25255B21%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-AMokFo6MUTs/TrKRCZw2ZlI/AAAAAAAABRg/PM3cstYXQ5k/image_thumb%25255B11%25255D.png?imgmax=800" width="444" height="330" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Since I did put the word Welcome in front of this the code the output appears as below.&lt;/p&gt;      &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-Z3bwDYnY7O0/TrKRDXyYLXI/AAAAAAAABRs/GVEoQEMpWr0/s1600-h/image%25255B24%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-DR3NeQnE47I/TrKREuMJL8I/AAAAAAAABR0/ryFDMjffCXU/image_thumb%25255B12%25255D.png?imgmax=800" width="244" height="62" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If you need to change the code you can right click on the user name displayed and click on &lt;em&gt;Edit Field&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Method 2&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Bit difficult way of doing the same is to just type in the code without the help of Word. Since we know what to type in, the trick is to press Control key and F9 (Ctrl + F9) keys before doing anything.&lt;/p&gt;  &lt;p align="justify"&gt;To get this done just go to the place where you need the user name to appear and then press Ctrl + F9 keys. This will add two curly braces (“&lt;strong&gt;{&amp;#160; }&lt;/strong&gt;”) onto Word (Always press Ctrl + F9, never type the braces manually since then it will not work). Then just type in the code we used earlier and it will work the same way.&lt;/p&gt;  &lt;p align="justify"&gt;Knowing the below keyboard shortcuts will ease your life.&lt;/p&gt;  &lt;p align="justify"&gt;Ctrl + F9 – Will add code insertion points to Word.&lt;/p&gt;  &lt;p align="justify"&gt;Shift + F9 – Will toggle the currently selected field code.&lt;/p&gt;  &lt;p align="justify"&gt;Alt + F9 – Will toggle all the filed codes found in the Word document.&lt;/p&gt;  &lt;p align="justify"&gt;If you find that the codes are not working as they should be, simply try right clicking on it and clicking on &lt;em&gt;Update Field&lt;/em&gt;.&lt;/p&gt;  &lt;p align="justify"&gt;Hope this is helpful to you and later I will be putting another post with some field codes in action.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-3973095363439145107?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/3973095363439145107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=3973095363439145107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/3973095363439145107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/3973095363439145107'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/11/field-codes-in-word.html' title='Field Codes in Word'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-mZWeQ9vcnu0/TrKQ9lEDweI/AAAAAAAABRE/S2T8creSYGo/s72-c/image_thumb%25255B1%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-6085697073033199642</id><published>2011-10-31T16:58:00.001+05:30</published><updated>2011-10-31T17:04:17.925+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><title type='text'>JavaScript Performance Testing</title><content type='html'>&lt;p align="justify"&gt;Recently I found a site which enable us to compare the performance of different JavaScripts that we write. This makes us choose the best code when we have several ways of doing the same thing because we can compare the performance of the script that we wrote easily.&lt;/p&gt;  &lt;p align="justify"&gt;If you are interested, go to &lt;a title="http://jsperf.com/" href="http://jsperf.com/"&gt;http://jsperf.com/&lt;/a&gt; to start testing.&lt;/p&gt;  &lt;p align="justify"&gt;You need to just put in “Presentation code HTML” and the required JavaScripts as test cases. Then after saving you can run the tests to check for performance.&lt;/p&gt;  &lt;p align="justify"&gt;Another feature of this site is that you can share your tests with others since you can access the tests using the shown public URL.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-C5K72WYj43s/Tq6HlN9tYtI/AAAAAAAABQw/9fLhBuoUyQo/s1600-h/image%25255B21%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-FSAlaeU1N0s/Tq6GR87FWKI/AAAAAAAABQ4/iDHqneJLkXw/image_thumb%25255B15%25255D.png?imgmax=800" width="254" height="516" /&gt;&lt;/a&gt;&lt;a href="http://lh5.ggpht.com/-vimTm3GKwL0/Tq6GSqHMckI/AAAAAAAABQo/SU_eWBZ9ZM0/s1600-h/image%25255B20%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-d8sUNKruHHk/Tq6GTsadSSI/AAAAAAAABQs/7b9vkpy8jJM/image_thumb%25255B14%25255D.png?imgmax=800" width="254" height="516" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-6085697073033199642?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/6085697073033199642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=6085697073033199642' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6085697073033199642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6085697073033199642'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/10/javascript-performance-testing.html' title='JavaScript Performance Testing'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-FSAlaeU1N0s/Tq6GR87FWKI/AAAAAAAABQ4/iDHqneJLkXw/s72-c/image_thumb%25255B15%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2052882746138879917</id><published>2011-09-16T21:34:00.001+05:30</published><updated>2011-09-16T21:34:08.387+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>TechEd Australia – Videos</title><content type='html'>&lt;p align="justify"&gt;As you might know TechEd Australia ended few weeks back. I am sure lot of you might not have the chance to visit it. The good thing is you can watch the recorded sessions online now by visiting the following site.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a title="http://channel9.msdn.com/events/teched/australia/tech-ed-australia-2011" href="http://channel9.msdn.com/events/teched/australia/tech-ed-australia-2011"&gt;http://channel9.msdn.com/events/teched/australia/tech-ed-australia-2011&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;I think this will be mostly useful to people who didn’t visit TechEd and also to people who visited it to refresh their minds.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2052882746138879917?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2052882746138879917/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2052882746138879917' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2052882746138879917'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2052882746138879917'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/09/teched-australia-videos.html' title='TechEd Australia – Videos'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-1742833134364624410</id><published>2011-08-28T20:32:00.001+05:30</published><updated>2011-08-28T20:34:10.185+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hardware'/><title type='text'>Installing a Telephone Connector</title><content type='html'>&lt;p align="justify"&gt;In the current place I am living I didn’t have a telephone connection, when I applied for a connection and got the connection I found that some of the line wiring and connectors are out of shape. So I had to replace some items and rewire. When doing it I faced few issues since the connector was a legacy connector. So I thought to put an article on how to correctly get it done.&lt;/p&gt;  &lt;p align="justify"&gt;The connector I found in my place is the old Australian connector which is sometimes named as legacy Australian connector or 610 socket. Following are some images to correctly identify it.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-6VnqHbPd_1U/TlpYV_dm9BI/AAAAAAAABLQ/yuxeZfG5jAY/s1600-h/image%25255B9%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-8SCTyDDt13A/TlpYW4X_04I/AAAAAAAABLU/Tm3CydREKXo/image_thumb%25255B5%25255D.png?imgmax=800" width="211" height="161" /&gt;&lt;/a&gt;&lt;a href="http://lh4.ggpht.com/-aTGYOMnk3Ac/TlpYX_TSxMI/AAAAAAAABLY/aWTt1b9sLlQ/s1600-h/image%25255B8%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-INe2ZvbAXdI/TlpYYpp4A_I/AAAAAAAABLc/c2YKog-q_lM/image_thumb%25255B4%25255D.png?imgmax=800" width="188" height="161" /&gt;&lt;/a&gt;&lt;a href="http://lh3.ggpht.com/-lImdYDgDoP0/TlpYZT0bz9I/AAAAAAAABL4/5m24rY8RRbY/s1600-h/image%25255B22%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-d8GkS_ZiTAI/TlpYadVppHI/AAAAAAAABL8/QzclG9XwVJk/image_thumb%25255B12%25255D.png?imgmax=800" width="163" height="161" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;To get it correctly fitted first you need to identify your correct wire pairs, luckily in mine only one pair was working (meaning only one line was present). So I just used my multi meter to find the correct wire pair. Since phone wires will have DC current remember to put your multi meter into DC mode before measuring. Also note that phone lines may conduct 24v-50v DC current normally. When ringing this will change to 75v-90v AC. &lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;IMPORTANT - If you touch them directly you might get an electric shock even though it is not deadly so always make sure you are wearing gloves or adequate footwear since if you do not like to get shocked.&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Even though the old phone cables only had 4 wires the new ones are having more. Sometimes this can even be 50. When there are more wires it means that the wire can be used to connect more lines. For example a cable with 4 wires can be used for 2 lines. A cable with 16 wires can transmit 8 phone lines. To identify the pairs correctly phone wires inside a cable are color coded. Since I am not an expert in this area I will only talk about 6 wired cables. The following will be helpful to find the correct wire pairs for you.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font style="background-color: #ccb400" color="#ffffff"&gt;Pair 1 ring (&lt;font color="#0000ff"&gt;Blue&lt;/font&gt;)&lt;/font&gt; 6 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #ccb400" color="#ffffff"&gt;Pair 1 tip (White)&lt;/font&gt; 2 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #a5b592"&gt;Pair 2 ring (&lt;font color="#474b4e"&gt;Black&lt;/font&gt;)&lt;/font&gt; 1 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #a5b592"&gt;Pair 2 tip (&lt;font color="#ff0000"&gt;Red&lt;/font&gt;)&lt;/font&gt; 5 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #cccccc"&gt;Pair 3 ring (&lt;font color="#00ff00"&gt;Green&lt;/font&gt;)&lt;/font&gt; 3 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #cccccc"&gt;Pair 3 tip (&lt;font color="#f79646"&gt;Orange&lt;/font&gt;)&lt;/font&gt; 4 &lt;/li&gt; &lt;/ul&gt;  &lt;p align="justify"&gt;Now you may be wondering few things, wait I will try to explain.&lt;/p&gt;  &lt;p align="justify"&gt;In the above cable since it has 6 wires it can accommodate 3 phone lines or pairs. For example first pair is White and Blue wires, second pair is Black and Red wires and third pair is Green and Orange wires.&lt;/p&gt;  &lt;p align="justify"&gt;The words ring and tip are like live and neutral or + and –. Ring is battery negative and tip is ground. Since some answering machines do need these correctly hooked in it is always good to connect them correctly to get the ultimate from your equipment. &lt;/p&gt;  &lt;p align="justify"&gt;The last digit in Black represent the place the wire should be connected in the phone socket. To explain this more I will use the following picture I took on 610 socket after removing its cover.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/-QzTlHy3Zpq8/TlpYbKv3X0I/AAAAAAAABLo/X4c4YZfgoA8/s1600-h/image%25255B18%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-tgX9zODTD3A/TlpYceJBAAI/AAAAAAAABLs/n4UzFYaavcA/image_thumb%25255B10%25255D.png?imgmax=800" width="234" height="253" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;If you closely look into the socket you will see there are numbers from 1 to 6 (sorry they are not visible in the image) marking the pins. The numbering starts from right to left in the image. So the Red wire in the image is connected to pin 1 and Blue wire is connected to pin 6. &lt;/p&gt;  &lt;p align="justify"&gt;After identifying the pins in the socket and wire pairs the next step is to correctly connect them. You just need to connect the pairs as per the last digit shown in the bulleted list above. If you correctly got it it should end up like this.&lt;/p&gt;  &lt;p align="justify"&gt;From right to left on the socket.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font style="background-color: #a5b592"&gt;Pair 2 ring (&lt;font color="#474b4e"&gt;Black&lt;/font&gt;)&lt;/font&gt; – Pin 1 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #ccb400" color="#ffffff"&gt;Pair 1 tip (White)&lt;/font&gt; – Pin 2 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #cccccc"&gt;Pair 3 ring (&lt;font color="#00ff00"&gt;Green&lt;/font&gt;)&lt;/font&gt; – Pin 3 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #cccccc"&gt;Pair 3 tip (&lt;font color="#f79646"&gt;Orange&lt;/font&gt;)&lt;/font&gt; – Pin 4 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #a5b592"&gt;Pair 2 tip (&lt;font color="#ff0000"&gt;Red&lt;/font&gt;)&lt;/font&gt; – Pin 5 &lt;/li&gt;    &lt;li&gt;&lt;font style="background-color: #ccb400" color="#ffffff"&gt;Pair 1 ring (&lt;font color="#0000ff"&gt;Blue&lt;/font&gt;)&lt;/font&gt; – Pin 6 &lt;!--EndFragment--&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Then replace the socket cover and plug in the compatible plug (605) into the socket.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-AoJIGMScdtk/TlpYdiP70AI/AAAAAAAABLw/Y7IWkZVwlvg/s1600-h/image%25255B21%25255D.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-0jGfVL6nYRw/TlpYeZbmkfI/AAAAAAAABL0/g0GdZx23stY/image_thumb%25255B11%25255D.png?imgmax=800" width="244" height="200" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;As you see in my plug only four contacts are there meaning I only can use 2 phone lines (pairs), but since I only have one line this is not an issue to me. So make sure to find the correct plug if you are trying to utilize all 3 pairs.&lt;/p&gt;  &lt;p align="justify"&gt;I know there must be many unanswered questions. Even though I am not an expert on this area let me know if you face any problems, I will try to help you. &lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-1742833134364624410?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/1742833134364624410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=1742833134364624410' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1742833134364624410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1742833134364624410'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/08/installing-telephone-connector.html' title='Installing a Telephone Connector'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/-8SCTyDDt13A/TlpYW4X_04I/AAAAAAAABLU/Tm3CydREKXo/s72-c/image_thumb%25255B5%25255D.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-697066952014541522</id><published>2011-07-28T19:09:00.001+05:30</published><updated>2011-07-28T19:09:55.053+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Comparing Content Management Systems</title><content type='html'>&lt;p align="justify"&gt;Recently I needed to compare the features of different Content Management Systems (CMS) and came up to the following site which has a huge list of Systems with the ability to compare their features.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a title="http://www.cmsmatrix.org/" href="http://www.cmsmatrix.org/"&gt;http://www.cmsmatrix.org/&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-697066952014541522?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/697066952014541522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=697066952014541522' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/697066952014541522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/697066952014541522'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/07/comparing-content-management-systems.html' title='Comparing Content Management Systems'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-432846387234506074</id><published>2011-07-07T19:47:00.001+05:30</published><updated>2011-07-07T19:50:47.849+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Singapore Airport'/><category scheme='http://www.blogger.com/atom/ns#' term='Travel'/><category scheme='http://www.blogger.com/atom/ns#' term='Singapore'/><category scheme='http://www.blogger.com/atom/ns#' term='Planes'/><title type='text'>Came Back to Australia</title><content type='html'>&lt;p align="justify"&gt;Since last May I was back in Australia with my wife, so didn’t had a chance to update my site for a long time. This time I will be staying in Adelaide for long.&lt;/p&gt;  &lt;p align="justify"&gt;Thought to share some pictures I took on my way here through Singapore. &lt;/p&gt;  &lt;p align="justify"&gt;Following are some photos I took while we were in some indoor gardens at Singapore Airport. &lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh5.ggpht.com/-3y1zxhkY2VI/ThW9w2ioQKI/AAAAAAAABHA/ndU0d8m5pcI/s1600-h/IMG_2819%25255B5%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2819" border="0" alt="IMG_2819" src="http://lh3.ggpht.com/-b3-npcHnq7U/ThW9xxr664I/AAAAAAAABHE/pxeLIYecqdQ/IMG_2819_thumb%25255B2%25255D.jpg?imgmax=800" width="408" height="313" /&gt;&lt;/a&gt;&lt;a href="http://lh3.ggpht.com/-_J6Q1dOye40/ThW9z-NedvI/AAAAAAAABHI/DVZyyhIaU0I/s1600-h/IMG_2826%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2826" border="0" alt="IMG_2826" src="http://lh6.ggpht.com/-9llMwV9Z9xo/ThW90201OXI/AAAAAAAABHM/9EjGfOezVz0/IMG_2826_thumb%25255B1%25255D.jpg?imgmax=800" width="409" height="311" /&gt;&lt;/a&gt;&lt;a href="http://lh4.ggpht.com/-TsmmdeS58U8/ThW92mKQjKI/AAAAAAAABHQ/FGdgSCH1Aws/s1600-h/IMG_2894%25255B7%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2894" border="0" alt="IMG_2894" src="http://lh3.ggpht.com/-U7BrFA7WwYc/ThW93h2PRGI/AAAAAAAABHU/mpJJGGQkrYY/IMG_2894_thumb%25255B4%25255D.jpg?imgmax=800" width="409" height="318" /&gt;&lt;/a&gt;&lt;a href="http://lh3.ggpht.com/-bYtdQOcIvRo/ThW95M4pYzI/AAAAAAAABHY/i6H2H41LMg8/s1600-h/IMG_2896%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2896" border="0" alt="IMG_2896" src="http://lh4.ggpht.com/-CrOxKtkSX-8/ThW9550vsXI/AAAAAAAABHc/0ik_Ryojp3Q/IMG_2896_thumb%25255B1%25255D.jpg?imgmax=800" width="406" height="544" /&gt;&lt;/a&gt;&lt;a href="http://lh3.ggpht.com/-heMRJjU0qPE/ThW972Hm74I/AAAAAAAABHg/DI17_gP9_Pc/s1600-h/IMG_2897%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2897" border="0" alt="IMG_2897" src="http://lh4.ggpht.com/-b3xDudbij_Q/ThW98usQ5lI/AAAAAAAABHk/-OCc6VG17ok/IMG_2897_thumb%25255B1%25255D.jpg?imgmax=800" width="407" height="310" /&gt;&lt;/a&gt;&lt;a href="http://lh4.ggpht.com/-2sfc7B7ttaY/ThW9-P_6CpI/AAAAAAAABHo/-QhYhIwF8ak/s1600-h/IMG_2900%25255B5%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2900" border="0" alt="IMG_2900" src="http://lh6.ggpht.com/-gGrtknXIm8g/ThW9_QtHZBI/AAAAAAAABHs/i284egfsKIk/IMG_2900_thumb%25255B2%25255D.jpg?imgmax=800" width="407" height="312" /&gt;&lt;/a&gt;&lt;a href="http://lh6.ggpht.com/-DDRVqKQuZUg/ThW-B7Lt1yI/AAAAAAAABHw/KV6iFOh9Gzs/s1600-h/IMG_2901%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2901" border="0" alt="IMG_2901" src="http://lh6.ggpht.com/-X2vaiaNkHNo/ThW-CyZRLsI/AAAAAAAABH0/KykHIaFWP5o/IMG_2901_thumb%25255B1%25255D.jpg?imgmax=800" width="409" height="311" /&gt;&lt;/a&gt;&lt;a href="http://lh3.ggpht.com/-J0UzV91meEM/ThW-ENL9GuI/AAAAAAAABH4/aKW2lUsnE-o/s1600-h/IMG_2904%25255B7%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2904" border="0" alt="IMG_2904" src="http://lh5.ggpht.com/-dSZlKg_dehc/ThW-FKkrrxI/AAAAAAAABH8/TdXOm_srPBw/IMG_2904_thumb%25255B4%25255D.jpg?imgmax=800" width="405" height="550" /&gt;&lt;/a&gt;&lt;a href="http://lh4.ggpht.com/--Y_e-XJJ2pA/ThW-GvdEWtI/AAAAAAAABIA/VR8F8xfrjlo/s1600-h/IMG_2887%25255B6%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2887" border="0" alt="IMG_2887" src="http://lh6.ggpht.com/-SG_M-JVMJXE/ThW-HnymXxI/AAAAAAAABIE/IjZRXqjNU6w/IMG_2887_thumb%25255B3%25255D.jpg?imgmax=800" width="407" height="315" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Some photos I captured while we were in Singapore City.&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh6.ggpht.com/-nIFd7sS0Wcs/ThW-I9U52EI/AAAAAAAABII/FqleAibzy2Q/s1600-h/IMG_2841%25255B5%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2841" border="0" alt="IMG_2841" src="http://lh3.ggpht.com/-3D3VEY5i1SU/ThW-JmRP-gI/AAAAAAAABIM/II5kVETTivg/IMG_2841_thumb%25255B2%25255D.jpg?imgmax=800" width="406" height="311" /&gt;&lt;/a&gt;&lt;a href="http://lh3.ggpht.com/-UFya1o4DQL4/ThW-LUJoXLI/AAAAAAAABIQ/WqwZkOwSO_8/s1600-h/IMG_2852%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2852" border="0" alt="IMG_2852" src="http://lh3.ggpht.com/-F4bgooTbRpI/ThW-MeHIQTI/AAAAAAAABIU/lQij2ykBcdQ/IMG_2852_thumb%25255B1%25255D.jpg?imgmax=800" width="409" height="311" /&gt;&lt;/a&gt;&lt;a href="http://lh6.ggpht.com/-fM1vhS47ZZY/ThW-O9w94SI/AAAAAAAABIY/mLtEdIXymeY/s1600-h/IMG_2853%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2853" border="0" alt="IMG_2853" src="http://lh6.ggpht.com/-ly4cfEbHLgA/ThW-QM2kV_I/AAAAAAAABIc/G0aYfywKXPk/IMG_2853_thumb%25255B1%25255D.jpg?imgmax=800" width="412" height="313" /&gt;&lt;/a&gt;&lt;a href="http://lh5.ggpht.com/-iMc8uAjzZME/ThW-Rx5Yj9I/AAAAAAAABIg/Rk-9Z310yQk/s1600-h/IMG_2856%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2856" border="0" alt="IMG_2856" src="http://lh3.ggpht.com/-wx67Lo7pFso/ThW-TBWt6EI/AAAAAAAABIk/BbDUNY1fdpA/IMG_2856_thumb%25255B1%25255D.jpg?imgmax=800" width="412" height="313" /&gt;&lt;/a&gt;&lt;a href="http://lh5.ggpht.com/-N-cpGtZWsTM/ThW-UiepB7I/AAAAAAAABIo/DVS4pNl5wfY/s1600-h/IMG_2866%25255B6%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2866" border="0" alt="IMG_2866" src="http://lh4.ggpht.com/-YqbOhrgrPzA/ThW-VZEFYBI/AAAAAAAABIs/3-8cQtrAoNw/IMG_2866_thumb%25255B3%25255D.jpg?imgmax=800" width="410" height="317" /&gt;&lt;/a&gt;&lt;a href="http://lh6.ggpht.com/-LyKr1dbPxEk/ThW-XNBIWeI/AAAAAAAABIw/BzYY_0oPoRA/s1600-h/IMG_2867%25255B5%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2867" border="0" alt="IMG_2867" src="http://lh5.ggpht.com/-j3pOqAcRitg/ThW-XzOgRDI/AAAAAAAABI0/rMUmXAX3Fp0/IMG_2867_thumb%25255B2%25255D.jpg?imgmax=800" width="407" height="311" /&gt;&lt;/a&gt;&lt;a href="http://lh6.ggpht.com/-lqhv-sGhmRs/ThW-ZYOPsmI/AAAAAAAABI4/QNxfcJx54kk/s1600-h/IMG_2868%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2868" border="0" alt="IMG_2868" src="http://lh4.ggpht.com/-akyWKo7uKZ8/ThW-ablJAkI/AAAAAAAABI8/T7Ablz12f-Y/IMG_2868_thumb%25255B1%25255D.jpg?imgmax=800" width="407" height="310" /&gt;&lt;/a&gt;&lt;a href="http://lh5.ggpht.com/-P562wltbWFo/ThW-bWLWsNI/AAAAAAAABJA/mPWy5EhQQbI/s1600-h/IMG_2871%25255B5%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2871" border="0" alt="IMG_2871" src="http://lh5.ggpht.com/-m5UQ3v7tDhg/ThW-coCt4zI/AAAAAAAABJE/LuYEqht0oHI/IMG_2871_thumb%25255B2%25255D.jpg?imgmax=800" width="405" height="546" /&gt;&lt;/a&gt;&lt;a href="http://lh3.ggpht.com/-Ir2GzVBjmeI/ThW-eKIlAGI/AAAAAAAABJI/BoLLu8YAkAg/s1600-h/IMG_2872%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2872" border="0" alt="IMG_2872" src="http://lh3.ggpht.com/-6-zswgw1GNw/ThW-fKFtvII/AAAAAAAABJM/Pj0Dpw7RscA/IMG_2872_thumb%25255B1%25255D.jpg?imgmax=800" width="407" height="310" /&gt;&lt;/a&gt;&lt;a href="http://lh5.ggpht.com/-7xtGvCskJ9k/ThW-hD9nyFI/AAAAAAAABJQ/8m9CBMemGrA/s1600-h/IMG_2875%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2875" border="0" alt="IMG_2875" src="http://lh5.ggpht.com/-Zyo0Ysq_ZRU/ThW-iKhr6HI/AAAAAAAABJU/C7R1O5t2SF0/IMG_2875_thumb%25255B1%25255D.jpg?imgmax=800" width="407" height="310" /&gt;&lt;/a&gt;&lt;a href="http://lh6.ggpht.com/-Cclr90sNbrY/ThW-jto-e2I/AAAAAAAABJY/tPhKWULs9sw/s1600-h/IMG_2876%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2876" border="0" alt="IMG_2876" src="http://lh6.ggpht.com/-elCz4sOj1mI/ThW-kjM-hSI/AAAAAAAABJc/VaB94d6jpZo/IMG_2876_thumb%25255B1%25255D.jpg?imgmax=800" width="409" height="311" /&gt;&lt;/a&gt;&lt;a href="http://lh3.ggpht.com/-xQQyv0zJBf8/ThW-mPSJtVI/AAAAAAAABJg/jtUow_3cxIo/s1600-h/IMG_2882%25255B5%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2882" border="0" alt="IMG_2882" src="http://lh5.ggpht.com/-sdf9vJc8tSA/ThW-nCED-3I/AAAAAAAABJk/FAfC7V2Q3og/IMG_2882_thumb%25255B2%25255D.jpg?imgmax=800" width="409" height="313" /&gt;&lt;/a&gt;&lt;a href="http://lh5.ggpht.com/--GxWiPtEu38/ThW-ot2ZEaI/AAAAAAAABJo/gsJReJBlALM/s1600-h/IMG_2884%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IMG_2884" border="0" alt="IMG_2884" src="http://lh5.ggpht.com/-Rh737OOPo6g/ThW-pQJCf7I/AAAAAAAABJs/-dUtTT0HvwE/IMG_2884_thumb%25255B1%25255D.jpg?imgmax=800" width="411" height="313" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Even though this was my second time in Singapore I will never be bored being in Singapore due to vast variety of facilities Changi airport is providing.&lt;/p&gt;  &lt;p align="justify"&gt;In flight to Adelaide, Australia on Singapore Airlines Airbus A330.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/-qkpDdq9_8pw/ThW-qcnWeTI/AAAAAAAABJw/hKZVhrBCY9o/s1600-h/IMG_2918%25255B4%25255D.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="IMG_2918" border="0" alt="IMG_2918" src="http://lh3.ggpht.com/-RxINj1DmaMs/ThW-rDUl0rI/AAAAAAAABJ0/AzqSl7FwuHQ/IMG_2918_thumb%25255B1%25255D.jpg?imgmax=800" width="290" height="389" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-432846387234506074?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/432846387234506074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=432846387234506074' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/432846387234506074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/432846387234506074'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/07/came-back-to-australia_07.html' title='Came Back to Australia'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-b3-npcHnq7U/ThW9xxr664I/AAAAAAAABHE/pxeLIYecqdQ/s72-c/IMG_2819_thumb%25255B2%25255D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-5060141941870475149</id><published>2011-04-25T22:13:00.001+05:30</published><updated>2011-10-25T07:11:41.979+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Query'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Database Not Accessible</title><content type='html'>&lt;p align="justify"&gt;Recently after restoring a database backup which I got from another server I repeatedly encountered an error when logged in using a user who is given permission. But when ‘sa’ account is used I could work with the database without any problem.&lt;/p&gt;  &lt;p align="justify"&gt;The error message was “The database DATABASE NAME is not accessible. (ObjectExplorer)” which was not helpful since it didn’t give any clue to figure out the issue.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/-qUrFy07f_T0/TqYTz7OcSYI/AAAAAAAABNA/1fmXIdHBINc/s1600-h/image%25255B11%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-7bLNrWRzHB8/TqYT07DpjgI/AAAAAAAABNI/mFyfgYJA-Dg/image_thumb%25255B7%25255D.png?imgmax=800" width="608" height="144" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Later I found that the issue is because the user in the restored database is not properly mapped to the user in the new server and the resolution for this is to run the stored procedure sp_change_users_login to correct the orphaned user.&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;sp_change_users_login 'update_one', 'USER', 'LOGIN' – Links the given user in the current database to the specified login. &lt;/li&gt;    &lt;li&gt;sp_change_users_login 'auto_fix', 'USER' – Links the given user in the current database to the login having the same name in the current server. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;After running this you will be able to access the restored database without any issue using the mentioned database user.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-5060141941870475149?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/5060141941870475149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=5060141941870475149' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5060141941870475149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5060141941870475149'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/04/database-not-accessible.html' title='Database Not Accessible'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-7bLNrWRzHB8/TqYT07DpjgI/AAAAAAAABNI/mFyfgYJA-Dg/s72-c/image_thumb%25255B7%25255D.png?imgmax=800' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-1639496260553648838</id><published>2011-04-03T12:04:00.001+05:30</published><updated>2011-04-03T12:04:55.413+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Part'/><title type='text'>SharePoint 2010 Videos</title><content type='html'>&lt;p align="justify"&gt;Thought to share few sites I found which might help you start development on SharePoint 2010.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://sharepoint.microsoft.com/en-us/Pages/default.aspx"&gt;Official Microsoft SharePoint Site&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://msdn.microsoft.com/en-us/sharepoint/ee513148.aspx"&gt;Getting started developing on SharePoint&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://sharepoint.microsoft.com/en-us/resources/Pages/Developer-Training-Guide.aspx"&gt;SharePoint Resources for Developers&lt;/a&gt; – This has links to many SharePoint learning videos&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://www.microsoft.com/visualstudio/buildabetterapp/Learning.aspx"&gt;Using SharePoint 2010&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Hope these helps.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-1639496260553648838?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/1639496260553648838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=1639496260553648838' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1639496260553648838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1639496260553648838'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/04/sharepoint-2010-videos.html' title='SharePoint 2010 Videos'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-1364802890669344559</id><published>2011-04-03T00:11:00.001+05:30</published><updated>2011-04-03T00:22:51.521+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Menu Overlapping with Report</title><content type='html'>&lt;p align="justify"&gt;If you had lengthier menus in you ASP.Net application and had used report viewer control you may have faced the problem of report and menu overlapping when ever the report is loaded with data. For example in my sample application it appeared as below.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TZdtwANbU_I/AAAAAAAABGo/XExA7k86JyE/s1600-h/image6.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/TZdtzx970vI/AAAAAAAABGs/94hmHntzv1M/image_thumb2.png?imgmax=800" width="406" height="238" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;To correct this behavior you need to set the z-index for menu and report viewer using CSS class property. For this I have used the following CSS classes in the Style.CSS.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:c562e28d-f39a-4784-9bd8-8c15af4b40f0" class="wlWriterEditableSmartContent"&gt; &lt;div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt; &lt;div style="background: #ddd; max-height: 500px; overflow: auto"&gt; &lt;ol style="background: #ffffff; margin: 0 0 0 2.5em; padding: 0 0 0 5px;"&gt; &lt;li&gt;&lt;span style="color:#006400"&gt;/* CSS Class for the Menu. */&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#800000"&gt;div.menu&lt;/span&gt;&lt;/li&gt; &lt;li&gt;{&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;padding&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;4px&lt;/span&gt; &lt;span style="color:#0000ff"&gt;0px&lt;/span&gt; &lt;span style="color:#0000ff"&gt;4px&lt;/span&gt; &lt;span style="color:#0000ff"&gt;8px&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;}&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&amp;nbsp;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#006400"&gt;/* CSS Class for a Menu Item. */&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#800000"&gt;div.menu&lt;/span&gt; &lt;span style="color:#800000"&gt;ul&lt;/span&gt;&lt;/li&gt; &lt;li&gt;{&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;list-style&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;none&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;margin&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0px&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;padding&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0px&lt;/span&gt;;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;auto&lt;/span&gt;;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;z-index&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;1&lt;/span&gt;; &lt;span style="color:#006400"&gt;/* Setting the control to appear on top of level 0 controls for e.g. report viewer. */&lt;/span&gt;&lt;/li&gt; &lt;li&gt;}&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&amp;nbsp;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#006400"&gt;/* CSS Class for the Report Viewer. */&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#800000"&gt;.report&lt;/span&gt;&lt;/li&gt; &lt;li&gt;{&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;z-index&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0&lt;/span&gt;; &lt;span style="color:#006400"&gt;/* Setting the control to appear below the level 1 controls for e.g. menu items. */&lt;/span&gt;&lt;/li&gt; &lt;li&gt;}&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;To apply the CSS use a code similar to following.&lt;/p&gt;  &lt;p&gt;Appling CSS Class to menu in master page.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:5691b5af-4554-4738-bb9c-4dd3c8d6352f" class="wlWriterEditableSmartContent"&gt; &lt;div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt; &lt;div style="background: #ddd; max-height: 500px; overflow: auto"&gt; &lt;ol style="background: #ffffff; margin: 0 0 0 2.5em; padding: 0 0 0 5px;"&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;Menu&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;NavigationMenu&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;CssClass&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;menu&amp;quot;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;&lt;span style="color:#ff0000"&gt;EnableViewState&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;IncludeStyleBlock&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;false&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Orientation&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Horizontal&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;Items&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;NavigateUrl&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;~/Default.aspx&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Home&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;NavigateUrl&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;~/About.aspx&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;About&amp;quot;/&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;New Item&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;MenuItem&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;Items&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;Menu&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Appling CSS Class to report viewer.&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:f5847992-4b42-403b-8f9c-62fdb69f1cd1" class="wlWriterEditableSmartContent"&gt; &lt;div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt; &lt;div style="background: #ddd; max-height: 500px; overflow: auto"&gt; &lt;ol style="background: #ffffff; margin: 0 0 0 2em; padding: 0 0 0 5px;"&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;rsweb&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;ReportViewer&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;ReportViewer1&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;server&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Font-Names&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Verdana&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;CssClass&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;report&amp;quot;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#ff0000"&gt;Font-Size&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;8pt&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;InteractiveDeviceInfos&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;(Collection)&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;WaitMessageFont-Names&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Verdana&amp;quot;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;    &lt;span style="color:#ff0000"&gt;WaitMessageFont-Size&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;14pt&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Width&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;636px&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;LocalReport&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ReportPath&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;Report1.rdlc&amp;quot;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;DataSources&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;            &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;rsweb&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;ReportDataSource&lt;/span&gt; &lt;span style="color:#ff0000"&gt;DataSourceId&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;ObjectDataSource1&amp;quot;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Name&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&amp;quot;DataSet1&amp;quot;&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;        &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;DataSources&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li style="background: #f3f3f3"&gt;    &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;LocalReport&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;rsweb&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;ReportViewer&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;/div&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;This will correct the overlapping issue as seen below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TZdt2Sav5sI/AAAAAAAABGw/YFiXy5wSRdo/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TZdt5vYzd_I/AAAAAAAABG0/ZHKAMM32MmM/image_thumb%5B1%5D.png?imgmax=800" width="414" height="243" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-1364802890669344559?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/1364802890669344559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=1364802890669344559' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1364802890669344559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1364802890669344559'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/04/menu-overlapping-with-report.html' title='Menu Overlapping with Report'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hehD4NAAnEk/TZdtzx970vI/AAAAAAAABGs/94hmHntzv1M/s72-c/image_thumb2.png?imgmax=800' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-5195736252495589153</id><published>2011-02-27T04:10:00.001+05:30</published><updated>2011-02-27T04:10:24.838+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Shopping'/><category scheme='http://www.blogger.com/atom/ns#' term='Travel'/><title type='text'>Amazing Craft Shop Benthota – Sri Lanka</title><content type='html'>&lt;p align="justify"&gt;Recently when I visit my home town Benthota I happen to step into a craft shop on the way to my home thinking to buy a wooden model of an elephant. Before stepping into the shop it was appeared to me as a shop having a huge collection of animal models but I felt I am wrong after entering into the shop. &lt;/p&gt;  &lt;p align="justify"&gt;The collection was larger than I imagined, it had almost all the craft items you can possibly buy in Sri Lanka. To name some it had many different god statues, animal models, traditional masks, resting chairs, wall hangers, leather items, hand bags, shoes, African masks, etc… Since the list may go on for some time I thought to put some pictures I took of the place to give you an idea.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TWmBTqq_dXI/AAAAAAAABGc/fEk7DDtZ4Jk/s1600-h/IMG_2343%5B3%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_2343" border="0" alt="IMG_2343" src="http://lh6.ggpht.com/_hehD4NAAnEk/TWmBUyvZFjI/AAAAAAAABGg/R-JTjC8slkU/IMG_2343_thumb%5B1%5D.jpg?imgmax=800" width="387" height="293" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;div style="padding-bottom: 0px; padding-left: 0px; width: 348px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:e6ab422d-41de-4175-a4f0-223bd6b2c6ff" class="wlWriterEditableSmartContent"&gt;&lt;a style="border:0px" href="http://cid-33617fa54cab904d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=33617FA54CAB904D!1719&amp;amp;type=5"&gt;&lt;img style="border:0px" alt="View Amazing Craft Shop - Benthota" src="http://lh6.ggpht.com/_hehD4NAAnEk/TWmBVxJVS3I/AAAAAAAABGk/5j7c0XEex84/InlineRepresentation824dd1cb-0725-4332-8af9-ef368dca3185.jpg?imgmax=800" /&gt;&lt;/a&gt;&lt;div style="width:340px;text-align:right;" &gt;&lt;a href="http://cid-33617fa54cab904d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=33617FA54CAB904D!1719&amp;amp;type=5"&gt;View Full Album&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p align="justify"&gt;If you are a tourist visiting Sri Lanka or if you are a Sri Lankan searching for handi/crafts I recommend you to visit this shop. You can find this shop besides the road when you are travelling from Benthota to Yathramulla.&lt;/p&gt;  &lt;p align="justify"&gt;If you need any help finding the place or buying these stuff let me know, I might be able to help you.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-5195736252495589153?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/5195736252495589153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=5195736252495589153' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5195736252495589153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5195736252495589153'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/02/amazing-craft-shop-benthota-sri-lanka.html' title='Amazing Craft Shop Benthota – Sri Lanka'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hehD4NAAnEk/TWmBUyvZFjI/AAAAAAAABGg/R-JTjC8slkU/s72-c/IMG_2343_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2148297585200619191</id><published>2011-02-20T23:42:00.001+05:30</published><updated>2011-02-26T14:06:49.592+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hotels'/><category scheme='http://www.blogger.com/atom/ns#' term='Travel'/><title type='text'>Saman Villas Benthota – Sri Lanka</title><content type='html'>&lt;p align="justify"&gt;If you are in Sri Lanka there are many places that you should visit, among them one very good and different hotel that I recommend is Saman Vilas Benthota. &lt;/p&gt;  &lt;p align="justify"&gt;Even though a friend told me that it is an amazing hotel I didn’t think that it would be such a great place until I went there. Because of its shear beauty I thought to put a post on that amazing hotel.&lt;/p&gt;  &lt;p align="justify"&gt;It is different because it will not provide you rooms but it will provide private villas for your comfort. Some of them are even having private swimming pools as well. Among the many other goodies you will get there, one thing is that you can wake up into the rising sun from your villa with a great view of the ocean. Also the food is very tasty and the presentation is also very attractive. Another specialty of the hotel is that the kitchen staff is working all 24 hours for you. If you need to have a late dinner at about 1:00 AM they are very happy to cater you without any extra payments and you only needs to ask the friendly staff. &lt;/p&gt;  &lt;p align="justify"&gt;If you would like to relax your body the best place is to go to their spa, you will be entitled to a 15 minutes free massage. If interested you can also use their library as well.&lt;/p&gt;  &lt;p align="justify"&gt;Before putting pictures I should say that it is having very nice views which are worth experiencing. No need to explain more since the following pictures that I took will prove my fact.&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TWi5vZXuEgI/AAAAAAAABGM/skLGte6CcjA/s1600-h/12%5B9%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="12" border="0" alt="12" src="http://lh3.ggpht.com/_hehD4NAAnEk/TWi5wCwOWYI/AAAAAAAABGQ/dj1rPlsEtG0/12_thumb%5B7%5D.jpg?imgmax=800" width="409" height="241" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;div style="padding-bottom: 0px; padding-left: 0px; width: 404px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:2e8b0aa6-8b57-4830-992b-975375d3cfb0" class="wlWriterEditableSmartContent"&gt;&lt;a style="border:0px" href="http://cid-33617fa54cab904d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=33617FA54CAB904D!1673&amp;amp;type=5"&gt;&lt;img style="border:0px" alt="View Saman Villas" src="http://lh6.ggpht.com/_hehD4NAAnEk/TWFZa679WwI/AAAAAAAABF4/riM3pe1DPeE/InlineRepresentationc4f465e4-c876-4a56-91df-187d9505291e.jpg?imgmax=800" /&gt;&lt;/a&gt;&lt;div style="width:400px;text-align:right;" &gt;&lt;a href="http://cid-33617fa54cab904d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=33617FA54CAB904D!1673&amp;amp;type=5"&gt;View Full Album&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="left"&gt;Contact them to get more details.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Hotel&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Aturuwella, Benthota. Sri Lanka    &lt;br /&gt;Tel: +94 34 2275435, +94 34 4936200.     &lt;br /&gt;Fax: +94 34 2275433, +94 34 4287063.     &lt;br /&gt;&lt;a href="mailto:resv@samanvilla.com"&gt;resv@samanvilla.com&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Head Office&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;90 Gothami Road, Colombo 08. Sri Lanka    &lt;br /&gt;Tel: +94 11 4866515, +94 11 2679562.     &lt;br /&gt;Fax: +94 11 4611049.     &lt;br /&gt;&lt;a href="mailto:resv_samanvil@sltnet.lk"&gt;resv_samanvil@sltnet.lk&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.samanvilla.com/" href="http://www.samanvilla.com/"&gt;http://www.samanvilla.com/&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2148297585200619191?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2148297585200619191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2148297585200619191' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2148297585200619191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2148297585200619191'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/02/saman-villas-benthota-sri-lanka.html' title='Saman Villas Benthota – Sri Lanka'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_hehD4NAAnEk/TWi5wCwOWYI/AAAAAAAABGQ/dj1rPlsEtG0/s72-c/12_thumb%5B7%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-6339405777985384175</id><published>2011-01-27T00:25:00.001+05:30</published><updated>2011-10-25T08:00:11.772+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='Active Directory'/><title type='text'>How to Allow Simple Passwords for Domain Users</title><content type='html'>&lt;p align="justify"&gt;Even though it is always better to use complex passwords, you may get a requirement to allow users to have simple passwords. To allow domain users to use simple passwords you need to modify the domain policy. In my following post I am using a Windows 2008 R2 machine.&lt;/p&gt;  &lt;p align="justify"&gt;1. Start Group Policy Management by clicking Start –&amp;gt; Administrative Tools –&amp;gt; Group Policy Management in your domain server or type gpmc.msc on the run window.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-x7lU9GWT4bY/TqYfKyomZ_I/AAAAAAAABOQ/NMWgAykmYOU/s1600-h/image%25255B33%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-4C77Nh854Fo/TqYfMfKMi0I/AAAAAAAABOY/mIAHdJQubLE/image_thumb%25255B21%25255D.png?imgmax=800" width="497" height="399" /&gt;&lt;/a&gt; 2. In the group policy management expand the forest node and then the domain node. By then you will see the domains available. Expand the domain you want the setting changed and right click on the Default Domain Policy item and select Edit. This will bring the Group Policy Management Editor.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/-2__IIyn5HrQ/TqYcL_NHoGI/AAAAAAAABNg/1yH8Jw-6aGY/s1600-h/image%25255B26%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-hbVMQ0RZU-g/TqYcNCM9njI/AAAAAAAABNo/y0Nh6OoQZuI/image_thumb%25255B16%25255D.png?imgmax=800" width="497" height="339" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;3. In the Group Policy Management Editor find the policy ‘Password must meet complexity requirements.’ by expanding Computer Configuration –&amp;gt; Policies –&amp;gt; Windows Settings –&amp;gt; Security Settings –&amp;gt; Account Policies and selecting Password Policy. Then right click and get the properties of the policy.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/-CgH40WcvpX0/TqYcOcjYtsI/AAAAAAAABNw/7j0grFQrXHM/s1600-h/image%25255B20%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-qHR433F7pyc/TqYcPTfNI7I/AAAAAAAABN4/JCqiU3mhw4Q/image_thumb%25255B12%25255D.png?imgmax=800" width="500" height="375" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;4. To disable complex passwords select the Disabled radio button and click Apply.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TUBt-LgmFhI/AAAAAAAABFk/k2ootNbYDMs/s1600-h/image%5B16%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TUBuBmKpB9I/AAAAAAAABFo/ITmBYGhYUZ0/image_thumb%5B8%5D.png?imgmax=800" width="497" height="365" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;5. To check whether the setting is really applied you can close the Group Policy Management Editor and check the settings tab at Group Policy Management.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/-GKHMeahocTw/TqYcQfanMeI/AAAAAAAABN8/oH7XzfriY4g/s1600-h/image%25255B25%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-rb9RWzoU0Go/TqYcRvtTTyI/AAAAAAAABOI/l2rP3qAgxD8/image_thumb%25255B15%25255D.png?imgmax=800" width="504" height="345" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-6339405777985384175?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/6339405777985384175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=6339405777985384175' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6339405777985384175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6339405777985384175'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/01/how-to-allow-simple-passwords-for.html' title='How to Allow Simple Passwords for Domain Users'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/-4C77Nh854Fo/TqYfMfKMi0I/AAAAAAAABOY/mIAHdJQubLE/s72-c/image_thumb%25255B21%25255D.png?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-8064800963414446608</id><published>2011-01-26T02:04:00.001+05:30</published><updated>2011-01-26T02:08:41.358+05:30</updated><title type='text'>My Wedding and Home Coming</title><content type='html'>&lt;p align="justify"&gt;Even though it is sometime after my wedding, I didn’t had a chance to blog about it, and suddenly thought to put a post with some pictures of that fabulous day of my life.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;&lt;u&gt;Wedding Day&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p align="left"&gt;Poruwa Ceremony&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TT8zay3UsiI/AAAAAAAABCQ/Vp6EXe2pWxk/s1600-h/IQ3W5266%5B3%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="IQ3W5266" border="0" alt="IQ3W5266" src="http://lh3.ggpht.com/_hehD4NAAnEk/TT8zcQVGHfI/AAAAAAAABCU/YlmA2v_uhAg/IQ3W5266_thumb%5B1%5D.jpg?imgmax=800" width="401" height="270" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="left"&gt;Our Wedding Cake&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TT8zekWqREI/AAAAAAAABCY/HGVVoP9TXX4/s1600-h/IQ3W5350%5B8%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="IQ3W5350" border="0" alt="IQ3W5350" src="http://lh6.ggpht.com/_hehD4NAAnEk/TT8zgIomdKI/AAAAAAAABCc/bVJI1sqf3iQ/IQ3W5350_thumb%5B6%5D.jpg?imgmax=800" width="401" height="270" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TT8zhyO0JnI/AAAAAAAABCg/eC4BZ-mjLmQ/s1600-h/12%5B2%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="12" border="0" alt="12" src="http://lh4.ggpht.com/_hehD4NAAnEk/TT8zitF-mYI/AAAAAAAABCk/4gHIFcThey0/12_thumb.jpg?imgmax=800" width="401" height="270" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="left"&gt;Parents and Us&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TT8zkozIIPI/AAAAAAAABDo/ZKeQUWxVpW8/s1600-h/IQ3W5171%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="IQ3W5171" border="0" alt="IQ3W5171" src="http://lh5.ggpht.com/_hehD4NAAnEk/TT8zlup7caI/AAAAAAAABDw/A0opM3f8XyQ/IQ3W5171_thumb%5B1%5D.jpg?imgmax=800" width="399" height="270" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TT8znSfDYGI/AAAAAAAABD4/TGh-HZuXxZ0/s1600-h/IQ3W5169%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="IQ3W5169" border="0" alt="IQ3W5169" src="http://lh4.ggpht.com/_hehD4NAAnEk/TT8zofLHWqI/AAAAAAAABEA/96h1b3P7Pl8/IQ3W5169_thumb%5B2%5D.jpg?imgmax=800" width="397" height="270" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TT8zqR8RASI/AAAAAAAABEI/eZ84FtjyKGs/s1600-h/_MG_7357%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="_MG_7357" border="0" alt="_MG_7357" src="http://lh4.ggpht.com/_hehD4NAAnEk/TT8zrSwLtBI/AAAAAAAABEQ/hd7s0XYk_v0/_MG_7357_thumb%5B2%5D.jpg?imgmax=800" width="397" height="270" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TT8ztLsF_ZI/AAAAAAAABEY/7txqkrBJJGA/s1600-h/15%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="15" border="0" alt="15" src="http://lh3.ggpht.com/_hehD4NAAnEk/TT8zuMVfCHI/AAAAAAAABEg/Kfl8sGNVx-o/15_thumb%5B1%5D.jpg?imgmax=800" width="402" height="272" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TT8zvgtvE3I/AAAAAAAABEo/D-W0H4_RqoI/s1600-h/IQ3W5128%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="IQ3W5128" border="0" alt="IQ3W5128" src="http://lh5.ggpht.com/_hehD4NAAnEk/TT8zwZcwTaI/AAAAAAAABEw/dxPCZ35rrwo/IQ3W5128_thumb%5B2%5D.jpg?imgmax=800" width="403" height="274" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TT8zx_EqoJI/AAAAAAAABDQ/avucHFfdLFs/s1600-h/_MG_7765%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="_MG_7765" border="0" alt="_MG_7765" src="http://lh3.ggpht.com/_hehD4NAAnEk/TT8zzIL77cI/AAAAAAAABDU/-yL7DGvGOTc/_MG_7765_thumb%5B1%5D.jpg?imgmax=800" width="239" height="354" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TT8z03Z0tAI/AAAAAAAABDY/jNqFVGDbT10/s1600-h/_MG_7769%5B2%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="_MG_7769" border="0" alt="_MG_7769" src="http://lh3.ggpht.com/_hehD4NAAnEk/TT8z1rbhz0I/AAAAAAAABDc/jT28hgY0x2Y/_MG_7769_thumb.jpg?imgmax=800" width="401" height="270" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p align="left"&gt;&lt;strong&gt;&lt;u&gt;Home Coming Day&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TT8z3_WIrFI/AAAAAAAABE4/-Fdfc5fmZ3U/s1600-h/DSC05744%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DSC05744" border="0" alt="DSC05744" src="http://lh3.ggpht.com/_hehD4NAAnEk/TT8z436ovCI/AAAAAAAABFA/sXDDW4Q7bpE/DSC05744_thumb%5B1%5D.jpg?imgmax=800" width="405" height="274" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-8064800963414446608?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/8064800963414446608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=8064800963414446608' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8064800963414446608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8064800963414446608'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2011/01/my-wedding-and-home-coming.html' title='My Wedding and Home Coming'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_hehD4NAAnEk/TT8zcQVGHfI/AAAAAAAABCU/YlmA2v_uhAg/s72-c/IQ3W5266_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-8156493626804654944</id><published>2010-11-25T22:50:00.001+05:30</published><updated>2010-11-25T22:50:02.578+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Disabling Browser Back Button after Logout</title><content type='html'>&lt;p align="justify"&gt;Recently in an application we developed there was a requirement to stop the browser back button after user logs out of the application.&lt;/p&gt;  &lt;p align="justify"&gt;The reason behind this was to stop the security risk of another user without proper permissions peeking into the earlier users screens. If you notice in many applications if the browser back is not properly handled then after the user is logged out you can re visit the site by just pressing the browser back button. This happens because the browser shows the cached page when the back is pressed. Even if you have server side code to check for the user they will not fire since the page will load from cache.&lt;/p&gt;  &lt;p align="justify"&gt;With the limited time I found a genius idea to handle this in the internet. What this javascript does is it will always try to put the user back to the last page in the history. For example, I am having a login page and a default page which I am taking a user after he logs in. You need to place the following javascript in the default page to make the above happen.&lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 561px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:ae3f36d4-fb6f-4c36-bcbf-442f1257605e" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="text/javascript"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;language&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="JavaScript"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     window.history.forward(1);&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;Then once a user logs out from the system and if presses the back button of the browser, when the default page loads it will put the user again to login (history forward) page which is the login page. Ultimately user needs to login again to go back to the site.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-8156493626804654944?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/8156493626804654944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=8156493626804654944' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8156493626804654944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8156493626804654944'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/11/disabling-browser-back-button-after.html' title='Disabling Browser Back Button after Logout'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-8309814043352936947</id><published>2010-11-21T16:04:00.001+05:30</published><updated>2010-11-21T16:04:37.778+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cars'/><category scheme='http://www.blogger.com/atom/ns#' term='Electronics'/><category scheme='http://www.blogger.com/atom/ns#' term='Settings'/><category scheme='http://www.blogger.com/atom/ns#' term='Setup'/><title type='text'>How to Set the Clock in Car Audio</title><content type='html'>&lt;p align="justify"&gt;After disconnecting the battery for a maintenance job, I had some clueless days while trying to reset the clock in a car audio system. Even though there should be a way to set the clock in audio systems it is bit difficult to find it without the manual of the system.&lt;/p&gt;  &lt;p align="justify"&gt;My in my scenario I found it after sometime, so thought to share it since it might help someone with the same problem.&lt;/p&gt;  &lt;p align="justify"&gt;Car audio system in which I had the issue was JVC KD-S5055.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TOj1sdz4GII/AAAAAAAABCA/4nyFQgbTtoM/s1600-h/JVC%20KD-S5055%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="JVC KD-S5055" border="0" alt="JVC KD-S5055" src="http://lh4.ggpht.com/_hehD4NAAnEk/TOj1up7xIZI/AAAAAAAABCE/C5q5UadDUUI/JVC%20KD-S5055_thumb%5B1%5D.jpg?imgmax=800" width="334" height="219" /&gt;&lt;/a&gt; To start the resetting you need to press and hold the &lt;em&gt;“Select”&lt;/em&gt; button for about 5 seconds. Then a message similar to “Hour-h” will be shown in the display. Once this appears use the + and – buttons located on the left to set the hour value of the time.&lt;/p&gt;  &lt;p align="justify"&gt;Then to set the minute value you need to press the mode change buttons located on the right side. Once you press the mode change button while on the hour changing mode you will see a message similar to &lt;em&gt;“Minute-m”&lt;/em&gt;. Then again you can use the + and – buttons to set the minutes portion of the time.&lt;/p&gt;  &lt;p align="justify"&gt;After successfully setting both hour portion and minute portion you can press the &lt;em&gt;Select&lt;/em&gt; button again to save the changes made to he clock.&lt;/p&gt;  &lt;p align="justify"&gt;Additionally if you need the system to show the time when the device is switched on you can press the &lt;em&gt;Display&lt;/em&gt; button located below the &lt;em&gt;Select&lt;/em&gt; button. This will show the current time instead of the Radio/CD/Track information.&lt;/p&gt;  &lt;p align="justify"&gt;Hope this helps.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-8309814043352936947?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/8309814043352936947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=8309814043352936947' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8309814043352936947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8309814043352936947'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/11/how-to-set-clock-in-car-audio.html' title='How to Set the Clock in Car Audio'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_hehD4NAAnEk/TOj1up7xIZI/AAAAAAAABCE/C5q5UadDUUI/s72-c/JVC%20KD-S5055_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-8940324005379463343</id><published>2010-11-17T17:13:00.001+05:30</published><updated>2010-11-17T17:22:49.175+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Word'/><category scheme='http://www.blogger.com/atom/ns#' term='Office'/><title type='text'>Sending the Same Letter to Different People with their Details</title><content type='html'>&lt;p align="justify"&gt;Today a friend of mine needed some help from me on sending the same letter to different people while addressing the letters differently. This can be easily achieved by using Word Mail Merge feature.&lt;/p&gt;  &lt;p align="justify"&gt;Since I am having Word 2010 installed in my machine this post will list the steps required in Word 2010.&lt;/p&gt;  &lt;p align="justify"&gt;1. To start the process type in your letter and click on Mailings on the Word 2010 ribbon.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_mwoiNwI/AAAAAAAABAo/y0BIUoSVrbc/s1600-h/image%5B40%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/TOO_n4az57I/AAAAAAAABAs/l4WV_iJr3sc/image_thumb%5B20%5D.png?imgmax=800" width="518" height="101" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;2. Click on Start Mail Merge and select Letters.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TOO_o_w3lxI/AAAAAAAABAw/cZ8jzy1hoiQ/s1600-h/image%5B12%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_qRGwoZI/AAAAAAAABA0/Q51z-MChgco/image_thumb%5B6%5D.png?imgmax=800" width="292" height="241" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p align="justify"&gt;3. Then you need to select the people you need to send the letter to. To do that you have three options Type List, Use Existing List or Select from Outlook contacts. In this post I will use the first option.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TOO_q0q0QaI/AAAAAAAABA4/If7xdcVYWD0/s1600-h/image%5B15%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_hehD4NAAnEk/TOO_sIt7iQI/AAAAAAAABA8/H5M1UEwS_Q8/image_thumb%5B7%5D.png?imgmax=800" width="238" height="125" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;4. When you click Type new List… you will get a window in which you can create a list of users with their details as shown in the following screenshot. For simplicity I will only create 2 users.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_sgD7dWI/AAAAAAAABBA/7z5o1WpRdcc/s1600-h/image%5B20%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_tmCz1GI/AAAAAAAABBE/5ghGyri4Dbg/image_thumb%5B10%5D.png?imgmax=800" width="399" height="263" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;When you are done creating the list of users click ok so you will be prompted with a save window. Save it for later use since you may need the list for future use.&lt;/p&gt;  &lt;p align="justify"&gt;5. Then in your letter go to the appropriate places you need to place the differencing information, for example I need to put the address of the receiver after the text The Manager. To do so place the cursor on the required location and press on Address Block icon on the ribbon.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_uk6ndwI/AAAAAAAABBI/aoLTtIMvA-8/s1600-h/image%5B24%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_va5QHgI/AAAAAAAABBM/Xkw2W8dQNAg/image_thumb%5B12%5D.png?imgmax=800" width="237" height="321" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;From the Insert Address Block window you can customize the way the address is printed on the letter. For example if you do not want to print the company name of the recipient then you can remove the checkmark on the Insert company name field. Preview pane will show you a preview of the actual data you have in your contact list. For the simplicity I will use the default options.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TOO_xNRDhfI/AAAAAAAABBQ/_MIU8yYqGJE/s1600-h/image%5B28%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TOO_yl4a1hI/AAAAAAAABBU/gb98bUj5OSA/image_thumb%5B14%5D.png?imgmax=800" width="481" height="256" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;When you press ok you will see something similar to the following appearing in your letter, which will be the placeholder for the address block.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_ze0Ub9I/AAAAAAAABBY/aVaGkFgeHVA/s1600-h/image%5B36%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_0BnpfYI/AAAAAAAABBc/8ZVCw8eB_HI/image_thumb%5B18%5D.png?imgmax=800" width="181" height="163" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Following similar method but using the Insert Merge Field icon I did add the title and the last name of the recipient into the body section of the letter as you see below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TOO_1J_fhFI/AAAAAAAABBg/zpd5w4VHv-o/s1600-h/image%5B45%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_2Hq50rI/AAAAAAAABBk/sdYCLsC9FdI/image_thumb%5B23%5D.png?imgmax=800" width="429" height="351" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p align="justify"&gt;6. Preview your work by clicking Preview Results icon, by clicking the navigation buttons on the preview results pane you can navigate through your contacts to see the actual letters that will be created. For example below screenshot shows the letter for Mr. Withana with the changes for him.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TOO_3izRnyI/AAAAAAAABBo/SHtBr5UI9zU/s1600-h/image%5B73%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TOO_5JX8euI/AAAAAAAABBs/cMrK4qmqGqM/image_thumb%5B41%5D.png?imgmax=800" width="424" height="475" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;7. When you are satisfied you can finish the merge with three options, in my case I will use the first option again.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TOO_6HH-qiI/AAAAAAAABBw/YzhVMuuBYPM/s1600-h/image%5B77%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_7I4BvNI/AAAAAAAABB0/ZpBhcDTdX2o/image_thumb%5B43%5D.png?imgmax=800" width="460" height="144" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;As the final output of the merge I got one new document with the 2 letters addressed to the recipients i had in my contact list as shown in the following screenshot.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TOO_8trR1dI/AAAAAAAABB4/lvrsuHKvWVE/s1600-h/image%5B87%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TOO_96Ji-eI/AAAAAAAABB8/f0KWgbgJdls/image_thumb%5B49%5D.png?imgmax=800" width="662" height="397" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-8940324005379463343?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/8940324005379463343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=8940324005379463343' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8940324005379463343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8940324005379463343'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/11/sending-same-letter-with-different.html' title='Sending the Same Letter to Different People with their Details'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hehD4NAAnEk/TOO_n4az57I/AAAAAAAABAs/l4WV_iJr3sc/s72-c/image_thumb%5B20%5D.png?imgmax=800' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2046910233423259392</id><published>2010-11-12T23:55:00.001+05:30</published><updated>2010-11-13T00:00:23.390+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Azure'/><title type='text'>Configuring SQL Server Instance for Azure Development Storage</title><content type='html'>&lt;p align="justify"&gt;If you have not configured Azure Development Storage to use your SQL Server, then while running your application targeted for Azure you will see an error similar to the following.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;“Windows Azure Tools: Failed to initialize Development Storage service. Unable to start Development Storage. Failed to start Development Storage: the SQL Server instance ‘localhost\SQLExpress’ could not be found. Please configure the SQL Server instance for Development Storage using the ‘DSInit’ utility in the Windows Azure SDK.”&lt;/em&gt;&lt;/p&gt;  &lt;p align="justify"&gt;To overcome this you need to run the DSInit command using Windows Azure SDK Command Prompt. &lt;/p&gt;  &lt;p align="justify"&gt;Step 1 – Start the Windows Azure SDK Command Prompt.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TN2GcV9SWFI/AAAAAAAABAA/VcffCym5lmI/s1600-h/image%5B4%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TN2GdlCs9YI/AAAAAAAABAE/Jb473JuPfYw/image_thumb%5B2%5D.png?imgmax=800" width="291" height="484" /&gt;&lt;/a&gt; Step 2 – Type DSInit /sqlinstance:. on the prompt and press enter.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TN2GeWc0yUI/AAAAAAAABAI/hL8JXADES8U/s1600-h/image%5B9%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_hehD4NAAnEk/TN2GffeMqWI/AAAAAAAABAM/vSVwlvdGb9Y/image_thumb%5B5%5D.png?imgmax=800" width="465" height="239" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;The dot (.) at the end denotes the local SQL Server instance running on your machine. DSInit command details are as follows.&lt;/p&gt;  &lt;table border="1" cellspacing="0" cellpadding="2" width="400"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="400"&gt;         &lt;p&gt;&lt;strong&gt;Syntax:&lt;/strong&gt;&lt;/p&gt;          &lt;p&gt;DSInit [/sqlinstance:&amp;lt;SQL server instance&amp;gt;] [/forceCreate] [/user:&amp;lt;Windows account name&amp;gt;]&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;         &lt;p&gt;&lt;strong&gt;Description: &lt;/strong&gt;&lt;/p&gt;          &lt;p&gt;Initialize the development store for usage by &lt;/p&gt;          &lt;p&gt;Reserving http ports for the blob, table and queue services for the current user, and &lt;/p&gt;          &lt;p&gt;Creating the database needed by the blob and queue services&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="400"&gt;         &lt;p&gt;&lt;strong&gt;Options: &lt;/strong&gt;&lt;/p&gt;          &lt;p&gt;sqlinstance : the name of the SQL Server instance on the local machine that should &lt;/p&gt;          &lt;p&gt;be used for Development Storage. The default is SQLExpress. &lt;/p&gt;          &lt;p&gt;Use &amp;quot;.&amp;quot; for unnamed instance. &lt;/p&gt;          &lt;p&gt;forceCreate : recreate the database even if it already exists. &lt;/p&gt;          &lt;p&gt;user : user for whom ports are to be reserved. By default it is the current user.&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p align="justify"&gt;.&lt;/p&gt;  &lt;p align="justify"&gt;After doing the configurations it will display a success screen similar to the following.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TN2GgkQx7wI/AAAAAAAABAQ/Jpbv7gBJHY8/s1600-h/image%5B14%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TN2GibEZ5mI/AAAAAAAABAU/A_J5hQQZEWs/image_thumb%5B8%5D.png?imgmax=800" width="420" height="322" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Then when you run your Azure ready application the Azure Development Storage and Azure Development Fabric will get started and notify you on your system tray as shown below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TN2GjaXpoHI/AAAAAAAABAY/Z8DehXNURX0/s1600-h/image%5B18%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/TN2GkQd3opI/AAAAAAAABAc/oX8ARhwLmgs/image_thumb%5B10%5D.png?imgmax=800" width="264" height="79" /&gt;&lt;/a&gt; &lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TN2GlSH3OpI/AAAAAAAABAg/_b3K9Ou3hys/s1600-h/image%5B22%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TN2GmgYUxEI/AAAAAAAABAk/nJBUxIc_ohE/image_thumb%5B12%5D.png?imgmax=800" width="264" height="79" /&gt;&lt;/a&gt; After a while your application will also start without complaining if it is Azure ready.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2046910233423259392?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2046910233423259392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2046910233423259392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2046910233423259392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2046910233423259392'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/11/configuring-sql-server-instance-for.html' title='Configuring SQL Server Instance for Azure Development Storage'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_hehD4NAAnEk/TN2GdlCs9YI/AAAAAAAABAE/Jb473JuPfYw/s72-c/image_thumb%5B2%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-8350631289614180853</id><published>2010-11-02T18:41:00.001+05:30</published><updated>2010-11-02T18:42:41.779+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='Changing'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Saving Table Changes in SQL Server 2008 R2</title><content type='html'>&lt;p align="justify"&gt;Have you noticed that with the default settings of SQL Server 2008 R2 you cannot use the design view to edit and save table changes which requires table to be recreated. But if you used earlier SQL Server installations you should remember that this functionality was possible. When you try to save such a table you will see an error similar to the following in SQL Server 2008 R2.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TNAN-DlvRbI/AAAAAAAAA_w/ApwVpP06OOY/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/TNAN_sH3CRI/AAAAAAAAA_0/eX0YyoAeDWI/image_thumb%5B1%5D.png?imgmax=800" width="417" height="339" /&gt;&lt;/a&gt; But the good news is that we can enable this functionality by going to SQL Server options.&lt;/p&gt;  &lt;p align="justify"&gt;Click Tools –&amp;gt; Options and expand Designers node and select ‘Table and Database Designers’.&lt;/p&gt;  &lt;p align="justify"&gt;Then uncheck the option ‘Prevent saving changes that require table re-creation’ and press OK.&lt;/p&gt;  &lt;p align="left"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TNAOA-byuqI/AAAAAAAAA_4/WlwDLX-vZX4/s1600-h/image%5B7%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TNAOCIxbPaI/AAAAAAAAA_8/LNZ8K46Nxas/image_thumb%5B3%5D.png?imgmax=800" width="461" height="272" /&gt;&lt;/a&gt; Now if you try to save the table changes SQL will do the alteration without any complains.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-8350631289614180853?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/8350631289614180853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=8350631289614180853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8350631289614180853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8350631289614180853'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/11/saving-table-changes-in-sql-server-2008.html' title='Saving Table Changes in SQL Server 2008 R2'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hehD4NAAnEk/TNAN_sH3CRI/AAAAAAAAA_0/eX0YyoAeDWI/s72-c/image_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-5080572532596202656</id><published>2010-11-02T00:08:00.001+05:30</published><updated>2010-11-02T00:08:58.091+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><title type='text'>Sorting SharePoint Folder Contents</title><content type='html'>&lt;p align="justify"&gt;Recently I needed to sort the contents of a SharePoint folder, in which I used IComparer to get my task done. Following is the code I used. Hope it is helpful.&lt;/p&gt;  &lt;p align="justify"&gt;As you see below I am using the TimeCreated property of SPFile object to do the comparison, other than this you can use any other property of the SPFile object. For a list of available properties refer &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile_members.aspx" target="_blank"&gt;MSDN&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:71fed552-0e57-48a1-9636-3d12c68ae65a" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#008000"&gt;// Comparer Class.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff"&gt;class&lt;/span&gt; &lt;span style="color:#2b91af"&gt;SPFilesComparer&lt;/span&gt; : &lt;span style="color:#2b91af"&gt;IComparer&lt;/span&gt;&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;#region&lt;/span&gt; IComparer Members&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff"&gt;int&lt;/span&gt; Compare(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; object1, &lt;span style="color:#0000ff"&gt;object&lt;/span&gt; object2)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     {&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;return&lt;/span&gt; &lt;span style="color:#0000ff"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af"&gt;CaseInsensitiveComparer&lt;/span&gt;().Compare(((SPFile)object1).TimeCreated, ((SPFile)object2).TimeCreated);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     }&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;#endregion&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; }&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:dc509355-3fe7-427b-b992-1445d6aa770f" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#2b91af"&gt;ArrayList&lt;/span&gt; fileList = &lt;span style="color:#0000ff"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af"&gt;ArrayList&lt;/span&gt;(attachFiles);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#2b91af"&gt;IComparer&lt;/span&gt; compFiles = &lt;span style="color:#0000ff"&gt;new&lt;/span&gt; SPFilesComparer();&lt;/li&gt;&lt;li&gt; &lt;span style="color:#008000"&gt;// Do the sorting based on the SPFilesComparer.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; fileList.Sort(compFiles);&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;foreach&lt;/span&gt; (SPFile attachFile &lt;span style="color:#0000ff"&gt;in&lt;/span&gt; fileList)&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#008000"&gt;// Use the sorted list.&lt;/span&gt;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-5080572532596202656?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/5080572532596202656/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=5080572532596202656' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5080572532596202656'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5080572532596202656'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/11/sorting-sharepoint-folder-contents.html' title='Sorting SharePoint Folder Contents'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2462060572074761306</id><published>2010-10-22T01:21:00.001+05:30</published><updated>2010-10-22T18:53:54.567+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Music'/><title type='text'>Piano + Guitar = Harpejji</title><content type='html'>&lt;p align="justify"&gt;Are you interested in musical instruments? If so have you seen an instrument which combines the Piano and the Guitar? It is manufactured by a company named Marcodi and is named as Harpejji. The sounds from it is truly fascinating, experience the &lt;a href="http://www.marcodi.com/sights_video.html" target="_blank"&gt;sounds&lt;/a&gt; for you self by visiting their &lt;a href="http://www.marcodi.com/home.html" target="_blank"&gt;site&lt;/a&gt;. For people who would like to buy it the pricing and ordering details are also there in the site.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TMCZq-eKrxI/AAAAAAAAA_o/uqS9LgqACGo/s1600-h/Harpejji%5B1%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Harpejji" border="0" alt="Harpejji" src="http://lh6.ggpht.com/_hehD4NAAnEk/TMCZuygSJGI/AAAAAAAAA_s/TeF8duwR04Q/Harpejji_thumb%5B1%5D.png?imgmax=800" width="216" height="314" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click &lt;a href="http://www.youtube.com/watch?v=k_6Jt1JyKZg" target="_blank"&gt;this link&lt;/a&gt; to see the event of presenting Harpejji first time to the great musician A. R. Rahman.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2462060572074761306?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2462060572074761306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2462060572074761306' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2462060572074761306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2462060572074761306'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/10/piano-guitar-harpejji.html' title='Piano + Guitar = Harpejji'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hehD4NAAnEk/TMCZuygSJGI/AAAAAAAAA_s/TeF8duwR04Q/s72-c/Harpejji_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-892416377389910288</id><published>2010-10-02T12:43:00.001+05:30</published><updated>2010-10-02T12:43:01.296+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Textbox'/><title type='text'>MaxLength property not Working in TextBox</title><content type='html'>&lt;p align="justify"&gt;If you are involved in coding using .Net sooner or later you will notice that when the TextMode of a TextBox is changed to MultiLine the MaxLength property will stop working. What this means is in the textbox users will be able to type as many character as they want. &lt;/p&gt;  &lt;p align="justify"&gt;When searching the web for a fix for this I found several ideas to solve this. Following is the code which I modified for my requirement. Hope this helps.&lt;/p&gt;  &lt;p&gt;ASPX&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:358c65c6-2826-4864-9170-93ce873c310a" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;html&lt;/span&gt; &lt;span style="color:#ff0000"&gt;xmlns&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="http://www.w3.org/1999/xhtml"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;head&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="text/javascript"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;function&lt;/span&gt; RestrictLength(textBox) {&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#006400"&gt;/* Get the Max Length attribute's value. */&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;var&lt;/span&gt; allowedLength = textBox.getAttribute(&lt;span style="color:#800000"&gt;'MaximumLength'&lt;/span&gt;);&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#006400"&gt;/* Check for the number of characters typed in by the user. */&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;if&lt;/span&gt; (textBox.value.length &amp;gt; allowedLength) {&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#006400"&gt;/* If it is more than the allowed limit remove the additional text. */&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             textBox.value = textBox.value.substring(0, allowedLength);&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#006400"&gt;/*  Show a message to user with the tooltip used for the textbox. */&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             alert(&lt;span style="color:#800000"&gt;"Maximum characters allowed for '"&lt;/span&gt; + textBox.title +&lt;span style="color:#800000"&gt;"' is "&lt;/span&gt; + allowedLength + &lt;span style="color:#800000"&gt;"."&lt;/span&gt;);&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     }&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;title&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;title&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;head&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;body&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;form&lt;/span&gt; &lt;span style="color:#ff0000"&gt;id&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="form1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="&lt;/span&gt;&lt;span style="color:#ff0000"&gt;vertical-align&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:top;"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#006400"&gt;&amp;lt;!-- I am binding my java script to the onkeyup event of the textbox. So each time a key&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#006400"&gt;is pressed it will fire my javascript. --&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     Address &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TextBox&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="TextBox1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;MaxLength&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="10"&lt;/span&gt; &lt;/li&gt;&lt;li&gt;         &lt;span style="color:#ff0000"&gt;onkeyup&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="RestrictLength(this);"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Height&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="58px"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;TextMode&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="MultiLine"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TextBox&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;form&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;body&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;html&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;ASPX.CS&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:b7830ba5-c402-4f4a-a367-694eedfa5bee" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;protected&lt;/span&gt; &lt;span style="color:#0000ff"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; sender, &lt;span style="color:#2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#008000"&gt;// Adding the attribute to the TextBox1. &lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#008000"&gt;// Note that this is different to the MaxLength property.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#008000"&gt;// Also this is not case sensitive.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     TextBox1.Attributes.Add(&lt;span style="color:#a31515"&gt;"maximumlength"&lt;/span&gt;, &lt;span style="color:#a31515"&gt;"10"&lt;/span&gt;);&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#008000"&gt;// Adding a tooltip which is used in the message.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     TextBox1.ToolTip = &lt;span style="color:#a31515"&gt;"User Address"&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The output will me something similar to the following.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TKbbcjDEdqI/AAAAAAAAA_g/yi7idpe11is/s1600-h/image%5B14%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_hehD4NAAnEk/TKbbefcvTHI/AAAAAAAAA_k/vzlbAVIKgO8/image_thumb%5B8%5D.png?imgmax=800" width="376" height="225" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-892416377389910288?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/892416377389910288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=892416377389910288' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/892416377389910288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/892416377389910288'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/10/maxlength-property-not-working-in.html' title='MaxLength property not Working in TextBox'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_hehD4NAAnEk/TKbbefcvTHI/AAAAAAAAA_k/vzlbAVIKgO8/s72-c/image_thumb%5B8%5D.png?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-1699644767176192369</id><published>2010-09-18T01:23:00.001+05:30</published><updated>2010-09-18T01:23:29.682+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL CE'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net Compact Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><title type='text'>Repairing a Corrupted Database</title><content type='html'>&lt;p align="justify"&gt;When we are regularly using databases, sometimes those will get corrupted. This happened to one of my applications, it was a Windows Mobile application with SQL Server CE database. Since it is running in a mobile it is bit difficult for us to fix the database using the desktop machine. I used the following .Net Compact framework code to fix the corrupted database while the database is in the mobile. &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:2b081d4f-5619-4615-b21a-e68733ee66a7" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: nowrap"&gt;&lt;br /&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;private&lt;/span&gt; &lt;span style="color:#0000ff"&gt;void&lt;/span&gt; btnRepair_Click(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; sender, &lt;span style="color:#2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Current = &lt;span style="color:#2b91af"&gt;Cursors&lt;/span&gt;.WaitCursor;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Show();&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#008000"&gt;// txtDBPath will contain the path to the database.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     engine = &lt;span style="color:#0000ff"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af"&gt;SqlCeEngine&lt;/span&gt;(&lt;span style="color:#a31515"&gt;@"Data Source="&lt;/span&gt; + txtDBPath.Text + &lt;span style="color:#a31515"&gt;";Password=DBPassword"&lt;/span&gt;);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;try&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;if&lt;/span&gt; (!engine.Verify())&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Current = &lt;span style="color:#2b91af"&gt;Cursors&lt;/span&gt;.Default;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Hide();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;li&gt;             &lt;span style="color:#2b91af"&gt;DialogResult&lt;/span&gt; result = &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(&lt;span style="color:#a31515"&gt;"Database is corrupted. Do you want to repair?"&lt;/span&gt;, &lt;span style="color:#a31515"&gt;"My App"&lt;/span&gt;, &lt;span style="color:#2b91af"&gt;MessageBoxButtons&lt;/span&gt;.YesNo, &lt;span style="color:#2b91af"&gt;MessageBoxIcon&lt;/span&gt;.Question, &lt;span style="color:#2b91af"&gt;MessageBoxDefaultButton&lt;/span&gt;.Button1);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;if&lt;/span&gt; (result == &lt;span style="color:#2b91af"&gt;DialogResult&lt;/span&gt;.Yes)&lt;/li&gt;&lt;li&gt;             {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Current = &lt;span style="color:#2b91af"&gt;Cursors&lt;/span&gt;.WaitCursor;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Show();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#008000"&gt;// You can also use RepairOption.DeleteCorruptedRows.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 engine.Repair(&lt;span style="color:#0000ff"&gt;null&lt;/span&gt;, &lt;span style="color:#2b91af"&gt;RepairOption&lt;/span&gt;.RecoverCorruptedRows);&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Current = &lt;span style="color:#2b91af"&gt;Cursors&lt;/span&gt;.Default;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Hide();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(&lt;span style="color:#a31515"&gt;"Database repaired successfully."&lt;/span&gt;, &lt;span style="color:#a31515"&gt;"My App"&lt;/span&gt;);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             }&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;else&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Current = &lt;span style="color:#2b91af"&gt;Cursors&lt;/span&gt;.Default;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Hide();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(&lt;span style="color:#a31515"&gt;"Database is not corrupted."&lt;/span&gt;, &lt;span style="color:#a31515"&gt;"My App"&lt;/span&gt;);&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     }&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;catch&lt;/span&gt; (&lt;span style="color:#2b91af"&gt;Exception&lt;/span&gt; ex)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     {&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Current = &lt;span style="color:#2b91af"&gt;Cursors&lt;/span&gt;.Default;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#2b91af"&gt;Cursor&lt;/span&gt;.Hide();&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(ex.Message, &lt;span style="color:#a31515"&gt;"Error!"&lt;/span&gt;);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     }&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; Next time you get a corrupted SQL CE database try it out.     &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-1699644767176192369?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/1699644767176192369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=1699644767176192369' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1699644767176192369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1699644767176192369'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/09/repairing-corrupted-database.html' title='Repairing a Corrupted Database'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-4423751655394233466</id><published>2010-08-13T02:02:00.001+05:30</published><updated>2010-08-13T02:02:53.078+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='iPod'/><title type='text'>Cannot connect to YouTube using iPhone</title><content type='html'>&lt;p&gt;Do you guys also get the ”Cannot connect to YouTube” error on your iPhone when using the provided YouTube application?&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TGRXUrRm98I/AAAAAAAAA9s/wgZWFs082OM/s1600-h/IMG_00452.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_0045" border="0" alt="IMG_0045" src="http://lh5.ggpht.com/_hehD4NAAnEk/TGRXWO6wTBI/AAAAAAAAA9w/GChCs_LQkH0/IMG_0045_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt; If yes follow the steps below to get it fixed.&lt;/p&gt;  &lt;p&gt;1. Open Cydia from your spring board.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TGRXZZgoBLI/AAAAAAAAA90/jbDRxkFIfSg/s1600-h/IMG_1712%5B2%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_1712" border="0" alt="IMG_1712" src="http://lh5.ggpht.com/_hehD4NAAnEk/TGRXbns-XFI/AAAAAAAAA94/6rosXcMJ7w0/IMG_1712_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;2. Press on the Manage tab in the bottom.&lt;/p&gt;  &lt;p align="center"&gt;&amp;#160;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TGRXeY4b0OI/AAAAAAAAA98/Pp6-Fo_QTYY/s1600-h/IMG_1714%5B2%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="IMG_1714" border="0" alt="IMG_1714" src="http://lh3.ggpht.com/_hehD4NAAnEk/TGRXgp-IlwI/AAAAAAAAA-A/28N1im_8L_I/IMG_1714_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;3. Press on Sources, then on Edit and press again on Add to add a new source.&lt;/p&gt; &lt;img style="border-right-width: 0px; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_0046" border="0" alt="IMG_0046" src="http://lh3.ggpht.com/_hehD4NAAnEk/TGRXiHmCmcI/AAAAAAAAA-E/CkbZg4tKHQw/IMG_0046_thumb.png?imgmax=800" width="164" height="244" /&gt; &lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TGRXj4ji5KI/AAAAAAAAA-I/q54IzC3pF10/s1600-h/IMG_1713%5B2%5D.png"&gt;&lt;img style="border-right-width: 0px; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_1713" border="0" alt="IMG_1713" src="http://lh3.ggpht.com/_hehD4NAAnEk/TGRXlDqy7iI/AAAAAAAAA-M/FmtozGiwjJo/IMG_1713_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt; &lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TGRXm7SXOAI/AAAAAAAAA-Q/pILlak2fXXk/s1600-h/IMG_1716%5B2%5D.png"&gt;&lt;img style="border-right-width: 0px; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_1716" border="0" alt="IMG_1716" src="http://lh4.ggpht.com/_hehD4NAAnEk/TGRXoU-GLRI/AAAAAAAAA-U/5wCCPyP9zTQ/IMG_1716_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt;   &lt;p&gt;4. Type the URL &lt;a href="http://apt.iphonemodding.com"&gt;http://apt.iphonemodding.com&lt;/a&gt; and press on Add Source button. &lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TGRXrHkXCZI/AAAAAAAAA-c/0jnRK52UlI4/s1600-h/IMG_1715%5B2%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_1715" border="0" alt="IMG_1715" src="http://lh3.ggpht.com/_hehD4NAAnEk/TGRXs2Qv3oI/AAAAAAAAA-g/n2qeCu9OhS4/IMG_1715_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;5. Now find the iPhoneModding item and press on the triangle ‘&amp;gt;’.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TGRXu2x3knI/AAAAAAAAA-k/dHbz0tDX7aY/s1600-h/IMG_0047%5B2%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_0047" border="0" alt="IMG_0047" src="http://lh6.ggpht.com/_hehD4NAAnEk/TGRaIXgwbxI/AAAAAAAAA-s/xtMyRD8ypjg/IMG_0047_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;6. Scroll down and find the “Push Fix” item and press on it.&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TGRaKt9GEpI/AAAAAAAAA-w/zAKYloFhlUw/s1600-h/IMG_0048%5B2%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_0048" border="0" alt="IMG_0048" src="http://lh4.ggpht.com/_hehD4NAAnEk/TGRaMzIgPyI/AAAAAAAAA-0/CzKHHTPdnBw/IMG_0048_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;7. Press Install to get Push Fix installed on your iPhone.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TGRaO1biCMI/AAAAAAAAA-4/wN_FBRZCawE/s1600-h/IMG_0049%5B2%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_0049" border="0" alt="IMG_0049" src="http://lh5.ggpht.com/_hehD4NAAnEk/TGRaQgZa-GI/AAAAAAAAA-8/iu56QLCrv84/IMG_0049_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;8. After pressing confirm on the confirmation screen the application will get installed on your iPhone.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TGRaR2UsrQI/AAAAAAAAA_A/PWGEytKhR1Y/s1600-h/IMG_0050%5B2%5D.png"&gt;&lt;img style="text-align: center; border-right-width: 0px; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_0050" border="0" alt="IMG_0050" src="http://lh5.ggpht.com/_hehD4NAAnEk/TGRaTJhQW2I/AAAAAAAAA_E/BwCI_q5jzHg/IMG_0050_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TGRaUnlzeGI/AAAAAAAAA_I/8wCzUAilBlw/s1600-h/IMG_0051%5B2%5D.png"&gt;&lt;img style="text-align: center; border-right-width: 0px; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_0051" border="0" alt="IMG_0051" src="http://lh6.ggpht.com/_hehD4NAAnEk/TGRaWB2JsKI/AAAAAAAAA_M/fceWeRmrCj8/IMG_0051_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/a&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;9. After a complete restart you will be able to use YouTube application within your iPhone.&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TGRaaZxwPwI/AAAAAAAAA_Q/zBMuchEEsOs/s1600-h/IMG_0053%5B2%5D.png"&gt;&lt;/a&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_0053" border="0" alt="IMG_0053" src="http://lh3.ggpht.com/_hehD4NAAnEk/TGRacmZ4-0I/AAAAAAAAA_U/1FLV-8vy1cM/IMG_0053_thumb.png?imgmax=800" width="164" height="244" /&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-4423751655394233466?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/4423751655394233466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=4423751655394233466' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4423751655394233466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4423751655394233466'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/08/cannot-connect-to-youtube-using-iphone.html' title='Cannot connect to YouTube using iPhone'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_hehD4NAAnEk/TGRXWO6wTBI/AAAAAAAAA9w/GChCs_LQkH0/s72-c/IMG_0045_thumb.png?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-4734595989628073892</id><published>2010-08-09T14:38:00.001+05:30</published><updated>2010-08-09T14:38:36.624+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SharePoint'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Comparing SharePoint 2010 vs 2007</title><content type='html'>&lt;p align="justify"&gt;It is some time since the SharePoint 2010 is released and now is a good time for you to migrate to the new improved version of it. When searching the net I found some good sites which compares the 2 versions.&lt;/p&gt;  &lt;p&gt;Read through the following sites if you are interested.&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.rharbridge.com/?page_id=103" href="http://www.rharbridge.com/?page_id=103"&gt;http://www.rharbridge.com/?page_id=103&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a title="http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=4" href="http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=4"&gt;http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=4&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-4734595989628073892?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/4734595989628073892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=4734595989628073892' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4734595989628073892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4734595989628073892'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/08/comparing-sharepoint-2010-vs-2007.html' title='Comparing SharePoint 2010 vs 2007'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2949473880833227091</id><published>2010-08-08T13:53:00.002+05:30</published><updated>2010-08-08T14:16:42.895+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Install'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Installing and Uninstalling Internet Explorer 8</title><content type='html'>&lt;p align="justify"&gt;Since Internet Explorer (IE) 8 is a built-in feature of Windows Server 2008 R2 there is no way to install or uninstall it using the user interfaces. Instead you need to run the following commands in a command prompt window which has administrative privileges.&lt;/p&gt;&lt;p align="justify"&gt;If you are only having IE in your machine as an internet browser be sure to install another internet browser before uninstalling IE, otherwise you will not be able to browse internet.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;div align="justify"&gt;Click the start button and type Cmd in the search box.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Right click on the Cmd icon and click on Run as Administrator.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Choose the appropriate command from below for your need and copy it.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;blockquote&gt;&lt;p align="justify"&gt;To Install - &lt;/p&gt;&lt;p align="justify"&gt;&lt;strong&gt;&lt;em&gt;dism /online /Enable-Feature /FeatureName:Internet-Explorer-Optional-amd64&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;To Uninstall -&lt;/p&gt;&lt;p align="justify"&gt;&lt;strong&gt;&lt;em&gt;dism /online /Disable-Feature /FeatureName:Internet-Explorer-Optional-amd64&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;or&lt;/p&gt;&lt;p align="justify"&gt;&lt;b&gt;FORFILES /P %WINDIR%\servicing\Packages /M Microsoft-Windows-InternetExplorer-8*.mum /c "cmd /c echo Uninstalling package @fname &amp;amp;&amp;amp; start /w pkgmgr /up:@fname /norestart"&lt;/b&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;ol start="4"&gt;&lt;li&gt;&lt;div align="justify"&gt;Paste the command into the command prompt windows you just opened by right clicking and clicking on Paste.&lt;/div&gt;&lt;/li&gt;&lt;li&gt;&lt;div align="justify"&gt;Press enter to run the command, when the command is successful you need to restart your machine to complete the action.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2949473880833227091?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2949473880833227091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2949473880833227091' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2949473880833227091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2949473880833227091'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/08/installing-and-uninstalling-internet.html' title='Installing and Uninstalling Internet Explorer 8'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-360105676208696365</id><published>2010-08-02T22:56:00.001+05:30</published><updated>2010-08-02T23:15:40.850+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net Compact Framework'/><title type='text'>Rounding a value Down</title><content type='html'>&lt;p align="justify"&gt;If you did work with .Net Math classes you may have noted that you can quite easily round value upwards. But what about rounding values down?&lt;/p&gt;  &lt;p align="justify"&gt;For example if you tried to round the value 1.23501 into 2 decimal places using the Round method provided by the Math class as below, the result you will get is 1.24. Meaning .Net had rounded the value up.&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:c9be726d-47fb-4541-89cb-a94a3117cfcc" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;double&lt;/span&gt; dbl = &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round(1.23501, 2);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p align="justify"&gt;If the value is rounded down it should be 1.23, but in .Net I couldn’t find an easy way to get this done. So I did create a small code to get it done. It is very simple only a method with one statement as shown below.&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:e017af28-a550-4ba9-b049-14020c3e8da3" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: nowrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;double&lt;/span&gt; RoundDown(&lt;span style="color:#0000ff"&gt;double&lt;/span&gt; Number, &lt;span style="color:#0000ff"&gt;int&lt;/span&gt; Digits)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;try&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     {&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;return&lt;/span&gt; &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Truncate(Number) +&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             (&lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Floor(&lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits) * &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Pow(10, (&lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits).ToString().Length - 3)))) *&lt;/li&gt;&lt;li&gt;             (1 / &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Pow(10, &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits).ToString().Length - 3));&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     }&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;catch&lt;/span&gt; (&lt;span style="color:#2b91af"&gt;Exception&lt;/span&gt;)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     {&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(&lt;span style="color:#a31515"&gt;"Error ! Please check values."&lt;/span&gt;);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;return&lt;/span&gt; 0.0;&lt;/li&gt;&lt;li&gt;     }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; }&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p align="justify"&gt;Ohh, I think this is complicated right? Please find a bit of self explanatory code below.&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a3d16f9b-ac4b-40ea-ab8e-35ff139ef6a2" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: nowrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;double&lt;/span&gt; RoundDownExplained(&lt;span style="color:#0000ff"&gt;double&lt;/span&gt; Number, &lt;span style="color:#0000ff"&gt;int&lt;/span&gt; Digits)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;try&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     {&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#008000"&gt;// Get the whole number from the double value.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#008000"&gt;// For example we'll take Number = 788.34567 and Digits = 3.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#008000"&gt;// WholeNumberPart = 788.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; WholeNumberPart = &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Truncate(Number);&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#008000"&gt;// Getting the decimal part from the doouble value.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#008000"&gt;// DecimalNumberPart = 0.3457.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; DecimalNumberPart = &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#008000"&gt;// Finding the number of decimal places so we can multiply by 10 to make it suitable for Floor().&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#008000"&gt;// MultiplicationValue = 3.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;int&lt;/span&gt; MultiplicationValue = &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits).ToString().Length - 3;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#008000"&gt;// Create the double value to round down.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#008000"&gt;// RoundedDownValue = 345.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; RoundedDownValue = &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Floor(DecimalNumberPart * &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Pow(10, MultiplicationValue));&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#008000"&gt;// Finding the value to devide the result to make it decimal again.       &lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#008000"&gt;// DivisionValue = 0.001.             &lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; DivisionValue = 1 / &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Pow(10, MultiplicationValue);&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#008000"&gt;// Creating the decimal part with rounded down value.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#008000"&gt;// RoundedDownValue_Float = 0.345.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; RoundedDownValue_Float = RoundedDownValue * DivisionValue;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#008000"&gt;// Creating the full rounded down value.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#008000"&gt;// return = 788.345.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;return&lt;/span&gt; WholeNumberPart + RoundedDownValue_Float;&lt;/li&gt;&lt;li&gt;     }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;catch&lt;/span&gt; (&lt;span style="color:#2b91af"&gt;Exception&lt;/span&gt;)&lt;/li&gt;&lt;li&gt;     {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(&lt;span style="color:#a31515"&gt;"Error ! Please check values."&lt;/span&gt;);&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;return&lt;/span&gt; 0.0;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     }&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p align="justify"&gt;The complete code of the application I created is below with a screenshot of the application running. Hope this helps to you.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:64b5ec86-f1fd-4946-beec-c0420cc68433" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;using&lt;/span&gt; System;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;using&lt;/span&gt; System.Text;&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;using&lt;/span&gt; System.Windows.Forms;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;namespace&lt;/span&gt; WindowsFormsApplication1&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff"&gt;partial&lt;/span&gt; &lt;span style="color:#0000ff"&gt;class&lt;/span&gt; &lt;span style="color:#2b91af"&gt;Form1&lt;/span&gt; : &lt;span style="color:#2b91af"&gt;Form&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     {&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;public&lt;/span&gt; Form1()&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         {&lt;/li&gt;&lt;li&gt;             InitializeComponent();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; RoundDown(&lt;span style="color:#0000ff"&gt;double&lt;/span&gt; Number, &lt;span style="color:#0000ff"&gt;int&lt;/span&gt; Digits)&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;try&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#0000ff"&gt;return&lt;/span&gt; &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Truncate(Number) +&lt;/li&gt;&lt;li&gt;                     (&lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Floor(&lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits) * &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Pow(10, (&lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits).ToString().Length - 3)))) *&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                     (1 / &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Pow(10, &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits).ToString().Length - 3));&lt;/li&gt;&lt;li&gt;             }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;catch&lt;/span&gt; (&lt;span style="color:#2b91af"&gt;Exception&lt;/span&gt;)&lt;/li&gt;&lt;li&gt;             {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(&lt;span style="color:#a31515"&gt;"Error ! Please check values."&lt;/span&gt;);&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#0000ff"&gt;return&lt;/span&gt; 0.0;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             }&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; RoundDownExplained(&lt;span style="color:#0000ff"&gt;double&lt;/span&gt; Number, &lt;span style="color:#0000ff"&gt;int&lt;/span&gt; Digits)&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;try&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#008000"&gt;// Get the whole number from the double value.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#008000"&gt;// For example we'll take Number = 788.34567 and Digits = 3.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#008000"&gt;// WholeNumberPart = 788.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; WholeNumberPart = &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Truncate(Number);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#008000"&gt;// Getting the decimal part from the doouble value.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#008000"&gt;// DecimalNumberPart = 0.3457.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; DecimalNumberPart = &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits);&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#008000"&gt;// Finding the number of decimal places so we can multiply by 10 to make it suitable for Floor().&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#008000"&gt;// MultiplicationValue = 3.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#0000ff"&gt;int&lt;/span&gt; MultiplicationValue = &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Round((Number % 1), Digits).ToString().Length - 3;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#008000"&gt;// Create the double value to round down.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#008000"&gt;// RoundedDownValue = 345.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; RoundedDownValue = &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Floor(DecimalNumberPart * &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Pow(10, MultiplicationValue));&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#008000"&gt;// Finding the value to devide the result to make it decimal again.       &lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#008000"&gt;// DivisionValue = 0.001.             &lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; DivisionValue = 1 / &lt;span style="color:#2b91af"&gt;Math&lt;/span&gt;.Pow(10, MultiplicationValue);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#008000"&gt;// Creating the decimal part with rounded down value.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#008000"&gt;// RoundedDownValue_Float = 0.345.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; RoundedDownValue_Float = RoundedDownValue * DivisionValue;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#008000"&gt;// Creating the full rounded down value.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#008000"&gt;// return = 788.345.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#0000ff"&gt;return&lt;/span&gt; WholeNumberPart + RoundedDownValue_Float;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             }&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;catch&lt;/span&gt; (&lt;span style="color:#2b91af"&gt;Exception&lt;/span&gt;)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             {&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(&lt;span style="color:#a31515"&gt;"Error ! Please check values."&lt;/span&gt;);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#0000ff"&gt;return&lt;/span&gt; 0.0;&lt;/li&gt;&lt;li&gt;             }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;private&lt;/span&gt; &lt;span style="color:#0000ff"&gt;void&lt;/span&gt; button1_Click(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; sender, &lt;span style="color:#2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;try&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 label1.Text = RoundDown(&lt;span style="color:#0000ff"&gt;double&lt;/span&gt;.Parse(textBox1.Text), &lt;span style="color:#0000ff"&gt;int&lt;/span&gt;.Parse(textBox2.Text) + 1).ToString();&lt;/li&gt;&lt;li&gt;             }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;catch&lt;/span&gt; (&lt;span style="color:#2b91af"&gt;Exception&lt;/span&gt;)&lt;/li&gt;&lt;li&gt;             {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(&lt;span style="color:#a31515"&gt;"Error ! Please check values."&lt;/span&gt;);&lt;/li&gt;&lt;li&gt;             }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;private&lt;/span&gt; &lt;span style="color:#0000ff"&gt;void&lt;/span&gt; button2_Click(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; sender, &lt;span style="color:#2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         {&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;try&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             {&lt;/li&gt;&lt;li&gt;                 label2.Text = RoundDownExplained(&lt;span style="color:#0000ff"&gt;double&lt;/span&gt;.Parse(textBox1.Text), &lt;span style="color:#0000ff"&gt;int&lt;/span&gt;.Parse(textBox2.Text) + 1).ToString();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             }&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;catch&lt;/span&gt; (&lt;span style="color:#2b91af"&gt;Exception&lt;/span&gt;)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             {&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#2b91af"&gt;MessageBox&lt;/span&gt;.Show(&lt;span style="color:#a31515"&gt;"Error ! Please check values."&lt;/span&gt;);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             }&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     }&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TFb_r4wtGhI/AAAAAAAAA9k/O3w4EwQBo-g/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TFb_tAFpNpI/AAAAAAAAA9o/YMCSbFAIZhU/image_thumb%5B1%5D.png?imgmax=800" width="291" height="238" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-360105676208696365?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/360105676208696365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=360105676208696365' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/360105676208696365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/360105676208696365'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/08/rounding-value-down.html' title='Rounding a value Down'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_hehD4NAAnEk/TFb_tAFpNpI/AAAAAAAAA9o/YMCSbFAIZhU/s72-c/image_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-4103246096684500801</id><published>2010-07-30T20:37:00.001+05:30</published><updated>2011-10-25T08:48:48.159+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Security'/><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='Settings'/><title type='text'>Error Accessing Path</title><content type='html'>&lt;p align="justify"&gt;Today is a day full of errors, when I fixed one error another error came while trying to run my hosted application. This time it was &lt;em&gt;“Access to the path 'C:\inetpub\wwwroot\……’ is denied.&lt;/em&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Full error is as follows,&lt;/p&gt;  &lt;h4 align="justify"&gt;Access to the path 'C:\inetpub\wwwroot\Mining2 Setup\Images\temp\tempImage.png' is denied.&lt;/h4&gt;  &lt;p align="justify"&gt;&lt;b&gt;Description: &lt;/b&gt;An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.     &lt;br /&gt;&lt;b&gt;Exception Details: &lt;/b&gt;System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Mining2 Setup\Images\temp\tempImage.png' is denied. &lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/-hb1CQYFXzC8/TqYjWaeGvII/AAAAAAAABOg/Sq8K3BrPj3s/s1600-h/image%25255B4%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/-SmkFdx4fDS0/TqYjXhEdyBI/AAAAAAAABOo/6UsnHyHDJl8/image_thumb%25255B2%25255D.png?imgmax=800" width="613" height="354" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;The issue here was generated by a code written in my application which tries to access an image named tempImage.png in the said folder (Images\temp).&lt;/p&gt;  &lt;p align="justify"&gt;The reason for this is when you install IIS 7 the account used by the application pool (IIS_IUSRS) is not given access to the folder Images\temp. Since it is created by the application I just installed. &lt;/p&gt;  &lt;p align="justify"&gt;To sort out the issue give &lt;strong&gt;write permission&lt;/strong&gt; to the folder &lt;em&gt;Images\temp&lt;/em&gt; for the account &lt;strong&gt;IIS_IUSRS&lt;/strong&gt; using the security tab in the folder properties page.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/-g67Rm--Wz2k/TqYqkYuMPZI/AAAAAAAABOw/KMMTWRi6oos/s1600-h/image%25255B8%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-b_4qqbZl8Ks/TqYqlUzwK6I/AAAAAAAABO4/pyg5HOdbeOg/image_thumb%25255B4%25255D.png?imgmax=800" width="257" height="309" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-4103246096684500801?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/4103246096684500801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=4103246096684500801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4103246096684500801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4103246096684500801'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/07/error-accessing-path.html' title='Error Accessing Path'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/-SmkFdx4fDS0/TqYjXhEdyBI/AAAAAAAABOo/6UsnHyHDJl8/s72-c/image_thumb%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-1391624948790642700</id><published>2010-07-30T15:27:00.001+05:30</published><updated>2011-10-25T08:59:14.983+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Setup'/><title type='text'>Error when Installing MSI</title><content type='html'>&lt;p align="justify"&gt;Recently when trying to install a setup I made for a project on a new server having Windows Server 2008 R2 I continuously encountered an error as of below.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;“The installer was interrupted before “Application” could be installed. You need to restart the installer to try again.”&lt;/em&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/-3GbizWuQS-A/TqYs_JQL0_I/AAAAAAAABPA/fXdqo67Zdsc/s1600-h/image%25255B6%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh3.ggpht.com/-wNMUKcvRFBc/TqYtAKh8NhI/AAAAAAAABPI/8D5589dhEUA/image_thumb%25255B2%25255D.png?imgmax=800" width="383" height="318" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;The server had IIS 7, .Net Framework 3.5 and 4 installed. After putting in some time onto this I found out that this is because the II6 Management Compatibility services was not installed for the Web Server role.&lt;/p&gt;  &lt;p align="justify"&gt;To fix it simply open the Server Manager and open up Web Server role and click on Add Role Services.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TFKh2zAdSkI/AAAAAAAAA88/IDjtmz1Ygzw/s1600-h/image%5B33%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_hehD4NAAnEk/TFKh5bnngxI/AAAAAAAAA9A/MPuAHktVEwY/image_thumb%5B21%5D.png?imgmax=800" width="472" height="337" /&gt;&lt;/a&gt; Then select IIS 6 Management Compatibility node and all the child nodes below in under the Management Tools parent node and press next.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TFKh7DxTR6I/AAAAAAAAA9E/7dWqB1PfahM/s1600-h/image%5B30%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TFKh8wmOAPI/AAAAAAAAA9I/XoLRw2RP-jY/image_thumb%5B18%5D.png?imgmax=800" width="471" height="358" /&gt;&lt;/a&gt; When the installation is complete the setup will work as desired.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/-CS64tNmD0nk/TqYtA9i5VkI/AAAAAAAABPQ/uL8vnSt5gxg/s1600-h/image%25255B10%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/-c_fUW08rrtc/TqYtCMF2aeI/AAAAAAAABPY/vvqIybPDJv8/image_thumb%25255B4%25255D.png?imgmax=800" width="380" height="313" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-1391624948790642700?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/1391624948790642700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=1391624948790642700' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1391624948790642700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/1391624948790642700'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/07/error-when-installing-msi.html' title='Error when Installing MSI'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/-wNMUKcvRFBc/TqYtAKh8NhI/AAAAAAAABPI/8D5589dhEUA/s72-c/image_thumb%25255B2%25255D.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2846928825298486983</id><published>2010-07-23T18:31:00.001+05:30</published><updated>2010-07-23T18:31:27.684+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Changing the Control Style at Runtime using the ASPX</title><content type='html'>&lt;p align="justify"&gt;Recently I changed the style of some controls in my ASPX page at runtime based on the values set on another control in my page. For example the color of the table is changed based on the radio button that was selected and the color of the button is changed according to the text that was typed in the textbox. Hope this is helpful.&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:878a345f-cffe-400b-8a8f-6f63839acab6" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;html&lt;/span&gt; &lt;span style="color:#ff0000"&gt;xmlns&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="http://www.w3.org/1999/xhtml"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;head&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;title&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;Changing the Control Style&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;title&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;      &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="text/css"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#800000"&gt;.Style1&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         {&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;background-color&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;Red&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#800000"&gt;.Style2&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         {&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;background-color&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;Blue&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;head&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;body&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;form&lt;/span&gt; &lt;span style="color:#ff0000"&gt;id&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="form1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;RadioButton&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="RadioButton1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Red"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;GroupName&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Checked&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;AutoPostBack&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;RadioButton&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="RadioButton2"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Blue"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;GroupName&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;AutoPostBack&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#006400"&gt;&amp;lt;!-- Styling the table based on the radio button selection. --&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;table&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="&lt;/span&gt;&lt;span style="background:#ffff00"&gt;&amp;lt;%&lt;/span&gt; if(RadioButton1.Checked) { &lt;span style="background:#ffff00"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff"&gt; Style1 &lt;/span&gt;&lt;span style="background:#ffff00"&gt;&amp;lt;%&lt;/span&gt; } else { &lt;span style="background:#ffff00"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff"&gt; Style2 &lt;/span&gt;&lt;span style="background:#ffff00"&gt;&amp;lt;%&lt;/span&gt; } &lt;span style="background:#ffff00"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff"&gt;"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;tr&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;td&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;&amp;amp;nbsp;&lt;/span&gt; See the change... &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;td&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;tr&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;tr&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;td&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color:#ff0000"&gt;&amp;amp;nbsp;&lt;/span&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;td&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;tr&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;table&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TextBox&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="TextBox1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;MaxLength&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="3"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TextBox&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#006400"&gt;&amp;lt;!-- Styling the button based on the textbox value. --&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;input&lt;/span&gt; &lt;span style="color:#ff0000"&gt;id&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Button1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="submit"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="button"&lt;/span&gt; &lt;/li&gt;&lt;li&gt;                &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="&lt;/span&gt;&lt;span style="background:#ffff00"&gt;&amp;lt;%&lt;/span&gt; if(TextBox1.Text=="") { &lt;span style="background:#ffff00"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff"&gt; Style1 &lt;/span&gt;&lt;span style="background:#ffff00"&gt;&amp;lt;%&lt;/span&gt; } else { &lt;span style="background:#ffff00"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff"&gt; Style2 &lt;/span&gt;&lt;span style="background:#ffff00"&gt;&amp;lt;%&lt;/span&gt; } &lt;span style="background:#ffff00"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff"&gt;"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;form&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;body&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;html&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;Output looks as below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TEmScRbYt3I/AAAAAAAAA8k/Am2KSx52_Zk/s1600-h/image%5B11%5D.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TEmSgmqBR9I/AAAAAAAAA8o/0t_u9TACUt4/image_thumb%5B3%5D.png?imgmax=800" width="244" height="124" /&gt;&lt;/a&gt; &lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TEmSjt9vQsI/AAAAAAAAA8s/keXVrD_weMk/s1600-h/image%5B15%5D.png"&gt;&lt;img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/TEmSnU-L-8I/AAAAAAAAA8w/wCf-SYWXV3A/image_thumb%5B5%5D.png?imgmax=800" width="261" height="124" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2846928825298486983?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2846928825298486983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2846928825298486983' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2846928825298486983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2846928825298486983'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/07/changing-control-style-at-runtime-using_23.html' title='Changing the Control Style at Runtime using the ASPX'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_hehD4NAAnEk/TEmSgmqBR9I/AAAAAAAAA8o/0t_u9TACUt4/s72-c/image_thumb%5B3%5D.png?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-7173178957857235817</id><published>2010-07-20T15:35:00.001+05:30</published><updated>2010-07-20T15:36:09.371+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Health'/><title type='text'>Cure for HIV/AIDS</title><content type='html'>&lt;p align="justify"&gt;Even though very little publicity was given a great medical finding was done by an American Doctor working in Berlin to find a cure for HIV/AIDS or Human Immunodeficiency Virus / Acquired Immune Deficiency Syndrome. &lt;/p&gt;  &lt;p align="justify"&gt;As per the articles a stem cell transplant from a donor who had a gene mutation known as “&lt;em&gt;&lt;strong&gt;CCR-5 Delta- 32&lt;/strong&gt;&lt;/em&gt;” cured a patient with HIV infection with no traces of HIV after two years of the transplant.&lt;/p&gt;  &lt;p align="justify"&gt;At the moment a transplant is much riskier thing to do since it involves of destroying and rebuilding the patients’ immune system. But this case of success will open up new ways to think and will help finding more safe and solid cures for HIV/AIDS in the near future.&lt;/p&gt;  &lt;p align="justify"&gt;Read more,&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a title="http://edition.cnn.com/2009/HEALTH/02/11/health.hiv.stemcell/" href="http://edition.cnn.com/2009/HEALTH/02/11/health.hiv.stemcell/"&gt;http://edition.cnn.com/2009/HEALTH/02/11/health.hiv.stemcell/&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a title="http://www.baldwincountynow.com/articles/2009/05/28/local_news/doc4a1d63cb68531598814432.txt" href="http://www.baldwincountynow.com/articles/2009/05/28/local_news/doc4a1d63cb68531598814432.txt"&gt;http://www.baldwincountynow.com/articles/2009/05/28/local_news/doc4a1d63cb68531598814432.txt&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-7173178957857235817?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/7173178957857235817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=7173178957857235817' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/7173178957857235817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/7173178957857235817'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/07/cure-for-hivaids.html' title='Cure for HIV/AIDS'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-8878632108919733331</id><published>2010-07-14T20:24:00.001+05:30</published><updated>2010-07-14T20:27:26.055+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Part'/><title type='text'>Firing TreeView TreeNodeCheckChanged Event</title><content type='html'>&lt;p align="justify"&gt;Normally in ASP.Net TreeView you can enable it to show checkboxes in its node levels. So if you need to do any actions when a node is checked or unchecked you need to use the TreeNodeCheckChanged event. But the problem is TreeNodeCheckChanged event will not fire when a checkbox is clicked. The cause for this is because the TreeNode class which represents a node in the TreeView will not add onClick event on the checkbox.&lt;/p&gt;  &lt;p align="justify"&gt;But if you carefully check it the event is getting fired at the next page postback. Since I needed to do some actions when the checkbox statuses are changed I made the page post back when a checkbox is checked or unchecked by the following java script. What it does is simply it will check the element which caused the event is a checkbox and do a postback of the page.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:8aaa8f05-68e0-419e-a643-4a10565b4ecb" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="text/javascript"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     func&lt;span style="color:#0000ff"&gt;tion Tre&lt;/span&gt;eViewCheckBoxClicked(Check_Event) {&lt;/li&gt;&lt;li&gt;         var objE&lt;span style="color:#0000ff"&gt;lem&lt;/span&gt;ent;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         try {&lt;/li&gt;&lt;li&gt;      &lt;span style="color:#0000ff"&gt;   &lt;/span&gt;    // Get the eleme&lt;span style="color:#006400"&gt;nt which fired the event.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#006400"&gt;ob&lt;/span&gt;jElement = window.event.srcElement;&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         catch (Error) {&lt;/li&gt;&lt;li&gt;            &lt;span style="color:#0000ff"&gt; //sr&lt;/span&gt;cElement is failing, objElem&lt;span style="color:#006400"&gt;ent is null.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#006400"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#006400"&gt;if (objEl&lt;/span&gt;ement != null) {&lt;/li&gt;&lt;li&gt;             /&lt;span style="color:#0000ff"&gt;/ &lt;/span&gt;If the element i&lt;span style="color:#0000ff"&gt;s a &lt;/span&gt;checkbox do postback.&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#006400"&gt;if (objElement.tagName == "INP&lt;/span&gt;UT" &amp;amp;&amp;amp; objElement.&lt;span style="color:#0000ff"&gt;ty&lt;/span&gt;pe == "checkbox") {&lt;/li&gt;&lt;li&gt;    &lt;span style="color:#800000"&gt;       &lt;/span&gt;      __doPostBack("", &lt;span style="color:#800000"&gt;"");&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             }&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         else {&lt;/li&gt;&lt;li&gt;       &lt;span style="color:#800000"&gt;  &lt;/span&gt;  &lt;span style="color:#800000"&gt;  &lt;/span&gt;//    If the srcElement is failing due to br&lt;span style="color:#0000ff"&gt;owse&lt;/span&gt;r incompatibility de&lt;span style="color:#006400"&gt;termine &lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#006400"&gt;// whether the element is and HTML input element and d&lt;/span&gt;o postback.&lt;/li&gt;&lt;li&gt;      &lt;span style="color:#006400"&gt;       if (Check_Event != null) {&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#006400"&gt;    if (Check_Even&lt;/span&gt;t.target.toString(&lt;span style="color:#0000ff"&gt;) &lt;/span&gt;== "[object HTMLI&lt;span style="color:#0000ff"&gt;nput&lt;/span&gt;Element]") {&lt;/li&gt;&lt;li&gt;            &lt;span style="color:#0000ff"&gt;  &lt;/span&gt;       __doPostBack("", "");&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;      &lt;span style="color:#800000"&gt;           }&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#800000"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;     }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p align="justify"&gt;To make this work you need to bind the onClick event with the javascript shown above as shown below.&lt;/p&gt;  &lt;div&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:4265d308-82b9-4dbd-bc06-298330b97253" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;protected&lt;/span&gt; &lt;span style="color:#0000ff"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; sender, &lt;span style="color:#2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#008000"&gt;// Adding the onClick script to the TreeView.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     TreeView1.Attributes.Add(&lt;span style="color:#a31515"&gt;"onClick"&lt;/span&gt;, &lt;span style="color:#a31515"&gt;"TreeViewCheckBoxClicked(event)"&lt;/span&gt;);&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;Even though I have done this in Page Load this can be done in other places of code as well, for example if you are adding the TreeView by code you can use this right before adding it to the page.&lt;/p&gt;  &lt;p align="justify"&gt;The above will make the page post back when ever a checkbox in the TreeView is clicked, but nothing special will happen. You need to implement the code for TreeNodeCheckChanged event to get some task done out of it, for example I am using the following code to check or uncheck the child nodes depending on the action done for the parent node.&lt;/p&gt;  &lt;div&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a017de97-aa32-45b1-9be3-3759d3832a31" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;protected&lt;/span&gt; &lt;span style="color:#0000ff"&gt;void&lt;/span&gt; TreeView1_TreeNodeCheckChanged(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; sender, &lt;span style="color:#2b91af"&gt;TreeNodeEventArgs&lt;/span&gt; e)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#008000"&gt;// Loop through all the child nodes and change the checked status as required.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;foreach&lt;/span&gt; (&lt;span style="color:#2b91af"&gt;TreeNode&lt;/span&gt; tn &lt;span style="color:#0000ff"&gt;in&lt;/span&gt; e.Node.ChildNodes)&lt;/li&gt;&lt;li&gt;     {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;if&lt;/span&gt; (e.Node.Checked)&lt;/li&gt;&lt;li&gt;             tn.Checked = &lt;span style="color:#0000ff"&gt;true&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;else&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             tn.Checked = &lt;span style="color:#0000ff"&gt;false&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     }&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-8878632108919733331?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/8878632108919733331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=8878632108919733331' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8878632108919733331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8878632108919733331'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/07/firing-treeview-treenodecheckchanged.html' title='Firing TreeView TreeNodeCheckChanged Event'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-88691573131934852</id><published>2010-07-13T01:55:00.001+05:30</published><updated>2010-07-13T01:55:04.281+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Changing GridView Column Headers</title><content type='html'>&lt;p align="justify"&gt;If you are wondering a way to change the column header appearing in the .Net GridView control in run time then this post will help you to get it done.&lt;/p&gt;  &lt;p align="justify"&gt;For example think that you need to change the normal grid headers shown in Screen A into something like shown in Screen B.&lt;/p&gt;  &lt;p align="center"&gt;&lt;u&gt;Screen A&lt;/u&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TDt6Ccy0oGI/AAAAAAAAA8U/R88g2Y4LKM4/s1600-h/image%5B6%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TDt6EVsDurI/AAAAAAAAA8Y/WPNkFztmA2E/image_thumb%5B2%5D.png?imgmax=800" width="240" height="95" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="center"&gt;&lt;u&gt;Screen B&lt;/u&gt;&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TDt6FRLiM1I/AAAAAAAAA8c/zZR17W9T35M/s1600-h/image%5B7%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TDt6HSZ8gOI/AAAAAAAAA8g/suJYVNPANe0/image_thumb%5B3%5D.png?imgmax=800" width="232" height="116" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p align="justify"&gt;I have removed few columns from the grid header and then I did add few customized column headers. The added “Edit” column and “Id” column are spanning to 2 rows, the “Temp Columns” column is spanning to 2 columns. &lt;/p&gt;  &lt;p align="justify"&gt;I think the code is self explanatory. This way you will be able to create complex gridview headers.&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:cffb27de-8d7c-4e41-b74d-248dcf337148" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;protected&lt;/span&gt; &lt;span style="color:#0000ff"&gt;void&lt;/span&gt; GridView1_RowCreated(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; sender, &lt;span style="color:#2b91af"&gt;GridViewRowEventArgs&lt;/span&gt; e)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;  {&lt;/li&gt;&lt;li&gt;      &lt;span style="color:#0000ff"&gt;if&lt;/span&gt; (e.Row.RowType == &lt;span style="color:#2b91af"&gt;DataControlRowType&lt;/span&gt;.Header)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;      {&lt;/li&gt;&lt;li&gt;          &lt;span style="color:#008000"&gt;// Remving the first two colummn headers.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          e.Row.Cells.RemoveAt(0);&lt;/li&gt;&lt;li&gt;          e.Row.Cells.RemoveAt(0);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;li&gt;          &lt;span style="color:#008000"&gt;// Creating the gridview row object.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          &lt;span style="color:#2b91af"&gt;GridViewRow&lt;/span&gt; headerGridRow = &lt;span style="color:#0000ff"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af"&gt;GridViewRow&lt;/span&gt;(0, 0, &lt;span style="color:#2b91af"&gt;DataControlRowType&lt;/span&gt;.Header, &lt;span style="color:#2b91af"&gt;DataControlRowState&lt;/span&gt;.Selected);&lt;/li&gt;&lt;li&gt;          headerGridRow.ID = &lt;span style="color:#a31515"&gt;"hdrGridRow"&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          &lt;span style="color:#2b91af"&gt;TableCell&lt;/span&gt; HeaderCell;&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          &lt;span style="color:#008000"&gt;// Creating and adding the first header cell.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;          HeaderCell = &lt;span style="color:#0000ff"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af"&gt;TableCell&lt;/span&gt;();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.Text = &lt;span style="color:#a31515"&gt;"Edit"&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;          HeaderCell.ID = &lt;span style="color:#a31515"&gt;"cellEdit"&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.Font.Bold = &lt;span style="color:#0000ff"&gt;false&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;          HeaderCell.HorizontalAlign = &lt;span style="color:#2b91af"&gt;HorizontalAlign&lt;/span&gt;.Center;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.RowSpan = 2; &lt;span style="color:#008000"&gt;// Spans across 2 rows.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;          HeaderCell.ColumnSpan = 1;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.BackColor = System.Drawing.&lt;span style="color:#2b91af"&gt;Color&lt;/span&gt;.LightGray;&lt;/li&gt;&lt;li&gt;          HeaderCell.BorderColor = System.Drawing.&lt;span style="color:#2b91af"&gt;Color&lt;/span&gt;.White;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.ForeColor = System.Drawing.&lt;span style="color:#2b91af"&gt;Color&lt;/span&gt;.Red;&lt;/li&gt;&lt;li&gt;          headerGridRow.Cells.Add(HeaderCell);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;li&gt;          &lt;span style="color:#008000"&gt;// Creating and adding the second header cell.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell = &lt;span style="color:#0000ff"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af"&gt;TableCell&lt;/span&gt;();&lt;/li&gt;&lt;li&gt;          HeaderCell.Text = &lt;span style="color:#a31515"&gt;"Id"&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.ID = &lt;span style="color:#a31515"&gt;"cellId"&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;          HeaderCell.Font.Bold = &lt;span style="color:#0000ff"&gt;false&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.HorizontalAlign = &lt;span style="color:#2b91af"&gt;HorizontalAlign&lt;/span&gt;.Center;&lt;/li&gt;&lt;li&gt;          HeaderCell.RowSpan = 2;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.ColumnSpan = 1;&lt;/li&gt;&lt;li&gt;          HeaderCell.BackColor = System.Drawing.&lt;span style="color:#2b91af"&gt;Color&lt;/span&gt;.LightGray;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.BorderColor = System.Drawing.&lt;span style="color:#2b91af"&gt;Color&lt;/span&gt;.White;&lt;/li&gt;&lt;li&gt;          HeaderCell.ForeColor = System.Drawing.&lt;span style="color:#2b91af"&gt;Color&lt;/span&gt;.Red;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          headerGridRow.Cells.Add(HeaderCell);&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          &lt;span style="color:#008000"&gt;// Creating and adding the third header cell.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;          HeaderCell = &lt;span style="color:#0000ff"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af"&gt;TableCell&lt;/span&gt;();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.Text = &lt;span style="color:#a31515"&gt;"Temp Columns"&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;          HeaderCell.ID = &lt;span style="color:#a31515"&gt;"cellTempColumns"&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.Font.Bold = &lt;span style="color:#0000ff"&gt;false&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;          HeaderCell.HorizontalAlign = &lt;span style="color:#2b91af"&gt;HorizontalAlign&lt;/span&gt;.Center;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.RowSpan = 1;&lt;/li&gt;&lt;li&gt;          HeaderCell.ColumnSpan = 2; &lt;span style="color:#008000"&gt;// Spans across 2 columns.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.BackColor = System.Drawing.&lt;span style="color:#2b91af"&gt;Color&lt;/span&gt;.LightGray;&lt;/li&gt;&lt;li&gt;          HeaderCell.BorderColor = System.Drawing.&lt;span style="color:#2b91af"&gt;Color&lt;/span&gt;.White;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          HeaderCell.ForeColor = System.Drawing.&lt;span style="color:#2b91af"&gt;Color&lt;/span&gt;.Red;&lt;/li&gt;&lt;li&gt;          headerGridRow.Cells.Add(HeaderCell);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;li&gt;          &lt;span style="color:#008000"&gt;// Adding the header row to the gridview.&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          GridView1.Controls[0].Controls.AddAt(0, headerGridRow);&lt;/li&gt;&lt;li&gt;      }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;  }&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-88691573131934852?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/88691573131934852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=88691573131934852' title='25 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/88691573131934852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/88691573131934852'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/07/changing-gridview-column-headers.html' title='Changing GridView Column Headers'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_hehD4NAAnEk/TDt6EVsDurI/AAAAAAAAA8Y/WPNkFztmA2E/s72-c/image_thumb%5B2%5D.png?imgmax=800' height='72' width='72'/><thr:total>25</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2749793179423466585</id><published>2010-06-27T15:27:00.001+05:30</published><updated>2010-06-27T15:27:58.759+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><category scheme='http://www.blogger.com/atom/ns#' term='Flash'/><title type='text'>Class not registered</title><content type='html'>&lt;p align="justify"&gt;Recently when I tried to build and run an existing .Net application code I got the following error which generated from a component named “&lt;em&gt;axShockwaveFlash1”&lt;/em&gt; which is an object used to embed flash content on to the application. &lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TCcgXjIuBKI/AAAAAAAAA78/sfsBiuu3qic/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TCcgf4mun9I/AAAAAAAAA8A/9IyZmxKi3uM/image_thumb%5B1%5D.png?imgmax=800" width="520" height="301" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;div align="center"&gt;   &lt;table border="1" cellspacing="0" width="600" align="center"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="100%"&gt;           &lt;p align="left"&gt;System.Runtime.InteropServices.COMException was unhandled              &lt;br /&gt;&amp;#160; Message=Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))               &lt;br /&gt;&amp;#160; Source=System.Windows.Forms               &lt;br /&gt;&amp;#160; ErrorCode=-2147221164               &lt;br /&gt;&amp;#160; StackTrace:               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid&amp;amp; clsid, Object punkOuter, Int32 context, Guid&amp;amp; iid)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.AxHost.CreateInstance()               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.AxHost.GetOcxCreate()               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.AxHost.CreateHandle()               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Windows.Forms.AxHost.EndInit()               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at Tour_Management_System.Loading_Form.InitializeComponent() in D:\Projects\Acc\TMS_20100205_Desktop\Tour_Management_System 2010-01-19\Tour_Management_System\Form1.Designer.cs:line 99               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at Tour_Management_System.Loading_Form..ctor() in D:\Projects\Acc\TMS_20100205_Desktop\Tour_Management_System 2010-01-19\Tour_Management_System\Form1.cs:line 30               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at Tour_Management_System.Program.Main() in D:\Projects\Acc\TMS_20100205_Desktop\Tour_Management_System 2010-01-19\Tour_Management_System\Program.cs:line 18               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)               &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; at System.Threading.ThreadHelper.ThreadStart()               &lt;br /&gt;&amp;#160; InnerException: &lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;  &lt;blockquote&gt;&lt;/blockquote&gt;  &lt;p align="center"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;After some investigation I found that the reason for this was Flash Player’s incompatibility with 64 bit. Since my machine is running Windows 64 bit version it generates an error while trying to start Flash player. Good thing is Adobe is planning to release a Flash player which supports 64 bit soon. &lt;/p&gt;  &lt;p align="justify"&gt;For people who cannot wait until that (like me) can fix the problem in the following manner by running the application as an x86 application by changing the target platform in project properties.&lt;/p&gt;  &lt;p align="left"&gt;Step 1 - Right click on your project and click on the properties.&lt;/p&gt;  &lt;p align="left"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TCcghraAEdI/AAAAAAAAA8E/8kPCj-ttqDU/s1600-h/image%5B8%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TCcgkCNMDoI/AAAAAAAAA8I/UJ-T3PpgiSY/image_thumb%5B4%5D.png?imgmax=800" width="260" height="279" /&gt;&lt;/a&gt; Step 2 - Click on the Build tab and select x86 as the Platform target:.&lt;/p&gt;  &lt;p align="left"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TCcgmxuYW6I/AAAAAAAAA8M/PYzyCqyWZjU/s1600-h/image%5B20%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh3.ggpht.com/_hehD4NAAnEk/TCcgpIuPrbI/AAAAAAAAA8Q/jwKew_I6gfc/image_thumb%5B12%5D.png?imgmax=800" width="456" height="262" /&gt;&lt;/a&gt;Step 3 - Rebuild the application and run it, you will not get the error.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2749793179423466585?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2749793179423466585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2749793179423466585' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2749793179423466585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2749793179423466585'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/class-not-registered.html' title='Class not registered'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_hehD4NAAnEk/TCcgf4mun9I/AAAAAAAAA8A/9IyZmxKi3uM/s72-c/image_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-4117268276412444420</id><published>2010-06-22T02:51:00.001+05:30</published><updated>2010-06-22T15:42:25.779+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='AJAX'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><title type='text'>Changing the Tab Container</title><content type='html'>&lt;p align="justify"&gt;Are you seeking a way to customize the tabcontainer which comes with AJAX toolkit? AJAX tab container has several Cascade Style Sheet (CSS) properties which you can use to change the look of the tab container. But you need to make sure that you are not changing the keywords used in the CSS (ajax__tab_header, ajax__tab_outer, etc…). &lt;/p&gt;  &lt;p align="justify"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="clip_image002" border="0" alt="clip_image002" src="http://lh3.ggpht.com/_hehD4NAAnEk/TB_XoXSGPxI/AAAAAAAAA6o/fCwzUnRYgTM/clip_image002_thumb%5B1%5D.jpg?imgmax=800" width="120" height="46" /&gt;&lt;/p&gt;  &lt;p align="justify"&gt;You can change the look of the tabs by two methods. Tab container is using few images to give the 3D look it is having in its default view. so the first method is by changing the images and associating the new images to the tab container using a style sheet, second method is to change the tabs using the CSS without images, by using the CSS you can change the colors, sizes etc of the tabs. &lt;/p&gt;  &lt;p align="justify"&gt;Following are the default images that are shipped with the toolkit.&lt;/p&gt;  &lt;div align="center"&gt;   &lt;table border="1" cellspacing="0" cellpadding="2" width="176" align="center"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab&lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TB_Xpe8wxDI/AAAAAAAAA6s/mcgQR5CHVPE/s1600-h/tab%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab" border="0" alt="tab" src="http://lh6.ggpht.com/_hehD4NAAnEk/TB_XqPqKKFI/AAAAAAAAA6w/llf-eG-jfu4/tab_thumb%5B1%5D.gif?imgmax=800" width="1" height="21" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab-active &lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TB_XqlAU5UI/AAAAAAAAA60/GqW55JQWoF4/s1600-h/tab-active%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab-active" border="0" alt="tab-active" src="http://lh6.ggpht.com/_hehD4NAAnEk/TB_XrfHBHEI/AAAAAAAAA64/e0G3MNIZRH0/tab-active_thumb%5B1%5D.gif?imgmax=800" width="5" height="25" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab-active-left &lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TB_XsM5RpuI/AAAAAAAAA68/tbBVrjGm-yY/s1600-h/tab-active-left%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab-active-left" border="0" alt="tab-active-left" src="http://lh3.ggpht.com/_hehD4NAAnEk/TB_Xs1FQOBI/AAAAAAAAA7A/2X2Qf_kycpk/tab-active-left_thumb%5B1%5D.gif?imgmax=800" width="3" height="21" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab-active-right&lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TB_Xt5b032I/AAAAAAAAA7E/VyzxbZfnHiQ/s1600-h/tab-active-right%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab-active-right" border="0" alt="tab-active-right" src="http://lh4.ggpht.com/_hehD4NAAnEk/TB_XusESnEI/AAAAAAAAA7I/6vgrOxGrgtw/tab-active-right_thumb%5B1%5D.gif?imgmax=800" width="4" height="21" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab-hover &lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TB_XvVkchII/AAAAAAAAA7M/WMIM4cE-woM/s1600-h/tab-hover%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab-hover" border="0" alt="tab-hover" src="http://lh4.ggpht.com/_hehD4NAAnEk/TB_Xv0CBHyI/AAAAAAAAA7Q/fZGdXPdqhpI/tab-hover_thumb%5B1%5D.gif?imgmax=800" width="1" height="21" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab-hover-left&lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TB_XwviRFQI/AAAAAAAAA7U/F9TdzgscBME/s1600-h/tab-hover-left%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab-hover-left" border="0" alt="tab-hover-left" src="http://lh4.ggpht.com/_hehD4NAAnEk/TB_XxIxwp-I/AAAAAAAAA7Y/DTVjiw44Xjc/tab-hover-left_thumb%5B1%5D.gif?imgmax=800" width="3" height="21" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab-hover-right&lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TB_Xx33Rd-I/AAAAAAAAA7c/S1kRT8bfZQU/s1600-h/tab-hover-right%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab-hover-right" border="0" alt="tab-hover-right" src="http://lh3.ggpht.com/_hehD4NAAnEk/TB_XysoxRsI/AAAAAAAAA7g/mz9WXNTLMgY/tab-hover-right_thumb%5B1%5D.gif?imgmax=800" width="4" height="21" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab-left&lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TB_XzFEH9gI/AAAAAAAAA7k/dtIPnqIlQI0/s1600-h/tab-left%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab-left" border="0" alt="tab-left" src="http://lh5.ggpht.com/_hehD4NAAnEk/TB_Xz_u2aMI/AAAAAAAAA7o/K12VTDG4ZR0/tab-left_thumb%5B1%5D.gif?imgmax=800" width="3" height="21" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab-right&lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TB_X0RKR1NI/AAAAAAAAA7s/v6lz7b64o0I/s1600-h/tab-right%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab-right" border="0" alt="tab-right" src="http://lh4.ggpht.com/_hehD4NAAnEk/TB_X1FnokpI/AAAAAAAAA7w/V4LJKcwpMJw/tab-right_thumb%5B1%5D.gif?imgmax=800" width="4" height="21" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="105"&gt;tab-line&lt;/td&gt;          &lt;td valign="top" width="69"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TB_X139H4WI/AAAAAAAAA70/Z-4UQmXdWkQ/s1600-h/tab-line%5B5%5D.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="tab-line" border="0" alt="tab-line" src="http://lh4.ggpht.com/_hehD4NAAnEk/TB_X2vOy9pI/AAAAAAAAA74/pzUFquvJBUo/tab-line_thumb%5B1%5D.gif?imgmax=800" width="5" height="5" /&gt;&lt;/a&gt;&lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;  &lt;p align="center"&gt;&amp;#160;&lt;/p&gt;  &lt;p align="justify"&gt;In the following code I am changing the tabcontainer look by using CSS and then placing the updated images to the relevant (Images/Controls) folder.&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:918f64d7-ee40-422b-be00-1324f2b054a5" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_header&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;font-family&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;verdana,tahoma,helvetica&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;font-size&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;11px&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab-line.gif)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;repeat-x&lt;/span&gt; &lt;span style="color:#0000ff"&gt;bottom&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; }&lt;/li&gt;&lt;li&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_outer&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;padding-right&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;4px&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab-right.gif)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt; &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;height&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;21px&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; }&lt;/li&gt;&lt;li&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_inner&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;padding-left&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;3px&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab-left.gif)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_tab&lt;/span&gt;&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;height&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;13px&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;padding&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;4px&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;margin&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0px&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab.gif)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;repeat-x&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; }&lt;/li&gt;&lt;li&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_hover&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_outer&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;cursor&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;pointer&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab-hover-right.gif)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt; &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_hover&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_inner&lt;/span&gt;&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;cursor&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;pointer&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab-hover-left.gif)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; }&lt;/li&gt;&lt;li&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_hover&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_tab&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;cursor&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;pointer&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab-hover.gif)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;repeat-x&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_active&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_outer&lt;/span&gt;&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab-active-right.gif)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt; &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_active&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_inner&lt;/span&gt;&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab-active-left.gif)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_active&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_tab&lt;/span&gt;&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/Controls/tab-active.png)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;repeat-x&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_disabled&lt;/span&gt;&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;color&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;#A0A0A0&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#800000"&gt;.tabCont&lt;/span&gt; &lt;span style="color:#800000"&gt;.ajax__tab_body&lt;/span&gt;&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;font-family&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;verdana,tahoma,helvetica&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;font-size&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;10pt&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;border&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0px&lt;/span&gt; &lt;span style="color:#0000ff"&gt;solid&lt;/span&gt; &lt;span style="color:#0000ff"&gt;#999999&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;border-top&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;0&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;padding&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;8px&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#ff0000"&gt;background-color&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;#f1f1f1&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#ff0000"&gt;margin&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;12px&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;To apply the style to the tab container you can use the following code.&lt;/p&gt;  &lt;p&gt;&amp;lt;asp:TabContainer ID=&amp;quot;tcnManageUsers&amp;quot; runat=&amp;quot;server&amp;quot; ActiveTabIndex=&amp;quot;0&amp;quot; CssClass=&amp;quot;tabCont&amp;quot;&amp;gt;&lt;/p&gt;  &lt;p&gt;Following is the full code of my tab container.&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 594px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:9785c729-2943-44fc-af0f-7473d74e47b0" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TabContainer&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="tcnManageUsers"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ActiveTabIndex&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="0"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;CssClass&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="tabCont"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;      &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TabPanel&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;HeaderText&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Add"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="tplAdd"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;          &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;ContentTemplate&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;              &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;uc1&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;CreateUser&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="AddCreateUser"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;          &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;ContentTemplate&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;   &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;      &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TabPanel&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;      &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TabPanel&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="tplEdit"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;HeaderText&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Edit"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;          &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;ContentTemplate&lt;/span&gt; &lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;Button&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="btnSelectUser"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Select User"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;OnClick&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="btnSelectUser_Click"/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;uc1&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;CreateUser&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="EditCreateUser"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;          &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;ContentTemplate&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;      &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TabPanel&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;  &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TabContainer&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-4117268276412444420?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/4117268276412444420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=4117268276412444420' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4117268276412444420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4117268276412444420'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/customizing-tab-container.html' title='Changing the Tab Container'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_hehD4NAAnEk/TB_XoXSGPxI/AAAAAAAAA6o/fCwzUnRYgTM/s72-c/clip_image002_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-9198096435083387585</id><published>2010-06-19T13:36:00.005+05:30</published><updated>2011-11-28T10:27:02.178+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Travel'/><category scheme='http://www.blogger.com/atom/ns#' term='Entertainment'/><title type='text'>Water World Kelaniya – Sri Lanka</title><content type='html'>&lt;p align="justify"&gt;Recently we went a trip to an aquarium which is located at Kelaniya Sri Lanka. They have named it Water World and claims that they have the largest collection of fish in South Asia. &lt;/p&gt;  &lt;p align="justify"&gt;Mainly they have 2 sections one for birds and the other for fish. If you are going to watch bird park then you need to buy a ticket of Srilankan rupees 70, if you are going for the fish section then the ticket would be 150 Srilankan rupees. You can also contact them if required by using the telephone number +94 11 5555433.&lt;/p&gt;  &lt;p align="justify"&gt;Following are some photos I took on my visit and as I feel they have some rare species on display.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TBx6dy9d_tI/AAAAAAAAA6c/nvlV9m1rGag/s1600-h/IMG_1246%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="IMG_1246" border="0" alt="IMG_1246" src="http://lh5.ggpht.com/_hehD4NAAnEk/TBx6hGQQNNI/AAAAAAAAA6g/LJtLgeiwOHw/IMG_1246_thumb%5B2%5D.jpg?imgmax=800" width="453" height="344" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;div style="padding-bottom: 0px; padding-left: 0px; width: 344px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:e9257fb0-aeaf-4bf3-a829-9ce67068e27f" class="wlWriterEditableSmartContent"&gt;&lt;a style="border:0px" href="http://cid-33617fa54cab904d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=33617FA54CAB904D!1435&amp;amp;type=5"&gt;&lt;img style="border:0px" alt="View Water World Kelaniya" src="http://lh3.ggpht.com/_hehD4NAAnEk/TBx6ikkc8zI/AAAAAAAAA6k/2SsQRrovkaM/InlineRepresentationb79b0785-41e1-48a9-a08b-e9d91ca4ce61.jpg?imgmax=800" /&gt;&lt;/a&gt;&lt;div style="width:340px;text-align:right;"&gt;&lt;a href="http://cid-33617fa54cab904d.skydrive.live.com/redir.aspx?page=browse&amp;amp;resid=33617FA54CAB904D!1435&amp;amp;type=5"&gt;View Full Album&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;  &lt;p&gt;&lt;u&gt;&lt;strong&gt;Update&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;To help the people who whould like to visit Water World I thought to share their new phone number with the address.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Telephone -&lt;/strong&gt;&lt;br /&gt;+94 11 5555434&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Address -&lt;/strong&gt;&lt;br /&gt;Water World Lanka Pvt. Ltd.,&lt;br /&gt;No: 95, Biyagama Road,&lt;br /&gt;Thalwatta,&lt;br /&gt;Kelaniya,&lt;br /&gt;Sri Lanka.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Location -&lt;/strong&gt;&lt;br /&gt;&lt;/p&gt;&lt;center&gt;&lt;iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?q=6.944604,79.942352&amp;amp;num=1&amp;amp;t=h&amp;amp;vpsrc=6&amp;amp;ie=UTF8&amp;amp;ll=6.944575,79.94236&amp;amp;spn=0.001864,0.00228&amp;amp;z=18&amp;amp;output=embed"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;small&gt;&lt;a href="http://maps.google.com/maps?q=6.944604,79.942352&amp;amp;num=1&amp;amp;t=h&amp;amp;vpsrc=6&amp;amp;ie=UTF8&amp;amp;ll=6.944575,79.94236&amp;amp;spn=0.001864,0.00228&amp;amp;z=18&amp;amp;source=embed" style="color:#0000FF;text-align:left"&gt;View Larger Map&lt;/a&gt;&lt;/small&gt;&lt;/center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-9198096435083387585?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/9198096435083387585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=9198096435083387585' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/9198096435083387585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/9198096435083387585'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/water-world-kelaniya-sri-lanka.html' title='Water World Kelaniya – Sri Lanka'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_hehD4NAAnEk/TBx6hGQQNNI/AAAAAAAAA6g/LJtLgeiwOHw/s72-c/IMG_1246_thumb%5B2%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-6831043158871908357</id><published>2010-06-19T11:35:00.001+05:30</published><updated>2010-06-19T11:35:04.496+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft'/><title type='text'>Tech-Ed 2010 – Sri Lanka</title><content type='html'>&lt;p align="justify"&gt;In February 2010 Microsoft held Tech-Ed 2010 and we (IronOne) were the silver sponsors for the event.&lt;/p&gt;  &lt;p align="justify"&gt;It was a good event which attracted many of my friends which I didn’t meet for a long time.&lt;/p&gt;  &lt;p align="justify"&gt;In appreciation to the sponsorship Microsoft sent us a thank you cake as well. Looks delicious right?&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TBxd37cQjoI/AAAAAAAAA58/2Kjl0bdpi6M/s1600-h/clip_image002%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://lh5.ggpht.com/_hehD4NAAnEk/TBxd5df_c6I/AAAAAAAAA6A/ou6OzAD3yYY/clip_image002_thumb%5B1%5D.jpg?imgmax=800" width="307" height="232" /&gt;&lt;/a&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TBxd7MQlrwI/AAAAAAAAA6E/HLZpnvaQQB0/s1600-h/clip_image002%5B5%5D%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002[5]" border="0" alt="clip_image002[5]" src="http://lh5.ggpht.com/_hehD4NAAnEk/TBxd81ulqrI/AAAAAAAAA6I/splATwkRl3Q/clip_image002%5B5%5D_thumb%5B1%5D.jpg?imgmax=800" width="289" height="282" /&gt;&lt;/a&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TBxd--N8aSI/AAAAAAAAA6M/0HsGrCro2lU/s1600-h/clip_image002%5B7%5D%5B4%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002[7]" border="0" alt="clip_image002[7]" src="http://lh3.ggpht.com/_hehD4NAAnEk/TBxeAVVJndI/AAAAAAAAA6Q/lrcQyeaHmeg/clip_image002%5B7%5D_thumb%5B2%5D.jpg?imgmax=800" width="308" height="235" /&gt;&lt;/a&gt;&amp;#160;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TBxeCJs1IYI/AAAAAAAAA6U/W3Au_TuK85o/s1600-h/clip_image002%5B11%5D%5B10%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002[11]" border="0" alt="clip_image002[11]" src="http://lh5.ggpht.com/_hehD4NAAnEk/TBxeDSXDc3I/AAAAAAAAA6Y/VLJfjjhQbWQ/clip_image002%5B11%5D_thumb%5B8%5D.jpg?imgmax=800" width="280" height="166" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-6831043158871908357?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/6831043158871908357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=6831043158871908357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6831043158871908357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6831043158871908357'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/tech-ed-2010-sri-lanka.html' title='Tech-Ed 2010 – Sri Lanka'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_hehD4NAAnEk/TBxd5df_c6I/AAAAAAAAA6A/ou6OzAD3yYY/s72-c/clip_image002_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-7135524259756825418</id><published>2010-06-17T23:15:00.001+05:30</published><updated>2010-06-17T23:28:53.067+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET 3.0'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Creating Rounded Corners</title><content type='html'>&lt;p align="justify"&gt;When designing web sites it always looks nicer if you could round the sharp corners, for example see below, what looks nicer to you?&lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Sharp Corners&lt;/u&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TBpfHsujx4I/AAAAAAAAA5M/qoc8jJnD69E/s1600-h/image%5B9%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/TBpfIy6g_II/AAAAAAAAA5Q/3Xhh-zLBe6A/image_thumb%5B5%5D.png?imgmax=800" width="408" height="61" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Rounded Corners&lt;/u&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TBpfKLocaYI/AAAAAAAAA5U/E4mX5W9ARIs/s1600-h/image%5B13%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TBpfLO_9KkI/AAAAAAAAA5Y/vUFoNPay6w0/image_thumb%5B7%5D.png?imgmax=800" width="409" height="54" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;My feeling is the rounded corners are better looking than the normal one. But the problem is, there is no easy way to create this. You need some Cascade Style Sheet (CSS) knowledge to do this. The easy way to round the required corners is to use the following code.&lt;/p&gt;  &lt;p align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 393px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:c469938b-1b2b-41da-b7ec-7e29cf1461a9" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;html&lt;/span&gt; &lt;span style="color:#ff0000"&gt;xmlns&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="http://www.w3.org/1999/xhtml"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;head&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;title&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;title&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="text/css"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#800000"&gt;.CornerTopLeft&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         {&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;float&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;margin-top&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;10px&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/TopLeft.png)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;0&lt;/span&gt; &lt;span style="color:#0000ff"&gt;0&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt; &lt;span style="color:#0000ff"&gt;rgb(237,28,36)&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;border&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;1px&lt;/span&gt; &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; &lt;span style="color:#0000ff"&gt;#f1f1f1&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#800000"&gt;.CornerTopRight&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         {&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;float&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/TopRight.png)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt; &lt;span style="color:#0000ff"&gt;0&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#800000"&gt;.CornerBottomLeft&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         {&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;float&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/BottomLeft.png)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;0&lt;/span&gt; &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;height&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#800000"&gt;.CornerBottomRight&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;float&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/BottomRight.png)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt; &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#800000"&gt;div#Content&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;margin&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;15px&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;head&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;body&lt;/span&gt; &lt;span style="color:#ff0000"&gt;bgcolor&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="rgb(232,232,232)"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;form&lt;/span&gt; &lt;span style="color:#ff0000"&gt;id&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="form1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="CornerTopLeft"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="CornerTopRight"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="CornerBottomLeft"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="CornerBottomRight"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;id&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Content"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                         Your content here.....&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TextBox&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="TextBox1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TextBox&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;Button&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Button1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Button"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;form&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;body&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;html&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/p&gt;  &lt;p align="justify"&gt;The above code is self explanatory so I didn’t put any comments there. To make it work you need the following 4 images placed on your Images directory. &lt;/p&gt;  &lt;blockquote&gt;   &lt;p align="justify"&gt;TopLeft.png – &lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TBpfL30EGEI/AAAAAAAAA5c/lxbDn0El7gs/s1600-h/TopLeft%5B2%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="TopLeft" border="0" alt="TopLeft" src="http://lh3.ggpht.com/_hehD4NAAnEk/TBpfMzhdSNI/AAAAAAAAA5g/x5hju9j7jeE/TopLeft_thumb.png?imgmax=800" width="14" height="14" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p align="justify"&gt;TopRight.png – &lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TBpfNrXPENI/AAAAAAAAA5k/eADpK_SKblY/s1600-h/TopRight%5B2%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="TopRight" border="0" alt="TopRight" src="http://lh6.ggpht.com/_hehD4NAAnEk/TBpfOqb1G2I/AAAAAAAAA5o/aHXuNrahud8/TopRight_thumb.png?imgmax=800" width="14" height="14" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p align="justify"&gt;BottomLeft.png – &lt;a href="http://lh3.ggpht.com/_hehD4NAAnEk/TBpfPfqLKsI/AAAAAAAAA5s/nvj0wECLLxo/s1600-h/BottomLeft%5B2%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="BottomLeft" border="0" alt="BottomLeft" src="http://lh4.ggpht.com/_hehD4NAAnEk/TBpfQf0UYkI/AAAAAAAAA5w/nNkkxl7JUaA/BottomLeft_thumb.png?imgmax=800" width="14" height="14" /&gt;&lt;/a&gt; &lt;/p&gt;    &lt;p align="justify"&gt;BottomRight.png – &lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TBpfRLNKqTI/AAAAAAAAA50/oDdvU_fxxiI/s1600-h/BottomRight%5B2%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="BottomRight" border="0" alt="BottomRight" src="http://lh3.ggpht.com/_hehD4NAAnEk/TBpfSWnXi2I/AAAAAAAAA54/Y937T6lgIRg/BottomRight_thumb.png?imgmax=800" width="14" height="14" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p align="justify"&gt;If I am to explain the code, the corners are curved by using 4 different DIVs and placing the above images on them. For example the following DIVs does the trick.&lt;/p&gt;  &lt;p align="justify"&gt;&amp;lt;div class=&amp;quot;CornerTopLeft&amp;quot;&amp;gt;   &lt;br /&gt;&amp;lt;div class=&amp;quot;CornerTopRight&amp;quot;&amp;gt;    &lt;br /&gt;&amp;lt;div class=&amp;quot;CornerBottomLeft&amp;quot;&amp;gt;    &lt;br /&gt;&amp;lt;div class=&amp;quot;CornerBottomRight&amp;quot;&amp;gt;&lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 393px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:1373993c-6d5b-4ccc-b6af-77d50c9ab430" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="CornerTopLeft"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="CornerTopRight"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="CornerBottomLeft"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;class&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="CornerBottomRight"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt; &lt;span style="color:#ff0000"&gt;id&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Content"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                         Your content here.....&lt;/li&gt;&lt;li&gt;                         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TextBox&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="TextBox1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;TextBox&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;Button&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Button1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Button"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;div&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;The content you need to put in the middle should be wrapped by these DIVs. In the above code I used another DIV for placing content having the ID &lt;em&gt;Content&lt;/em&gt;.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Inserting curved images to the corners of the DIVs are done by using a style per DIV. The CSS classes which are used to change these DIVs are as of below.&lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 393px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:d98546e6-17e3-4740-b2c1-aab8f3d892f4" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="text/css"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#800000"&gt;.CornerTopLeft&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;float&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;margin-top&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;10px&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/TopLeft.png)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;0&lt;/span&gt; &lt;span style="color:#0000ff"&gt;0&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt; &lt;span style="color:#0000ff"&gt;rgb(237,28,36)&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;border&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;1px&lt;/span&gt; &lt;span style="color:#0000ff"&gt;double&lt;/span&gt; &lt;span style="color:#0000ff"&gt;#f1f1f1&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#800000"&gt;.CornerTopRight&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;float&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/TopRight.png)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt; &lt;span style="color:#0000ff"&gt;0&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;         }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#800000"&gt;.CornerBottomLeft&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;float&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/BottomLeft.png)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;0&lt;/span&gt; &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;height&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#800000"&gt;.CornerBottomRight&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         {&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;float&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;right&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#ff0000"&gt;width&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt;;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;background&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;url(../Images/BottomRight.png)&lt;/span&gt; &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt; &lt;span style="color:#0000ff"&gt;100%&lt;/span&gt; &lt;span style="color:#0000ff"&gt;no-repeat&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#800000"&gt;div#Content&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         {&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#ff0000"&gt;margin&lt;/span&gt;: &lt;span style="color:#0000ff"&gt;15px&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;style&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;The filling of the required area is done by assiging a color at the background tag in &lt;em&gt;CornerTopLeft &lt;/em&gt;style which will be applied to &lt;em&gt;CornerTopLeft &lt;/em&gt;DIV.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;em&gt;background: url(../Images/TopLeft.png) 0 0 no-repeat &lt;strong&gt;rgb(237,28,36)&lt;/strong&gt;;&lt;/em&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Note the last &lt;em&gt;div#Content&lt;/em&gt; which was placed to style the &lt;em&gt;Content&lt;/em&gt; DIV making the contents placed centered so the final output will be nicer.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-7135524259756825418?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/7135524259756825418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=7135524259756825418' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/7135524259756825418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/7135524259756825418'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/creating-rounded-corners.html' title='Creating Rounded Corners'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hehD4NAAnEk/TBpfIy6g_II/AAAAAAAAA5Q/3Xhh-zLBe6A/s72-c/image_thumb%5B5%5D.png?imgmax=800' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-6382352590677871663</id><published>2010-06-16T23:39:00.001+05:30</published><updated>2010-06-17T00:22:43.494+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Collaboration'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Sharing Screen with Multiple People</title><content type='html'>&lt;p align="justify"&gt;As you might know the new Skype allows us to share our desktop to another contact by only using Skype. Best things are it is free and we can share through internet. But this has a limitation which is you cannot share the screen with multiple contacts. &lt;/p&gt;  &lt;p align="justify"&gt;To overcome this I happen to find this nice Skype add-on named InnerPass Share and Collaborate which enable us to share our desktop with many people at once freely.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TBkTPOjrneI/AAAAAAAAA4s/a5NsSnPt0Y4/s1600-h/clip_image002%5B4%5D.jpg"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="clip_image002" border="0" alt="clip_image002" src="http://lh5.ggpht.com/_hehD4NAAnEk/TBkTQ9tMBdI/AAAAAAAAA4w/12lNOSzi9bQ/clip_image002_thumb%5B1%5D.jpg?imgmax=800" width="292" height="299" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;To get it installed go to Skype Extras Manager by clicking Tools –&amp;gt; Extras –&amp;gt; Get Extras.&lt;/p&gt;  &lt;p align="justify"&gt;Type InnerPass on the top left search box and press search.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TBkTTF3bk5I/AAAAAAAAA40/7WdpWkkVeY8/s1600-h/clip_image002%5B4%5D%5B3%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="clip_image002[4]" border="0" alt="clip_image002[4]" src="http://lh4.ggpht.com/_hehD4NAAnEk/TBkTU6FzpvI/AAAAAAAAA44/Mepdh-vOWEQ/clip_image002%5B4%5D_thumb%5B1%5D.png?imgmax=800" width="394" height="317" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Then on the left search results select the InnerPass Share and Collaborate add-on and install.&lt;/p&gt;  &lt;p align="justify"&gt;After installing you can launch InnerPass by clicking Tools –&amp;gt; Extras –&amp;gt; InnerPass Share and Collaborate. This will bring you a screen similar to the following.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh5.ggpht.com/_hehD4NAAnEk/TBkTY9QYCDI/AAAAAAAAA48/YGkglYAxnPg/s1600-h/image%5B11%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TBkTb3hkmII/AAAAAAAAA5A/_k7qm1RcDog/image_thumb%5B5%5D.png?imgmax=800" width="397" height="294" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;You can click Get Started button to create your free InnerPass account and start using the features offered by InnerPass.&lt;/p&gt;  &lt;p align="justify"&gt;Some of the features are,&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;     &lt;div align="justify"&gt;Managing meeting rooms.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Add contacts from other sources like Yahoo, Gmail, etc.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Schedule meetings.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Attend meetings.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Host meetings.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Sharing your screen.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Viewing others’ screens.&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Share documents.&lt;/div&gt;   &lt;/li&gt; &lt;/ul&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TBkWtPNU4RI/AAAAAAAAA5E/PGj73Ln8ep0/s1600-h/image%5B19%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TBkWw2Kc0VI/AAAAAAAAA5I/xZ8WJm_t5Es/image_thumb%5B9%5D.png?imgmax=800" width="400" height="298" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-6382352590677871663?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/6382352590677871663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=6382352590677871663' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6382352590677871663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6382352590677871663'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/sharing-screen-to-multiple-people.html' title='Sharing Screen with Multiple People'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_hehD4NAAnEk/TBkTQ9tMBdI/AAAAAAAAA4w/12lNOSzi9bQ/s72-c/clip_image002_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-8865716437377260039</id><published>2010-06-10T23:50:00.001+05:30</published><updated>2010-06-10T23:50:59.925+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='DevExpress'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><title type='text'>Selecting a Row in ASPxGridView</title><content type='html'>&lt;p&gt;I found that with the flood of new possibilities with DevExpress grid view a simple functionality of selecting one row is bit hidden. After doing bit of searching in the internet I found the way and thought to share it.&lt;/p&gt;  &lt;p&gt;The way we need to do this is by using a java script and biding that in to the RowClick event of the grid.&lt;/p&gt;  &lt;p&gt;The java scrip will look like the following.&lt;/p&gt;  &lt;p&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;    &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; function OnRowClick(e) {     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; //Unselect all rows     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; dxgdSearch._selectAllRowsOnPage(false);     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; //Select the row     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; dxgdSearch.SelectRow(e.visibleIndex, true);     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }     &lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;  &lt;p&gt;Then the binding to the RowClick would be as below.&lt;/p&gt;  &lt;p&gt;&amp;lt;ClientSideEvents RowClick=&amp;quot;function(s, e) { OnRowClick(e); }&amp;quot;&amp;gt;&amp;lt;/ClientSideEvents&amp;gt;&lt;/p&gt;  &lt;p&gt;The outcome of this is a grid which you can select a row. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TBEtBg66BII/AAAAAAAAA4k/wvs1fNJJf14/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh4.ggpht.com/_hehD4NAAnEk/TBEtCpvwbAI/AAAAAAAAA4o/g_nZqxyvk1A/image_thumb%5B1%5D.png?imgmax=800" width="294" height="120" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The value of the selected row can be taken as below.&lt;/p&gt;  &lt;p&gt;dxgdSearch.GetRowValues(dxgdSearch.FocusedRowIndex, &amp;quot;Customer_ID&amp;quot;)&lt;/p&gt;  &lt;p&gt;For example in my application I used to pass the Customer Id to the Customer.aspx form as below.&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:79cd7096-d95e-441d-b654-29b9e82c7fb5" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;Response.Redirect(&lt;span style="color:#a31515"&gt;"~/Customer.aspx?cusID= "&lt;/span&gt; + dxgdSearch.GetRowValues(dxgdSearch.FocusedRowIndex, &lt;span style="color:#a31515"&gt;"Customer_ID"&lt;/span&gt;));&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The full source is as of below.&lt;/p&gt;  &lt;p&gt;Page.aspx&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:aafd7e41-089a-4cc0-b9a4-2eaa015b0788" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;Content&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Content4"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ContentPlaceHolderID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="MainContent"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt; &lt;span style="color:#ff0000"&gt;type&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="text/javascript"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;function&lt;/span&gt; OnRowClick(e) {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#006400"&gt;//Unselect all rows&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             dxgdSearch._selectAllRowsOnPage(&lt;span style="color:#0000ff"&gt;false&lt;/span&gt;);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#006400"&gt;//Select the row&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             dxgdSearch.SelectRow(e.visibleIndex, &lt;span style="color:#0000ff"&gt;true&lt;/span&gt;);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         }&lt;/li&gt;&lt;li&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;script&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;ASPxGridView&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="dxgdSearch"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ClientInstanceName&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="dxgdSearch"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;AutoGenerateColumns&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="False"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#ff0000"&gt;SettingsBehavior-AllowFocusedRow&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;SettingsBehavior-AllowMultiSelection&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="False"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;ClientSideEvents&lt;/span&gt; &lt;span style="color:#ff0000"&gt;RowClick&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="function(s, e) { OnRowClick(e); }"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;ClientSideEvents&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;Columns&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataTextColumn&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Name&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Id"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ShowInCustomizationForm&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;VisibleIndex&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="1"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#ff0000"&gt;Caption&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Customer ID"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;FieldName&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Customer_ID"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Visible&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="False"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataTextColumn&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataTextColumn&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Name&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Name"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ShowInCustomizationForm&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;VisibleIndex&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="0"&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#ff0000"&gt;Caption&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Name"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;FieldName&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Full_Name"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataTextColumn&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataTextColumn&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Name&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="TelephoneNo"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ShowInCustomizationForm&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;VisibleIndex&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="1"&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#ff0000"&gt;Caption&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Tele. No."&lt;/span&gt; &lt;span style="color:#ff0000"&gt;FieldName&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Mobile_Number"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataTextColumn&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataTextColumn&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Name&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="EMail"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ShowInCustomizationForm&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;VisibleIndex&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="2"&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#ff0000"&gt;Caption&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="EMail"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;FieldName&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Email"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataTextColumn&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataHyperLinkColumn&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Name&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Select"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;VisibleIndex&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="3"&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                 &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;DataItemTemplate&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                     &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;Button&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ID&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Button1"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;runat&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="server"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;CommandArgument&lt;/span&gt;&lt;span style="color:#0000ff"&gt;='&lt;/span&gt;&lt;span style="background:#ffff00"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="color:#0000ff"&gt;#&lt;/span&gt; Eval("Customer_ID") &lt;span style="background:#ffff00"&gt;%&amp;gt;&lt;/span&gt;&lt;span style="color:#0000ff"&gt;'&lt;/span&gt;&lt;/li&gt;&lt;li&gt;                         &lt;span style="color:#ff0000"&gt;OnClick&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Button1_Click"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Text&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="Edit"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;                 &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;DataItemTemplate&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;             &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;GridViewDataHyperLinkColumn&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;Columns&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;SettingsBehavior&lt;/span&gt; &lt;span style="color:#ff0000"&gt;AllowFocusedRow&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;SettingsBehavior&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;Settings&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ShowGroupPanel&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ShowFilterRow&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;         &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#800000"&gt;Settings&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ShowFilterRow&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&lt;/span&gt; &lt;span style="color:#ff0000"&gt;ShowGroupPanel&lt;/span&gt;&lt;span style="color:#0000ff"&gt;="True"&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;Settings&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;dx&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;ASPxGridView&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#800000"&gt;asp&lt;/span&gt;&lt;span style="color:#0000ff"&gt;:&lt;/span&gt;&lt;span style="color:#800000"&gt;Content&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Page.aspx.cs&lt;/p&gt;  &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:a42e3c56-bce5-448f-92d4-39bf022af3fb" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;protected&lt;/span&gt; &lt;span style="color:#0000ff"&gt;void&lt;/span&gt; Button1_Click(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; sender, &lt;span style="color:#2b91af"&gt;EventArgs&lt;/span&gt; e)&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; {&lt;/li&gt;&lt;li&gt;     Response.Redirect(&lt;span style="color:#a31515"&gt;"~/Customer.aspx?cusID= "&lt;/span&gt; + dxgdSearch.GetRowValues(dxgdSearch.FocusedRowIndex, &lt;span style="color:#a31515"&gt;"Customer_ID"&lt;/span&gt;));&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; }&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-8865716437377260039?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/8865716437377260039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=8865716437377260039' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8865716437377260039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/8865716437377260039'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/selecting-row-in-aspxgridview.html' title='Selecting a Row in ASPxGridView'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh4.ggpht.com/_hehD4NAAnEk/TBEtCpvwbAI/AAAAAAAAA4o/g_nZqxyvk1A/s72-c/image_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-5728095584777276006</id><published>2010-06-10T21:06:00.001+05:30</published><updated>2010-06-10T21:06:23.712+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='Mobile'/><title type='text'>iPhone 4</title><content type='html'>&lt;p&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TBEGcqn6qeI/AAAAAAAAA4c/ajOu_gpJ22E/s1600-h/overview-camera-20100607%5B3%5D.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="overview-camera-20100607" border="0" alt="overview-camera-20100607" src="http://lh3.ggpht.com/_hehD4NAAnEk/TBEGdkUfWII/AAAAAAAAA4g/O1eMsT_3ZWw/overview-camera-20100607_thumb%5B1%5D.jpg?imgmax=800" width="206" height="312" /&gt;&lt;/a&gt;If you are a iPhone lover then your next dream is in stores.&lt;/p&gt;  &lt;p&gt;Apple had released iPhone 4 with many improvements.&lt;/p&gt;  &lt;p&gt;Go and have look into it at &lt;a href="http://www.apple.com/iphone/"&gt;Apple&lt;/a&gt;.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-5728095584777276006?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/5728095584777276006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=5728095584777276006' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5728095584777276006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/5728095584777276006'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/iphone-4.html' title='iPhone 4'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_hehD4NAAnEk/TBEGdkUfWII/AAAAAAAAA4g/O1eMsT_3ZWw/s72-c/overview-camera-20100607_thumb%5B1%5D.jpg?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-4365237616426135356</id><published>2010-06-09T20:06:00.000+05:30</published><updated>2011-10-25T09:32:13.571+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Errors'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='IIS'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='.Net Future'/><title type='text'>Unable to start debugging on the web server</title><content type='html'>&lt;p align="justify"&gt;Recently a set of developers who are working in one of my projects started getting an error while trying to debug the web application under development using ASP.Net. The targeted framework was .Net 4.0 and they were using Visual Studio 2010 in 64bit machines. The problem was whenever they tried to run/debug the application they gets an error saying unable to start debugging on the web server even though there are no compile errors as shown below.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TA_SUWUvu0I/AAAAAAAAA38/3qppI1UF7IM/s1600-h/image%5B5%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/TA_SXDmWrOI/AAAAAAAAA4A/_DKUj-jfkLY/image_thumb%5B3%5D.png?imgmax=800" width="361" height="192" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;It gave an error &lt;em&gt;HTTP Error 500.21 - Internal Server Error Handler &amp;quot;PageHandlerFactory-Integrated&amp;quot; has a bad module &amp;quot;ManagedPipelineHandler&amp;quot; in its module list &lt;/em&gt;when ran direct from IIS. The error page is shown below.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh3.ggpht.com/-d5CTz07ic4U/TqY0F_21rmI/AAAAAAAABPg/RnmZhDBFK24/s1600-h/image%25255B3%25255D.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://lh4.ggpht.com/-EVouVTlsfWQ/TqY0H9iWBeI/AAAAAAAABPo/8NfEq41lpIk/image_thumb%25255B1%25255D.png?imgmax=800" width="412" height="302" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Later I found the reason for this is ASP.Net 4 was not properly installed on the machine. To fix this get an &lt;em&gt;administrative privileged command prompt&lt;/em&gt;.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TA_UiYxH-bI/AAAAAAAAA4M/0ePhSMqZ6QE/s1600-h/image%5B35%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/TA_Uj-gPuiI/AAAAAAAAA4Q/Z53Id2k7OOs/image_thumb%5B23%5D.png?imgmax=800" width="406" height="251" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Then type in the following,&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;&lt;em&gt;aspnet_regiis -ir&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;You can find the aspnet_regiis.exe at the folder,&lt;/p&gt;  &lt;p&gt;[Windows Dir]\Microsoft.NET\Framework64\v4.0.xxxxx &lt;/p&gt;  &lt;p&gt;for example,&lt;/p&gt;  &lt;p&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319&lt;/p&gt;  &lt;p align="justify"&gt;This will register ASP.Net 4.0 in your machine, the -ir option will keep the existing applications unchanged. If you want them to be changed to use the new version use -i instead -ir.&lt;/p&gt;  &lt;p align="justify"&gt;When the installer ends type &lt;em&gt;&lt;strong&gt;iisreset&lt;/strong&gt;&lt;/em&gt; to restart the IIS service.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/TA_UlQQ_khI/AAAAAAAAA4U/bo19-XMMqHI/s1600-h/image%5B36%5D.png"&gt;&lt;img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/TA_UmueQlFI/AAAAAAAAA4Y/FRjGYR8c2WI/image_thumb%5B24%5D.png?imgmax=800" width="409" height="158" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Now your applications will work fine without any complains.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-4365237616426135356?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/4365237616426135356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=4365237616426135356' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4365237616426135356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/4365237616426135356'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/unable-to-start-debugging-on-web-server.html' title='Unable to start debugging on the web server'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hehD4NAAnEk/TA_SXDmWrOI/AAAAAAAAA4A/_DKUj-jfkLY/s72-c/image_thumb%5B3%5D.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-2241068482866736496</id><published>2010-06-05T01:19:00.002+05:30</published><updated>2010-06-06T01:29:29.454+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008 R2'/><title type='text'>Enable Hibernation and Sleep in Windows Server 2008 R2</title><content type='html'>&lt;p align="justify"&gt;Normally when you install Hyper-V role in your server, it will disable sleep and hibernate facilities provided by Windows.&lt;/p&gt;&lt;p align="justify"&gt;But you can avoid this by doing some alterations to Windows.&lt;/p&gt;&lt;p align="justify"&gt;Hibernate and seep features are disabled when the Hyper-V service is started, so you can regain hibernate and sleep by changing the start parameter of the Hyper-V service (hvboot).&lt;/p&gt;&lt;p align="justify"&gt;To change,&lt;/p&gt;&lt;p align="justify"&gt;1. Open the registry editor by typing “&lt;em&gt;&lt;strong&gt;regedit&lt;/strong&gt;&lt;/em&gt;” in the run window.&lt;/p&gt;&lt;p align="justify"&gt;Locate the key,&lt;/p&gt;&lt;p align="justify"&gt;&lt;strong&gt;&lt;em&gt;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hvboot &lt;/em&gt;&lt;/strong&gt;and then set the &lt;strong&gt;start value &lt;/strong&gt;of it to 3.&lt;/p&gt;&lt;p align="justify"&gt;Start property can hold the following values.&lt;/p&gt;&lt;div align="justify"&gt;&lt;table border="1" cellspacing="0" cellpadding="2" width="218" align="center"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top" width="20"&gt;&lt;p align="center"&gt;0&lt;/p&gt;&lt;/td&gt;&lt;td valign="top" width="196"&gt;&lt;p align="left"&gt;Boot (Not supported by hvboot.)&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="20"&gt;&lt;p align="center"&gt;1&lt;/p&gt;&lt;/td&gt;&lt;td valign="top" width="196"&gt;&lt;p align="left"&gt;System&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="20"&gt;&lt;p align="center"&gt;2&lt;/p&gt;&lt;/td&gt;&lt;td valign="top" width="196"&gt;&lt;p align="left"&gt;Auto&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="20"&gt;&lt;p align="center"&gt;3&lt;/p&gt;&lt;/td&gt;&lt;td valign="top" width="196"&gt;&lt;p align="left"&gt;On Demand&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td valign="top" width="20"&gt;&lt;p align="center"&gt;4&lt;/p&gt;&lt;/td&gt;&lt;td valign="top" width="196"&gt;&lt;p align="left"&gt;Disabled&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt;Now you will have the hibernate and sleep facilities until you start the Hyper-V services in your machine.&lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt;2. Type the following command in a command prompt window with administrative rights.&lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt;&lt;em&gt;&lt;strong&gt;sc config hvboot start= demand&lt;/strong&gt;&lt;/em&gt;&lt;/div&gt;&lt;div align="justify"&gt; &lt;/div&gt;&lt;div align="justify"&gt;Note that there needs to be a space between the = sign and the word demand.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-2241068482866736496?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/2241068482866736496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=2241068482866736496' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2241068482866736496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/2241068482866736496'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/enable-hibernate-and-sleep-with-hyper-v_05.html' title='Enable Hibernation and Sleep in Windows Server 2008 R2'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-3273397260568845130</id><published>2010-06-05T00:56:00.001+05:30</published><updated>2010-06-05T00:56:48.451+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Vista'/><category scheme='http://www.blogger.com/atom/ns#' term='HyperV'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2003 and Windows XP'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008 R2'/><category scheme='http://www.blogger.com/atom/ns#' term='Hyper-V'/><title type='text'>Enabling Hibernate in Windows</title><content type='html'>&lt;p align="justify"&gt;Some server versions of Windows are having the hibernate feature disabled by default. So if you need to change the hibernation do the following simple steps.&lt;/p&gt;  &lt;p align="justify"&gt;1. Click start and type “&lt;em&gt;&lt;strong&gt;cmd&lt;/strong&gt;&lt;/em&gt;” or type command in the search box.&lt;/p&gt;  &lt;p align="justify"&gt;2. Then in the search results, right click the&lt;strong&gt; Command Prompt&lt;/strong&gt; and click on &lt;strong&gt;Run as Administrator&lt;/strong&gt;.&lt;/p&gt;  &lt;p align="justify"&gt;3. If you are prompted by the user account control click continue.&lt;/p&gt;  &lt;p align="justify"&gt;4. Then,&lt;/p&gt;  &lt;p align="justify"&gt;To turn hibernation on in your machine type - &lt;/p&gt;  &lt;p align="justify"&gt;“&lt;strong&gt;&lt;em&gt;powercfg.exe /h on&lt;/em&gt;&lt;/strong&gt;” or “&lt;em&gt;&lt;strong&gt;powercfg.exe /hibernate on&lt;/strong&gt;&lt;/em&gt;”&lt;/p&gt;  &lt;p align="justify"&gt;To turn hibernation off in your machine type - &lt;/p&gt;  &lt;p align="justify"&gt;“&lt;strong&gt;&lt;em&gt;powercfg.exe /h off&lt;/em&gt;&lt;/strong&gt;” or “&lt;em&gt;&lt;strong&gt;powercfg.exe /hibernate off&lt;/strong&gt;&lt;/em&gt;”&lt;/p&gt;  &lt;p align="justify"&gt;5. Lastly you can exit the command prompt by typing “&lt;em&gt;&lt;strong&gt;exit&lt;/strong&gt;&lt;/em&gt;”.&lt;/p&gt;  &lt;p align="justify"&gt;&amp;#160;&lt;/p&gt;  &lt;p align="justify"&gt;Sometimes you might get an error similar to the following while trying to enable hibernation.&lt;/p&gt;  &lt;div align="justify"&gt;   &lt;table border="1" cellspacing="0" cellpadding="2" width="400"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="400"&gt;           &lt;p&gt;Hibernation failed with the following error: The request is not supported. &lt;/p&gt;            &lt;p&gt;The following items are preventing hibernation on this system.              &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; An internal system component has disabled hibernation.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&amp;#160;&lt;/p&gt;  &lt;p align="justify"&gt;This means your machine is running roles or services that are disabling hibernation feature. One such a role is Hyper-V. If your version of Windows 2008 is running Hyper-V then you cannot enable hibernation. This is not an error but is deliberately done since hibernating a server running virtual machines is a very complicated and rarely requiring service in an enterprise server.&lt;/p&gt;  &lt;p&gt;But there is a way to enable hibernation on a Hyper-V installed machine, which you will be able to find in my next article.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-3273397260568845130?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/3273397260568845130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=3273397260568845130' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/3273397260568845130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/3273397260568845130'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/06/enabling-hibernate-in-windows_05.html' title='Enabling Hibernate in Windows'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-6750930352769810948</id><published>2010-05-30T20:37:00.001+05:30</published><updated>2010-05-30T20:37:03.979+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server Reporting Services'/><category scheme='http://www.blogger.com/atom/ns#' term='Settings'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server 2005'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL Server'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>Changing the Shared Feature Directory in SQL Server Setup</title><content type='html'>&lt;p align="justify"&gt;Today when I tried to install SQL Server 2008 R2 I couldn’t change the shared feature installation directory in the setup. Both the textbox and browse button were disabled restricting me to select the desired path.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;a href="http://lh6.ggpht.com/_hehD4NAAnEk/TAJ_BvjpDnI/AAAAAAAAA30/wdwFqRO3zkY/s1600-h/image%5B3%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://lh5.ggpht.com/_hehD4NAAnEk/TAJ_FBXONgI/AAAAAAAAA34/DG0amSB3cQM/image_thumb%5B1%5D.png?imgmax=800" width="407" height="308" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p align="justify"&gt;After sometime I found the cause for this. It is because there were some SQL related programs already installed in my computer, because they are there the SQL setup uses the same directory to setup the rest of the programs.&lt;/p&gt;  &lt;p align="justify"&gt;If you need to relocate the install directory then simply you need to uninstall all the SQL related programs using &lt;em&gt;Programs and Features &lt;/em&gt;and re-run the SQL Server setup. Then the browse buttons will be active enabling you to select an alternate location.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-6750930352769810948?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/6750930352769810948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=6750930352769810948' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6750930352769810948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/6750930352769810948'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/05/changing-shared-feature-directory-in.html' title='Changing the Shared Feature Directory in SQL Server Setup'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh5.ggpht.com/_hehD4NAAnEk/TAJ_FBXONgI/AAAAAAAAA34/DG0amSB3cQM/s72-c/image_thumb%5B1%5D.png?imgmax=800' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-525931457220421115</id><published>2010-05-29T18:11:00.001+05:30</published><updated>2010-05-29T18:11:36.796+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Windows Vista'/><category scheme='http://www.blogger.com/atom/ns#' term='OS'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2003 and Windows XP'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows 2008 R2'/><title type='text'>How to Make a Bootable Flash Drive</title><content type='html'>&lt;p align="justify"&gt;Recently I installed Windows using a flash (Pen/Thumb) drive, since I couldn’t get hold of a blank DVD to burn the ISO into. &lt;/p&gt;  &lt;p align="justify"&gt;It might be helpful to you as well. Because we don’t need to burn DVDs to install OSs that are coming as ISOs anymore.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Follow the steps below.&lt;/u&gt;&lt;/p&gt;  &lt;p align="justify"&gt;1. Find a good USB Flash drive with required space.&lt;/p&gt;  &lt;p align="justify"&gt;Make sure you have backed up all the required data in the flash drive because the flash drive will be formatted.&lt;/p&gt;  &lt;p align="justify"&gt;2. Get a command prompt by typing “&lt;em&gt;&lt;strong&gt;cmd&lt;/strong&gt;&lt;/em&gt;” in the run window.&lt;/p&gt;  &lt;p align="justify"&gt;3. Type “&lt;em&gt;&lt;strong&gt;diskpart&lt;/strong&gt;&lt;/em&gt;” and press enter.&lt;/p&gt;  &lt;p align="justify"&gt;This will open up a new window for DiskPart utility, you need to use the following commands within the diskpart utility to make the flash drive bootable.&lt;/p&gt;  &lt;p align="justify"&gt;4. In the diskpart utility select the flash drive by typing “&lt;em&gt;&lt;strong&gt;select disk 2&lt;/strong&gt;&lt;/em&gt;”.&lt;/p&gt;  &lt;p align="justify"&gt;Use extra caution when selecting the flash disk since if you select the wrong disk you will loose all data of that disk. You can use “&lt;strong&gt;&lt;em&gt;list disk&lt;/em&gt;&lt;/strong&gt;” command within the diskpart utility to list all the disks attached to your computer. Note the disk referred here is a physical disk attached to the computer not a partition.&lt;/p&gt;  &lt;p align="justify"&gt;5. Clean the disk by using the command “&lt;strong&gt;&lt;em&gt;clean&lt;/em&gt;&lt;/strong&gt;”.&lt;/p&gt;  &lt;p align="justify"&gt;6. Create a primary partition inside the flash drive by typing in “&lt;strong&gt;&lt;em&gt;create partition primary&lt;/em&gt;&lt;/strong&gt;”.&lt;/p&gt;  &lt;p align="justify"&gt;7. Select the newly created partition by using command &lt;strong&gt;&lt;em&gt;&amp;quot;select partition 1&lt;/em&gt;&lt;/strong&gt;”.&lt;/p&gt;  &lt;p align="justify"&gt;8. Make the selected partition active by typing in the command “&lt;strong&gt;&lt;em&gt;active&lt;/em&gt;&lt;/strong&gt;”.&lt;/p&gt;  &lt;p align="justify"&gt;9. Then you need to format the partition by using the command “&lt;strong&gt;&lt;em&gt;format fs=fat32&lt;/em&gt;&lt;/strong&gt;” inside the diskpart.&lt;/p&gt;  &lt;p align="justify"&gt;Note that we are formatting the disk using FAT32 file system.&lt;/p&gt;  &lt;p align="justify"&gt;10. Use the command “&lt;strong&gt;&lt;em&gt;assign&lt;/em&gt;&lt;/strong&gt;” to assign a drive letter for the newly formatted drive, since we are not giving a drive letter it will get the next available drive letter automatically. Then exit the diskpart utility by typing in “&lt;strong&gt;&lt;em&gt;exit&lt;/em&gt;&lt;/strong&gt;”.&lt;/p&gt;  &lt;p align="justify"&gt;11. Now we need to copy the setup files to the flash drive.&lt;/p&gt;  &lt;p align="justify"&gt;For this we can use the good old xcopy command as of below.&lt;/p&gt;  &lt;p align="justify"&gt;“&lt;strong&gt;&lt;em&gt;xcopy F:\*.* /s/e/f G:\&lt;/em&gt;&lt;/strong&gt;”&lt;/p&gt;  &lt;p align="justify"&gt;In the above command I am coping the contents of the drive F (which is a virtual drive created by Power ISO) to drive G which is the flash drive I created.&lt;/p&gt;  &lt;p align="justify"&gt;The meanings of the flags I used are as follows.&lt;/p&gt;  &lt;p align="justify"&gt;“xcopy F:\*.* /s/e/f G:\”&lt;/p&gt;  &lt;p align="justify"&gt;F:\ – Source Drive&lt;/p&gt;  &lt;p align="justify"&gt;*.* – All Contents&lt;/p&gt;  &lt;p align="justify"&gt;/s – Copies directories and sub directories which are not empty&lt;/p&gt;  &lt;p align="justify"&gt;/e – This will add the empty directories also so now all the directories and sub directories will be copied even though they are empty&lt;/p&gt;  &lt;p align="justify"&gt;/f&amp;#160; – Will show the source and destination file names while copying.&lt;/p&gt;  &lt;p align="justify"&gt;G:\ – Destination Drive&lt;/p&gt;  &lt;p align="justify"&gt;When xcopy completes you will have a flash drive which you can boot your computer, in my case I had a Windows 2008 R2 installer. You may even be able to copy the OS files to your flash drive and boot an OS with this method.&lt;/p&gt;  &lt;p align="justify"&gt;Then you may need to change your BIOS options and/or press function keys to let you boot from the flash drive.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-525931457220421115?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/525931457220421115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=525931457220421115' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/525931457220421115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/525931457220421115'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/05/how-to-make-bootable-flash-drive.html' title='How to Make a Bootable Flash Drive'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-7696606983770711476</id><published>2010-05-19T14:36:00.001+05:30</published><updated>2010-05-22T00:16:21.989+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Database'/><title type='text'>Connecting to MySQL in Visual Studio 2010</title><content type='html'>&lt;p align="justify"&gt;If you need to access MySQL databases using Visual Studio you have to install MySQL connector into your machine.&lt;/p&gt;  &lt;p align="justify"&gt;Currently only mysql-connector-net-6.3.1 is supporting Visual Studio 2010 which is still an alpha product.&lt;/p&gt;  &lt;p align="justify"&gt;To download it, use &lt;a href="http://dev.mysql.com/downloads/connector/net/#downloads" target="_blank"&gt;this link&lt;/a&gt; and switch to Development Releases tab.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://lh4.ggpht.com/_hehD4NAAnEk/S_bU9n43VKI/AAAAAAAAA3s/lqx5jitYQNc/s1600-h/image4%5B1%5D.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="image" border="0" alt="image" src="http://lh6.ggpht.com/_hehD4NAAnEk/S_bU_JlzjwI/AAAAAAAAA3w/EOBML-0mqOA/image4_thumb.png?imgmax=800" width="406" height="223" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32097932-7696606983770711476?l=arjunachith.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://arjunachith.blogspot.com/feeds/7696606983770711476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32097932&amp;postID=7696606983770711476' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/7696606983770711476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32097932/posts/default/7696606983770711476'/><link rel='alternate' type='text/html' href='http://arjunachith.blogspot.com/2010/05/connecting-to-mysql-in-visual-studio_19.html' title='Connecting to MySQL in Visual Studio 2010'/><author><name>Arjuna Chiththananda</name><uri>http://www.blogger.com/profile/09969121579176013543</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_hehD4NAAnEk/S0lSM0Of6kI/AAAAAAAAAyg/9B4xRLkIK9w/S220/RIMG0075-2.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hehD4NAAnEk/S_bU_JlzjwI/AAAAAAAAA3w/EOBML-0mqOA/s72-c/image4_thumb.png?imgmax=800' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32097932.post-291695048659425691</id><published>2010-05-14T23:20:00.001+05:30</published><updated>2010-05-14T23:41:54.057+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Development'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.Net'/><category scheme='http://www.blogger.com/atom/ns#' term='Internet'/><title type='text'>Preserving State in ASP.Net</title><content type='html'>&lt;p align="justify"&gt;As you know a main challenge in web development is preserving the state of the application. We say web is stateless because web server treats each HTTP request for a page as an independent request. The server will not know any knowledge of variable values that were set/used during the previous requests. For example in Windows applications after we start the application if we set a variable to a certain value in a form it will be there until we close the form. But in web since the page is getting posted back the value will be normally lost.&lt;/p&gt;  &lt;p align="justify"&gt;To overcome this limitation in web ASP.Net provides two main methods and they are having different options under them.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;     &lt;div align="justify"&gt;Client Side State Management&lt;/div&gt;      &lt;ol&gt;       &lt;li&gt;         &lt;div align="justify"&gt;View State&lt;/div&gt;       &lt;/li&gt;        &lt;li&gt;         &lt;div align="justify"&gt;Cookies&lt;/div&gt;       &lt;/li&gt;        &lt;li&gt;         &lt;div align="justify"&gt;Query String&lt;/div&gt;       &lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="justify"&gt;Server Side State Management&lt;/div&gt;      &lt;ol&gt;       &lt;li&gt;         &lt;div align="justify"&gt;Session State&lt;/div&gt;       &lt;/li&gt;        &lt;li&gt;         &lt;div align="justify"&gt;Application State&lt;/div&gt;       &lt;/li&gt;        &lt;li&gt;         &lt;div align="justify"&gt;Profile Properties&lt;/div&gt;       &lt;/li&gt;     &lt;/ol&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p align="justify"&gt;&lt;strong&gt;1.1- View State&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Viewstate is a technique used in ASP.Net to preserve the state changes during the page postbacks. The viewstate data is always belong to the page, so this needs to be used when we want to store data at page level and retrieve them on the same page. Viewstate data will not be available from another page.&lt;/p&gt;  &lt;p align="justify"&gt;Viewstate uses a hidden form field named &lt;code&gt;__VIEWSTATE&lt;/code&gt; as default to store the state information. When the “EnableViewstate” property of a control is set to true ASP.Net will start saving the control state in the viewstate. If we enable this property for many controls then soon the viewstate hidden variable will be large, and that may slow our application since this needs to be transferred at each postback. For example each time we submit a page the viewstate will go from our machine to server and from server to our machine. Due to this reason we should consider whether it is really required before enabling viewstate for a control. One advantage viewstate has is that it is not using server resources.&lt;/p&gt;  &lt;p align="justify"&gt;Apart from the viewstates of the controls in the form we can also add the values we need to preserve to the viewstate.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Adding a value -&lt;/u&gt; &lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:26933d04-1bfa-45ca-b7ff-f6d727b8c004" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;ViewState[&lt;span style="color:#a31515"&gt;"Text"&lt;/span&gt;] = value;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:f2ce0ee4-bfa1-4b83-a351-21eb7d4c39ad" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;ViewState.Add(&lt;span style="color:#a31515"&gt;"Text"&lt;/span&gt;, value);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&lt;u&gt;Retrieving a value -&lt;/u&gt; &lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:855247f0-c841-497c-9466-1c6b3eacc7c5" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; o = ViewState[&lt;span style="color:#a31515"&gt;"Text"&lt;/span&gt;];&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:18801af2-9c55-4799-bee8-d30d72d73a7e" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;string&lt;/span&gt; str = (&lt;span style="color:#0000ff"&gt;string&lt;/span&gt;) ViewState[&lt;span style="color:#a31515"&gt;"Text"&lt;/span&gt;];&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;Read more at &lt;a title="http://msdn.microsoft.com/en-us/library/bb386448.aspx" href="http://msdn.microsoft.com/en-us/library/bb386448.aspx"&gt;http://msdn.microsoft.com/en-us/library/bb386448.aspx&lt;/a&gt;.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;1.2- Cookies&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;We use cookies to store frequently changed small amount of data at client side. We can control the life span of a cookie. For example we can create a cookie which expires when the session is over or which exists indefinitely in the client machine. &lt;/p&gt;  &lt;p align="justify"&gt;Cookies are light weight since they are text based structures having key value pairs. They are not taking any server resources since they are at client, but this also adds a disadvantage on security because users/hackers can tamper them. To prevent this we can encrypt cookies but this will reduce application performance. There is also a limit to the amount of data which we can be stored in a cookie. Also if cookies are blocked in browser the application will fail.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Adding a value -&lt;/u&gt; &lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:08e34a52-5bfc-4b5d-92e9-7e05c549df1f" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;Response.Cookies[&lt;span style="color:#a31515"&gt;"userData"&lt;/span&gt;][&lt;span style="color:#a31515"&gt;"Name"&lt;/span&gt;] = &lt;span style="color:#a31515"&gt;"Arjuna"&lt;/span&gt;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; Response.Cookies[&lt;span style="color:#a31515"&gt;"userData"&lt;/span&gt;][&lt;span style="color:#a31515"&gt;"lastVisit"&lt;/span&gt;] = &lt;span style="color:#2b91af"&gt;DateTime&lt;/span&gt;.Now.ToString();&lt;/li&gt;&lt;li&gt; Response.Cookies[&lt;span style="color:#a31515"&gt;"userData"&lt;/span&gt;].Expires = &lt;span style="color:#2b91af"&gt;DateTime&lt;/span&gt;.Now.AddDays(1); &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:8e468bef-b4ed-4dd8-8935-4538f4c76608" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#2b91af"&gt;HttpCookie&lt;/span&gt; aCookie = &lt;span style="color:#0000ff"&gt;new&lt;/span&gt; &lt;span style="color:#2b91af"&gt;HttpCookie&lt;/span&gt;(&lt;span style="color:#a31515"&gt;"userData"&lt;/span&gt;);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; aCookie.Values[&lt;span style="color:#a31515"&gt;"Name"&lt;/span&gt;] = &lt;span style="color:#a31515"&gt;"Arjuna"&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; aCookie.Values[&lt;span style="color:#a31515"&gt;"lastVisit"&lt;/span&gt;] = &lt;span style="color:#2b91af"&gt;DateTime&lt;/span&gt;.Now.ToString();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; aCookie.Expires = &lt;span style="color:#2b91af"&gt;DateTime&lt;/span&gt;.Now.AddDays(1);&lt;/li&gt;&lt;li&gt; Response.Cookies.Add(aCookie);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&lt;u&gt;Retrieving a value - &lt;/u&gt;&lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:89b6414d-c220-4433-88a0-652c1c005046" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 35px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#2b91af"&gt;HttpCookie&lt;/span&gt; cookie = Request.Cookies[&lt;span style="color:#a31515"&gt;"userData"&lt;/span&gt;];&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;if&lt;/span&gt; (cookie == &lt;span style="color:#0000ff"&gt;null&lt;/span&gt;)&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     lblCookieText.Text = &lt;span style="color:#a31515"&gt;"Cookie not found."&lt;/span&gt;;&lt;/li&gt;&lt;li&gt; }&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;else&lt;/span&gt;&lt;/li&gt;&lt;li&gt; {&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt;     lblCookieText.Text = cookie.Values[0] + &lt;span style="color:#a31515"&gt;", "&lt;/span&gt; + cookie.Values[&lt;span style="color:#a31515"&gt;"lastVisit"&lt;/span&gt;];&lt;/li&gt;&lt;li&gt; } &lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;Read more at &lt;a title="http://msdn.microsoft.com/en-us/library/ms178194.aspx" href="http://msdn.microsoft.com/en-us/library/ms178194.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms178194.aspx&lt;/a&gt;.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;1.3- Query String&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;A query string is the information added at the end of the URL. This is supported by all the browsers and does not consume server resources. But this has limited capacity and security problems.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Adding a value -&lt;/u&gt; &lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:1d3be242-6f78-4043-b0b2-081687645fad" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;Response.Redirect(&lt;span style="color:#a31515"&gt;"Webform2.aspx?Name="&lt;/span&gt; +&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;this&lt;/span&gt;.txtName.Text + &lt;span style="color:#a31515"&gt;"&amp;amp;LastName="&lt;/span&gt; +&lt;/li&gt;&lt;li&gt; &lt;span style="color:#0000ff"&gt;this&lt;/span&gt;.txtLastName.Text);&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Retrieving a value -&lt;/u&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Using Webform2. &lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:1ae3f5ed-2452-4bed-8540-3f54be71fde2" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;this&lt;/span&gt;.TextBox1.Text = Request.QueryString[0];&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;span style="color:#0000ff"&gt;this&lt;/span&gt;.TextBox2.Text = Request.QueryString[&lt;span style="color:#a31515"&gt;"LastName"&lt;/span&gt;];&lt;/li&gt;&lt;li&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&lt;strong&gt;&lt;/strong&gt;&amp;#160;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;strong&gt;2.1- Session State&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Session state (variables) needs to be used to store session specific data. For example the logged in user information can be stored in session. Session variables are accessible by the entire set of pages in an application within the same session.&lt;/p&gt;  &lt;p align="justify"&gt;Session is created once a user visits a site and the session will end when the user leaves a site or when user becomes idle. Session variables are stored in a SessionStateItemCollection object that is exposed through the HttpContext.Session property. In an ASP.NET page, the current session variables are exposed through the Session property of the Page object. One disadvantage is that the session variables are taking server resources.&lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Adding a value -&lt;/u&gt; &lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:013c018b-edab-41a6-8fbb-e17c836a959e" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;Session[&lt;span style="color:#a31515"&gt;"Name"&lt;/span&gt;] = &amp;#8220;My Name&amp;#8221;;&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&lt;u&gt;Retrieving a value -&lt;/u&gt; &lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:76d1f8bb-211a-4012-b7b5-b26758359c1b" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="color:#0000ff"&gt;string&lt;/span&gt; str = (&lt;span style="color:#0000ff"&gt;string&lt;/span&gt;) Session[&lt;span style="color:#a31515"&gt;"Name"&lt;/span&gt;];&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;Read more at &lt;a title="http://msdn.microsoft.com/en-us/library/ms178581.aspx" href="http://msdn.microsoft.com/en-us/library/ms178581.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms178581.aspx&lt;/a&gt;.&lt;/p&gt;  &lt;p align="justify"&gt;   &lt;br /&gt;&lt;strong&gt;2.2- Application State&lt;/strong&gt;&lt;/p&gt;  &lt;p align="justify"&gt;Application state (variables) are used to store application specific data. Application state will be accessible to any users connected to the application. Normally global data which are infrequently changed, having no security concerns are stored in an application state. &lt;/p&gt;  &lt;p align="justify"&gt;The HttpApplicatioState instance is created at the first time a user accesses any URL resource in an application and the application state is lost when the application is ended. For example if the web server is restarted. If the value is required after application restart then before application end the required values needs to be transfered to a non volatile medium such as a database for later retrieval. The HttpApplicationState class is most often accessed through the Application property of the HttpContext class. When using the application state we need to remove any unnecessary items as soon as it is not required to maintain the site performance. &lt;u&gt;&lt;/u&gt;&lt;/p&gt;  &lt;p align="justify"&gt;&lt;u&gt;Adding a value -&lt;/u&gt; &lt;/p&gt;  &lt;p align="justify"&gt;When adding a value to an application variable it is always good to lock it before adding data since application state data can be accessed by multiple threads at the same time. Otherwise invalid data or erroneous data will appear. The loack needs to be removed after adding or changing the value to make the application state available for other threads.&lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:b3cba30e-10aa-4573-8f84-e71ce9496d25" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;Application.Lock ();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; Application[&lt;span style="color:#a31515"&gt;"NumberofViews"&lt;/span&gt;] = 1;&lt;/li&gt;&lt;li&gt; Application.UnLock ();&lt;/li&gt;&lt;li style="background: #f3f3f3"&gt; &lt;/li&gt;&lt;br /&gt;&lt;/ol&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;p align="justify"&gt;&lt;u&gt;Retrieving a value -&lt;/u&gt; &lt;/p&gt;  &lt;div align="justify"&gt;   &lt;div style="padding-bottom: 5px; padding-left: 5px; width: 961px; padding-right: 5px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 5px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:35e518f0-7c24-4690-8bef-ed43791e6a81" class="wlWriterEditableSmartContent"&gt;&lt;br /&gt;&lt;div style="border: #000080 1px solid; font-family: 'Courier New', Courier, Monospace; font-size: 10pt"&gt;&lt;br /&gt;&lt;div style="background: #ddd; max-height: 300px; overflow: auto; padding: 0"&gt;&lt;br /&gt;&lt;ol style="background: #ffffff; margin: 0 0 0 25px; white-space: wrap"&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="
