473,395 Members | 1,978 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Nested Controls & DataGrid - Shopping Cart

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.
Nov 18 '05 #1
1 1525
I found an answer to this.
"Trevor Oakley" <sa***@trevoroakley.com> wrote in message
news:fc**************************@posting.google.c om...
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.

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Juba | last post by:
Hello, I have the following code placed at my Page_Load event and after the Datagrid is binded, so it is not empty. The problem is that the variable isclass is always returning null and I am...
2
by: Jon | last post by:
Hi, Working on a shopping cart app. I'm using a datagrid on the shopping cart page with boundcolumns to display Product name, cost, quantity etc - that all works fine. However I want to add a row...
1
by: Trevor Oakley | last post by:
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...
4
by: V. Jenks | last post by:
What seems like a simple thing is apparently not so straightforward? I have a datalist. Inside of that datalist is an <itemtemplate> secion which contains other server controls such as a...
3
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a...
5
by: Bala | last post by:
Hi, i have sample page contain 2 textboxes,1 datagrid and 1 command button. when ever i click the command button the text box values should goes to datagrid new row. but its not working. can...
7
by: isaac2004 | last post by:
hi i have a basic asp page that acts as an online bookstore. on my cart page i am having trouble generating 3 numbers; a subtotal, a shipping total, and a final price. here is my code i would...
12
by: Mark Rae | last post by:
Hi, I've just received a support call, and the initial diagnostics tell me that the user is running AOL 9 on WinXP Home. The problem relates to a custom-built shopping cart - in fact, it's...
1
by: jecha | last post by:
I'm implementing a shopping cart but am having a problem in checking out a person who has added item in his/her shopping busket.The code for the checkout.php script is given below <?...
2
by: Me LK | last post by:
I have a set of drop downs nested in a datagrid. Each drop down is a size or color for an item. Each row of the grid has a button which leads to a cart. When a user selects something from the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.