This is a migrated thread and some comments may be shown as answers.

CommandItemTemplate -> RadToolBarButton -> disable collapse/group

2 Answers 111 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bouyez
Top achievements
Rank 1
Bouyez asked on 21 Mar 2017, 12:34 PM

Hi,

I try to update to the last version of telerik but I got an issue with a new fonctionnality (ref image) 
How can I disable it, I must be blind. 

Thx.

2 Answers, 1 is accepted

Sort by
0
Bouyez
Top achievements
Rank 1
answered on 24 Mar 2017, 11:03 AM
 
<CommandItemTemplate>
                      <asp:Image ID="Image1" runat="server" ImageUrl="Images/LogoSeppBlue.png" AlternateText="SEPP"></asp:Image>
                      <telerik:RadToolBar CssClass="batchRadToolBar" RenderMode="Lightweight" Skin="Windows7" ID="RadToolBar1" runat="server" OnClientButtonClicking="onToolBarClientButtonClicking"
                          AutoPostBack="false">
                          <Items>
                              <telerik:RadToolBarButton Text="Add" CommandName="ADD" ImageUrl="Images/Add.png">
                              </telerik:RadToolBarButton>
                              <telerik:RadToolBarButton Text="Save" CommandName="SAVE" ImageUrl="Images/Save.png">
                              </telerik:RadToolBarButton>
                              <telerik:RadToolBarButton Text="Cancel" CommandName="CANCEL" ImageUrl="Images/Cancel.png">
                              </telerik:RadToolBarButton>
                          </Items>
                      </telerik:RadToolBar>
                      <telerik:RadToolBar RenderMode="Lightweight" Skin="Windows7" ID="RadToolBar2" runat="server" OnButtonClick="RadToolBar2_ButtonClick" OnClientButtonClicking="onToolBarClientButtonClicking"
                          AutoPostBack="false">
                          <Items>
                              <telerik:RadToolBarDropDown ImageUrl="Images/ExcelSobre.png">
                                  <Buttons>
                                      <telerik:RadToolBarButton ID="RadToolBarButtonFiltered" ImageUrl="Images/export-icon.png" runat="server" CommandName="Filtered" Text="Filtered result set"></telerik:RadToolBarButton>
                                      <telerik:RadToolBarButton ID="RadToolBarButtonTechnical" ImageUrl="Images/export-icon.png" runat="server" CommandName="Technical" Text="With hidden column"></telerik:RadToolBarButton>
                                      <telerik:RadToolBarButton ID="RadToolBarButtonHeader" ImageUrl="Images/export-icon.png" runat="server" CommandName="Header" Text="Only Header"></telerik:RadToolBarButton>
                                      <telerik:RadToolBarButton Visible="true" Enabled="false" Value="FileUpload1" ID="RadToolBarButtonImport" Text="RadToolBarButtonImport" ImageUrl="Images/import-icon.png" runat="server" CommandName="Import">
                                          <ItemTemplate>
                                              <span class="rtbLink" id="ButtonImport">
                                                  <img src="Images/import-icon.png" class="rtbImage"/>
                                                  <asp:FileUpload Enabled="false" AllowMultiple="false" ID="FileUpload1" ClientIDMode="Static" runat="server" Text="Import" onChange="confirmed=true;this.form.submit();" />
                                              </span>
                                          </ItemTemplate>
                                      </telerik:RadToolBarButton>
                                  </Buttons>
                              </telerik:RadToolBarDropDown>
                          </Items>
                      </telerik:RadToolBar>
                      <telerik:RadToolBar CssClass="batchRadToolBar" RenderMode="Lightweight" Skin="Windows7" ID="RadToolBar3" runat="server" OnClientButtonClicking="onToolBarClientButtonClicking"
                          AutoPostBack="false">
                          <Items>
                              <telerik:RadToolBarButton Text="Refresh" OuterCssClass="refreshButton" CssClass="refresh" CommandName="REFRESH" ImageUrl="Images/Refresh.png">
                              </telerik:RadToolBarButton>
                          </Items>
                      </telerik:RadToolBar>
                  </CommandItemTemplate>
0
Bouyez
Top achievements
Rank 1
answered on 27 Mar 2017, 09:28 AM

Finally found it, simpy need to add : OverFlow="Never" to each radtoolbar / radtoolbarbutton.

 

Tags
Grid
Asked by
Bouyez
Top achievements
Rank 1
Answers by
Bouyez
Top achievements
Rank 1
Share this question
or