Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Breaking out a record with in a datagrid to edit it (ASP 1)

Reply
Thread Tools

Breaking out a record with in a datagrid to edit it (ASP 1)

 
 
=?Utf-8?B?bWlrZWc=?=
Guest
Posts: n/a
 
      06-23-2007
Hi,

I am building a small Help Desk application for my company and need to be
able to edit "open" help desk issues. I use a simple datagrid to display
each issue (6 per page) , with an Edit button. There are a lot of fields
across, and my Network Admins would like a way of editing/updating each
issue seperately in a a vertical form. I need a way of clicking on the edit
button ,bringing up a form with the record, editng the fields, and clicking
on an Update button in the form to update the sql server table , and go back
to the datagrid , displaying the updated record/Issue.

Thanks for the help,

MikeG
 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      06-23-2007
Why don't you just edit the record in the datagrid? The edit "mode" can use
different controls than the normal viewing of the grid, so you'll have a
feature-rich UI to do your edits in.

If you really don't want to do that and you want a form to come up, you'll
have to put a regular button on the grid (not an edit button) and handle its
click event with code to unhide a panel that you've pre-set up with the
controls you want. You'll need to pass the id of the record being edited
from the grid, so you know which record to populate the panel with.


"mikeg" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I am building a small Help Desk application for my company and need to be
> able to edit "open" help desk issues. I use a simple datagrid to display
> each issue (6 per page) , with an Edit button. There are a lot of fields
> across, and my Network Admins would like a way of editing/updating each
> issue seperately in a a vertical form. I need a way of clicking on the
> edit
> button ,bringing up a form with the record, editng the fields, and
> clicking
> on an Update button in the form to update the sql server table , and go
> back
> to the datagrid , displaying the updated record/Issue.
>
> Thanks for the help,
>
> MikeG



 
Reply With Quote
 
 
 
 
=?Utf-8?B?bWlrZWc=?=
Guest
Posts: n/a
 
      06-23-2007
Hi Scott,

Thanks for the help. There are too many fields horizontally to edit each
record. I demonstrated this. But my Admins want to click on the "Edit" link
and display the issue fields verticallyin a separate form for editing . As
this is my first ASP project it sounds a bit involved as you mentioned. How
do you use different controls when editing ? Perhaps I can redisplay the
fields so they are not cumbersome to edit across the screen.

Thanks

MikeG

"Scott M." wrote:

> Why don't you just edit the record in the datagrid? The edit "mode" can use
> different controls than the normal viewing of the grid, so you'll have a
> feature-rich UI to do your edits in.
>
> If you really don't want to do that and you want a form to come up, you'll
> have to put a regular button on the grid (not an edit button) and handle its
> click event with code to unhide a panel that you've pre-set up with the
> controls you want. You'll need to pass the id of the record being edited
> from the grid, so you know which record to populate the panel with.
>
>
> "mikeg" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> >
> > I am building a small Help Desk application for my company and need to be
> > able to edit "open" help desk issues. I use a simple datagrid to display
> > each issue (6 per page) , with an Edit button. There are a lot of fields
> > across, and my Network Admins would like a way of editing/updating each
> > issue seperately in a a vertical form. I need a way of clicking on the
> > edit
> > button ,bringing up a form with the record, editng the fields, and
> > clicking
> > on an Update button in the form to update the sql server table , and go
> > back
> > to the datagrid , displaying the updated record/Issue.
> >
> > Thanks for the help,
> >
> > MikeG

>
>
>

 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      06-23-2007
Hi Mike,

Well it will certainly be more difficult if you want to edit outside of the
grid. But, I really feel that I should throw one more "try" in there for
you to consider using the grid itself for editing. With a little creative
thinking, you can make a record in "edit" mode display horizontally or
vertically or both. The key is to turn the columns of the grid into
"template" columns. Edit mode can look completely different from read mode
if you design it that way.


