I'm working through an example of a formview cortrol. I have bound the
control to edit, update, insert, delete stored procs. I have a grid view with
a button on it that sets the formview to a recod. It displays fine, except
that there is no EDIT button? What could i have done wrong? Also how can you
set the current mode to edit? I tried setting the default mode to edit, even
but i still get view only. What's going on here?
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes 2 5576
A FormView requires you to define the entire template, including the button
to change the FormView into Edit mode. What you will need to do is put a
<asp:Button> or a <asp:LinkButton> with a well known CommandName property.
The well known names are "Edit", "Update", "Insert", "Delete", and "Cancel".
-Brock http://staff.develop.com/ballen I'm working through an example of a formview cortrol. I have bound the control to edit, update, insert, delete stored procs. I have a grid view with a button on it that sets the formview to a recod. It displays fine, except that there is no EDIT button? What could i have done wrong? Also how can you set the current mode to edit? I tried setting the default mode to edit, even but i still get view only. What's going on here?
Thank you,
I should have posted that i found my own answer, but i'm sure soneone else
will get benifit from your answer. Your posts have been a help to my in the
past so i'd like to say thank's for all those and the ones i'll be seeing in
the future!
--
thanks (as always)
some day i''m gona pay this forum back for all the help i''m getting
kes
"Brock Allen" wrote: A FormView requires you to define the entire template, including the button to change the FormView into Edit mode. What you will need to do is put a <asp:Button> or a <asp:LinkButton> with a well known CommandName property. The well known names are "Edit", "Update", "Insert", "Delete", and "Cancel".
-Brock http://staff.develop.com/ballen
I'm working through an example of a formview cortrol. I have bound the control to edit, update, insert, delete stored procs. I have a grid view with a button on it that sets the formview to a recod. It displays fine, except that there is no EDIT button? What could i have done wrong? Also how can you set the current mode to edit? I tried setting the default mode to edit, even but i still get view only. What's going on here? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: P. Yanzick |
last post by:
Hello,
I am creating an edit template for a FormView control, changing one of the
textboxes to a dropdown box. The dropdown will be populated from a simple
table with the primary key, and a...
|
by: Dabbler |
last post by:
What is the best way to have a FormView page open on a specific row selected
from a GridView?
I'm passing the primary key in the url as in
detailview.aspx?mode=edit&pk=42
I'm using an...
|
by: Lorenzino |
last post by:
Hi, I have a problem with bindings in a formview.
I have a formview; in the insert template i've created a wizard control and
inside
it i have an HTML table with some textboxes bound to the...
|
by: mosscliffe |
last post by:
Is it possible to get a GridView 'Select' to go straight to the 'Edit'
of a Formview.
If I add a 'New' button to the GridView can I get that to go straight
to the Insert of a FormView.
Is it...
|
by: Chris |
last post by:
I am using the formview control. Within its edit template I have a treeview,
which I populate programatically. Initially I had an item template in which
I had a button, which triggered the edit...
| |
by: Chris |
last post by:
I have a treeview control, which I use to select a row in a table which will
be used to populate a formview. Depending on what node is selected in the
treeview I want the formview to be either in...
|
by: SteveT |
last post by:
Before I pull out what little hair I have left, I'm swallowing my
pride and asking the Oracles of .Net:
I'm trying to set a property in a dropdown list control in a
FormView, based on a session...
|
by: murfu |
last post by:
I have a formview that has a dropdownlist bound to a table to populate
a list of people. While in edit mode, if a person is not in that
list, there is a button that pops up an add requester page...
|
by: shapper |
last post by:
Hello,
I have a GridView where each row has an EDIT and a DELETE buttons.
I also have a FormView with TextBoxes, DropDownLists, etc.
When an EDIT button is pressed I make the...
|
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,...
|
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...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
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...
|
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.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |