| <telerik:RadComboBox ID="rcbCompanyOrganization" runat="server" Height="140px" Width="215px" OnClientDropDownOpened="OnClientDropDownOpenedUserHandler"> |
| <Items> |
| <telerik:RadComboBoxItem runat="server" /> |
| </Items> |
| <ItemTemplate> |
| <div ID="div1" onclick="StopPropagation(false);"> |
| <telerik:RadTreeView ID="rtvCompanyUserOrganization" runat="server" Height="136px" Width="213px" |
| OnClientNodeClicking="nodeUserClicking" OnNodeClick="NodeClick" > |
| <DataBindings> |
| <telerik:RadTreeNodeBinding Expanded="True" /> |
| </DataBindings> |
| </telerik:RadTreeView> |
| </div> |
| </ItemTemplate> |
| </telerik:RadComboBox> |

Hi,
I've got a problem with the excel export for the RadGrid. My grid is a hierarchical grid, there's the master table, and 3 detail tables at the same level of hierarchy. When the user click to the command button for the excel export I need to suppress 1 column in 2 of 3 detail tables, in particular the column is an image column (in the exported file I see the image's pathname).
I try to set visible = false to this column in the RadGrid_ItemCommand, in the button click(i also tried to add a button for the excel export), in the
RadGrid_ItemCreated, but the exported file have only the MasterTableView. To obtain all the hierarchies in the exported file I have to leave unchanged the columns.
How can I suppress the column in detail tables, obtaining anyway all the hierarchies?
thanks in advance,
regards
MgfProject s.r.l
Private Sub DataGrid_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles DataGrid.ItemDataBound If TypeOf e.Item Is GridFooterItem Then Dim footerItem As GridFooterItem = DirectCast(e.Item, GridFooterItem) Dim strUSD As Decimal = footerItem("BalanceUSD").Text Dim strLBP As Decimal = footerItem("BalanceLBP").Text Dim LBPvalue As Decimal = strLBP * 1507.5 Dim totalvalue As Decimal = strUSD + LBPvalue 'MsgBox(totalvalue) End If End SubHow do i handle when no data is in the grid?
Regards,
Mike