"mikeg" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Scott,
>
> Thanks for the help. There are too many fields horizontally to edit each
> record. I demonstrated this. But my Admins want to click on the "Edit"
> link
> and display the issue fields verticallyin a separate form for editing .
> As
> this is my first ASP project it sounds a bit involved as you mentioned.
> How
> do you use different controls when editing ? Perhaps I can redisplay the
> fields so they are not cumbersome to edit across the screen.
>
> Thanks
>
> MikeG
>
> "Scott M." wrote:
>
>> Why don't you just edit the record in the datagrid? The edit "mode" can
>> use
>> different controls than the normal viewing of the grid, so you'll have a
>> feature-rich UI to do your edits in.
>>
>> If you really don't want to do that and you want a form to come up,
>> you'll
>> have to put a regular button on the grid (not an edit button) and handle
>> its
>> click event with code to unhide a panel that you've pre-set up with the
>> controls you want. You'll need to pass the id of the record being edited
>> from the grid, so you know which record to populate the panel with.
>>
>>
>> "mikeg" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi,
>> >
>> > I am building a small Help Desk application for my company and need to
>> > be
>> > able to edit "open" help desk issues. I use a simple datagrid to
>> > display
>> > each issue (6 per page) , with an Edit button. There are a lot of
>> > fields
>> > across, and my Network Admins would like a way of editing/updating
>> > each
>> > issue seperately in a a vertical form. I need a way of clicking on the
>> > edit
>> > button ,bringing up a form with the record, editng the fields, and
>> > clicking
>> > on an Update button in the form to update the sql server table , and go
>> > back
>> > to the datagrid , displaying the updated record/Issue.
>> >
>> > Thanks for the help,
>> >
>> > MikeG

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?bWlrZWc=?=
Guest
Posts: n/a
 
      06-24-2007
Hi Scott,

Let me investigate working with templates a bit. I think I see whay you
mean . Thanks for the help.

MikeG

"Scott M." wrote:

> Hi Mike,
>
> Well it will certainly be more difficult if you want to edit outside of the
> grid. But, I really feel that I should throw one more "try" in there for
> you to consider using the grid itself for editing. With a little creative
> thinking, you can make a record in "edit" mode display horizontally or
> vertically or both. The key is to turn the columns of the grid into
> "template" columns. Edit mode can look completely different from read mode
> if you design it that way.
>
>
> "mikeg" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi Scott,
> >
> > Thanks for the help. There are too many fields horizontally to edit each
> > record. I demonstrated this. But my Admins want to click on the "Edit"
> > link
> > and display the issue fields verticallyin a separate form for editing .
> > As
> > this is my first ASP project it sounds a bit involved as you mentioned.
> > How
> > do you use different controls when editing ? Perhaps I can redisplay the
> > fields so they are not cumbersome to edit across the screen.
> >
> > Thanks
> >
> > MikeG
> >
> > "Scott M." wrote:
> >
> >> Why don't you just edit the record in the datagrid? The edit "mode" can
> >> use
> >> different controls than the normal viewing of the grid, so you'll have a
> >> feature-rich UI to do your edits in.
> >>
> >> If you really don't want to do that and you want a form to come up,
> >> you'll
> >> have to put a regular button on the grid (not an edit button) and handle
> >> its
> >> click event with code to unhide a panel that you've pre-set up with the
> >> controls you want. You'll need to pass the id of the record being edited
> >> from the grid, so you know which record to populate the panel with.
> >>
> >>
> >> "mikeg" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Hi,
> >> >
> >> > I am building a small Help Desk application for my company and need to
> >> > be
> >> > able to edit "open" help desk issues. I use a simple datagrid to
> >> > display
> >> > each issue (6 per page) , with an Edit button. There are a lot of
> >> > fields
> >> > across, and my Network Admins would like a way of editing/updating
> >> > each
> >> > issue seperately in a a vertical form. I need a way of clicking on the
> >> > edit
> >> > button ,bringing up a form with the record, editng the fields, and
> >> > clicking
> >> > on an Update button in the form to update the sql server table , and go
> >> > back
> >> > to the datagrid , displaying the updated record/Issue.
> >> >
> >> > Thanks for the help,
> >> >
> >> > MikeG
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      06-24-2007
When you turn a grid's column into a template column, you can then go in and
edit that template column for edit mode. This allows you to change the
types of controls that will be used to edit your data as well as allowing
you to "double" up and put more than just one control in a given column.
The columns will change horizontally and/or vertically depending on what you
put in them.

