Hi,
a simple question:
if i have a class who generate the code for a page by returning a
system.ui.webcontrols.table (webcontrols: table and button WITH EVENTS) and
the action on this button change the look (delete a row for example)
how can i do to fire events in my webforms to have the changes done BEFORE
re-generate controls with my class ?
if i do it in page load, the events have not yet done, i have one time delay
for good display,
il i do it in page_prerender, the events will not works !!
what is the best practice ?
great thanks !
ClaudeHi Claude,
The following MSDN article explains the entire LifeCycle and order of events
in a Control (including Page):
http://msdn.microsoft.com/library/d...onLifecycle.asp
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.
"Claude" <claude_moreau_fte@.hotmail.fr> wrote in message
news:421e05f4$0$11682$8fcfb975@.news.wanadoo.fr...
> Hi,
> a simple question:
> if i have a class who generate the code for a page by returning a
> system.ui.webcontrols.table (webcontrols: table and button WITH EVENTS)
> and the action on this button change the look (delete a row for example)
> how can i do to fire events in my webforms to have the changes done BEFORE
> re-generate controls with my class ?
> if i do it in page load, the events have not yet done, i have one time
> delay for good display,
> il i do it in page_prerender, the events will not works !!
> what is the best practice ?
> great thanks !
> Claude
>
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment