Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > creating a data entry form

Reply
Thread Tools

creating a data entry form

 
 
Martin
Guest
Posts: n/a
 
      05-27-2004
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





 
Reply With Quote
 
 
 
 
Ashish M Bhonkiya
Guest
Posts: n/a
 
      05-27-2004
Hi Martin,

is this what you are looking for ?

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

Regards
Ashish M Bhonkiya

"Martin" <> wrote in message
news:...
> 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
>
>
>
>
>



 
Reply With Quote
 
 
 
 
Martin
Guest
Posts: n/a
 
      05-27-2004
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" <> wrote in message
news:...
> Hi Martin,
>
> is this what you are looking for ?
>
> http://samples.gotdotnet.com/quickst...bdatalist.aspx
>
> Regards
> Ashish M Bhonkiya
>
> "Martin" <> wrote in message
> news:...
> > 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
> >
> >
> >
> >
> >

>
>



 
Reply With Quote
 
Ashish M Bhonkiya
Guest
Posts: n/a
 
      05-27-2004
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" <> wrote in message
news:...
> 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" <> wrote in message
> news:...
> > Hi Martin,
> >
> > is this what you are looking for ?
> >
> > http://samples.gotdotnet.com/quickst...bdatalist.aspx
> >
> > Regards
> > Ashish M Bhonkiya
> >
> > "Martin" <> wrote in message
> > news:...
> > > 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
> > >
> > >
> > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Martin
Guest
Posts: n/a
 
      05-27-2004
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" <> wrote in message
news:eiL4CC%...
> 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" <> wrote in message
> news:...
> > 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" <> wrote in message
> > news:...
> > > Hi Martin,
> > >
> > > is this what you are looking for ?
> > >
> > > http://samples.gotdotnet.com/quickst...bdatalist.aspx
> > >
> > > Regards
> > > Ashish M Bhonkiya
> > >
> > > "Martin" <> wrote in message
> > > news:...
> > > > 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
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a 'general object' in an entry form dev_prog@freemail.com.au Java 2 10-24-2007 07:51 PM
Allowing entry of a Carriage Return during data entry Mike Owen ASP .Net Web Controls 3 07-27-2006 02:34 PM
Form field entry directs to diff URLs based on entry? AtomicBob HTML 14 05-02-2006 07:07 AM
creating a data entry screen without the gridview. hazz ASP .Net 9 05-01-2006 07:54 PM
Form entry to Time part of database Date entry? Noozer Javascript 2 08-01-2005 08:10 PM



Advertisments