If you do your task this way, you will avoid the very big hassle of passing
the row being edited outside of the grid and have to make all new controls
that are bound to the data source.

Good luck,

Scott M.


"mikeg" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Scott,
>
> Let me investigate working with templates a bit. I think I see whay you
> mean . Thanks for the help.
>
> MikeG
>
> "Scott M." wrote:
>
>> Hi Mike,
>>
>> Well it will certainly be more difficult if you want to edit outside of
>> the
>> grid. But, I really feel that I should throw one more "try" in there for
>> you to consider using the grid itself for editing. With a little
>> creative
>> thinking, you can make a record in "edit" mode display horizontally or
>> vertically or both. The key is to turn the columns of the grid into
>> "template" columns. Edit mode can look completely different from read
>> mode
>> if you design it that way.
>>
>>
>> "mikeg" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi Scott,
>> >
>> > Thanks for the help. There are too many fields horizontally to edit
>> > each
>> > record. I demonstrated this. But my Admins want to click on the "Edit"
>> > link
>> > and display the issue fields verticallyin a separate form for editing .
>> > As
>> > this is my first ASP project it sounds a bit involved as you mentioned.
>> > How
>> > do you use different controls when editing ? Perhaps I can redisplay
>> > the
>> > fields so they are not cumbersome to edit across the screen.
>> >
>> > Thanks
>> >
>> > MikeG
>> >
>> > "Scott M." wrote:
>> >
>> >> Why don't you just edit the record in the datagrid? The edit "mode"
>> >> can
>> >> use
>> >> different controls than the normal viewing of the grid, so you'll have
>> >> a
>> >> feature-rich UI to do your edits in.
>> >>
>> >> If you really don't want to do that and you want a form to come up,
>> >> you'll
>> >> have to put a regular button on the grid (not an edit button) and
>> >> handle
>> >> its
>> >> click event with code to unhide a panel that you've pre-set up with
>> >> the
>> >> controls you want. You'll need to pass the id of the record being
>> >> edited
>> >> from the grid, so you know which record to populate the panel with.
>> >>
>> >>
>> >> "mikeg" <(E-Mail Removed)> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > Hi,
>> >> >
>> >> > I am building a small Help Desk application for my company and need
>> >> > to
>> >> > be
>> >> > able to edit "open" help desk issues. I use a simple datagrid to
>> >> > display
>> >> > each issue (6 per page) , with an Edit button. There are a lot of
>> >> > fields
>> >> > across, and my Network Admins would like a way of editing/updating
>> >> > each
>> >> > issue seperately in a a vertical form. I need a way of clicking on
>> >> > the
>> >> > edit
>> >> > button ,bringing up a form with the record, editng the fields, and
>> >> > clicking
>> >> > on an Update button in the form to update the sql server table , and
>> >> > go
>> >> > back
>> >> > to the datagrid , displaying the updated record/Issue.
>> >> >
>> >> > Thanks for the help,
>> >> >
>> >> > MikeG
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      06-24-2007
One more thing that you may figure out but needs saying....

When you are desiging the "edit" portion of a template column, you can even
choose to move a control completely out of one template column and into
another so you can have one column that contains multiple items for editing.
This is a great space saver!

