G
Griff
I'm a complete novice to ASP.NET and have two questions - the first is
conceptual and the other is technical.
Conceptual:
I envisage having a web site that has a search facility displayed in the top
corner of every page. Seems sensible to me to have this as a control? So,
no matter what is displayed in the main body of the page, a user can choose
to search the site for, say, a product. What I would expect is that this
control would search the database and return either a single product or a
whole bunch of similar products based on the search criteria. I presume
that I would have two further controls - one to display a single product in
full detail and another to display a set of similar products in "minimal"
detail. The search control would then use the correct control in the main
body of the page. Does this sound sensible, or is this a poor design
(thinking also in terms of scalability). If poor, what would be a better
concept?
Technically:
Based on the above concept, I have one control [search] "activating" another
specific control [single product display] when it could have "activated"
other controls, e.g. the [multiple products display]. I've no idea yet how
to get this to work and any advice on how to get up to speed on this ultra
quickly would be of great help to me.
Many thanks in advance
Griff
conceptual and the other is technical.
Conceptual:
I envisage having a web site that has a search facility displayed in the top
corner of every page. Seems sensible to me to have this as a control? So,
no matter what is displayed in the main body of the page, a user can choose
to search the site for, say, a product. What I would expect is that this
control would search the database and return either a single product or a
whole bunch of similar products based on the search criteria. I presume
that I would have two further controls - one to display a single product in
full detail and another to display a set of similar products in "minimal"
detail. The search control would then use the correct control in the main
body of the page. Does this sound sensible, or is this a poor design
(thinking also in terms of scalability). If poor, what would be a better
concept?
Technically:
Based on the above concept, I have one control [search] "activating" another
specific control [single product display] when it could have "activated"
other controls, e.g. the [multiple products display]. I've no idea yet how
to get this to work and any advice on how to get up to speed on this ultra
quickly would be of great help to me.
Many thanks in advance
Griff