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

edit button on formview

P: n/a
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
May 7 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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?

May 10 '06 #2

P: n/a
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?


May 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.