Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 03, 2011 04:33 PM by sansan
Mar 03, 2011 04:25 PM|LINK
I have a BLL (Business Logic Layer) and a DAL (Data Access Layer) created.
I drop a dropdownbox onto my web form, select DataSource and select ObjectDataSource.... Everything works but i would like a separate control to be based on the selected item of this dropdown, therefore i looked at the SelectedIndexedChange event where i
declared an instance of my BLL and called the method - but this doesnt work. How should i be doing this?
I know there is an AJAX control available for this but im trying to use layers to do this at present before jumping into AJAX.
Mar 03, 2011 04:33 PM|LINK
i would like a separate control to be based on the selected item of this dropdown, therefore i looked at the SelectedIndexedChange event
Set AutoPostBack="true" for the DropDownList in the page markup. Then, You can call the method in the BLL in SelectedIndexChanged event.