beginner question

J

John

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!
 
S

Shaun Rigby

John,

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

Shaun Rigby

Hi John,

I have just copied and pasted the controls directly into a project and both boxes ticked, perhaps something to do with ur CSS>??
please see the attachment file; the problem that i am having.
thanks,
 
J

John

i believe so, i would like you to include CSS also in your project and see why those checkboxes could not clicked.

Hi John,

I have just copied and pasted the controls directly into a project and both boxes ticked, perhaps something to do with ur CSS>??
please see the attachment file; the problem that i am having.
thanks,
 
S

Shaun Rigby

Hi John, could you possibly attach the relevant style sheet and I will add it to the project

RGDS,
Shaun
i believe so, i would like you to include CSS also in your project and see why those checkboxes could not clicked.

Hi John,

I have just copied and pasted the controls directly into a project and both boxes ticked, perhaps something to do with ur CSS>??
please see the attachment file; the problem that i am having.
thanks,
 
J

John

hi,
the stysheet.css at the bottom. thanks,

Hi John, could you possibly attach the relevant style sheet and I will add it to the project

RGDS,
Shaun
i believe so, i would like you to include CSS also in your project and see why those checkboxes could not clicked.

Hi John,

I have just copied and pasted the controls directly into a project and both boxes ticked, perhaps something to do with ur CSS>??
please see the attachment file; the problem that i am having.
thanks,
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top