weird bug with ImageButton.. i think??

B

Brian

I replaced my submit buttons with image buttons on my forms.. I need to
display the results of the fields that were entered. On my test
server, it works great, but on my live server, I am seeing Button1.x
and Button1.y. Here is my code. Can someone tell me why i can't stop
them from showing on the live server?? TIA


------------------------------------------------------------

Dim answer As String
Dim AnsStr
For Each answer In Request.Form
'references to answer return the name of the item
If (answer = "__VIEWSTATE") Or (answer = "Button1.x") Or
(answer = "Button1.y") Then
Else

'If (Request.Form(answer) <> "") Then


AnsStr = AnsStr & answer & " <br> "

'End If

End If
Next
Session("answers") = AnsStr
MessageSent.Text = "the answer is " & AnsStr

---------------------------------------------------------
 
B

Brian Ciarcia

Thanks for the reply.. I don't know why, but it seems to be ok now,
after the 5th time of uploading the code.. I guess my problem is that
I'm doing the coding in VS.net and doing the graphical part and ftp'ing
in DWMX2004.. I really wish Macromedia would fix this .net issue.
 
B

Bruce Barker

add a value to the image button, and ignore the x & y values which are the x
and y coordiants of where the user clicked on the button (sent by the
browser)

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top