ASP.Net Page Life Cycle and Chart Clicking Bug

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Darren
Newbie
Newbie
Posts: 2
Joined: Mon Jan 31, 2005 5:00 am

ASP.Net Page Life Cycle and Chart Clicking Bug

Post by Darren » Thu Jul 14, 2005 10:08 am

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

Marc
Site Admin
Site Admin
Posts: 1265
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Thu Jul 14, 2005 11:12 am

Hello Darren,

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

Regards,
Marc Meumann
Steema Support

Marc
Site Admin
Site Admin
Posts: 1265
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Mon Jul 18, 2005 4:56 pm

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
Steema Support

Darren
Newbie
Newbie
Posts: 2
Joined: Mon Jan 31, 2005 5:00 am

Post by Darren » Wed Jul 20, 2005 8:28 am

Thanks for your quick resolution..I look forward to the next release!!

Regards

Darren Voisey

Post Reply