"mikeg" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Scott,
>
> Let me investigate working with templates a bit. I think I see whay you
> mean . Thanks for the help.
>
> MikeG
>
> "Scott M." wrote:
>
>> Hi Mike,
>>
>> Well it will certainly be more difficult if you want to edit outside of
>> the
>> grid. But, I really feel that I should throw one more "try" in there for
>> you to consider using the grid itself for editing. With a little
>> creative
>> thinking, you can make a record in "edit" mode display horizontally or
>> vertically or both. The key is to turn the columns of the grid into
>> "template" columns. Edit mode can look completely different from read
>> mode
>> if you design it that way.
>>
>>
>> "mikeg" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi Scott,
>> >
>> > Thanks for the help. There are too many fields horizontally to edit
>> > each
>> > record. I demonstrated this. But my Admins want to click on the "Edit"
>> > link
>> > and display the issue fields verticallyin a separate form for editing .
>> > As
>> > this is my first ASP project it sounds a bit involved as you mentioned.
>> > How
>> > do you use different controls when editing ? Perhaps I can redisplay
>> > the
>> > fields so they are not cumbersome to edit across the screen.
>> >
>> > Thanks
>> >
>> > MikeG
>> >
>> > "Scott M." wrote:
>> >
>> >> Why don't you just edit the record in the datagrid? The edit "mode"
>> >> can
>> >> use
>> >> different controls than the normal viewing of the grid, so you'll have
>> >> a
>> >> feature-rich UI to do your edits in.
>> >>
>> >> If you really don't want to do that and you want a form to come up,
>> >> you'll
>> >> have to put a regular button on the grid (not an edit button) and
>> >> handle
>> >> its
>> >> click event with code to unhide a panel that you've pre-set up with
>> >> the
>> >> controls you want. You'll need to pass the id of the record being
>> >> edited
>> >> from the grid, so you know which record to populate the panel with.
>> >>
>> >>
>> >> "mikeg" <(E-Mail Removed)> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > Hi,
>> >> >
>> >> > I am building a small Help Desk application for my company and need
>> >> > to
>> >> > be
>> >> > able to edit "open" help desk issues. I use a simple datagrid to
>> >> > display
>> >> > each issue (6 per page) , with an Edit button. There are a lot of
>> >> > fields
>> >> > across, and my Network Admins would like a way of editing/updating
>> >> > each
>> >> > issue seperately in a a vertical form. I need a way of clicking on
>> >> > the
>> >> > edit
>> >> > button ,bringing up a form with the record, editng the fields, and
>> >> > clicking
>> >> > on an Update button in the form to update the sql server table , and
>> >> > go
>> >> > back
>> >> > to the datagrid , displaying the updated record/Issue.
>> >> >
>> >> > Thanks for the help,
>> >> >
>> >> > MikeG
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?bWlrZWc=?=
Guest
Posts: n/a
 
      06-25-2007
Hi Scott,

Thanks again for all the tips. I will try these tommorrow at work. What
about hiding columns while editing(click on edit mode button) , and just
using a few columns for all my fields? . Then it would appear as if the Help
Desk ticket fields where all vertical for easy editing .

Thanks,

Mike

"Scott M." wrote:

