Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - Manipulating Datagrid Cells

 
Thread Tools Search this Thread
Old 07-20-2005, 07:17 PM   #1
Default Manipulating Datagrid Cells


I have an ASP .NET web application that changes datagrid cells in the
ItemDataBound event, like changing the Columnspan of a cell to 2 and deleting
the adjacent cell, so that I have two cells merged into one. I was wanting to
do something similar in another part of the program (right after the
DataBind() for the datagrid). Where I could select a particular cell index
and row index and merge two cells of the datagrid.

What is the best approach for this? I've been trying to research it, but
haven't found much info. It seems like inside the ItemDataBound event I'm
handling the control more like an HTML table than a Datagrid control, which
is adding to the confusion of handling this outside of this event.


=?Utf-8?B?RGF2aWQgVGlsbWFu?=
  Reply With Quote
Old 07-21-2005, 11:33 AM   #2
Eliyahu Goldin
 
Posts: n/a
Default Re: Manipulating Datagrid Cells
PreRender event.

Eliyahu

"David Tilman" <> wrote in message
newsBF9B329-83F2-4E91-B31F-...
> I have an ASP .NET web application that changes datagrid cells in the
> ItemDataBound event, like changing the Columnspan of a cell to 2 and

deleting
> the adjacent cell, so that I have two cells merged into one. I was wanting

to
> do something similar in another part of the program (right after the
> DataBind() for the datagrid). Where I could select a particular cell index
> and row index and merge two cells of the datagrid.
>
> What is the best approach for this? I've been trying to research it, but
> haven't found much info. It seems like inside the ItemDataBound event I'm
> handling the control more like an HTML table than a Datagrid control,

which
> is adding to the confusion of handling this outside of this event.





Eliyahu Goldin
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get datagrid textbox value kanchangorak Software 0 03-11-2009 11:11 AM
Loading 24,000 rows into C# .net Datagrid Kagu Software 0 03-10-2009 06:51 PM
validating textbox inside datagrid susan_1516 Software 0 11-09-2008 01:29 PM
ASP.NET VB Using ItemDataBound to create textbox in datagrid rows. smi59550 General Help Related Topics 0 01-18-2008 07:42 PM
Disable ASP Button in a Datagrid ChrisClayko General Help Related Topics 0 08-02-2006 03:08 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46