Nested Controls & DataGrid - Shopping Cart

T

Trevor Oakley

I have been learning ASPNET from ASP.NET Kick Start (Stephen Walther),
and I have hit a problem with adding a DropDownList onto a DataGrid. I
have added some first results for searches at
redburg.co.uk/search.aspx.

Problem - Shopping Cart
=======

The compiler fails to bind correctly the datasource and also the List
Object is not recognised. Since it is embedded I cannot use right
mouse properties from Design, so I just coded into the Init method and
manually changed the HTML.


Part Solution
=============

There is a good example in Kick Start showing how to show Text and
then use a List Control when Edit is used. But what I need is a List
Control showing at the bind stage, so it is clear to users (shopping
cart) that the data item is adjustable. Otherwise, the user has no
idea the field is changeable - just data is displayed. The actual data
is a delivery charge - it varies accordingly to time, eg 1 day
service, 7 day etc.

I would like any help, especially a URL with help pages, eg msdn. A
lot of sites/books cover the basics Data Grid and controls, but not
nesting controls in grids.
 

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

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top