I was just dropped into someone else's code (isn't that always so fun?).
I can't figure out why a custom validation control's server event function
is executing. There is nothing (that I see) in page_load, or elsewhere,
that says page.validate, no control says "causesvalidation=true", and the
AutoEventWireup is set to false. So I would think that the control's
server event function would NOT execute, but it does execute right after
page_load. I want to call page.validate (followed by if page.isvalid ...)
elsewhere, but that means that the event function code will run twice, which
I don't want.
Where else do I look to see why the custom validator's event function is
executing on the server after page_load? 9 2148
Page.IsValid is what triggers server side validation
-- bruce (sqlwork.com)
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message
news:iN*******************@twister.socal.rr.com...
| I was just dropped into someone else's code (isn't that always so fun?).
|
| I can't figure out why a custom validation control's server event function
| is executing. There is nothing (that I see) in page_load, or elsewhere,
| that says page.validate, no control says "causesvalidation=true", and the
| AutoEventWireup is set to false. So I would think that the control's
| server event function would NOT execute, but it does execute right after
| page_load. I want to call page.validate (followed by if page.isvalid
....)
| elsewhere, but that means that the event function code will run twice,
which
| I don't want.
|
| Where else do I look to see why the custom validator's event function is
| executing on the server after page_load?
|
|
It is going to the validation function BEFORE page.validate & page.isvalid.
That's what puzzles me. I know it will go there upon page.validate, but
can't figure out what else BEFORE that is triggering it.
"bruce barker" <no***********@safeco.com> wrote in message
news:u1**************@tk2msftngp13.phx.gbl... Page.IsValid is what triggers server side validation
-- bruce (sqlwork.com)
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message news:iN*******************@twister.socal.rr.com... | I was just dropped into someone else's code (isn't that always so fun?). | | I can't figure out why a custom validation control's server event
function | is executing. There is nothing (that I see) in page_load, or
elsewhere, | that says page.validate, no control says "causesvalidation=true", and
the | AutoEventWireup is set to false. So I would think that the control's | server event function would NOT execute, but it does execute right after | page_load. I want to call page.validate (followed by if page.isvalid ...) | elsewhere, but that means that the event function code will run twice, which | I don't want. | | Where else do I look to see why the custom validator's event function is | executing on the server after page_load? | |
The Button control calls Page.Validate() internally just before it calls any
Click event handler. CausesValidation=true is the true. So if you don't see
it listed in the ASP.NET definition of the button, Page.Validate() is being
fired.
Only when Page.Validate() or the individual validator's Validate() method is
called will the validator run its custom evaluation function.
In your case, its clear that the button is calling Page.Validate for you and
that is running your event method.
--- Peter Blum www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at http://www.peterblum.com/vam/home.aspx
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message
news:V9*******************@twister.socal.rr.com... It is going to the validation function BEFORE page.validate & page.isvalid. That's what puzzles me. I know it will go there upon page.validate, but can't figure out what else BEFORE that is triggering it.
"bruce barker" <no***********@safeco.com> wrote in message news:u1**************@tk2msftngp13.phx.gbl... Page.IsValid is what triggers server side validation
-- bruce (sqlwork.com)
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message news:iN*******************@twister.socal.rr.com... | I was just dropped into someone else's code (isn't that always so fun?). | | I can't figure out why a custom validation control's server event function | is executing. There is nothing (that I see) in page_load, or elsewhere, | that says page.validate, no control says "causesvalidation=true", and the | AutoEventWireup is set to false. So I would think that the control's | server event function would NOT execute, but it does execute right after | page_load. I want to call page.validate (followed by if page.isvalid ...) | elsewhere, but that means that the event function code will run twice, which | I don't want. | | Where else do I look to see why the custom validator's event function is | executing on the server after page_load? | |
I appreciate the reply, but I'm still a bit confused.
I don't have any submit buttons. Instead I'm using an "HtmlInputImage"
control (an image button). In its properties, it does not show any
"CausesValidation" property, either.
"Peter Blum" <PL****@Blum.info> wrote in message
news:uW**************@TK2MSFTNGP12.phx.gbl... The Button control calls Page.Validate() internally just before it calls
any Click event handler. CausesValidation=true is the true. So if you don't
see it listed in the ASP.NET definition of the button, Page.Validate() is
being fired.
Only when Page.Validate() or the individual validator's Validate() method
is called will the validator run its custom evaluation function.
In your case, its clear that the button is calling Page.Validate for you
and that is running your event method.
--- Peter Blum www.PeterBlum.com Email: PL****@PeterBlum.com Creator of "Professional Validation And More" at http://www.peterblum.com/vam/home.aspx
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message news:V9*******************@twister.socal.rr.com... It is going to the validation function BEFORE page.validate & page.isvalid. That's what puzzles me. I know it will go there upon page.validate,
but can't figure out what else BEFORE that is triggering it.
"bruce barker" <no***********@safeco.com> wrote in message news:u1**************@tk2msftngp13.phx.gbl... Page.IsValid is what triggers server side validation
-- bruce (sqlwork.com)
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message news:iN*******************@twister.socal.rr.com... | I was just dropped into someone else's code (isn't that always so fun?). | | I can't figure out why a custom validation control's server event function | is executing. There is nothing (that I see) in page_load, or elsewhere, | that says page.validate, no control says "causesvalidation=true", and the | AutoEventWireup is set to false. So I would think that the
control's | server event function would NOT execute, but it does execute right after | page_load. I want to call page.validate (followed by if
page.isvalid ...) | elsewhere, but that means that the event function code will run
twice, which | I don't want. | | Where else do I look to see why the custom validator's event function is | executing on the server after page_load? | |
I see that intellisense does bring up a CausesValidation property on my
HtmlInputImage "button". I set it to false in page_load, but the
server-side function is still running. In case it makes any difference, I
have text boxes, pulldowns, and text inside a user control on this page.
What else could be causing validation??? I'm pulling my hair out over this.
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message
news:H4*******************@twister.socal.rr.com... I appreciate the reply, but I'm still a bit confused.
I don't have any submit buttons. Instead I'm using an "HtmlInputImage" control (an image button). In its properties, it does not show any "CausesValidation" property, either. "Peter Blum" <PL****@Blum.info> wrote in message news:uW**************@TK2MSFTNGP12.phx.gbl... The Button control calls Page.Validate() internally just before it calls any Click event handler. CausesValidation=true is the true. So if you don't see it listed in the ASP.NET definition of the button, Page.Validate() is being fired.
Only when Page.Validate() or the individual validator's Validate()
method is called will the validator run its custom evaluation function.
In your case, its clear that the button is calling Page.Validate for you and that is running your event method.
--- Peter Blum www.PeterBlum.com Email: PL****@PeterBlum.com Creator of "Professional Validation And More" at http://www.peterblum.com/vam/home.aspx
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in
message news:V9*******************@twister.socal.rr.com... It is going to the validation function BEFORE page.validate & page.isvalid. That's what puzzles me. I know it will go there upon page.validate, but can't figure out what else BEFORE that is triggering it.
"bruce barker" <no***********@safeco.com> wrote in message news:u1**************@tk2msftngp13.phx.gbl... > Page.IsValid is what triggers server side validation > > -- bruce (sqlwork.com) > > "AFN" <ne***************************@DELETETHISyahoo.com > wrote in > message > news:iN*******************@twister.socal.rr.com... > | I was just dropped into someone else's code (isn't that always so > fun?). > | > | I can't figure out why a custom validation control's server event function > | is executing. There is nothing (that I see) in page_load, or elsewhere, > | that says page.validate, no control says "causesvalidation=true",
and the > | AutoEventWireup is set to false. So I would think that the control's> | server event function would NOT execute, but it does execute right > after > | page_load. I want to call page.validate (followed by if page.isvalid> ...) > | elsewhere, but that means that the event function code will run twice,> which > | I don't want. > | > | Where else do I look to see why the custom validator's event
function> is > | executing on the server after page_load? > | > | > >
I recently posted this thread that breaks the process down in detail: http://www.asp.net/Forums/ShowPost.a...&PostID=773590
The CausesValidation=false prevents your HtmlInputImage button from
automatically calling Page.Validate(). If your custom validator's evaluation
method is getting called, it MUST be due to a call to Page.Validate() or
your own validator's Validate() method. There is no magic here. The code
executes based on specific conditions.
So if you cannot find Page.Validate() or Validate() on your individual
validator on this page, then you must assume its getting called by the image
button that ASP.NET thinks submitted the page. If you have Visual
Studio.net, you can put a breakpoint in your server side method. When its
hit, look through the call stack to see what invoked it.
You can also check that CausesValidation is false at this time. I bet its
not.
A common mistake in Page_Load is to put code inside IF Not IsPostBack
statements when it belongs available at all times. Did you do this with
CausesValidation?
--- Peter Blum www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at http://www.peterblum.com/vam/home.aspx
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message
news:Vp******************@twister.socal.rr.com... I see that intellisense does bring up a CausesValidation property on my HtmlInputImage "button". I set it to false in page_load, but the server-side function is still running. In case it makes any difference, I have text boxes, pulldowns, and text inside a user control on this page. What else could be causing validation??? I'm pulling my hair out over this. "AFN" <ne***************************@DELETETHISyahoo.com > wrote in message news:H4*******************@twister.socal.rr.com... I appreciate the reply, but I'm still a bit confused.
I don't have any submit buttons. Instead I'm using an "HtmlInputImage" control (an image button). In its properties, it does not show any "CausesValidation" property, either. "Peter Blum" <PL****@Blum.info> wrote in message news:uW**************@TK2MSFTNGP12.phx.gbl... > The Button control calls Page.Validate() internally just before it > calls any > Click event handler. CausesValidation=true is the true. So if you don't see > it listed in the ASP.NET definition of the button, Page.Validate() is being > fired. > > Only when Page.Validate() or the individual validator's Validate() method is > called will the validator run its custom evaluation function. > > In your case, its clear that the button is calling Page.Validate for > you and > that is running your event method. > > --- Peter Blum > www.PeterBlum.com > Email: PL****@PeterBlum.com > Creator of "Professional Validation And More" at > http://www.peterblum.com/vam/home.aspx > > "AFN" <ne***************************@DELETETHISyahoo.com > wrote in message > news:V9*******************@twister.socal.rr.com... > > It is going to the validation function BEFORE page.validate & > > page.isvalid. > > That's what puzzles me. I know it will go there upon page.validate, but > > can't figure out what else BEFORE that is triggering it. > > > > > > "bruce barker" <no***********@safeco.com> wrote in message > > news:u1**************@tk2msftngp13.phx.gbl... > >> Page.IsValid is what triggers server side validation > >> > >> -- bruce (sqlwork.com) > >> > >> "AFN" <ne***************************@DELETETHISyahoo.com > wrote in > >> message > >> news:iN*******************@twister.socal.rr.com... > >> | I was just dropped into someone else's code (isn't that always so > >> fun?). > >> | > >> | I can't figure out why a custom validation control's server event > > function > >> | is executing. There is nothing (that I see) in page_load, or > > elsewhere, > >> | that says page.validate, no control says "causesvalidation=true", and > > the > >> | AutoEventWireup is set to false. So I would think that the control's > >> | server event function would NOT execute, but it does execute right > >> after > >> | page_load. I want to call page.validate (followed by if page.isvalid > >> ...) > >> | elsewhere, but that means that the event function code will run twice, > >> which > >> | I don't want. > >> | > >> | Where else do I look to see why the custom validator's event function > >> is > >> | executing on the server after page_load? > >> | > >> | > >> > >> > > > > > >
Thanks for your reply. OK, I've done more evaluation and testing, but
still no luck...
The page has 2 image buttons, one at the top and one at the bottom. Both
are definitely set to "causesvalidation=false" everywhere, and I've
confirmed such by testing the variables in the command window at every stage
of running the page. And no "causesvalidation=false" lines of code are
within an "if/then" condition.
Remember, in case it makes any difference, that the page has a user control
within it, containing text boxes and 4 custom validators, but that control
has no image or standard buttons, and nothing that has a causesvalidation
property (to the best of my knowledge and i've looked hard now).
I run the page.
I click the image button which is on the page, under the user control.
The page_load fires for the main page
The page_load fires for the user control
The next thing that fires is the sub for the image's ServerClick
That ServerClick sub calls page.validate (I understand this will trigger
validation ONCE)
The user control's CustomValidator1 sub runs, as I would expect
The user control's CustomValidator2 sub runs, as I would expect
The user control's CustomValidator3 sub runs, as I would expect
The user control's CustomValidator4 sub runs, as I would expect
*** this is where I'm absolutely puzzled, here down ***
The user control's CustomValidator1 sub runs AGAIN, as I would NOT expect
The user control's CustomValidator2 sub runs AGAIN, as I would NOT expect
The user control's CustomValidator3 sub runs AGAIN, as I would NOT expect
The user control's CustomValidator4 sub runs AGAIN, as I would NOT expect
control returns back to the next line after page.validate, which is "If
page.IsValid ..."
The call stack doesn't seem to show anything helpful. It just shows that
the source on each entry into a custom validator's sub is itself
(System.Web.UI.WebControls.CustomValidator.
The validators are also not making any extra calls to functions that could
potentially do another page.validate. They simply check simple things like
the length of a textbox field.
Any ideas???
"Peter Blum" <PL****@Blum.info> wrote in message
news:uF**************@TK2MSFTNGP10.phx.gbl... I recently posted this thread that breaks the process down in detail: http://www.asp.net/Forums/ShowPost.a...&PostID=773590
The CausesValidation=false prevents your HtmlInputImage button from automatically calling Page.Validate(). If your custom validator's
evaluation method is getting called, it MUST be due to a call to Page.Validate() or your own validator's Validate() method. There is no magic here. The code executes based on specific conditions.
So if you cannot find Page.Validate() or Validate() on your individual validator on this page, then you must assume its getting called by the
image button that ASP.NET thinks submitted the page. If you have Visual Studio.net, you can put a breakpoint in your server side method. When its hit, look through the call stack to see what invoked it. You can also check that CausesValidation is false at this time. I bet its not.
A common mistake in Page_Load is to put code inside IF Not IsPostBack statements when it belongs available at all times. Did you do this with CausesValidation?
--- Peter Blum www.PeterBlum.com Email: PL****@PeterBlum.com Creator of "Professional Validation And More" at http://www.peterblum.com/vam/home.aspx
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message news:Vp******************@twister.socal.rr.com...I see that intellisense does bring up a CausesValidation property on my HtmlInputImage "button". I set it to false in page_load, but the server-side function is still running. In case it makes any
difference, I have text boxes, pulldowns, and text inside a user control on this page. What else could be causing validation??? I'm pulling my hair out over this. "AFN" <ne***************************@DELETETHISyahoo.com > wrote in
message news:H4*******************@twister.socal.rr.com... I appreciate the reply, but I'm still a bit confused.
I don't have any submit buttons. Instead I'm using an "HtmlInputImage" control (an image button). In its properties, it does not show any "CausesValidation" property, either. "Peter Blum" <PL****@Blum.info> wrote in message news:uW**************@TK2MSFTNGP12.phx.gbl... > The Button control calls Page.Validate() internally just before it > calls any > Click event handler. CausesValidation=true is the true. So if you
don't see > it listed in the ASP.NET definition of the button, Page.Validate() is being > fired. > > Only when Page.Validate() or the individual validator's Validate() method is > called will the validator run its custom evaluation function. > > In your case, its clear that the button is calling Page.Validate for > you and > that is running your event method. > > --- Peter Blum > www.PeterBlum.com > Email: PL****@PeterBlum.com > Creator of "Professional Validation And More" at > http://www.peterblum.com/vam/home.aspx > > "AFN" <ne***************************@DELETETHISyahoo.com > wrote in message > news:V9*******************@twister.socal.rr.com... > > It is going to the validation function BEFORE page.validate & > > page.isvalid. > > That's what puzzles me. I know it will go there upon
page.validate, but > > can't figure out what else BEFORE that is triggering it. > > > > > > "bruce barker" <no***********@safeco.com> wrote in message > > news:u1**************@tk2msftngp13.phx.gbl... > >> Page.IsValid is what triggers server side validation > >> > >> -- bruce (sqlwork.com) > >> > >> "AFN" <ne***************************@DELETETHISyahoo.com > wrote in > >> message > >> news:iN*******************@twister.socal.rr.com... > >> | I was just dropped into someone else's code (isn't that always
so > >> fun?). > >> | > >> | I can't figure out why a custom validation control's server
event > > function > >> | is executing. There is nothing (that I see) in page_load, or > > elsewhere, > >> | that says page.validate, no control says
"causesvalidation=true", and > > the > >> | AutoEventWireup is set to false. So I would think that the control's > >> | server event function would NOT execute, but it does execute
right > >> after > >> | page_load. I want to call page.validate (followed by if page.isvalid > >> ...) > >> | elsewhere, but that means that the event function code will run twice, > >> which > >> | I don't want. > >> | > >> | Where else do I look to see why the custom validator's event function > >> is > >> | executing on the server after page_load? > >> | > >> | > >> > >> > > > > > >
I found the solution/answer.
The pages were using a custom template base class.
The 1.1 framework had a bug that dropped validators when copying controls.
So you had to save a copy of validators before adding the page into the
template, and then add them back manually.
The recent 1.1 service pack fixed that bug.
My code had the bug workaround. My machine had the latest 1.1 fix. So the
code was effectively adding a copy of each validator, internally where I
couldn't see it, and that is why each validator event was firing twice even
though you would not see two of the same validator when examining the code!
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in message
news:bH*******************@twister.socal.rr.com... Thanks for your reply. OK, I've done more evaluation and testing, but still no luck...
The page has 2 image buttons, one at the top and one at the bottom. Both are definitely set to "causesvalidation=false" everywhere, and I've confirmed such by testing the variables in the command window at every
stage of running the page. And no "causesvalidation=false" lines of code are within an "if/then" condition.
Remember, in case it makes any difference, that the page has a user
control within it, containing text boxes and 4 custom validators, but that control has no image or standard buttons, and nothing that has a causesvalidation property (to the best of my knowledge and i've looked hard now).
I run the page. I click the image button which is on the page, under the user control. The page_load fires for the main page The page_load fires for the user control The next thing that fires is the sub for the image's ServerClick That ServerClick sub calls page.validate (I understand this will trigger validation ONCE) The user control's CustomValidator1 sub runs, as I would expect The user control's CustomValidator2 sub runs, as I would expect The user control's CustomValidator3 sub runs, as I would expect The user control's CustomValidator4 sub runs, as I would expect *** this is where I'm absolutely puzzled, here down *** The user control's CustomValidator1 sub runs AGAIN, as I would NOT
expect The user control's CustomValidator2 sub runs AGAIN, as I would NOT
expect The user control's CustomValidator3 sub runs AGAIN, as I would NOT
expect The user control's CustomValidator4 sub runs AGAIN, as I would NOT
expect control returns back to the next line after page.validate, which is "If page.IsValid ..."
The call stack doesn't seem to show anything helpful. It just shows that the source on each entry into a custom validator's sub is itself (System.Web.UI.WebControls.CustomValidator.
The validators are also not making any extra calls to functions that could potentially do another page.validate. They simply check simple things
like the length of a textbox field.
Any ideas???
"Peter Blum" <PL****@Blum.info> wrote in message news:uF**************@TK2MSFTNGP10.phx.gbl... I recently posted this thread that breaks the process down in detail: http://www.asp.net/Forums/ShowPost.a...&PostID=773590
The CausesValidation=false prevents your HtmlInputImage button from automatically calling Page.Validate(). If your custom validator's evaluation method is getting called, it MUST be due to a call to Page.Validate() or your own validator's Validate() method. There is no magic here. The code executes based on specific conditions.
So if you cannot find Page.Validate() or Validate() on your individual validator on this page, then you must assume its getting called by the image button that ASP.NET thinks submitted the page. If you have Visual Studio.net, you can put a breakpoint in your server side method. When
its hit, look through the call stack to see what invoked it. You can also check that CausesValidation is false at this time. I bet
its not.
A common mistake in Page_Load is to put code inside IF Not IsPostBack statements when it belongs available at all times. Did you do this with CausesValidation?
--- Peter Blum www.PeterBlum.com Email: PL****@PeterBlum.com Creator of "Professional Validation And More" at http://www.peterblum.com/vam/home.aspx
"AFN" <ne***************************@DELETETHISyahoo.com > wrote in
message news:Vp******************@twister.socal.rr.com...I see that intellisense does bring up a CausesValidation property on my HtmlInputImage "button". I set it to false in page_load, but the server-side function is still running. In case it makes any difference, I have text boxes, pulldowns, and text inside a user control on this
page. What else could be causing validation??? I'm pulling my hair out over this. "AFN" <ne***************************@DELETETHISyahoo.com > wrote in message news:H4*******************@twister.socal.rr.com... > I appreciate the reply, but I'm still a bit confused. > > I don't have any submit buttons. Instead I'm using an
"HtmlInputImage"> control (an image button). In its properties, it does not show any > "CausesValidation" property, either. > > > > "Peter Blum" <PL****@Blum.info> wrote in message > news:uW**************@TK2MSFTNGP12.phx.gbl... > > The Button control calls Page.Validate() internally just before it > > calls > any > > Click event handler. CausesValidation=true is the true. So if you don't> see > > it listed in the ASP.NET definition of the button, Page.Validate()
is> being > > fired. > > > > Only when Page.Validate() or the individual validator's Validate() method > is > > called will the validator run its custom evaluation function. > > > > In your case, its clear that the button is calling Page.Validate
for> > you > and > > that is running your event method. > > > > --- Peter Blum > > www.PeterBlum.com > > Email: PL****@PeterBlum.com > > Creator of "Professional Validation And More" at > > http://www.peterblum.com/vam/home.aspx > > > > "AFN" <ne***************************@DELETETHISyahoo.com > wrote in message > > news:V9*******************@twister.socal.rr.com... > > > It is going to the validation function BEFORE page.validate & > > > page.isvalid. > > > That's what puzzles me. I know it will go there upon page.validate,> but > > > can't figure out what else BEFORE that is triggering it. > > > > > > > > > "bruce barker" <no***********@safeco.com> wrote in message > > > news:u1**************@tk2msftngp13.phx.gbl... > > >> Page.IsValid is what triggers server side validation > > >> > > >> -- bruce (sqlwork.com) > > >> > > >> "AFN" <ne***************************@DELETETHISyahoo.com > wrote
in> > >> message > > >> news:iN*******************@twister.socal.rr.com... > > >> | I was just dropped into someone else's code (isn't that always so> > >> fun?). > > >> | > > >> | I can't figure out why a custom validation control's server event> > > function > > >> | is executing. There is nothing (that I see) in page_load, or > > > elsewhere, > > >> | that says page.validate, no control says "causesvalidation=true", and > > > the > > >> | AutoEventWireup is set to false. So I would think that the > control's > > >> | server event function would NOT execute, but it does execute right> > >> after > > >> | page_load. I want to call page.validate (followed by if > page.isvalid > > >> ...) > > >> | elsewhere, but that means that the event function code will
run> twice, > > >> which > > >> | I don't want. > > >> | > > >> | Where else do I look to see why the custom validator's event function > > >> is > > >> | executing on the server after page_load? > > >> | > > >> | > > >> > > >> > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: kecebong |
last post by:
I installed php-4.3.3, mysql and apache server 2.0.47.
but I can not connect to my apache server from my other computer, i use
static ip for my server, set ip address for server name on httpd.conf,...
|
by: importantEmail |
last post by:
hi
i have pasted page_load, my bindgrid, sort and itemdatabound event.
my sorting in not working properly...i tried a couple of ways but there
is something i am missing.
pls suggest me on this...
|
by: samir dsf |
last post by:
hi
i have pasted page_load, my bindgrid, sort and itemdatabound event.
my sorting in not working properly...i tried a couple of ways but there
is something i am missing.
pls suggest me on this...
|
by: Kentor |
last post by:
hello, im trying to make a little loop, but i cant figure it out... i
have a string with a bunch of 1s and 0s in it: 110101010101111010101
.... i need to count the number of 1s divide it by 2 and...
|
by: g35rider |
last post by:
Hi, I have the following code that is giving this error, I cant
simplify the code, I was just testing some theory for something we are
doing and was getting an issue here. Please someone point out...
|
by: Ouwet5775 |
last post by:
Hello peeps.
Well i have tried runing the folwoing program several times, and i cant figure out what i am doing wrong.
The goal of this is to input values for an array, find the maximum and the...
|
by: =?Utf-8?B?UmljaA==?= |
last post by:
On a form - I have a datagridview which is docked to the entire form. The
datagridview allows users to Delete and/or Add Rows. On the Form_Load event
I Fill the datagridview source table with a...
|
by: durjoy |
last post by:
dunno is the right forum to ask for help , but i cant see any category for html help . dont know any other site as well . this site is my last hope
dear experts . i was hosting my site with...
|
by: WolfgangS |
last post by:
Ok first off, i am a total beginner at this groups stuff and i have no
clue how this works. This is probabaly the wrong group for my problem
but i will post it anyways. Learning by doing right?
...
|
by: chevon1920 |
last post by:
I am trying to do my assignment but I cant figure out how to get 8 data points per line to print to a file.
Here is the assignment
1. Program asks the user to enter an odd number as a BASE,...
|
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...
|
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...
|
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...
|
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
...
|
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...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: lllomh |
last post by:
How does React native implement an English player?
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
| |