Click to See Complete Forum and Search --> : IIS difficulties


Agent
June 18th, 2001, 09:56 PM
I'm currently learning IIS development with Visual Basic 6. What I am trying to do is figure out how to interact between the application and the web page, i.e. clicking a submit button which relays information to the IIS application which, in turn, sends a proper respones back to the user.

So, my question. If I create a simple event in a Webclass under a templated HTML page, how do I tell the submit button to access the application and run that event?

Thank you in advance for ANY help that you may bestow upon me.

--Daniel

Mikael99
July 18th, 2001, 08:56 AM
In the template and form header u add a tag say:
<form action="<wc@urlDoIt></wc@urlDoIt>" method="post>
and the button within the form:
<input type="submit" name="whatever" value="Test">

and in the processTag for that template u then type
If TagName = "wc@urlDoIt" Then
TagContents = URLFor(YourWebItem, "event")

By doing this the tag <wc@urlDoIt> is replaced by the correct urlf or the function .
If u dont understand u can ask again