473,756 Members | 6,250 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Which Controls to use for inserting stocklevels on Admin side?

I'm developing a Garment Shopping Cart. On the Admin side, while
inserting the each Product details, the user has to choose options of
Colour Icons and Sizes for each Garment.
All the colour icons are displayed in a Datalist which checkboxes and
the Sizes( 3 mnths, 6 mnths, 12 mnths, 18 mnths, 24 mnths) are
displayed using Checkboxlist.
The user has enter Stocklevels for each colour and size selected for a
particular product. For example if the colours red, blue and yellow are
selected and amoung sizes if 3, 6 and 12 mnths are selected. They need
to enter Stocklevels for 3 mnths - red=25, blue=35, yellow=76 ; for 6
months-- red=35,.......s o on
But i'm not able to understand how to implement this..
Will that be a good idea to bind them in a Datalist with Labels and
Textboxs?
Can anyone guide me out please
Thanks in Advance for your time and help

Jun 8 '06 #1
4 1162
I would use a grid or a repeater. hth

Jose
"savvy" <jo******@gmail .com> wrote in message
news:11******** ************@y4 3g2000cwc.googl egroups.com...
I'm developing a Garment Shopping Cart. On the Admin side, while
inserting the each Product details, the user has to choose options of
Colour Icons and Sizes for each Garment.
All the colour icons are displayed in a Datalist which checkboxes and
the Sizes( 3 mnths, 6 mnths, 12 mnths, 18 mnths, 24 mnths) are
displayed using Checkboxlist.
The user has enter Stocklevels for each colour and size selected for a
particular product. For example if the colours red, blue and yellow are
selected and amoung sizes if 3, 6 and 12 mnths are selected. They need
to enter Stocklevels for 3 mnths - red=25, blue=35, yellow=76 ; for 6
months-- red=35,.......s o on
But i'm not able to understand how to implement this..
Will that be a good idea to bind them in a Datalist with Labels and
Textboxs?
Can anyone guide me out please
Thanks in Advance for your time and help

Jun 8 '06 #2
Thanks Jose for your reply and time
Lets say i used a repeater or grid
Here, each size has some number of colours icons underneath it.
how can you repeat the colours keeping the Size label constant
Lets say the user has selected red,blue, yellow and sizes 3 , 6 ,
12months , so

3mnths
-- Red
-- Yellow
-- Blue

6 mnths
-- Red
-- Yellow
-- Blue

12 mnths
-- Red
-- Yellow
-- Blue
how can i implement the above structure using the repeater or anything
Is it possible ?
if you can you give some clue that will be of great help?

Thanks

Jose Rodriguez wrote:
I would use a grid or a repeater. hth

Jose
"savvy" <jo******@gmail .com> wrote in message
news:11******** ************@y4 3g2000cwc.googl egroups.com...
I'm developing a Garment Shopping Cart. On the Admin side, while
inserting the each Product details, the user has to choose options of
Colour Icons and Sizes for each Garment.
All the colour icons are displayed in a Datalist which checkboxes and
the Sizes( 3 mnths, 6 mnths, 12 mnths, 18 mnths, 24 mnths) are
displayed using Checkboxlist.
The user has enter Stocklevels for each colour and size selected for a
particular product. For example if the colours red, blue and yellow are
selected and amoung sizes if 3, 6 and 12 mnths are selected. They need
to enter Stocklevels for 3 mnths - red=25, blue=35, yellow=76 ; for 6
months-- red=35,.......s o on
But i'm not able to understand how to implement this..
Will that be a good idea to bind them in a Datalist with Labels and
Textboxs?
Can anyone guide me out please
Thanks in Advance for your time and help


Jun 8 '06 #3
Savvy, this is a tough one, after rereading the problem, I might want to use
nested asp repeaters. this is nasty but it would give you the type of
control you need. this will help with the rendering. For the update though
you will have to loop thru the items and check for which ones are checked. I
will keep on thinking about this problem. HTH

Jose

outer asp repeater: sizes
inner asp repeater: colors, stock level s

it would look like this

size 3
Red stock level (textbox)
Blue stock level (textbox)
Jun 8 '06 #4
Thanks Jose for time and great help
I was doing my search on this side as well where i found out exactly
the same as u said.
Nested Repeaters is the best suited solution for this but i think its a
bit of pain.
Thanks for your help, probably i'll knock again soon

