I am having an issue, and I am not sure why. I have googled my a** off
and can't find anyone else with a similar problem.
In the AJAX pageLoad event, I do some stuff where I load up controls
and make previous selections. Sporadically, these things will not
happen. Doing everything the exact same way will not duplicate the
issue, so it seems to be some kind of timing thing. If I refresh the
page after this happens, everything is cool. Comparing the source in
both pages, they are identical. I cannot duplicate this EVER while
running the app in VS. I get no javascript errors whatsoever.
Here is my pageLoad. If you want to see or know anything else, feel
free to ask.
have you ensured that the method is absolutely not being called by placing a callout in the first line? alert box or whatever? you're certain it's not failing on an earlier instruction, perhaps silently?
On Tue, May 13, 2008 at 11:59 AM, CORK <alteregob...@gmail.com> wrote:
> I am having an issue, and I am not sure why. I have googled my a** off > and can't find anyone else with a similar problem.
> In the AJAX pageLoad event, I do some stuff where I load up controls > and make previous selections. Sporadically, these things will not > happen. Doing everything the exact same way will not duplicate the > issue, so it seems to be some kind of timing thing. If I refresh the > page after this happens, everything is cool. Comparing the source in > both pages, they are identical. I cannot duplicate this EVER while > running the app in VS. I get no javascript errors whatsoever.
> Here is my pageLoad. If you want to see or know anything else, feel > free to ask.
I am not sure it isn't being called. I placed an alert in my
development code, but I cannot get it to happen when running in the
IDE, only in production. It could be failing silently, I suppose.
I think what I might have to do is set this up in a test environment
so I can put in all the alerts and logging I need to in order to solve
the problem.
-cork
On May 13, 1:18 pm, "Andrew Badera" <and...@badera.us> wrote:
> have you ensured that the method is absolutely not being called by placing a
> callout in the first line? alert box or whatever? you're certain it's not
> failing on an earlier instruction, perhaps silently?
> On Tue, May 13, 2008 at 11:59 AM, CORK <alteregob...@gmail.com> wrote:
> > I am having an issue, and I am not sure why. I have googled my a** off
> > and can't find anyone else with a similar problem.
> > In the AJAX pageLoad event, I do some stuff where I load up controls
> > and make previous selections. Sporadically, these things will not
> > happen. Doing everything the exact same way will not duplicate the
> > issue, so it seems to be some kind of timing thing. If I refresh the
> > page after this happens, everything is cool. Comparing the source in
> > both pages, they are identical. I cannot duplicate this EVER while
> > running the app in VS. I get no javascript errors whatsoever.
> > Here is my pageLoad. If you want to see or know anything else, feel
> > free to ask.
Absolutely. You should always have an isolated development environment in which to thrash and play, and both then isolated environments for test/QA and then for production. Test/QA should always be a mirror of production, the only difference being the next generational work being tested on it.
On Tue, May 13, 2008 at 2:49 PM, CORK <alteregob...@gmail.com> wrote:
> Andrew:
> I am not sure it isn't being called. I placed an alert in my > development code, but I cannot get it to happen when running in the > IDE, only in production. It could be failing silently, I suppose.
> I think what I might have to do is set this up in a test environment > so I can put in all the alerts and logging I need to in order to solve > the problem.
> -cork
> On May 13, 1:18 pm, "Andrew Badera" <and...@badera.us> wrote: > > have you ensured that the method is absolutely not being called by > placing a > > callout in the first line? alert box or whatever? you're certain it's not > > failing on an earlier instruction, perhaps silently?
> > On Tue, May 13, 2008 at 11:59 AM, CORK <alteregob...@gmail.com> wrote:
> > > I am having an issue, and I am not sure why. I have googled my a** off > > > and can't find anyone else with a similar problem.
> > > In the AJAX pageLoad event, I do some stuff where I load up controls > > > and make previous selections. Sporadically, these things will not > > > happen. Doing everything the exact same way will not duplicate the > > > issue, so it seems to be some kind of timing thing. If I refresh the > > > page after this happens, everything is cool. Comparing the source in > > > both pages, they are identical. I cannot duplicate this EVER while > > > running the app in VS. I get no javascript errors whatsoever.
> > > Here is my pageLoad. If you want to see or know anything else, feel > > > free to ask.
I set this up in a test environment, and still could make no progress.
I ended up moving all the pageLoad stuff into the jquery ready event
handler (I am using jquery for a lot of common cross-browser js
stuff), and it solved my problem. Normally, I like to know *why*
something wasn't working, but in this case I had to have it fixed by
last Thursday ;)
Thanks for the help,
Corky
On May 14, 2:27 pm, "Andrew Badera" <and...@badera.us> wrote:
> Absolutely. You should always have an isolated development environment in
> which to thrash and play, and both then isolated environments for test/QA
> and then for production. Test/QA should always be a mirror of production,
> the only difference being the next generational work being tested on it.
> Good luck, let us know how it goes.
> On Tue, May 13, 2008 at 2:49 PM, CORK <alteregob...@gmail.com> wrote:
> > Andrew:
> > I am not sure it isn't being called. I placed an alert in my
> > development code, but I cannot get it to happen when running in the
> > IDE, only in production. It could be failing silently, I suppose.
> > I think what I might have to do is set this up in a test environment
> > so I can put in all the alerts and logging I need to in order to solve
> > the problem.
> > -cork
> > On May 13, 1:18 pm, "Andrew Badera" <and...@badera.us> wrote:
> > > have you ensured that the method is absolutely not being called by
> > placing a
> > > callout in the first line? alert box or whatever? you're certain it's not
> > > failing on an earlier instruction, perhaps silently?
> > > On Tue, May 13, 2008 at 11:59 AM, CORK <alteregob...@gmail.com> wrote:
> > > > I am having an issue, and I am not sure why. I have googled my a** off
> > > > and can't find anyone else with a similar problem.
> > > > In the AJAX pageLoad event, I do some stuff where I load up controls
> > > > and make previous selections. Sporadically, these things will not
> > > > happen. Doing everything the exact same way will not duplicate the
> > > > issue, so it seems to be some kind of timing thing. If I refresh the
> > > > page after this happens, everything is cool. Comparing the source in
> > > > both pages, they are identical. I cannot duplicate this EVER while
> > > > running the app in VS. I get no javascript errors whatsoever.
> > > > Here is my pageLoad. If you want to see or know anything else, feel
> > > > free to ask.
In the future in this kind of scenario, if you don't already, you might want to consider using a tracing pattern so you can optionally turn on intensive logging, via config file, in production. Personally I like the Enterprise Library Logging Application Block.
On Tue, May 20, 2008 at 3:28 PM, CORK <alteregob...@gmail.com> wrote:
> I set this up in a test environment, and still could make no progress. > I ended up moving all the pageLoad stuff into the jquery ready event > handler (I am using jquery for a lot of common cross-browser js > stuff), and it solved my problem. Normally, I like to know *why* > something wasn't working, but in this case I had to have it fixed by > last Thursday ;)
> Thanks for the help, > Corky
> On May 14, 2:27 pm, "Andrew Badera" <and...@badera.us> wrote: > > Absolutely. You should always have an isolated development environment in > > which to thrash and play, and both then isolated environments for test/QA > > and then for production. Test/QA should always be a mirror of production, > > the only difference being the next generational work being tested on it.
> > Good luck, let us know how it goes.
> > On Tue, May 13, 2008 at 2:49 PM, CORK <alteregob...@gmail.com> wrote:
> > > Andrew:
> > > I am not sure it isn't being called. I placed an alert in my > > > development code, but I cannot get it to happen when running in the > > > IDE, only in production. It could be failing silently, I suppose.
> > > I think what I might have to do is set this up in a test environment > > > so I can put in all the alerts and logging I need to in order to solve > > > the problem.
> > > -cork
> > > On May 13, 1:18 pm, "Andrew Badera" <and...@badera.us> wrote: > > > > have you ensured that the method is absolutely not being called by > > > placing a > > > > callout in the first line? alert box or whatever? you're certain it's > not > > > > failing on an earlier instruction, perhaps silently?
> > > > On Tue, May 13, 2008 at 11:59 AM, CORK <alteregob...@gmail.com> > wrote:
> > > > > I am having an issue, and I am not sure why. I have googled my a** > off > > > > > and can't find anyone else with a similar problem.
> > > > > In the AJAX pageLoad event, I do some stuff where I load up > controls > > > > > and make previous selections. Sporadically, these things will not > > > > > happen. Doing everything the exact same way will not duplicate the > > > > > issue, so it seems to be some kind of timing thing. If I refresh > the > > > > > page after this happens, everything is cool. Comparing the source > in > > > > > both pages, they are identical. I cannot duplicate this EVER while > > > > > running the app in VS. I get no javascript errors whatsoever.
> > > > > Here is my pageLoad. If you want to see or know anything else, feel > > > > > free to ask.