472,809 Members | 2,437 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,809 software developers and data experts.

Accessing an HTML Checkbox

Hello,

How do I access HTML CheckBoxs in the codebehind section of an ASP.NET
program?

In the old Interdev days one would:
For i = 1 to Request.Form("CheckBox").Count
if Request.Form("CheckBox")(i)) > 0 then
End If
Next

That throws
Exception Details: System.NullReferenceException: Object reference not set
to an instance of an object.
Seems like a simple thing, but I'm obviously missing something.

Thanks in advance,
Craig
Nov 19 '05 #1
9 12493
Hi Craig,

In order to manipulate a HTML control in the codebehind,
first you should set the control's runat="server". Then in
the codebehind you can access the control in following way:

HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

Hope it's helpful.

Elton Wang
el********@hotmail.com

-----Original Message-----
Hello,

How do I access HTML CheckBoxs in the codebehind section of an ASP.NETprogram?

In the old Interdev days one would:
For i = 1 to Request.Form("CheckBox").Count
if Request.Form("CheckBox")(i)) > 0 then
End If
Next

That throws
Exception Details: System.NullReferenceException: Object reference not setto an instance of an object.
Seems like a simple thing, but I'm obviously missing something.
Thanks in advance,
Craig
.

Nov 19 '05 #2
Thanks for the response. I guess I'm extra dumb today, because I continue
to struggle.

Here's the code snippet:
For i = 0 To FldCounter
Dim r As New TableRow

Dim c2 As New TableCell
c2.HorizontalAlign = HorizontalAlign.Center
c2.Controls.Add(New LiteralControl("<input type=checkbox id=chkboxS
RunAt=Server"))
r.Cells.Add(c2)

Table1.Rows.Add(r)
Next

How do I access chkboxS in the code?

page.findcontrol, table1.findcontol, table1.rows.findcontol all fail.

Thanks again,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
Hi Craig,

In order to manipulate a HTML control in the codebehind,
first you should set the control's runat="server". Then in
the codebehind you can access the control in following way:

HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

Hope it's helpful.

Elton Wang
el********@hotmail.com

-----Original Message-----
Hello,

How do I access HTML CheckBoxs in the codebehind section

of an ASP.NET
program?

In the old Interdev days one would:
For i = 1 to Request.Form("CheckBox").Count
if Request.Form("CheckBox")(i)) > 0 then
End If
Next

That throws
Exception Details: System.NullReferenceException: Object

reference not set
to an instance of an object.
Seems like a simple thing, but I'm obviously missing

something.

Thanks in advance,
Craig
.

Nov 19 '05 #3
Sorry, I forgot you are using VB.NET.

Following C# code
HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

can be translated to
Dim ckCtrl As HtmlInputCheckBox = CType(Me.FindControl
(ckID), HtmlInputCheckBox)
Dim isChecked As Boolean = ckCtrl.Checked

Just change ckID to chkboxS, it should be able to be used
for your code.

-----Original Message-----
Thanks for the response. I guess I'm extra dumb today, because I continueto struggle.

Here's the code snippet:
For i = 0 To FldCounter
Dim r As New TableRow

Dim c2 As New TableCell
c2.HorizontalAlign = HorizontalAlign.Center
c2.Controls.Add(New LiteralControl("<input type=checkbox id=chkboxSRunAt=Server"))
r.Cells.Add(c2)

Table1.Rows.Add(r)
Next

How do I access chkboxS in the code?

page.findcontrol, table1.findcontol, table1.rows.findcontol all fail.
Thanks again,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in messagenews:06****************************@phx.gbl...
Hi Craig,

In order to manipulate a HTML control in the codebehind,
first you should set the control's runat="server". Then in the codebehind you can access the control in following way:
HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

Hope it's helpful.

Elton Wang
el********@hotmail.com

-----Original Message-----
Hello,

How do I access HTML CheckBoxs in the codebehind section

of an ASP.NET
program?

In the old Interdev days one would:
For i = 1 to Request.Form("CheckBox").Count
if Request.Form("CheckBox")(i)) > 0 then
End If
Next

That throws
Exception Details: System.NullReferenceException: Object

reference not set
to an instance of an object.
Seems like a simple thing, but I'm obviously missing

something.

Thanks in advance,
Craig
.

.

Nov 19 '05 #4
Thanks again.

I appreciate your extra effort, nonetheless, the problem still remains. The
error reported is:

System.NullReferenceException: Object reference not set to an instance of an
object.

This happens when I try to access ckCtrl.Checked.

For what it's worth, Me.Controls.Count returns 3, but there are 12
checkboxes created dynamically. Something seems amiss.

Thanks,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
Sorry, I forgot you are using VB.NET.

Following C# code
HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

can be translated to
Dim ckCtrl As HtmlInputCheckBox = CType(Me.FindControl
(ckID), HtmlInputCheckBox)
Dim isChecked As Boolean = ckCtrl.Checked

Just change ckID to chkboxS, it should be able to be used
for your code.

-----Original Message-----
Thanks for the response. I guess I'm extra dumb today,

because I continue
to struggle.

Here's the code snippet:
For i = 0 To FldCounter
Dim r As New TableRow

Dim c2 As New TableCell
c2.HorizontalAlign = HorizontalAlign.Center
c2.Controls.Add(New LiteralControl("<input

type=checkbox id=chkboxS
RunAt=Server"))
r.Cells.Add(c2)

Table1.Rows.Add(r)
Next

How do I access chkboxS in the code?

page.findcontrol, table1.findcontol,

table1.rows.findcontol all fail.

Thanks again,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in

message
news:06****************************@phx.gbl...
Hi Craig,

In order to manipulate a HTML control in the codebehind,
first you should set the control's runat="server". Then in the codebehind you can access the control in following way:
HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

Hope it's helpful.

Elton Wang
el********@hotmail.com
-----Original Message-----
Hello,

How do I access HTML CheckBoxs in the codebehind section
of an ASP.NET
program?

In the old Interdev days one would:
For i = 1 to Request.Form("CheckBox").Count
if Request.Form("CheckBox")(i)) > 0 then
End If
Next

That throws
Exception Details: System.NullReferenceException: Object
reference not set
to an instance of an object.
Seems like a simple thing, but I'm obviously missing
something.

Thanks in advance,
Craig
.

.

Nov 19 '05 #5
Hi Craig,

Once I find time, I will try your code to figure it out.
If you solve the problem yourself, please let me know.

Elton Wang
el********@hotmail.com
-----Original Message-----
Thanks again.

I appreciate your extra effort, nonetheless, the problem still remains. Theerror reported is:

System.NullReferenceException: Object reference not set to an instance of anobject.

This happens when I try to access ckCtrl.Checked.

For what it's worth, Me.Controls.Count returns 3, but there are 12checkboxes created dynamically. Something seems amiss.

Thanks,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in messagenews:06****************************@phx.gbl...
Sorry, I forgot you are using VB.NET.

Following C# code
HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

can be translated to
Dim ckCtrl As HtmlInputCheckBox = CType(Me.FindControl
(ckID), HtmlInputCheckBox)
Dim isChecked As Boolean = ckCtrl.Checked

Just change ckID to chkboxS, it should be able to be used for your code.

-----Original Message-----
Thanks for the response. I guess I'm extra dumb today,

because I continue
to struggle.

Here's the code snippet:
For i = 0 To FldCounter
Dim r As New TableRow

Dim c2 As New TableCell
c2.HorizontalAlign = HorizontalAlign.Center
c2.Controls.Add(New LiteralControl("<input

type=checkbox id=chkboxS
RunAt=Server"))
r.Cells.Add(c2)

Table1.Rows.Add(r)
Next

How do I access chkboxS in the code?

page.findcontrol, table1.findcontol,

table1.rows.findcontol all fail.

Thanks again,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in

message
news:06****************************@phx.gbl.. .
Hi Craig,

In order to manipulate a HTML control in the codebehind, first you should set the control's runat="server". Then
in
the codebehind you can access the control in following

way:

HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

Hope it's helpful.

Elton Wang
el********@hotmail.com
>-----Original Message-----
>Hello,
>
>How do I access HTML CheckBoxs in the codebehind

section of an ASP.NET
>program?
>
>In the old Interdev days one would:
> For i = 1 to Request.Form("CheckBox").Count
> if Request.Form("CheckBox")(i)) > 0 then
> End If
> Next
>
>That throws
>Exception Details: System.NullReferenceException: Object reference not set
>to an instance of an object.
>
>
>Seems like a simple thing, but I'm obviously missing
something.
>
>Thanks in advance,
>Craig
>
>
>.
>
.

.

Nov 19 '05 #6
HTML checkboxes only return the value "on" when the form is submitted and
they are checked, or nothing when they are not checked. If you want to be
able to access them server-side, they must be proper ASP.NET server
controls. You can't create them using a Literal control. You need to create
instances of the ASP.NET control type you want and then add them to the
Controls collection.

"Elton Wang" <an*******@discussions.microsoft.com> wrote in message
news:10****************************@phx.gbl...
Hi Craig,

Once I find time, I will try your code to figure it out.
If you solve the problem yourself, please let me know.

Elton Wang
el********@hotmail.com
-----Original Message-----
Thanks again.

I appreciate your extra effort, nonetheless, the problem

still remains. The
error reported is:

System.NullReferenceException: Object reference not set

to an instance of an
object.

This happens when I try to access ckCtrl.Checked.

For what it's worth, Me.Controls.Count returns 3, but

there are 12
checkboxes created dynamically. Something seems amiss.

Thanks,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in

message
news:06****************************@phx.gbl...
Sorry, I forgot you are using VB.NET.

Following C# code
HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

can be translated to
Dim ckCtrl As HtmlInputCheckBox = CType(Me.FindControl
(ckID), HtmlInputCheckBox)
Dim isChecked As Boolean = ckCtrl.Checked

Just change ckID to chkboxS, it should be able to be used for your code.
-----Original Message-----
Thanks for the response. I guess I'm extra dumb today,
because I continue
to struggle.

Here's the code snippet:
For i = 0 To FldCounter
Dim r As New TableRow

Dim c2 As New TableCell
c2.HorizontalAlign = HorizontalAlign.Center
c2.Controls.Add(New LiteralControl("<input
type=checkbox id=chkboxS
RunAt=Server"))
r.Cells.Add(c2)

Table1.Rows.Add(r)
Next

How do I access chkboxS in the code?

page.findcontrol, table1.findcontol,
table1.rows.findcontol all fail.

Thanks again,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in
message
news:06****************************@phx.gbl.. .
> Hi Craig,
>
> In order to manipulate a HTML control in the codebehind,> first you should set the control's runat="server". Then in
> the codebehind you can access the control in following
way:
>
> HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
> this.FindControl(ckID);
> bool isChacked = ckCtrl.Checked ;
>
> Hope it's helpful.
>
> Elton Wang
> el********@hotmail.com
>
>
>>-----Original Message-----
>>Hello,
>>
>>How do I access HTML CheckBoxs in the codebehind section> of an ASP.NET
>>program?
>>
>>In the old Interdev days one would:
>> For i = 1 to Request.Form("CheckBox").Count
>> if Request.Form("CheckBox")(i)) > 0 then
>> End If
>> Next
>>
>>That throws
>>Exception Details: System.NullReferenceException: Object> reference not set
>>to an instance of an object.
>>
>>
>>Seems like a simple thing, but I'm obviously missing
> something.
>>
>>Thanks in advance,
>>Craig
>>
>>
>>.
>>
.

.

Nov 19 '05 #7
Elton,

Thanks for everything.

Ok, I solved it, but it ain't pretty! For each dynamically created checkbox
I named it chkbox + cstr(counter). Then in the code behind, I look though
the request("chkbox1") ... array and I have my results.

Thanks again for all your help,
Craig

"Elton Wang" <an*******@discussions.microsoft.com> wrote in message
news:10****************************@phx.gbl...
Hi Craig,

Once I find time, I will try your code to figure it out.
If you solve the problem yourself, please let me know.

Elton Wang
el********@hotmail.com
-----Original Message-----
Thanks again.

I appreciate your extra effort, nonetheless, the problem

still remains. The
error reported is:

System.NullReferenceException: Object reference not set

to an instance of an
object.

This happens when I try to access ckCtrl.Checked.

For what it's worth, Me.Controls.Count returns 3, but

there are 12
checkboxes created dynamically. Something seems amiss.

Thanks,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in

message
news:06****************************@phx.gbl...
Sorry, I forgot you are using VB.NET.

Following C# code
HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

can be translated to
Dim ckCtrl As HtmlInputCheckBox = CType(Me.FindControl
(ckID), HtmlInputCheckBox)
Dim isChecked As Boolean = ckCtrl.Checked

Just change ckID to chkboxS, it should be able to be used for your code.
-----Original Message-----
Thanks for the response. I guess I'm extra dumb today,
because I continue
to struggle.

Here's the code snippet:
For i = 0 To FldCounter
Dim r As New TableRow

Dim c2 As New TableCell
c2.HorizontalAlign = HorizontalAlign.Center
c2.Controls.Add(New LiteralControl("<input
type=checkbox id=chkboxS
RunAt=Server"))
r.Cells.Add(c2)

Table1.Rows.Add(r)
Next

How do I access chkboxS in the code?

page.findcontrol, table1.findcontol,
table1.rows.findcontol all fail.

Thanks again,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in
message
news:06****************************@phx.gbl. ..
> Hi Craig,
>
> In order to manipulate a HTML control in the codebehind,> first you should set the control's runat="server". Then in
> the codebehind you can access the control in following
way:
>
> HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
> this.FindControl(ckID);
> bool isChacked = ckCtrl.Checked ;
>
> Hope it's helpful.
>
> Elton Wang
> el********@hotmail.com
>
>
>>-----Original Message-----
>>Hello,
>>
>>How do I access HTML CheckBoxs in the codebehind section> of an ASP.NET
>>program?
>>
>>In the old Interdev days one would:
>> For i = 1 to Request.Form("CheckBox").Count
>> if Request.Form("CheckBox")(i)) > 0 then
>> End If
>> Next
>>
>>That throws
>>Exception Details: System.NullReferenceException: Object> reference not set
>>to an instance of an object.
>>
>>
>>Seems like a simple thing, but I'm obviously missing
> something.
>>
>>Thanks in advance,
>>Craig
>>
>>
>>.
>>
.

.

Nov 19 '05 #8
Alex,
Thanks for responding. Actually, checkboxes can have any value you want,
simply add a value argument:
<input type="checkbox" value="1234" ...>

For visual reason, I can't use a web control checkbox, because the way they
process styles. But I solved my issue by creating an "array" (not really,
but close enough) of checkboxes, then in the post, reading that array.

Again, thanks for responding.

Craig

"Alex Homer" <al**@stonebroom.com> wrote in message
news:Op**************@TK2MSFTNGP09.phx.gbl...
HTML checkboxes only return the value "on" when the form is submitted and
they are checked, or nothing when they are not checked. If you want to be
able to access them server-side, they must be proper ASP.NET server
controls. You can't create them using a Literal control. You need to
create
instances of the ASP.NET control type you want and then add them to the
Controls collection.

"Elton Wang" <an*******@discussions.microsoft.com> wrote in message
news:10****************************@phx.gbl...
Hi Craig,

Once I find time, I will try your code to figure it out.
If you solve the problem yourself, please let me know.

Elton Wang
el********@hotmail.com
>-----Original Message-----
>Thanks again.
>
>I appreciate your extra effort, nonetheless, the problem

still remains. The
>error reported is:
>
>System.NullReferenceException: Object reference not set

to an instance of an
>object.
>
>This happens when I try to access ckCtrl.Checked.
>
>For what it's worth, Me.Controls.Count returns 3, but

there are 12
>checkboxes created dynamically. Something seems amiss.
>
>Thanks,
>Craig
>
>
>"Elton Wang" <el***@discussions.microsoft.com> wrote in

message
>news:06****************************@phx.gbl...
>> Sorry, I forgot you are using VB.NET.
>>
>> Following C# code
>> HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
>> this.FindControl(ckID);
>> bool isChacked = ckCtrl.Checked ;
>>
>> can be translated to
>> Dim ckCtrl As HtmlInputCheckBox = CType(Me.FindControl
>> (ckID), HtmlInputCheckBox)
>> Dim isChecked As Boolean = ckCtrl.Checked
>>
>> Just change ckID to chkboxS, it should be able to be

used
>> for your code.
>>
>>
>>>-----Original Message-----
>>>Thanks for the response. I guess I'm extra dumb today,
>> because I continue
>>>to struggle.
>>>
>>>Here's the code snippet:
>>>For i = 0 To FldCounter
>>> Dim r As New TableRow
>>>
>>> Dim c2 As New TableCell
>>> c2.HorizontalAlign = HorizontalAlign.Center
>>> c2.Controls.Add(New LiteralControl("<input
>> type=checkbox id=chkboxS
>>>RunAt=Server"))
>>> r.Cells.Add(c2)
>>>
>>> Table1.Rows.Add(r)
>>>Next
>>>
>>>How do I access chkboxS in the code?
>>>
>>>page.findcontrol, table1.findcontol,
>> table1.rows.findcontol all fail.
>>>
>>>Thanks again,
>>>Craig
>>>
>>>
>>>"Elton Wang" <el***@discussions.microsoft.com> wrote in
>> message
>>>news:06****************************@phx.gbl.. .
>>>> Hi Craig,
>>>>
>>>> In order to manipulate a HTML control in the

codebehind,
>>>> first you should set the control's runat="server".

Then
>> in
>>>> the codebehind you can access the control in following
>> way:
>>>>
>>>> HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
>>>> this.FindControl(ckID);
>>>> bool isChacked = ckCtrl.Checked ;
>>>>
>>>> Hope it's helpful.
>>>>
>>>> Elton Wang
>>>> el********@hotmail.com
>>>>
>>>>
>>>>>-----Original Message-----
>>>>>Hello,
>>>>>
>>>>>How do I access HTML CheckBoxs in the codebehind

section
>>>> of an ASP.NET
>>>>>program?
>>>>>
>>>>>In the old Interdev days one would:
>>>>> For i = 1 to Request.Form("CheckBox").Count
>>>>> if Request.Form("CheckBox")(i)) > 0 then
>>>>> End If
>>>>> Next
>>>>>
>>>>>That throws
>>>>>Exception Details: System.NullReferenceException:

Object
>>>> reference not set
>>>>>to an instance of an object.
>>>>>
>>>>>
>>>>>Seems like a simple thing, but I'm obviously missing
>>>> something.
>>>>>
>>>>>Thanks in advance,
>>>>>Craig
>>>>>
>>>>>
>>>>>.
>>>>>
>>>
>>>
>>>.
>>>
>
>
>.
>


Nov 19 '05 #9
It seems when creating HTML Checkbox dynamically, the
attribute, runat=server, does work. It may be because the
Checkbox is created by string.

I am sure if you create static HTML Chechbox and set
attribute runat=server, you can use FindControl(contrlID)
to get the reference of the object.
Elton Wang
-----Original Message-----
Thanks again.

I appreciate your extra effort, nonetheless, the problem still remains. Theerror reported is:

System.NullReferenceException: Object reference not set to an instance of anobject.

This happens when I try to access ckCtrl.Checked.

For what it's worth, Me.Controls.Count returns 3, but there are 12checkboxes created dynamically. Something seems amiss.

Thanks,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in messagenews:06****************************@phx.gbl...
Sorry, I forgot you are using VB.NET.

Following C# code
HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

can be translated to
Dim ckCtrl As HtmlInputCheckBox = CType(Me.FindControl
(ckID), HtmlInputCheckBox)
Dim isChecked As Boolean = ckCtrl.Checked

Just change ckID to chkboxS, it should be able to be used for your code.

-----Original Message-----
Thanks for the response. I guess I'm extra dumb today,

because I continue
to struggle.

Here's the code snippet:
For i = 0 To FldCounter
Dim r As New TableRow

Dim c2 As New TableCell
c2.HorizontalAlign = HorizontalAlign.Center
c2.Controls.Add(New LiteralControl("<input

type=checkbox id=chkboxS
RunAt=Server"))
r.Cells.Add(c2)

Table1.Rows.Add(r)
Next

How do I access chkboxS in the code?

page.findcontrol, table1.findcontol,

table1.rows.findcontol all fail.

Thanks again,
Craig
"Elton Wang" <el***@discussions.microsoft.com> wrote in

message
news:06****************************@phx.gbl.. .
Hi Craig,

In order to manipulate a HTML control in the codebehind, first you should set the control's runat="server". Then
in
the codebehind you can access the control in following

way:

HtmlInputCheckBox ckCtrl = (HtmlInputCheckBox)
this.FindControl(ckID);
bool isChacked = ckCtrl.Checked ;

Hope it's helpful.

Elton Wang
el********@hotmail.com
>-----Original Message-----
>Hello,
>
>How do I access HTML CheckBoxs in the codebehind

section of an ASP.NET
>program?
>
>In the old Interdev days one would:
> For i = 1 to Request.Form("CheckBox").Count
> if Request.Form("CheckBox")(i)) > 0 then
> End If
> Next
>
>That throws
>Exception Details: System.NullReferenceException: Object reference not set
>to an instance of an object.
>
>
>Seems like a simple thing, but I'm obviously missing
something.
>
>Thanks in advance,
>Craig
>
>
>.
>
.

.

Nov 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: trank | last post by:
I created some checkboxes(<input type=checkbox>) dynamically,and then I'd like to access these checkboxes in code behind using C#. For they are not standard controls like Windows Checkbox, I can't...
6
by: Dominique | last post by:
Hi all, I'm using .NET v1.1 and the scenario I have is as follows... I have IE as an ActiveX control embedded in may C# App. I generate a HTML file dynamically and within the HTML file I embed a...
6
by: mumrah | last post by:
When getting different elements out of an array in JS, i know array.item(0) and array both return the 0th element. My question, will this work in any instance?
3
by: Axel Gallus | last post by:
I wrote a javascript function which should return the html code between a frame's body tag: function load_frame_as_string( Framename ) { var Frame =...
1
by: spiderman2 | last post by:
When the page is first accessed, certain HTML elements are dynamically created. The checkboxes all have the name "chkBox". There is a special "checkAll" checkbox which when checked or unchecked, does...
0
by: shapper | last post by:
Hi, I have the following on an Edit view to edit a IsPublished field: <%= Html.CheckBox("IsPublished", "", "", ViewData.Model.PostPaper.Post.IsPublished, new { @class = "CheckBox" }) %> I...
1
by: joecosmides | last post by:
I have a microsoft access front end and backend database for multi- user use. I have the back end located on a server that also is an IIS webserver. I've created a few ASP pages that pull customer...
2
by: joecosmides | last post by:
I have a microsoft access front end and backend database for multi- user use. I have the back end located on a server that also is an IIS webserver. I've created a few ASP pages that pull customer...
1
by: mithu0189479120 | last post by:
I am new in PHP & MYSQL. I have a multiple checkbox item in html form and want to create a new table by this checked item in an existing database with PHP code .
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.