You are here:   Home > Blog
Register  |  Login
 Bookmark
Minimize
 Blog Calendar
Minimize
 Blog Search
Minimize
 Captured Technology - Blog
Minimize
By Steve Patterson on 8/21/2009 4:16 PM
Creating Tabbed Content With the ASP.Net Menu Control A recent design required tabbed content on the section page of a website. After doing some research I came upon a solution for tabbed content using the ASP.Net Menu Control. By placing a Menu Control on the page along with a Multiview Control, it is possible to show the different items of the Multiview Control when menu items are selected.

The page markup looks like this:

table border="0" width="100%"> tr> td width="151px"> asp:Menu ID="mnuTabbedContent" runat="server" Orientation="Vertical" OnMenuItemClick="mnuTabbedContent_MenuItemClick" > Items> asp:MenuItem ImageUrl="~/Images/greentab.png" ToolTip="Item 1" Text=" " Value="0">asp:MenuItem> asp:MenuItem ImageUrl="~/Images/whitetab.png" ToolTip="Item 2" Text=" " Value="1">asp:MenuItem> asp:MenuItem...
By Steve Patterson on 8/14/2009 2:32 PM
Creating Rounded Corners and Building the Table in ASP.Net Code I have worked with a number of rounded corner solutions over the past 6 months since the interns that do design at work love rounded corners. I think the best method we have developed is to slice an image into 8 small images and then build a table surrounding content that shows the corners desired. I like to use Paint.Net to create the 8 images of 15px by 15px each. As you can imagine the images are top_left, top, top_right, left, right, etc.

The table code is like so:

table cellpadding="0" cellspacing="0"> tr id="header"> td width="15px" height="15px">img alt="gray_topleft" src="gray_topleft.png" />td> td height="15px" style="background-image:url('gray_top.png'); background-repeat:repeat-x;">td> td width="15px" height="15px">img alt="gray_topright" src="gray_topright.png" />td> tr> tr id="body"> td width="15px" style="background-image:url('gray_left.png');...
By Steve Patterson on 8/4/2009 3:25 PM
ASP.Net Form Issues Solved I was working on a ASP.Net form this week that created several issues that I need to research to solve. Radio Buttons on the page were making all other controls undetectable within the code. Validation text was wrapping from next to the validated control to underneath the control. And the Reset button on the page was causing validation to occur which is not desirable.

Radio Button List I was able to solve the issue of radio buttons on the page affecting all other controls by wrapping the buttons into a radio button list.

"rdSpecificInvoiceInfo" runat="server"> "rdSpecificInvoiceInfoY" runat="server" value="Yes" /> "rdSpecificInvoiceInfoN" runat="server" value="No" /> .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color:...
 Blog Directory
Minimize
 Blog Admin
Minimize
You must be logged in and have permission to create or edit a blog.
 Translate
Minimize
 Sponsors
Minimize
AD 7

u comment, i follow