|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to refresh a dropdownlist inside a DetailsView?Hi
I have a DetailsView which datasource is from Northwind's products table. The "Select Category"- dropdownlist is used to select the category for the new product. While inserting a new product the user might have a situation, that the new product's category is a one does not exist in the Categories table. By now I have used an additional Category-DetailsView inside the Products-DetailsView. Everything goes fine until refreshing the "Select Category"-ddlist by Databind method which ,however, clears textboxes (Product Name etc.have to be refilled). What is the best procedure to add the new category without refilling the product details again? With rgds Hi
Problem solved by using a MagicAjax's AjaxPanel. Now it is easy to add a new category while adding a new product without refilling the form. But, however, if You have some other solution, I'll be glad to hear that too. Rgds Matti Purojärvi kirjoitti: Show quoteHide quote > Hi > > I have a DetailsView which datasource is from Northwind's products table. > The "Select Category"- dropdownlist is used to select the category for the > new product. > > While inserting a new product the user might have a situation, that the new > product's category is a one does not exist in the Categories table. > By now I have used an additional Category-DetailsView inside the > Products-DetailsView. Everything goes fine until refreshing the "Select > Category"-ddlist by Databind method which ,however, clears textboxes > (Product Name etc.have to be refilled). > > What is the best procedure to add the new category without refilling the > product details again? > > With rgds
Web UserControl DropDownlist control event not working...
generating textboxes on the fly ASP.Net (2003) DataGrid doesn't fire PageIndexChanged Assign database value to a RadioButtonList control Inheritance Create a word like doc from C#.NET GridView W/Drop Down List Question multiView vs panel updating multiple tables from a formView Blinking Labels and Text in a grid |
|||||||||||||||||||||||