G
George Leithead
Hi all,
Would be obliged if you could give me some advice on how to do this:
I have a requirement that the client wants me to build a Web control
that can be dragged and dropped from the tool box, just like any other.
Ok so far. However, this control needs to provide a number of
controls within it (let's say a couple text boxes, a button and a
datagrid), and some basic validation.
Firstly, how do I go about this. Is it a composite control, or
something else? Some code direction would be helpful.
Secondly, upon postback I need to re-populate the controls and also
populate the datagrid with the esults from a Web service.
Lastly, I would really like to provide them with as much flexibility in
the overall control, so that they can position the composite controls
them selves anywhere within the page. Would it be better providing a
number of different controls, then somehow making them work together
(some advice and code direction would be benefitial, especially in C#
for ASP.NET 2.0).
Ideas anyone?
George Leithead
Would be obliged if you could give me some advice on how to do this:
I have a requirement that the client wants me to build a Web control
that can be dragged and dropped from the tool box, just like any other.
Ok so far. However, this control needs to provide a number of
controls within it (let's say a couple text boxes, a button and a
datagrid), and some basic validation.
Firstly, how do I go about this. Is it a composite control, or
something else? Some code direction would be helpful.
Secondly, upon postback I need to re-populate the controls and also
populate the datagrid with the esults from a Web service.
Lastly, I would really like to provide them with as much flexibility in
the overall control, so that they can position the composite controls
them selves anywhere within the page. Would it be better providing a
number of different controls, then somehow making them work together
(some advice and code direction would be benefitial, especially in C#
for ASP.NET 2.0).
Ideas anyone?
George Leithead