> One more thing that you may figure out but needs saying....
>
> When you are desiging the "edit" portion of a template column, you can even
> choose to move a control completely out of one template column and into
> another so you can have one column that contains multiple items for editing.
> This is a great space saver!
>
> "mikeg" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi Scott,
> >
> > Let me investigate working with templates a bit. I think I see whay you
> > mean . Thanks for the help.
> >
> > MikeG
> >
> > "Scott M." wrote:
> >
> >> Hi Mike,
> >>
> >> Well it will certainly be more difficult if you want to edit outside of
> >> the
> >> grid. But, I really feel that I should throw one more "try" in there for
> >> you to consider using the grid itself for editing. With a little
> >> creative
> >> thinking, you can make a record in "edit" mode display horizontally or
> >> vertically or both. The key is to turn the columns of the grid into
> >> "template" columns. Edit mode can look completely different from read
> >> mode
> >> if you design it that way.
> >>
> >>
> >> "mikeg" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Hi Scott,
> >> >
> >> > Thanks for the help. There are too many fields horizontally to edit
> >> > each
> >> > record. I demonstrated this. But my Admins want to click on the "Edit"
> >> > link
> >> > and display the issue fields verticallyin a separate form for editing .
> >> > As
> >> > this is my first ASP project it sounds a bit involved as you mentioned.
> >> > How
> >> > do you use different controls when editing ? Perhaps I can redisplay
> >> > the
> >> > fields so they are not cumbersome to edit across the screen.
> >> >
> >> > Thanks
> >> >
> >> > MikeG
> >> >
> >> > "Scott M." wrote:
> >> >
> >> >> Why don't you just edit the record in the datagrid? The edit "mode"
> >> >> can
> >> >> use
> >> >> different controls than the normal viewing of the grid, so you'll have
> >> >> a
> >> >> feature-rich UI to do your edits in.
> >> >>
> >> >> If you really don't want to do that and you want a form to come up,
> >> >> you'll
> >> >> have to put a regular button on the grid (not an edit button) and
> >> >> handle
> >> >> its
> >> >> click event with code to unhide a panel that you've pre-set up with
> >> >> the
> >> >> controls you want. You'll need to pass the id of the record being
> >> >> edited
> >> >> from the grid, so you know which record to populate the panel with.
> >> >>
> >> >>
> >> >> "mikeg" <(E-Mail Removed)> wrote in message
> >> >> news:(E-Mail Removed)...
> >> >> > Hi,
> >> >> >
> >> >> > I am building a small Help Desk application for my company and need
> >> >> > to
> >> >> > be
> >> >> > able to edit "open" help desk issues. I use a simple datagrid to
> >> >> > display
> >> >> > each issue (6 per page) , with an Edit button. There are a lot of
> >> >> > fields
> >> >> > across, and my Network Admins would like a way of editing/updating
> >> >> > each
> >> >> > issue seperately in a a vertical form. I need a way of clicking on
> >> >> > the
> >> >> > edit
> >> >> > button ,bringing up a form with the record, editng the fields, and
> >> >> > clicking
> >> >> > on an Update button in the form to update the sql server table , and
> >> >> > go
> >> >> > back
> >> >> > to the datagrid , displaying the updated record/Issue.
> >> >> >
> >> >> > Thanks for the help,
> >> >> >
> >> >> > MikeG
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
Scott M.
Guest
Posts: n/a
 
      06-25-2007
What you can do, instead of hiding columns, is just have some of the edit
columns not have anything in them and move their controls into other
template columns so you might have a textbox above another textbox above a
checkbox and so on. If the column is empty, it won't take up any space in
edit mode.


