Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Ryan Anderson #1
Displaying additional fields on edit in datagrid
I built a sweet data grid to display contacts, custom paging, bidirectional
sorting,
adjustable row display count, in-place editting, all the stops.
I turned out pretty cool.
I followed tutorials from [url]www.4guysfromrolla.com[/url]
[url]http://aspnet.4guysfromrolla.com/articles/040502-1.aspx[/url]
Problem: I am currently displaying 5 data columns (also a '+' tree view
image which I intend to use in an event, a check box column and an 'edit'
column so 8 in total)
When a user goes to edit a record, I want to display an additional 15 fields
which they can also edit, while remaining in the grid.
I do not want to increase the width of the datagrid on this event. I would
like the grid to expand vertically by adding additional rows for that
specific
record the user clicks to edit to accommodate the additional data that can
be editted.
I also want to build the option to just display the extra data when clicking
on the
+ image I have for each record in the datagrid, like a tree view type
scenario.
Kind of the analogy, give someone a piece of fruit and they ask for the
whole tree,
but I am sure it can be done somehow,
I just lack the skill and vision to execute it without some guidance at this
point...
Does anyone have an example of how this can be accomplished or some guidance
on how to accomplish this task?
Much thanks and appreciation in advanced!
Ryan
Ryan Anderson Guest
-
Would like to load a datagrid already in edit mode instead of having the user click the edit button
Now my asp.net datagrid shows an edit button and clicking it puts the datagrid in edit mode. I would like to: 1) possilby load the page already... -
Set the width of the edit textbox after clicking on Edit link in datagrid...
Hi There, I have a data grid where I have a couple of columns as follows: ----------------------------------------- |id | textual... -
Displaying fields verticaly while editing DataGrid
How can I display headers and fields verticaly while editing data in a DataGrid? - Símun D. Simonsen -
Add/Edit/Delete Fields in Datagrid
You can edit in-place abyway. Suggest you consifer using right click invoked context menus for Insert/Delete functions, its cleaner "Jordan... -
Displaying parent fields in a datagrid?
Not to worry - I did with a TemplateColumn "Simon Storr" <sstorr@sdasolutions.com> wrote in message news:uPKuJStSDHA.1688@TK2MSFTNGP11.phx.gbl...... -
Ron McNulty #2
Re: Displaying additional fields on edit in datagrid
Hi Ryan
I handle this by using a datalist containing a single record. It can't be
displayed inside the grid, but sits to the right of the grid. It edits all
fields, including the ones in the grid. As it is a DataList, you can make it
look however you like. In particular, spacing can be used to separate groups
of related fields.
Regards
Ron
"Ryan Anderson" <ryanflyan@hotmail.com> wrote in message
news:utcvN5tUDHA.1956@TK2MSFTNGP10.phx.gbl...bidirectional> I built a sweet data grid to display contacts, custom paging,fields> sorting,
> adjustable row display count, in-place editting, all the stops.
> I turned out pretty cool.
> I followed tutorials from [url]www.4guysfromrolla.com[/url]
> [url]http://aspnet.4guysfromrolla.com/articles/040502-1.aspx[/url]
>
> Problem: I am currently displaying 5 data columns (also a '+' tree view
> image which I intend to use in an event, a check box column and an 'edit'
> column so 8 in total)
>
> When a user goes to edit a record, I want to display an additional 15clicking> which they can also edit, while remaining in the grid.
> I do not want to increase the width of the datagrid on this event. I would
> like the grid to expand vertically by adding additional rows for that
> specific
> record the user clicks to edit to accommodate the additional data that can
> be editted.
> I also want to build the option to just display the extra data whenthis> on the
> + image I have for each record in the datagrid, like a tree view type
> scenario.
>
> Kind of the analogy, give someone a piece of fruit and they ask for the
> whole tree,
> but I am sure it can be done somehow,
> I just lack the skill and vision to execute it without some guidance atguidance> point...
>
> Does anyone have an example of how this can be accomplished or some> on how to accomplish this task?
>
> Much thanks and appreciation in advanced!
> Ryan
>
>
>
>
Ron McNulty Guest



Reply With Quote

