Showing posts with label trigger. Show all posts
Showing posts with label trigger. Show all posts

Friday, March 16, 2012

OMG please help. Parent UpdatePanel refreshing with nested UpdatePanel

Angry I have two update panels, lets call them A & B

B is nested inside A

B has a trigger registered to a timer so it updates every 30 seconds. A is updating too, why?

Both are set to conditional update, all other options are at default. Scriptmanager PartialPageRendering=true

Please help, I'm going insane.

Then a lesser worry for me, if you know,, how can I give a textbox located in A focus (cursor) after an update?

Set the ChildrenAsTriggers of UpdatePanel A to FALSE

Thanks


I did that and I'm still getting it.

Panel A's Page_load event also gets fired before B's. and the tmr is definitely registered only to B. the tmr is also located inside the B panel. The is a UpdateProgress control inside A and it triggers with B and A.

anything else anyone cant think of...

thanks in advance for any tips.


did you ever figure out this issue?

I did, however it was one of those things where I just kept moving things around and it eventually worked. But I will say that my panel A's (the parent) will still have its page_load event fired when b is updated, I just have to test to see if the timer is what caused the postback and if so run my code to change what I need to in B and change nothing in A.

Panel A (parent) is set to conditional and children as triggers False,

Panel B (nested) is set to update always with children as triggers set to true.

the timer is inside B but is NOT registered is a trigger.

On error page to trigger an e-mail back home

Hi,

My site is working fine and I have custom error page, which comes up when there is a problem that states the usual reassuring words that the problem will be looked into etc.

How can I code it so that when the error message does show up, it automatically sends me an e-mail which either simply alerts me there is a problem, or more importantly, gives me a copy of the server error and copy of the stack trace, so that I can begin to try and resolve the issue.

I'm sure this is a standard thing, but I just can't find where it goes in or the exact syntax. All help is greatly appreciated, even just referring URL's.

Tia

Try the following. I've not yet given it a go, but if you find it works, let us know!.
http://blog.lotas-smartman.net/archive/2004/10/03/emailingexceptionsforremotetesting.aspx

I got the code and will try it tomorrow, I'm supposed to be working right now, so don't want to open all my programs (I don't have that much ram on this unit). I'll definitely get back to you on it however :-)

Thanks Groggy (I'm in Sydney, where you at?)...