Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Sublevel radiobuttonlist

Posted on 2006-11-20
3
Medium Priority
?
213 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
1 Comment
 
LVL 6

Accepted Solution

by:
badalpatel earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month20 days, 23 hours left to enroll

810 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