"mikeg" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Scott,
>
> Thanks again for all the tips. I will try these tommorrow at work. What
> about hiding columns while editing(click on edit mode button) , and just
> using a few columns for all my fields? . Then it would appear as if the
> Help
> Desk ticket fields where all vertical for easy editing .
>
> Thanks,
>
> Mike
>
> "Scott M." wrote:
>
>> One more thing that you may figure out but needs saying....
>>
>> When you are desiging the "edit" portion of a template column, you can
>> even
>> choose to move a control completely out of one template column and into
>> another so you can have one column that contains multiple items for
>> editing.
>> This is a great space saver!
>>
>> "mikeg" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Hi Scott,
>> >
>> > Let me investigate working with templates a bit. I think I see whay
>> > you
>> > mean . Thanks for the help.
>> >
>> > MikeG
>> >
>> > "Scott M." wrote:
>> >
>> >> Hi Mike,
>> >>
>> >> Well it will certainly be more difficult if you want to edit outside
>> >> of
>> >> the
>> >> grid. But, I really feel that I should throw one more "try" in there
>> >> for
>> >> you to consider using the grid itself for editing. With a little
>> >> creative
>> >> thinking, you can make a record in "edit" mode display horizontally or
>> >> vertically or both. The key is to turn the columns of the grid into
>> >> "template" columns. Edit mode can look completely different from read
>> >> mode
>> >> if you design it that way.
>> >>
>> >>
>> >> "mikeg" <(E-Mail Removed)> wrote in message
>> >> news:(E-Mail Removed)...
>> >> > Hi Scott,
>> >> >
>> >> > Thanks for the help. There are too many fields horizontally to edit
>> >> > each
>> >> > record. I demonstrated this. But my Admins want to click on the
>> >> > "Edit"
>> >> > link
>> >> > and display the issue fields verticallyin a separate form for
>> >> > editing .
>> >> > As
>> >> > this is my first ASP project it sounds a bit involved as you
>> >> > mentioned.
>> >> > How
>> >> > do you use different controls when editing ? Perhaps I can
>> >> > redisplay
>> >> > the
>> >> > fields so they are not cumbersome to edit across the screen.
>> >> >
>> >> > Thanks
>> >> >
>> >> > MikeG
>> >> >
>> >> > "Scott M." wrote:
>> >> >
>> >> >> Why don't you just edit the record in the datagrid? The edit
>> >> >> "mode"
>> >> >> can
>> >> >> use
>> >> >> different controls than the normal viewing of the grid, so you'll
>> >> >> have
>> >> >> a
>> >> >> feature-rich UI to do your edits in.
>> >> >>
>> >> >> If you really don't want to do that and you want a form to come up,
>> >> >> you'll
>> >> >> have to put a regular button on the grid (not an edit button) and
>> >> >> handle
>> >> >> its
>> >> >> click event with code to unhide a panel that you've pre-set up with
>> >> >> the
>> >> >> controls you want. You'll need to pass the id of the record being
>> >> >> edited
>> >> >> from the grid, so you know which record to populate the panel with.
>> >> >>
>> >> >>
>> >> >> "mikeg" <(E-Mail Removed)> wrote in message
>> >> >> news:(E-Mail Removed)...
>> >> >> > Hi,
>> >> >> >
>> >> >> > I am building a small Help Desk application for my company and
>> >> >> > need
>> >> >> > to
>> >> >> > be
>> >> >> > able to edit "open" help desk issues. I use a simple datagrid to
>> >> >> > display
>> >> >> > each issue (6 per page) , with an Edit button. There are a lot
>> >> >> > of
>> >> >> > fields
>> >> >> > across, and my Network Admins would like a way of
>> >> >> > editing/updating
>> >> >> > each
>> >> >> > issue seperately in a a vertical form. I need a way of clicking
>> >> >> > on
>> >> >> > the
>> >> >> > edit
>> >> >> > button ,bringing up a form with the record, editng the fields,
>> >> >> > and
>> >> >> > clicking
>> >> >> > on an Update button in the form to update the sql server table ,
>> >> >> > and
>> >> >> > go
>> >> >> > back
>> >> >> > to the datagrid , displaying the updated record/Issue.
>> >> >> >
>> >> >> > Thanks for the help,
>> >> >> >
>> >> >> > MikeG
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?bWlrZWc=?=
Guest
Posts: n/a
 
      06-25-2007
I will try that Scott.

Thanks for all the help!!

"Scott M." wrote:

