thanks for the reply. yes it's a VS 2003 project, i have most of my
you describe, when AutoGenerateColumns is used. even the OnUnload event has
datagrid if this would have performance implications. perhaps there is an
"Luke Zhang [MSFT]" <lukezhan@online.microsoft.com> wrote in message
news:9VIV9sE6GHA.4348@TK2MSFTNGXA01.phx.gbl...
> Hello Tim,
>
> I suppose you are working with VS.NET 2003 (since in VS.NET 2005, we use
> GirdView instead DataGrid). Regaridng the issue, since you have enable the
> AutoGenerateColumns property, the columns will not be added until the
> datagird is bound to data. In the render method, the columns is not
> generated yet. If you move these code to itemdatabound, or databinding,
> will this correct the problem?
>
> Sincerely,
>
> Luke Zhang
>
> Microsoft Online Community Support
> ==================================================
> Get notification to my posts through email? Please refer to
>
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif > ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
>
http://msdn.microsoft.com/subscriptions/support/default.aspx. > ==================================================
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>