Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design Idea
Message
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00889399
Message ID:
00889403
Views:
20
>I wnat a web form to perform double duty...first is this possible...
>
>I want the form to be a find form and a data entry form.
>
>I want o have all the objects on the form at load. If the user types values into the fileds and then clicks find i want to go gte the data, then represent on the screen what they asked for or a grid of results if more than one entity existed. this would be a logical AND build for the filert so if they filled in more than one field it would be field1 AND field2 as the search criteria.
>
>
>Does this make sense or should i build a find screen for each interface screen.
>
>Shawn

Yes you can.

Your form can have a 'search' button and a 'update' button sharing the same form.

On the server check for the post variable with the name of the button.
FYI when you click on a button in a web form, the button name and value are sent to the server, if there is another button in the same form the other button name is not sent at all.

HTH :)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Reply
Map
View

Click here to load this message in the networking platform