events

  • Thread starter Thread starter Loui Mercieca
  • Start date Start date
L

Loui Mercieca

I have a problem regarding events. Whenever a page is first rendered, any
events do not work. Hence whenever i click on any autopostback control and
the page is postd back, then it works fine. Can anyone help me out?
 
Make sure that you are registering the events in the right place
(during initialization). Otherwise you might be registering them after
they should have been called.

- Visar Gashi (MCP)
 
I registered them in the 'InitializeComponent' method and when the control
is programatically generated, it is initialised in the page load events.
 
Did you disable viewstate?
Are you injecting controls dynamically after page init?
 
No i did not disable viewstate, and i am injecting controls dynamically int
the page_load event ( after the init )
 
I disabled the viewstate but had no success

Loui Mercieca said:
No i did not disable viewstate, and i am injecting controls dynamically
int the page_load event ( after the init )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top