Page 1 of 1

ASP.Net Page Life Cycle and Chart Clicking Bug

Posted: Thu Jul 14, 2005 10:08 am
by 8128793
Normal ASP.Net page lifecycle for a button click is
OnInit
PageLoad
ButtonClick
SaveViewState

but a click on a TeeChart has the event occur last
OnInit
PageLoad
SaveViewState
ChartClick

This affects us in that we cannot store any data within the page at this point or indeed alter any attributes of controls etc. The only solution we have is to redirect to another page changing the url. Calling SaveViewState() a second time also has no affect.

Is this event order by design? Can I intercept the click earlier in the page lifecycle? It really is a pain and totally different to any other web control.

Regards,

Darren

Posted: Thu Jul 14, 2005 11:12 am
by Marc
Hello Darren,

There is no lifecycle order difference intended in the WebChart Component configuration. We'll take a look.

Regards,
Marc Meumann

Posted: Mon Jul 18, 2005 4:56 pm
by Marc
Hello Darren,

TeeChart's positioning checks for clicks will be moved from Render to PreRender to make Chart event calls before SaveViewState. We'll put that into the interim test build this week (Wednesday).

Regards,
Marc Meumann

Posted: Wed Jul 20, 2005 8:28 am
by 8128793
Thanks for your quick resolution..I look forward to the next release!!

Regards

Darren Voisey