473,397 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 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 12525
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 .
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.