> What you can do, instead of hiding columns, is just have some of the edit
> columns not have anything in them and move their controls into other
> template columns so you might have a textbox above another textbox above a
> checkbox and so on. If the column is empty, it won't take up any space in
> edit mode.
>
>
> "mikeg" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi Scott,
> >
> > Thanks again for all the tips. I will try these tommorrow at work. What
> > about hiding columns while editing(click on edit mode button) , and just
> > using a few columns for all my fields? . Then it would appear as if the
> > Help
> > Desk ticket fields where all vertical for easy editing .
> >
> > Thanks,
> >
> > Mike
> >
> > "Scott M." wrote:
> >
> >> One more thing that you may figure out but needs saying....
> >>
> >> When you are desiging the "edit" portion of a template column, you can
> >> even
> >> choose to move a control completely out of one template column and into
> >> another so you can have one column that contains multiple items for
> >> editing.
> >> This is a great space saver!
> >>
> >> "mikeg" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Hi Scott,
> >> >
> >> > Let me investigate working with templates a bit. I think I see whay
> >> > you
> >> > mean . Thanks for the help.
> >> >
> >> > MikeG
> >> >
> >> > "Scott M." wrote:
> >> >
> >> >> Hi Mike,
> >> >>
> >> >> Well it will certainly be more difficult if you want to edit outside
> >> >> of
> >> >> the
> >> >> grid. But, I really feel that I should throw one more "try" in there
> >> >> for
> >> >> you to consider using the grid itself for editing. With a little
> >> >> creative
> >> >> thinking, you can make a record in "edit" mode display horizontally or
> >> >> vertically or both. The key is to turn the columns of the grid into
> >> >> "template" columns. Edit mode can look completely different from read
> >> >> mode
> >> >> if you design it that way.
> >> >>
> >> >>
> >> >> "mikeg" <(E-Mail Removed)> wrote in message
> >> >> news:(E-Mail Removed)...
> >> >> > Hi Scott,
> >> >> >
> >> >> > Thanks for the help. There are too many fields horizontally to edit
> >> >> > each
> >> >> > record. I demonstrated this. But my Admins want to click on the
> >> >> > "Edit"
> >> >> > link
> >> >> > and display the issue fields verticallyin a separate form for
> >> >> > editing .
> >> >> > As
> >> >> > this is my first ASP project it sounds a bit involved as you
> >> >> > mentioned.
> >> >> > How
> >> >> > do you use different controls when editing ? Perhaps I can
> >> >> > redisplay
> >> >> > the
> >> >> > fields so they are not cumbersome to edit across the screen.
> >> >> >
> >> >> > Thanks
> >> >> >
> >> >> > MikeG
> >> >> >
> >> >> > "Scott M." wrote:
> >> >> >
> >> >> >> Why don't you just edit the record in the datagrid? The edit
> >> >> >> "mode"
> >> >> >> can
> >> >> >> use
> >> >> >> different controls than the normal viewing of the grid, so you'll
> >> >> >> have
> >> >> >> a
> >> >> >> feature-rich UI to do your edits in.
> >> >> >>
> >> >> >> If you really don't want to do that and you want a form to come up,
> >> >> >> you'll
> >> >> >> have to put a regular button on the grid (not an edit button) and
> >> >> >> handle
> >> >> >> its
> >> >> >> click event with code to unhide a panel that you've pre-set up with
> >> >> >> the
> >> >> >> controls you want. You'll need to pass the id of the record being
> >> >> >> edited
> >> >> >> from the grid, so you know which record to populate the panel with.
> >> >> >>
> >> >> >>
> >> >> >> "mikeg" <(E-Mail Removed)> wrote in message
> >> >> >> news:(E-Mail Removed)...
> >> >> >> > Hi,
> >> >> >> >
> >> >> >> > I am building a small Help Desk application for my company and
> >> >> >> > need
> >> >> >> > to
> >> >> >> > be
> >> >> >> > able to edit "open" help desk issues. I use a simple datagrid to
> >> >> >> > display
> >> >> >> > each issue (6 per page) , with an Edit button. There are a lot
> >> >> >> > of
> >> >> >> > fields
> >> >> >> > across, and my Network Admins would like a way of
> >> >> >> > editing/updating
> >> >> >> > each
> >> >> >> > issue seperately in a a vertical form. I need a way of clicking
> >> >> >> > on
> >> >> >> > the
> >> >> >> > edit
> >> >> >> > button ,bringing up a form with the record, editng the fields,
> >> >> >> > and
> >> >> >> > clicking
> >> >> >> > on an Update button in the form to update the sql server table ,
> >> >> >> > and
> >> >> >> > go
> >> >> >> > back
> >> >> >> > to the datagrid , displaying the updated record/Issue.
> >> >> >> >
> >> >> >> > Thanks for the help,
> >> >> >> >
> >> >> >> > MikeG
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Snapshot restraint - edit, edit, edit Alan Browne Digital Photography 24 05-10-2005 10:15 PM
Snapshot restraint - edit, edit, edit Patrick Digital Photography 0 05-06-2005 10:53 PM
Looking for a breaking news rss feed that really contains breaking news Amy XML 0 02-22-2005 06:31 PM
Edit All Function for DataGrid, and Moving the Edit Function in a DataGrid Schultz ASP .Net 3 02-14-2005 04:47 AM
To all Gurus: How can I edit/update a DataGrid in a DataGrid (nested DataGrid)? Possible? Andreas Klemt ASP .Net Datagrid Control 0 10-08-2003 01:19 AM



Advertisments