> | the
> | > | > | Custtom
> | > | > | > Column class, for example, for our CustomColumn class, we can
> | > provide
> | > | a
> | > | > | > method like below:
> | > | > | >
> | > | > | > public class CustomTextBoxColumn
> | > | > | > {
> | > | > | > public string txtID;
> | > | > | >
> | > | > | > public string GetColumnValue(DataGridItem item)
> | > | > | > {
> | > | > | > TextBox txt = item.FindControl(txtID);
> | > | > | > return txt.Text;
> | > | > | > }
> | > | > | >
> | > | > | > }
> | > | > | >
> | > | > | > Hope helps. Thanks,
> | > | > | >
> | > | > | >
> | > | > | > Steven Cheng
> | > | > | > Microsoft Online Support
> | > | > | >
> | > | > | > Get Secure! [url]www.microsoft.com/security[/url]
> | > | > | > (This posting is provided "AS IS", with no warranties, and
> confers
> | > no
> | > | > | > rights.)
> | > | > | >
> | > | > | >
> | > | > | > --------------------
> | > | > | > | From: "Terry Holland" <terryehollandnewsgroup.nospam>
> | > | > | > | Subject: Update Custom Collection that is bound to DataGrid
> made
> | > up
> | > | of
> | > | > | > Custom COlumns
> | > | > | > | Date: Wed, 19 Oct 2005 17:01:47 +0100
> | > | > | > | Lines: 51
> | > | > | > | X-Priority: 3
> | > | > | > | X-MSMail-Priority: Normal
> | > | > | > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
> | > | > | > | X-RFC2646: Format=Flowed; Original
> | > | > | > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
> | > | > | > | Message-ID: <e9VJpZM1FHA.1564tk2msftngp13.phx.gbl>
> | > | > | > | Newsgroups:
> | > microsoft.public.dotnet.framework.aspnet.datagridc ontrol
> | > | > | > | NNTP-Posting-Host: host158.multiserv.com 194.200.135.158
> | > | > | > | Path:
> | > | TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
> | > | > | > | Xref: TK2MSFTNGXA01.phx.gbl
> | > | > | > microsoft.public.dotnet.framework.aspnet.datagridc ontrol:5824
> | > | > | > | X-Tomcat-NG:
> | > | microsoft.public.dotnet.framework.aspnet.datagridc ontrol
> | > | > | > |
> | > | > | > | I recieved some very useful help from Steven Cheng in an
> earlier
> | > | post
> | > | > in
> | > | > | > | this group entitled 'Dynamically create datagrid columns'
Bookmarks