Solved

Sublevel radiobuttonlist

Posted on 2006-11-20
3
203 Views
Last Modified: 2012-06-27
Hi

I wonder if anyone could tell me how to create a radiobuttonlist like the one on the screenshot from Alienwares homepage.

https://www.student.itn.liu.se/~nicas227/radiobuttonlist.jpg

As you can see, there's a sublevel radiobuttonlist under the first listitem in the main list. I've tried to makes this effect on my own but have not succeded.

Please enlighten me.

/N
0
Comment
Question by:nicas
3 Comments
 
LVL 6

Accepted Solution

by:
badalpatel earned 500 total points
ID: 17977982
u acn use the following code to ur design page..
 <tr>
                <td>
                            <asp:RadioButton id="RadioButton1" style="Z-INDEX: 101; LEFT: 192px;
POSITION: absolute; TOP: 24px"
runat="server" Height="32px" Width="144px" Text="AAA"
GroupName="Group1"></asp:RadioButton>
<asp:RadioButton id="RadioButton2" style="Z-INDEX: 102; LEFT: 192px;
POSITION: absolute; TOP: 72px"
runat="server" Height="24px" Width="144px" Text="BBB"
GroupName="Group1"></asp:RadioButton>
<asp:RadioButton id="RadioButton5" style="Z-INDEX: 105; LEFT: 192px;
POSITION: absolute; TOP: 112px"
runat="server" Height="24px" Width="144px" Text="CCC"
GroupName="Group1"></asp:RadioButton>
<asp:RadioButton id="RadioButton3" style="Z-INDEX: 103; LEFT: 280px;
POSITION: absolute; TOP: 152px"
runat="server" Height="32px" Width="152px" Text="111"
GroupName="Group2"></asp:RadioButton>
<asp:RadioButton id="RadioButton4" style="Z-INDEX: 104; LEFT: 280px;
POSITION: absolute; TOP: 200px"
runat="server" Height="24px" Width="152px" Text="222"
GroupName="Group2"></asp:RadioButton>

                </td>
            </tr>

and call one simple javascript function

function select()
{
    document.getElementById("RadioButton5").checked=true;
}

u can call this function by
 RadioButton3.Attributes.Add("onclick", "select()")
        RadioButton4.Attributes.Add("onclick", "select()")
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question