Jose Rodriguez wrote:
Savvy, this is a tough one, after rereading the problem, I might want to use
nested asp repeaters. this is nasty but it would give you the type of
control you need. this will help with the rendering. For the update though
you will have to loop thru the items and check for which ones are checked. I
will keep on thinking about this problem. HTH

Jose

outer asp repeater: sizes
inner asp repeater: colors, stock level s

it would look like this

size 3
Red stock level (textbox)
Blue stock level (textbox)
.
.
size 6
Red stock level (textbox)
Blue stock level (textbox)
.
.
size 9
Red stock level (textbox)
Blue stock level (textbox)
.
.
"savvy" <jo******@gmail .com> wrote in message
news:11******** *************@g 10g2000cwb.goog legroups.com...
Thanks Jose for your reply and time
Lets say i used a repeater or grid
Here, each size has some number of colours icons underneath it.
how can you repeat the colours keeping the Size label constant
Lets say the user has selected red,blue, yellow and sizes 3 , 6 ,
12months , so

3mnths
-- Red
-- Yellow
-- Blue

6 mnths
-- Red
-- Yellow
-- Blue

12 mnths
-- Red
-- Yellow
-- Blue
how can i implement the above structure using the repeater or anything
Is it possible ?
if you can you give some clue that will be of great help?

Thanks

Jose Rodriguez wrote:
I would use a grid or a repeater. hth

Jose
"savvy" <jo******@gmail .com> wrote in message
news:11******** ************@y4 3g2000cwc.googl egroups.com...
> I'm developing a Garment Shopping Cart. On the Admin side, while
> inserting the each Product details, the user has to choose options of
> Colour Icons and Sizes for each Garment.
> All the colour icons are displayed in a Datalist which checkboxes and
> the Sizes( 3 mnths, 6 mnths, 12 mnths, 18 mnths, 24 mnths) are
> displayed using Checkboxlist.
> The user has enter Stocklevels for each colour and size selected for a
> particular product. For example if the colours red, blue and yellow are
> selected and amoung sizes if 3, 6 and 12 mnths are selected. They need
> to enter Stocklevels for 3 mnths - red=25, blue=35, yellow=76 ; for 6
> months-- red=35,.......s o on
> But i'm not able to understand how to implement this..
> Will that be a good idea to bind them in a Datalist with Labels and
> Textboxs?
> Can anyone guide me out please
> Thanks in Advance for your time and help
>


Jun 9 '06 #5

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

Similar topics

2
2446
by: CharlesA | last post by:
Hi folks, I'm using ASP.net with Framework vs 1.1 I'm inheriting from a custom rolled master page class that is just that a class that inherits from web.ui.page but it has no designer associated with it. I want to generate some HTML inside the class and then that stuff will be on every actual .aspx page that inherits from my master page class. I want this to be output on every page (amongst other stuff)
1
1168
by: savvy | last post by:
I'm using MS SQL 2000. I developing a shopping cart where on the admin side when we are inserting or updating the products, there is a chance that a single product can fall into two categories therefore i'm giving the users a option of CheckBoxList control for the categories. The checkboxlist control is Database Databinded with categories. When a user selects couple of checkboxes, i'm storing both the categories seperated with a comma in...
2
1499
by: joeey | last post by:
I'm doing an online registration form and using ODBC to connect to my database. I'm new to programming thus I do not know most of the advance features for php and Access. I need help in inserting data into the table in Access. I created a .php file to insert the code but it does not work. Here is the code <?php $name = $_POST; $admin = $_POST; $gender = $_POST; $address = $_POST; $hometel = $_POST; $hp = $_POST; $email = $_POST;...
3
1261
by: edurazee | last post by:
I am from C# Winforms background and recently switched to ASP.NET in c#. After working with Winforms applications along with BusinessObjects, O/R Mapping frameworks, and logical layering techniques for months, I am just wondering, should we actually use ASP.NET ubiquitous xyzDataSource controls? We have our specific class-structures like: class MyClass : IMyClass, IPersistant { public int ID {get;set} .....
0
9303
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9894
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9679
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9541
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8542
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4955
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3651
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3141
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.