Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / August 2007

Tip: Looking for answers? Try searching our database.

beginner question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 27 Aug 2007 16:54 GMT
please look at below:

default.aspx
=========
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title>Untitled Page</title>

<link href="StyleSheet.css" rel="stylesheet" type="text/css" />

</head>

<body>

<form id="form1" runat="server">

<div id="div0">

<div id="div1" style="width: 125px; height: 83px" class="div1">

<asp:CheckBox ID="CheckBox1" runat="server" ForeColor="White"
Text="checkbox1" /><br />

<asp:CheckBox ID="CheckBox2" runat="server" ForeColor="White"
Text="checkbox2" /><br />

</div>

<div id="div2" class="div2" style="width: 100px; height: 100px">

<br />

&nbsp;<asp:RadioButton ID="RadioButton1" runat="server" Text="radiobutton1"
/><br />

<asp:RadioButton ID="RadioButton2" runat="server" Text="radiobutton2" />

</div>

</div>

</form>

</body>

</html>

Stylesheet.css:

=============

body {

}

#div1

{

background-color:Blue;

}

#div2

{

margin-left:200px;

margin-top:-90px;

background-color:Orange;

}

question:

========

what should i do to make checkbox1 and checkbox2 able to click? and what
mistakes i've made?

thanks a lot!
Mark Rae [MVP] - 27 Aug 2007 16:58 GMT
> what should i do to make checkbox1 and checkbox2 able to click?

What does that mean exactly...?

Signature

Mark Rae
ASP.NET MVP
http://www.markrae.net

Shaun Rigby - 27 Aug 2007 17:01 GMT
John,

When you say tick do you mean for a tick to actually show? or for the value
to be passed?

> please look at below:
>
[quoted text clipped - 87 lines]
>
> thanks a lot!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.