469,927 Members | 1,768 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,927 developers. It's quick & easy.

Problems with editable datagrid

I have a challenge, that I do not seem to be able to solve.

I have an "overview"-page that presently displays data from 2 columns in a
database table. The users should be allowed to edit data in the table, and
I would think, that I could use an editable datagrid for this.

However - I cannot find the right article that tells me how to do it. What
I can't seem to figure out is this: The database table-row has 7 fields
that should be edited - one of them is a DateTime-field, and I would like
the editable datagrid to display a asp:Calendar when in edit-mode. How do I
display these fields - when only 2 fields are present in the overview-page?
The data is initially entered by the user in a form somewhere else on the
website, and basically I would like the edit-mode of the datagrid to mirror
the form that was originally used.

As I said, I have found some articles including som "Cutting Edge"-articles
from MSDN Magazine, but I cannot seem to find one that has an example like
I need. Could you point me to other articles?

Thanks,

:o)

(originally posted in m.p.d.f.a.datagrid)
FUT: microsoft.public.dotnet.framework.aspnet

--
Jesper Stocholm http://stocholm.dk

Programmer's code comment:
//It probably makes more sense when you're stoned.
Nov 18 '05 #1
2 1262
check these articles out..
http://msdn.microsoft.com/library/de...verControl.asp

http://msdn.microsoft.com/library/de...mmatically.asp

- Kilic

"Jesper Stocholm" <j@stocholm.invalid> wrote in message
news:Xn************************@207.46.248.16...
I have a challenge, that I do not seem to be able to solve.

I have an "overview"-page that presently displays data from 2 columns in a
database table. The users should be allowed to edit data in the table, and
I would think, that I could use an editable datagrid for this.

However - I cannot find the right article that tells me how to do it. What
I can't seem to figure out is this: The database table-row has 7 fields
that should be edited - one of them is a DateTime-field, and I would like
the editable datagrid to display a asp:Calendar when in edit-mode. How do I display these fields - when only 2 fields are present in the overview-page? The data is initially entered by the user in a form somewhere else on the
website, and basically I would like the edit-mode of the datagrid to mirror the form that was originally used.

As I said, I have found some articles including som "Cutting Edge"-articles from MSDN Magazine, but I cannot seem to find one that has an example like
I need. Could you point me to other articles?

Thanks,

:o)

(originally posted in m.p.d.f.a.datagrid)
FUT: microsoft.public.dotnet.framework.aspnet

--
Jesper Stocholm http://stocholm.dk

Programmer's code comment:
//It probably makes more sense when you're stoned.

Nov 18 '05 #2
"Kilic" <kb**@salary.com> wrote in
news:O1**************@tk2msftngp13.phx.gbl:
check these articles out..
http://msdn.microsoft.com/library/de...y/en-us/dv_vst
echart/html/vbtchTopQuestionsAboutASPNETDataGridServerControl. asp

http://msdn.microsoft.com/library/de...y/en-us/dv_vst
echart/html/vbtchcreatingwebservercontroltemplatesprogrammatic ally.asp


Hi kilic,

Thanks for your reply. I have looked at the articles, but I fail to see
exactly the thing I am looking for.

Right now I have a datagrid with two columns and an column with the 'edit'-
link. The values for "Date" and "Title" come from a table with 8 columns.

Date | Title | Edit
-----------------------

When I click "Edit" on a particular row, I would like the datagrid to "open
up" and show me 7 textboxes and an asp:Calendar in this particular row,
keeping the other rows intact. Is this at all possible? How do I
place/align the controls in the editable row?

:o)

--
Jesper Stocholm http://stocholm.dk

Programmer's code comment:
//It probably makes more sense when you're stoned.
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Andla Rand | last post: by
4 posts views Thread by Stephan Bour | last post: by
reply views Thread by DaveR | last post: by
2 posts views Thread by Carlo Marchesoni | last post: by
2 posts views Thread by zambizzi | last post: by
6 posts views Thread by Richard L Rosenheim | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.