Jump to content

Recommended Posts

Yeah that's right... but in ASP/ASP.NET you don't have to specify the name of any variables... was hoping for something more generic. Then you've also got the case of image buttons, etc. The best thing I can come up with right now relies on a naming convention for the html forum elements... btnSearch (for example). Then search the post array for any variables prefixed with btn, then check if it's set or in the case of an image button if x or y coordinates exist. Seems like there has to be a better way though. I think just being able to say, IsPostBack at the top of my form would be more elegant, I dunno.

Ok, great guys. You've given me some good insight to consider. I'll look at both methods more thoroughly before making my final decision. Ultimately this is going to be implemented into a quasi rapid application development framework for PHP. Still trying to do some planning and right now and just throwing out ideas/asking for suggestions as things come to mind. I appreciate all the help.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.