By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,142 Members | 1,937 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,142 IT Pros & Developers. It's quick & easy.

creating a data entry form

P: n/a
I want to build a data entry form for creating and updating info on
something.

When I'm first creating an item all the fields need to be editable. There
after some fields become readonly. Most of these fields are text based, and
I really want to have them appear as a label rather than a text box that is
read only.

I really want different behaviour for creation, edit and view. I guess I
need to write a templated data-bound control.

The DataList server control is a close match, but doesn't have sufficient
templates for me.

Is there an example of adding a template to a DataList Control?

Any other advice?

Thanks
Martin

Nov 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi Martin,

is this what you are looking for ?

http://samples.gotdotnet.com/quickst...bdatalist.aspx

Regards
Ashish M Bhonkiya

"Martin" <x@y.z> wrote in message
news:e9**************@TK2MSFTNGP11.phx.gbl...
I want to build a data entry form for creating and updating info on
something.

When I'm first creating an item all the fields need to be editable. There
after some fields become readonly. Most of these fields are text based, and I really want to have them appear as a label rather than a text box that is read only.

I really want different behaviour for creation, edit and view. I guess I
need to write a templated data-bound control.

The DataList server control is a close match, but doesn't have sufficient
templates for me.

Is there an example of adding a template to a DataList Control?

Any other advice?

Thanks
Martin


Nov 18 '05 #2

P: n/a
Hi Ashish,

I think I need more templates than the DataList control provides - I want
distinct templates for create, edit and view. As far as I can tell DataList
has templates for edit and view, but not create. My requirement is that
some fields are only editable at create time, not subsequently.

Martin

"Ashish M Bhonkiya" <bh******@hotmail.com.nospam> wrote in message
news:OZ**************@TK2MSFTNGP09.phx.gbl...
Hi Martin,

is this what you are looking for ?

http://samples.gotdotnet.com/quickst...bdatalist.aspx

Regards
Ashish M Bhonkiya

"Martin" <x@y.z> wrote in message
news:e9**************@TK2MSFTNGP11.phx.gbl...
I want to build a data entry form for creating and updating info on
something.

When I'm first creating an item all the fields need to be editable. There after some fields become readonly. Most of these fields are text based,

and
I really want to have them appear as a label rather than a text box that

is
read only.

I really want different behaviour for creation, edit and view. I guess I need to write a templated data-bound control.

The DataList server control is a close match, but doesn't have sufficient templates for me.

Is there an example of adding a template to a DataList Control?

Any other advice?

Thanks
Martin



Nov 18 '05 #3

P: n/a
Hi Martin,

AFIK, for adding the data you may need to have a seprate template to capture
the input data
Look here and leme know if this helps

http://it.maconstate.edu/tutorials/A...pnet11-06.aspx

Regards
Ashish M Bhonkiya

"Martin" <x@y.z> wrote in message
news:uq**************@TK2MSFTNGP11.phx.gbl...
Hi Ashish,

I think I need more templates than the DataList control provides - I want
distinct templates for create, edit and view. As far as I can tell DataList has templates for edit and view, but not create. My requirement is that
some fields are only editable at create time, not subsequently.

Martin

"Ashish M Bhonkiya" <bh******@hotmail.com.nospam> wrote in message
news:OZ**************@TK2MSFTNGP09.phx.gbl...
Hi Martin,

is this what you are looking for ?

http://samples.gotdotnet.com/quickst...bdatalist.aspx

Regards
Ashish M Bhonkiya

"Martin" <x@y.z> wrote in message
news:e9**************@TK2MSFTNGP11.phx.gbl...
I want to build a data entry form for creating and updating info on
something.

When I'm first creating an item all the fields need to be editable. There after some fields become readonly. Most of these fields are text
based,
and
I really want to have them appear as a label rather than a text box
that is
read only.

I really want different behaviour for creation, edit and view. I
guess I need to write a templated data-bound control.

The DataList server control is a close match, but doesn't have sufficient templates for me.

Is there an example of adding a template to a DataList Control?

Any other advice?

Thanks
Martin




Nov 18 '05 #4

P: n/a
I'm going to follow the suggestion from else where on this newsgroup to use
the header or footer template

Thanks
Martin

"Ashish M Bhonkiya" <bh******@hotmail.com.nospam> wrote in message
news:ei****************@TK2MSFTNGP11.phx.gbl...
Hi Martin,

AFIK, for adding the data you may need to have a seprate template to capture the input data
Look here and leme know if this helps

http://it.maconstate.edu/tutorials/A...pnet11-06.aspx

Regards
Ashish M Bhonkiya

"Martin" <x@y.z> wrote in message
news:uq**************@TK2MSFTNGP11.phx.gbl...
Hi Ashish,

I think I need more templates than the DataList control provides - I want
distinct templates for create, edit and view. As far as I can tell

DataList
has templates for edit and view, but not create. My requirement is that
some fields are only editable at create time, not subsequently.

Martin

"Ashish M Bhonkiya" <bh******@hotmail.com.nospam> wrote in message
news:OZ**************@TK2MSFTNGP09.phx.gbl...
Hi Martin,

is this what you are looking for ?

http://samples.gotdotnet.com/quickst...bdatalist.aspx

Regards
Ashish M Bhonkiya

"Martin" <x@y.z> wrote in message
news:e9**************@TK2MSFTNGP11.phx.gbl...
> I want to build a data entry form for creating and updating info on
> something.
>
> When I'm first creating an item all the fields need to be editable.

There
> after some fields become readonly. Most of these fields are text

based, and
> I really want to have them appear as a label rather than a text box that is
> read only.
>
> I really want different behaviour for creation, edit and view. I

guess
I
> need to write a templated data-bound control.
>
> The DataList server control is a close match, but doesn't have

sufficient
> templates for me.
>
> Is there an example of adding a template to a DataList Control?
>
> Any other advice?
>
> Thanks
> Martin
>
>
>
>
>



Nov 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.