Here's a POSER for you, need multiple server side forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

My boss has put a couple of restraints on me that has me tearing out my hair.
Here is my problem.

On a particular asp page I need to use server side controls so that I do
some fairly complex logic in C#.

There is a background graphic that needs to stay in place and a big empty
area where my result set is displayed. In other words, the page cries out for
frames but my boss won't hear of that. No frames at all.

OK, I have a panel that allows me to make a fairly complex set of search
criteria appear and vanish. When the search criteria is visible the result
set is not and vice versa. I use a button to toggle this.

There are some buttons, including the one that toggles the search, another
that creates a new purchase order, and some simple search criterias (the
other that I spoke of is a detailed search, almost a report writer). These
have to stay outside the scrolling area.

I have a div to provide a scrolling area for my result set.

It turns out that I can easily put everything, the New button, etc, inside
the div and it will scroll, but as I said, the new button and a few others
must be outside the scroll area.

When I put the fixed controls outside the div I was told that they need a
form since they are server side.

When I added a second form I was told that I am only allowed one server side
form per page.

(sigh)

I've run out of ideas. Can anybody point me in the right direction?
 
Essentially it consisted of playing with the div, moving it around, up and
down, until I was able to encapsulate everything that I wanted and leaving
everything that I didn't outside the div.

It taught me a lesson though. It's easier to do the div FIRST, before I have
a bunch of stuff on the page.
 
DIVs are meant as general formatting blocks. Tables are meant to be
strictly data formatting blocks. Frames are meant to be page separation
blocks. At least that is how it used to be classified.

Normally, use frames only when dealing with pages that MUST be divided.
Use DIVs for formatting your site (menu, top-bar, content, etc) via
templates. Finally use tables to organize your data, for example, in
the style of a spreadsheet view.
 
Back
Top