<MasterTableView ShowGroupFooter="True" Width="100%">
<GroupHeaderItemStyle Font-Bold="true" ForeColor="Yellow" />
<%-- <Columns>
<telerik:GridBoundColumn HeaderText="Proposals" SortExpression="Proposal_ID" UniqueName="Proposal_ID">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataType="System.Int32" FooterText="Total : " Aggregate = "Count"
HeaderText="EstTrials" SortExpression="EstTrials" UniqueName="Trials :">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataType="System.Decimal" Aggregate="Sum"
DataFormatString ="{0:c}" HeaderText="EstCost" SortExpression="EstCost" UniqueName="Cost :">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="CropName" Visible ="false"
SortExpression="CropName" UniqueName="CropName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="ProdName" Visible ="false"
SortExpression="ProdName" UniqueName="ProdName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="TerritoryName" Visible ="false"
ReadOnly="True" SortExpression="TerritoryName" UniqueName="TerritoryName">
</telerik:GridBoundColumn>
<telerik:GridButtonColumn ButtonType ="ImageButton" ImageUrl ="images/Delete.gif" HeaderText ="Remove">
</telerik:GridButtonColumn>
</Columns>--%>
</MasterTableView>
I want to set the all above property through code behind in VB.net ...... I want to hide last 3 columns
I hv bind the data to radgrid throght databind from codebehind, but it binds all columns from code .... How to set visiblilty of columns?
Thnkas
Regards
Rahul
<GroupHeaderItemStyle Font-Bold="true" ForeColor="Yellow" />
<%-- <Columns>
<telerik:GridBoundColumn HeaderText="Proposals" SortExpression="Proposal_ID" UniqueName="Proposal_ID">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataType="System.Int32" FooterText="Total : " Aggregate = "Count"
HeaderText="EstTrials" SortExpression="EstTrials" UniqueName="Trials :">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataType="System.Decimal" Aggregate="Sum"
DataFormatString ="{0:c}" HeaderText="EstCost" SortExpression="EstCost" UniqueName="Cost :">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="CropName" Visible ="false"
SortExpression="CropName" UniqueName="CropName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="ProdName" Visible ="false"
SortExpression="ProdName" UniqueName="ProdName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="TerritoryName" Visible ="false"
ReadOnly="True" SortExpression="TerritoryName" UniqueName="TerritoryName">
</telerik:GridBoundColumn>
<telerik:GridButtonColumn ButtonType ="ImageButton" ImageUrl ="images/Delete.gif" HeaderText ="Remove">
</telerik:GridButtonColumn>
</Columns>--%>
</MasterTableView>
I want to set the all above property through code behind in VB.net ...... I want to hide last 3 columns
I hv bind the data to radgrid throght databind from codebehind, but it binds all columns from code .... How to set visiblilty of columns?
Thnkas
Regards
Rahul