Solved

Sublevel radiobuttonlist

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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