BigCheckBox

C

Curt

Can anyone tell me, is asp.net able to render a checkbox similar to the asp
BigCheckBox? I am migrating an asp app to asp.net and need to emulate the
same look and feel of the old application.

Here is an asp example of the control I need for asp.net:

<input type="checkbox" class="BigCheckBox" Value="1234">

This tag seems to create a normal checkbox in asp.net, rather than the
larger "XP" looking checkbox that is rendered on the old asp page.

Thanks in advance,
Curt
 
E

Eliyahu Goldin

Curt,

I have no idea how the asp BigCheckBox looks like, but, if all you want is
just to make a checkbox look bigger, you can try setting bigger font-size.


Eliyahu
 
C

Curt

Thanks for the idea, but the font size does not appear to affect the size of
the checkbox.

Here are some examples I have tried:


<input id="abc" type="checkbox" CHECKED size="60">
(The CHECKED size attribute does not seem to do anything...)

<asp:checkboxlist id="CheckBoxList1" runat="server" Font-Names="Verdana"
Font-Size="Smaller" Width="500px">
<asp:ListItem Value="test value"></asp:ListItem>
</asp:checkboxlist>

<asp:CheckBox id="CheckBox1" runat="server" Checked="True"></asp:CheckBox>

None of the checkboxes appear to be sizeable. The text on the asp:CheckBox
is sizeable, but not the checkbox itself.

Any ideas?

Thanks,
Curt
 
E

Eliyahu Goldin

May you can fake it with a little textbox that will catch onclick events and
toggle its content between "V" and empty? Just guessing...

Eliyahu
 
C

Curt

I may have to employ a creative solution as such. Or, require the client to
adapt to the smaller checkbox. Which is not a real big deal, but it does
backslide from the "XP" look. I'm into retro clothes and cars...but I try
to avoid retro solutions!

Thanks for your ideas, I really appreciate the assistance. If you get any
more ideas, please post them!

Thanks,
Curt
 
T

tom pester

This issue has nothing to do with ASP. Its a CSS issue.

See the "class="BigCheckBox"" in your snippet? There has to be a defenition
of that class in your page or in an external CSS file for it to work.

If you don't understand it check with the graphical designer of the site.

Cheers,
Tom Peste
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top