<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Tips &amp; Tricks for ASP.NET, IIS, and Visual Web Developer : Reshmi Mangalore</title><link>http://blogs.msdn.com/webdevelopertips/archive/tags/Reshmi+Mangalore/default.aspx</link><description>Tags: Reshmi Mangalore</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Tip #61: Did you know… How to create an ASP.Net Dynamic Data Web Site?</title><link>http://blogs.msdn.com/webdevelopertips/archive/2009/05/14/tip-61-did-you-know-how-to-create-an-asp-net-dynamic-data-web-site.aspx</link><pubDate>Thu, 14 May 2009 21:54:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9616842</guid><dc:creator>WebDevTools</dc:creator><slash:comments>9</slash:comments><comments>http://blogs.msdn.com/webdevelopertips/comments/9616842.aspx</comments><wfw:commentRss>http://blogs.msdn.com/webdevelopertips/commentrss.aspx?PostID=9616842</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;If your web site is heavily data driven then here is a quick and easy way for you to create one without writing much code. All you need is &lt;strong&gt;Visual Studio 2008 SP1 or Visual Web Developer 2008 Express SP1&lt;/strong&gt; installed on your box. &lt;/p&gt;  &lt;p&gt;Dynamic Data Web Sites makes use of a mechanism called Scaffolding. When &lt;strong&gt;Scaffolding&lt;/strong&gt; is enabled it lets ASP.Net go through your data model and generate web pages for your tables. These generated pages have Insert, Delete and Update capabilities for each table.&lt;/p&gt;  &lt;p&gt;Here are the steps:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; &lt;strong&gt;Create a Dynamic Data Web Site.&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Go to &lt;strong&gt;File -&amp;gt;New Web Site&lt;/strong&gt;&amp;#160; and select &lt;strong&gt;Dynamic Data Web Site template&lt;/strong&gt;. Give it a name and select the location and language to be used. Click Ok button.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip61DidyouknowHow.NetDynamicDataWebSite_BD09/New%20Web%20Site_2.jpg"&gt;&lt;img title="New Web Site" height="412" alt="New Web Site" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip61DidyouknowHow.NetDynamicDataWebSite_BD09/New%20Web%20Site_thumb.jpg" width="527" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 2:&lt;/strong&gt; &lt;strong&gt;Add data to your Web Site.&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Copy paste &lt;strong&gt;pubs.mdf&lt;/strong&gt; file that you want to use in your &lt;strong&gt;App_Data&lt;/strong&gt; folder.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;Step 3:&lt;/strong&gt; &lt;strong&gt;Create a Data model using LINQ to SQL.&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Right click on App_code and Add New &lt;strong&gt;LINQ to SQL Classes.&lt;/strong&gt; On selecting the LINQ to SQL Classes the DataClasses.dbml opens up in your O/R Designer.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip61DidyouknowHow.NetDynamicDataWebSite_BD09/LINQ%20to%20SQL%20CLasses_2.jpg"&gt;&lt;img title="LINQ to SQL CLasses" height="420" alt="LINQ to SQL CLasses" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip61DidyouknowHow.NetDynamicDataWebSite_BD09/LINQ%20to%20SQL%20CLasses_thumb.jpg" width="530" /&gt;&lt;/a&gt; &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; &lt;strong&gt;Drag drop tables to Object Relational Designer.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Now &lt;strong&gt;drag drop &lt;/strong&gt;Authors table on to the O/R Designer from server explorer and save DataClassses.dbml.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip61DidyouknowHow.NetDynamicDataWebSite_BD09/DataClasses.dbml_2.jpg"&gt;&lt;img title="DataClasses.dbml" height="425" alt="DataClasses.dbml" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip61DidyouknowHow.NetDynamicDataWebSite_BD09/DataClasses.dbml_thumb.jpg" width="523" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;strong&gt;Step 5: Look what VS has created for you.&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Note that there are two files &lt;strong&gt;DataClasses.dbml.layout&lt;/strong&gt; and &lt;strong&gt;DataCalsses.designer.vb&lt;/strong&gt; present under the .dbml file node. &lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;Open DataCalsses.designer.vb, and you can see that there is a Partial Public Class &lt;strong&gt;DataClassesDataContext. &lt;/strong&gt;This file also contains an entity class for Author table (Partial Public Class author).&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;strong&gt;Step 6&lt;/strong&gt;: &lt;strong&gt;Register the data context in Global.asax file.&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Open global.asax page and add the following lines of code in &lt;strong&gt;RegisterRoutes&lt;/strong&gt; method.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font color="#0000ff"&gt;VB code:&lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color="#0000ff"&gt;model.RegisterContext(GetType(AdventureWorksDataContext), _ New ContextConfiguration() With {.ScaffoldAllTables = True})&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;font color="#0000ff"&gt;C# code: &lt;/font&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color="#0000ff"&gt;model.RegisterContext(typeof(AdventureWorksDataContext), new ContextConfiguration() { ScaffoldAllTables = true });&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Save the file.&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Step 7: &lt;strong&gt;View the page in Browser&lt;/strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Now you can view default.aspx page using &lt;strong&gt;View in Browser&lt;/strong&gt;. This will show you a link for Authors table. &lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;Click on the table name and you will see a page with data from Authors Table. There is also readymade option for you to Edit, Delete and Insert new data.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip61DidyouknowHow.NetDynamicDataWebSite_BD09/AuthorTable_4.jpg"&gt;&lt;img title="AuthorTable" height="480" alt="AuthorTable" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip61DidyouknowHow.NetDynamicDataWebSite_BD09/AuthorTable_thumb_1.jpg" width="347" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Try this today and have fun! &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Reshmi Mangalore&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;SDET, Web Development Tools&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9616842" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/VS2008/default.aspx">VS2008</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/VWD/default.aspx">VWD</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/tips+and+tricks/default.aspx">tips and tricks</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Reshmi+Mangalore/default.aspx">Reshmi Mangalore</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/WAP/default.aspx">WAP</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/VSTS/default.aspx">VSTS</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Dynamic+Data/default.aspx">Dynamic Data</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Visual+Studio+2008+SP1/default.aspx">Visual Studio 2008 SP1</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Data/default.aspx">Data</category></item><item><title>Tip #10 Did you know… Visual Web Developer 2008 has a New Style Builder Dialog?</title><link>http://blogs.msdn.com/webdevelopertips/archive/2008/09/26/tip-10-did-you-know-visual-web-developer-2008-has-a-new-style-builder-dialog.aspx</link><pubDate>Fri, 26 Sep 2008 04:36:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8965820</guid><dc:creator>WebDevTools</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/webdevelopertips/comments/8965820.aspx</comments><wfw:commentRss>http://blogs.msdn.com/webdevelopertips/commentrss.aspx?PostID=8965820</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Visual Studio 2008 has a New Style builder dialog. This dialog box helps you design new styles and also preview it at the same time. Using this dialog, you can create a style which can live in current page, an existing external style sheet or a new external style sheet. You can create styles which are ID-based, element-based, in-line, class-based and styles which have complex selectors.&lt;/p&gt;  &lt;p&gt;To invoke the “New Style” dialog go to&amp;#160; &lt;strong&gt;Format Menu-&amp;gt; New Style&lt;/strong&gt; option. You can also invoke this dialog via the Apply Styles and Manage Styles tool windows.&lt;/p&gt;  &lt;p&gt;Here is how the dialog looks like:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/DidyouknowVisualWebDeveloper2008hasaNew_FF78/New%20Style_2.jpg"&gt;&lt;img title="New Style" height="480" alt="New Style" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/DidyouknowVisualWebDeveloper2008hasaNew_FF78/New%20Style_thumb.jpg" width="502" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Here are the various sections of this dialog box: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;strong&gt;Define in&lt;/strong&gt;: You can define your newly created style in Current page, New Style Sheet or an Existing Style Sheet. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Selector:&lt;/strong&gt; You can type your own or select from the existing drop down. For example to use an inline selector, select (inline style) from the drop down. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Apply new style to document selection:&lt;/strong&gt; Checking this checkbox will apply the style to the selected control in your designer. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Category:&lt;/strong&gt; Clicking on each category will bring up associated properties on the right hand side of the dialog. Any category which has properties set will appear in bold. In the picture above you can see that Font, Background and Border are bold as they have a few properties set. &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;URL:&lt;/strong&gt; This needs to be set only if you want to place your newly created style in an external style sheet. This should indicate the path to a .css file. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Now if you want to create a style for your button control in designer, all you need to do is select the button control in designer, bring up the New Style dialog, set the various properties you want, preview it and click Apply button.&lt;/p&gt;  &lt;p&gt;Simple right?&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Reshmi Mangalore&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;SDET, Web Development Tools&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8965820" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/VS2008/default.aspx">VS2008</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/VWD/default.aspx">VWD</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/CSS/default.aspx">CSS</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/tips+and+tricks/default.aspx">tips and tricks</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/CSS+and+HTML/default.aspx">CSS and HTML</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Reshmi+Mangalore/default.aspx">Reshmi Mangalore</category></item><item><title>Tip #8 Did you know … How to create an ASP.NET Web User Control and include it in your web page?</title><link>http://blogs.msdn.com/webdevelopertips/archive/2008/09/11/tip-8-did-you-know-how-to-create-an-asp-net-web-user-control-and-include-it-in-your-web-page.aspx</link><pubDate>Fri, 12 Sep 2008 01:44:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8945633</guid><dc:creator>WebDevTools</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/webdevelopertips/comments/8945633.aspx</comments><wfw:commentRss>http://blogs.msdn.com/webdevelopertips/commentrss.aspx?PostID=8945633</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;Creating an ASP.NET Web User Control is as simple as creating an ASP.NET Page using&amp;#160; Visual Web Developer. &lt;/p&gt;  &lt;p&gt;Here&amp;#160; are the steps:&lt;/p&gt;  &lt;p&gt;1. Open up an existing Website to which you want to add the user control.&lt;/p&gt;  &lt;p&gt;2. Right Click on the Website context menu and click on “Add New Item … ”. This will bring up the Add New Item dialog box with a list of Visual Studio installed templates. Select “Web User Control” as shown in the picture below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip7DidyouknowHowtocreateaUserControlan_AC7A/Web%20User%20Control_2.jpg"&gt;&lt;img title="Web User Control" style="margin: 0px" height="372" alt="Web User Control" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/Tip7DidyouknowHowtocreateaUserControlan_AC7A/Web%20User%20Control_thumb.jpg" width="536" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;3. Click Add. This will add the user control to your website. You can open the User Control in Design View and start adding controls to it from the tool box.&lt;/p&gt;  &lt;p&gt;4. The ASP.NET user control looks very similar to a ASP.NET Web Page, except that it is stored with an .ascx extension and it has a @Control directive rather than a @Page directive. Also, note that the User control does not contain html, body and form elements. The control directive looks like this: &lt;/p&gt;  &lt;p&gt;&amp;lt;%@&lt;/span&gt;&lt;span style="color: #000000"&gt; &lt;/span&gt;&lt;span style="color: #ff0000"&gt;Control&lt;/span&gt;&lt;span style="color: #000000"&gt; &lt;/span&gt;&lt;span style="color: #ff0000"&gt;Language&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;VB&amp;quot;&lt;/span&gt;&lt;span style="color: #000000"&gt; &lt;/span&gt;&lt;span style="color: #ff0000"&gt;AutoEventWireup&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;false&amp;quot;&lt;/span&gt;&lt;span style="color: #000000"&gt; &lt;/span&gt;&lt;span style="color: #ff0000"&gt;CodeFile&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;WebUserControl.ascx.vb&amp;quot;&lt;/span&gt;&lt;span style="color: #000000"&gt; &lt;/span&gt;&lt;span style="color: #ff0000"&gt;Inherits&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;WebUserControl&amp;quot;&lt;/span&gt;&lt;span style="color: #000000"&gt; %&amp;gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div&gt;   &lt;pre&gt;&lt;pre&gt;&lt;font face="Tahoma"&gt;&amp;#160;&lt;font size="2"&gt;5.  Now, registering this Web User control to your web page is as simple as dragging and &lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Tahoma" size="2"&gt;  dropping the User Control from Solution Explorer to the required web page in design view&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;  mode.&lt;/font&gt;&lt;font size="2"&gt; At this point &lt;/font&gt;&lt;font size="2"&gt;Visual Studio will automatically register the User Control in the web page&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font size="2"&gt; by adding &lt;/font&gt;&lt;font size="2"&gt;the &lt;/font&gt;&lt;font size="2"&gt;@Register directive in your web page as shown below.&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;&lt;/pre&gt;

  &lt;pre&gt;&lt;pre&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;span style="color: #ff0000"&gt;&lt;font color="#000000"&gt;&amp;lt;%@&lt;/font&gt; Register&lt;/span&gt;&lt;span style="color: #000000"&gt; &lt;/span&gt;&lt;span style="color: #ff0000"&gt;src&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;WebUserControl.ascx&amp;quot;&lt;/span&gt;&lt;span style="color: #000000"&gt; &lt;/span&gt;&lt;span style="color: #ff0000"&gt;tagname&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;WebUserControl&amp;quot;&lt;/span&gt;&lt;span style="color: #000000"&gt; &lt;/span&gt;&lt;span style="color: #ff0000"&gt;tagprefix&lt;/span&gt;&lt;span style="color: #0000ff"&gt;=&amp;quot;uc1&amp;quot;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span style="color: #000000"&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;%&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="color: #000000"&gt;&lt;/pre&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;pre&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;The tagname attribute is the name of the user control and tagprefix is used to determine a &lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;unique namespace for the user control. &lt;/font&gt;&lt;font size="2"&gt;Src attribute determines the path to the user control.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma"&gt;&amp;#160;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Tahoma" size="2"&gt;6. Visual Studio also adds the user control to the page by adding the following line of code.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;/span&gt;&lt;span style="color: #0000ff"&gt;&lt;font face="Tahoma" size="2"&gt;&lt;/font&gt;&lt;/span&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #0000ff"&gt;&lt;font face="Tahoma" size="2"&gt;&amp;lt;uc1:WebUserControl &lt;font color="#ff0000"&gt;ID&lt;/font&gt;=&amp;quot;WebUserControl1&amp;quot; &lt;font color="#ff0000"&gt;runat&lt;/font&gt;=&amp;quot;server&amp;quot; /&amp;gt;&lt;/font&gt;&lt;/p&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;&lt;font size="2"&gt;Note that the TagName along with the TagPrefix is used to identify the Control.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Reshmi Mangalore&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;&lt;font size="2"&gt;SDET, Web Development Tools&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8945633" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/VS2008/default.aspx">VS2008</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/VWD/default.aspx">VWD</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/tips+and+tricks/default.aspx">tips and tricks</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Reshmi+Mangalore/default.aspx">Reshmi Mangalore</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/ASP.NET/default.aspx">ASP.NET</category></item><item><title>Did You Know… Tip #1 – Powerful CSS Tools to Create, Manage and Apply Styles</title><link>http://blogs.msdn.com/webdevelopertips/archive/2008/07/23/web-tools-tip-1-powerful-css-tools-to-create-manage-and-apply-styles.aspx</link><pubDate>Thu, 24 Jul 2008 01:50:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8767928</guid><dc:creator>WebDevTools</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/webdevelopertips/comments/8767928.aspx</comments><wfw:commentRss>http://blogs.msdn.com/webdevelopertips/commentrss.aspx?PostID=8767928</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;  &lt;h4&gt;&lt;/h4&gt;  &lt;p&gt;&lt;font face="Calibri" size="3"&gt;Visual Studio 2008 introduces three new tool windows for CSS styling. They are:&lt;/font&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;font face="Calibri" size="3"&gt;Apply Styles &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font face="Calibri" size="3"&gt;Manage Styles &lt;/font&gt;&lt;/li&gt;    &lt;li&gt;&lt;font face="Calibri" size="3"&gt;CSS Properties &lt;/font&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;font face="Calibri" size="3"&gt;All the above options are available under the &lt;u&gt;V&lt;/u&gt;iew menu when you are in design view or in split view mode.&lt;/font&gt;&amp;#160; &lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2" width="563" border="0"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="300"&gt;         &lt;p&gt;&lt;font face="Calibri" size="3"&gt;&lt;b&gt;Apply Styles&lt;/b&gt;: Using this tool window you can create, apply and modify styles. This tool window lists all the style for a particular page. The list will include style defined inline, style in external style sheet and styles that live in current page. Applying a style to a selected control is as simple as selecting a control, then you can click on styles to be applied from the list of styles in this tool window.&lt;/font&gt; &lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top" width="261"&gt;         &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/WebToolsTipoftheDay1PowerfulCSSToolstoCr_D937/Apply%20Styles_4.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="341" alt="Apply Styles" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/WebToolsTipoftheDay1PowerfulCSSToolstoCr_D937/Apply%20Styles_thumb_1.jpg" width="206" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;          &lt;p&gt;&amp;#160;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="300"&gt;         &lt;p&gt;&lt;font face="Calibri" size="3"&gt;&lt;strong&gt;Manage Styles:&lt;/strong&gt; Using this tool window you can manage the arrangement of styles by moving them around from an external style sheet to the current page, etc.&lt;/font&gt; &lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top" width="261"&gt;         &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/WebToolsTipoftheDay1PowerfulCSSToolstoCr_D937/Manage%20Styles_2.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="331" alt="Manage Styles" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/WebToolsTipoftheDay1PowerfulCSSToolstoCr_D937/Manage%20Styles_thumb.jpg" width="198" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;          &lt;p&gt;&amp;#160;&lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="300"&gt;         &lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;CSS Properties:&lt;/strong&gt; Using this tool window you can quickly find out which styles are applied to a particular control on a page. You can also figure our which style rule overrides which for a selected control. You could also use this tool to add, delete or modify CSS properties of an existing style. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;       &lt;/td&gt;        &lt;td valign="top" width="261"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/WebToolsTipoftheDay1PowerfulCSSToolstoCr_D937/CSS%20Properties_2.jpg"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="336" alt="CSS Properties" src="http://blogs.msdn.com/blogfiles/webdevelopertips/WindowsLiveWriter/WebToolsTipoftheDay1PowerfulCSSToolstoCr_D937/CSS%20Properties_thumb.jpg" width="205" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;font face="ca" size="3"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="ca"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;Reshmi Mangalore&lt;/strong&gt; &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="ca"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;SDET, &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Calibri" size="3"&gt;Web Development Tools&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="3"&gt;&lt;/font&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;font face="Calibri" size="3"&gt;&amp;#160; &lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8767928" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/VWD/default.aspx">VWD</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/CSS/default.aspx">CSS</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/tips+and+tricks/default.aspx">tips and tricks</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/CSS+and+HTML/default.aspx">CSS and HTML</category><category domain="http://blogs.msdn.com/webdevelopertips/archive/tags/Reshmi+Mangalore/default.aspx">Reshmi Mangalore</category></item></channel></rss>