469,323 Members | 1,601 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,323 developers. It's quick & easy.

IIS server side script question

I'm very new at web programming, but I was working through an example from
Beginning VB.net and hit a wall. In the example, you setup 2 text boxes and
2 pushbuttons. All that happens is the text in the boxes changes when you
hit the pushbuttons, but one runs on the client, the other on the server.

I can get the client to fine, it's the server that isn't running. I'm
running IIS local on my machine, but I don't know if I have something
screwed up or not. I've modified the controls to be server-side controls and
then:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

'Put user code to initialize the page here

txtServerTextField.Value = "Clik the button ==>"

End Sub

Private Sub btnServerButton_ServerClick(ByVal sender As System.Object, ByVal
e As System.EventArgs)

txtServerTextField.Value = "Server-Side processing performed"

End Sub

So you see it doesn't do much but when I open the browser, the "Clik the
button ==>" isn't showing nor does it change when I click the pushbutton.

Have I got something configured incorrectly?


Jul 19 '05 #1
1 1704
I'd suggest a DotNet group...this one is ASP (classic) not .NET

--
----------------------------------------------------------
Curt Christianson (Software_AT_Darkfalz.Com)
Owner/Lead Designer, DF-Software
http://www.Darkfalz.com
---------------------------------------------------------
...Offering free scripts & code snippits for everyone...
---------------------------------------------------------
"Pete Lux" <pe******@theheritagegrp.com> wrote in message
news:eO**************@TK2MSFTNGP09.phx.gbl...
I'm very new at web programming, but I was working through an example from
Beginning VB.net and hit a wall. In the example, you setup 2 text boxes and 2 pushbuttons. All that happens is the text in the boxes changes when you
hit the pushbuttons, but one runs on the client, the other on the server.

I can get the client to fine, it's the server that isn't running. I'm
running IIS local on my machine, but I don't know if I have something
screwed up or not. I've modified the controls to be server-side controls and then:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

'Put user code to initialize the page here

txtServerTextField.Value = "Clik the button ==>"

End Sub

Private Sub btnServerButton_ServerClick(ByVal sender As System.Object, ByVal e As System.EventArgs)

txtServerTextField.Value = "Server-Side processing performed"

End Sub

So you see it doesn't do much but when I open the browser, the "Clik the
button ==>" isn't showing nor does it change when I click the pushbutton.

Have I got something configured incorrectly?

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by HarveyB | last post: by
5 posts views Thread by serge calderara | last post: by
6 posts views Thread by den 2005 | last post: by
4 posts views Thread by Erland | last post: by
5 posts views Thread by Ankur | last post: by
2 posts views Thread by FAQ server | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Gurmeet2796 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by listenups61195 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.