Thanks for the reply, but i need access to the viewstate in order to determine the number of controls to create so i can't create them in the page_init event.