Author: donit | Posted on: 11/12/2009 12:55:58 AM | Views : 404

Hi,
 
I have a page where I want to show different controls depending on data in a database retrieved by clicking a button on the page.
 
I?ve created several custom controls: nested repeater, html editor, text boxes, etc.
 
On the top of the page I have several asp image buttons (ibGo, ibNext, ibPrev) and a dropdown list. When a button clicks it gets the value from the dropdown list and data from db that identifies what control to download.
On the same page I have a runat server divViewControls where I?d need to download customs controls. It can be one or several controls
 
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack Then
 
? Download dropdown list values and gets data from the db that would identify what control to download assigning the value to a ...

Go to the complete details ...