How many controls do I use on a form?

  • Thread starter Thread starter jm
  • Start date Start date
J

jm

I am trying to understand the basic ASP.NET structure.

I have a data entry form on the page.

I have web controls to display data.

On a separate page (I realize it could be on the same one), but on a
separate page, a user selects from a list a link of a record or they
click to create a new order.

If they click new order, the asp.net page in question has the panel
visible (textboxes, labels, etc.) for data entry. If the users
clicked the link to an existing record, this same page will make the
entry panel invisible and the datalist, grid or whatever will become
visible and display the data bound to it.

Now, here is my question. Should I keep the two separate panels - one
for data entry and one for displaying data, OR, am I supposed to
combine them somehow into one webcontrol so that the datalist or
datagrid serves up nothing, when it is a new record and displays data
when there is.

Thank you.
 
It seems you could do it either way.
I see no major benefits of one over the other.
Do whatever is easiest and will make your users the happiest.
 
If you say so.
I don't know your app as well as you.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net


jm said:
Wouldn't the benefit be that I wouldn't have to write but one set of
textboxes in one panel?

"Steve C. Orr [MVP, MCSD]" <[email protected]> wrote in message
It seems you could do it either way.
I see no major benefits of one over the other.
Do whatever is easiest and will make your users the happiest.
 
Back
Top