I faced the same problem, the problem was resolved only when
I unchecked the
column autogenerate button.
In design it may not look like that but when u run it u will
se ethe
ifference.
Usman
On 12 Mar 2007 09:00:35 -0700, Mark E <meckeard2000 yahoo.com> wrote:
>
> Hi all,
>
> Is there a way to programmatically hide columns in an
auto generated
> datagrid?
>
> Here is my datagrid:
>
> <asp ataGrid
CellPadding="3"
HeaderStyle-BackColor="#006645"
> HeaderStyle-CssClass="WhiteHeaderText"
Width="100%"
> OnItemDataBound="grdAllLoans_ItemDataBound"
ID="grdAllLoans" Runat="server">
>
> </asp ataGrid&
gt;
>
> I've tried numerous methods but nothing seems to work
and it looks as
> though it pertains to the fact that I'm auto generating
my columns. But I'd
> prefer to keep the datagrid the way it is.
>
> Thanks,
> Mark
>
> ---------------------------------
> Don't be flakey. Get Yahoo! Mail for Mobile and
> always stay connected to friends.
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:AspNetAnyQuestionIsOk-digest@yahoogroups.com
mailto:AspNetAnyQuestionIsOk-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
AspNetAnyQuestionIsOk-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.c
om/info/terms/
|