Solved

Sublevel radiobuttonlist

Posted on 2006-11-20
3
202 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
crm development 2 68
Align Buttons next to each other 2 25
Achieve json result 2 65
ASP.net Have sliders change in order 2 10
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now