weird bug with ImageButton.. i think??

  • Thread starter Thread starter Brian
  • Start date Start date
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

---------------------------------------------------------
 
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.
 
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)
 
Back
Top