Forum start
-
Register
Name
Password
Forgot your password?
New message
You got 0 new message(s) in your inbox
To inbox
Close
Forum start
>
web
>
development
> ASP/VB Coding question
Quickview
Author
Thread
Sniper Mike
Member
Location:
Detroit
Registered:
7/23/2006
Warnings:
0
ASP/VB Coding question
I am working on an assignment that requires me to have a drop down menu with options of colors. When the user selects one of those colors the page needs to refresh and change the object to that specific color. I was wondering how to go about doing this?
I already have the list added with colors and shows the list in asp code page. It also created a menu section in the visual basic code page which was completely blank. I just don'
t know how to approach the coding of when the user clicks a color it changes it to the color selected?
__________________
Micah Bryan
Sniper Mike (gaming name)
Micah5889@gmail.com
"Google is a great site!"
9/21/2010 21:55
Link
- Ip: Logged - Quote:
byerspc
Admin
Location:
South Bend, IN
Registered:
4/14/2006
Warnings:
0
One option is to have an optional query string param so when they choose a color response.redirect to your page with that query string param
__________________
byerspc
byerspc@gmail.com
9/23/2010 21:34
Link
- Ip: Logged - Quote:
Sniper Mike
Member
Location:
Detroit
Registered:
7/23/2006
Warnings:
0
I figured it out after messing with it some more. I ended up doing if statements that tested if the object was selected then changed the other object'
s properties. It worked when I set a property that automatically refreshes the page with appropriate changes.
__________________
Micah Bryan
Sniper Mike (gaming name)
Micah5889@gmail.com
"Google is a great site!"
9/24/2010 09:12
Link
- Ip: Logged - Quote:
tr
Admin
Location:
Registered:
4/11/2006
Warnings:
0
wow!
__________________
peace and java
9/24/2010 10:29
Link
- Ip: Logged - Quote:
byerspc
Admin
Location:
South Bend, IN
Registered:
4/14/2006
Warnings:
0
That sounds very un MVC. Shame shame. Just dropping a control on a form that always posts back aye?
__________________
byerspc
byerspc@gmail.com
9/24/2010 14:01
Link
- Ip: Logged - Quote:
cds0528
Researcher
Location:
other side of the world
Registered:
6/27/2006
Warnings:
0
sounds like you picked the most difficult method possible haha
__________________
"The glass is neither half-empty or half-full, it'
s twice as big as it needs to be."
10/16/2010 23:42
Link
- Ip: Logged - Quote:
byerspc
Admin
Location:
South Bend, IN
Registered:
4/14/2006
Warnings:
0
ajax???
Javascript????
__________________
byerspc
byerspc@gmail.com
10/18/2010 16:35
Link
- Ip: Logged - Quote:
Forum start
>
web
>
development
> ASP/VB Coding question
Quick reply
You need to login before you can post.
Powered by ASPBB v0.5.2
©
2004-2006 ASPBB Developers team