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 4 2926
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******** ******@TK2MSFTN GP11.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
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******@hotma il.com.nospam> wrote in message
news:OZ******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP11.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
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******** ******@TK2MSFTN GP11.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******@hotma il.com.nospam> wrote in message news:OZ******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP11.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
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******@hotma il.com.nospam> wrote in message
news:ei******** ********@TK2MSF TNGP11.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******** ******@TK2MSFTN GP11.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******@hotma il.com.nospam> wrote in message news:OZ******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP11.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 > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: gonzalo briceno |
last post by:
I have been using phplib for a while and I really like the framework
except for form creation. Maybe it is me but I in my opinion there
isn't a good way to create forms or should I say, everything else is
so well done that the way you create forms seems to be too cumbersome,
in particular making it so that a pull down menu selects a value...
|
by: Trent |
last post by:
I am in the design phase of a new database and am having a devil of a
time with a subform.
I have three tables that relate to problem - Suppliers tbl, Customers
tbl and a SuppliersCustomers tbl. The intent is to have the user enter
in spend information by customer with each supplier. Sounds simple
enough right?
The common fields in each...
|
by: Susan Bricker |
last post by:
Greetings. As a relative newcomer to Access, I am having trouble
deciding on how to design the form flow for updating and creating
related records. I'm looking for a variety of suggestions so that I can
decide what's best for the user and what's best for screen flow.
Here's the structure: I have what's called "an Event". Each Event can...
|
by: filbennett |
last post by:
Hi Everyone,
I'm generally unfamiliar with Access form design, but have programmed
Cold Fusion applications for a couple of years.
I'd like to build a data entry form in Access that allows the
following.
First, the data schema: Three tables are involved. The first is a
PERSONS table which has two fields, SSNUMBER (primary key), and...
|
by: Arif |
last post by:
I am developing a database and want to create multiple pages in the form view. I have typed all the questions in the table but and created form by using wizard and it gave me a HUGE big form. 150 questions in one form does not look good. I want to create 5 pages in the form view to help the entry operator and to make it look better. After entering...
| |
by: matt |
last post by:
hello,
i am on an interesting project. in this project, i have to create
dynamic data-entry forms for offline-users to fill out, save locally,
and eventually postback to our app (when back online). data validation
is required on the form.
i had looked at using PDF-forms for this.. Adobe's "LifeCyle Forms"
would work perfectly. with it...
|
by: bosmatthews |
last post by:
I have a main form with a subform and a second subform nested to the first subform. The data entry property for all three forms (main, subform and sub-subform) is set to "yes" because I am intending this form to be used for data entry only. The main form has a combo box from which the user can select a lake. The first subform allows the user to...
|
by: OxfordConsult |
last post by:
I have a form and it is to creat a 'link' between a project and a company. Creating a record form this table will simply create a record in a databse with the company ID and project ID. Project ID is selected form a drop down bax and Company ID is selected from a combo box. I am trying to create a script that if you click exit form, and one or the...
|
by: adwest |
last post by:
Forgive me if this is a foolish question. I "play" in Access and have only created a few rather simple relational databases. My knowledge and experience is limited. I have no formal training, just picked up a few books and have gone from there... I'm not sure how to relate my question using the accepted shorthand, so I'm afraid this will be a...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |