Hi,
I have the summary in webdatagrid like:
<ig:SummaryRow EmptyFooterText="" EnableSummariesFilter="true" ShowSummariesButtons="false">
<ColumnSummaries>
<ig:ColumnSummaryInfo ColumnKey="TOTAL_ALLOCATION">
<Summaries>
<ig:Summary SummaryType="Sum" />
</Summaries></ig:ColumnSummaryInfo>
</ColumnSummaries>
<ColumnSettings>
<ig:SummaryRowSetting ColumnKey="TOTAL_ALLOCATION">
<SummarySettings>
<ig:SummarySetting SummaryType="Sum" FormatString="{1}" />
</SummarySettings>
</ig:SummaryRowSetting>
</ColumnSettings>
</ig:SummaryRow>
But I dynamically control the column's visibility in loading page backend C# code will not work
webdatagrid1.Columns.FromKey("ENTERED_BY").Hidden = true;
The Hidden property only works on the .aspx page but I need to control it programically.
Could you please advise where should I put the code to in order to make it work? I tried with Onload, Oninit, both don't work.
Thanks.
My IE version is IE9 which doesn't work and I tried with Chrome, it works.
But my mistake, what I used which has issue is not webdatagrid, it's webhierarchicaldatagrid.
Could you please try with webhierarchicaldatagrid with version 14.1.20141.1015? Thanks a lot.
Hello Annie,
Could you let me know which version of Internet Explorer are you using? Have you tried to run in on other browsers?
I followed your instructions in vs2012 but can't view it in Internet Explorer. It always keep waiting for response from localhost. Any idea?
The issue is not reproducible with 14.1.20141.1015 also, please update up to latest service release (14.1.20141.2392).
The database is attached to my sample.
In order to test the sample:
1. Open Visual Studio
2. Go to File > Open > Website and select the directory of the sample
3. Change the dll version in the Register directive of the page and in the webconfig.
If this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back
Thanks for your reply.
Could you please try on Version=14.1.20141.1015?
As I don't have 15.1 and don't have [Alphabetical list of products] to test.
Thanks a lot,
Annie