473,378 Members | 1,447 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,378 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 1521
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.