|
I'm not sure what your question is. If a drop occurs, you add one to the list of items. This just always works, no matter what the starting quantity was, right ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I have one DataList with products and in this DataList are columns Image of product,Name of product,price.
I click with mouse one product from DataList and I drop in shopping cart and if this product already exists in shopping cart then quantity of this product must increase by 1, but if this product don't exists then I have to add in shooping cart with quantity 1.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
I got that. But, you seem to be saying that you've found articles, have some code to work with, and the adding of a second item is your issue ? What sort of answer are you hoping for here ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: and the adding of a second item is your issue ?
YES
When I dropp product it displayed as new item,product which i add may exists in shopping cart and in that case product must increase quantity per 1.
Sorry for my not detailed question.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
OK, so the issue is entirely related to rendering ? Why not get the list of items in the cart back from AJAX every time and display that, and then the code on the back end can make sure that like content is grouped ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hello,
I was wondering the pros and cons of placing a logout link on a master page.
Thanks for sharing your knowledge.
|
|
|
|
|
I'm not sure that I see any issues at all, what are you thinking might be an issue ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Christian,
With my limited knowledge, I was not sure. So I thought I better ask the forum.
Thanks so much for your input.
Ekjon
|
|
|
|
|
How to populate a listbox with all the file names from a given directory in the local drive at runtime.how can i hard code to get the directory name but not the file names.please anyone help me to do this.
thanx
valli
|
|
|
|
|
valli rajya lakshmi wrote: from a given directory in the local drive at runtime
local drive for which runtime. When doing web development you have two different runtimes, Server and Client?
led mike
|
|
|
|
|
i want at client runtime, because under that list box i want to place two buttons "get file info" and "delete file".when i select any file and click "get file info" it should display the file charecteristics like
createdTime, LastModifiedTime, whether it is an hidden file, readonly file, etc.when i selected a read only file the "delete file" button should disabled.so i think this is client runtime.
thanku
valli
|
|
|
|
|
Ok, never mind. Good luck
led mike
|
|
|
|
|
please can you help me in getting this.
|
|
|
|
|
You can't do it in ASP.NET. You CAN do it in an activex control or java applet.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
ok.is it possible when it is a server side ?
|
|
|
|
|
Again - you cannot use ASP.NET code to read the file system on the client. You can host an ActiveX control or Java control ( making this not an ASP.NET question ) which will do what you want. Yes, by definition, these are hosted on the server and work on the client.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Well I guess if you have not yet completed that brick wall for slamming your head into, this is fair substitute.
led mike
|
|
|
|
|
So I guess you thought my decision to abstain was premature? Now what do you think?
led mike
|
|
|
|
|
*grin* I could hear your cries of frustration, as I read the thread.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
What you want is physically not possible. Imagine if you could write code that accessed a clients file system, deleting and looking at files ? No-one would use the web if this were possible.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hai this is anitha
am developing an asp.net project on road maps . road maps are inserted in to a imagemap at runtime.i want to create a code for changing the color of the the entire road in which mouse is clicked . (imagine there is no junctions)the code should able to move through the road from starting pixel to the ending pixel of the line on both direction.
thanks in advance
modified on Thursday, December 4, 2008 1:12 PM
|
|
|
|
|
1 - don't ask twice
2 - there is no flood fill in GDI+, don't ask me why. You can interop to use the C++ flood fill method.
3 - of course, you realise that doing it this way means you need to use javascript to detect a mouse click, then send the point to the server, then the user has to wait while the new bitmap is created and then loaded on the client again ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Just to be more clear, there is no way you can do what you're asking in ASP.NET. If you want it to happen on the client end, it will have to be in an activex control or applet.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hai this is anitha
am developing an asp.net project on road maps . road maps are inserted in to a imagemap at runtime.i want to create a code for changing the color of the the entire road in which mouse is clicked .
thanks in advance
|
|
|
|