Category: ASPxMenu

ASPxMenu – How to disable a menu item

<dx:ASPxMenu CssClass="centered" ID="ASPxMenu1" runat="server" ShowAsToolbar="true" ShowPopOutImages="true" OnItemClick="ASPxMenu1_ItemClick" Enabled="True" AutoPostBack="False" EnableCallBacks="True" Theme="Moderno" BackgroundImage-VerticalPosition="top" HorizontalAlign="Right"> <ClientSideEvents ItemClick="function(s, e){ OnMenuItemClick(e); }" /> <Items> <dx:MenuItem Name="Add" ToolTip="Yeni Kayıt Ekle" > <Image IconID="data_addnewdatasource_32x32"></Image> [...]

Read More

Access a control placed in AspxMenu SubMenuTemplate

<dx:MenuItem Name="Search" ToolTip="Arama"> <Image IconID="zoom_zoom_32x32"></Image> <SubMenuTemplate> <dx:ASPxGridLookup ID="CustLookup" runat="server" DataSourceID="SqlDataCustomer" OnValueChanged="Desti_ValueChanged" AutoPostBack="True" TextFormatString="{0}" KeyFieldName="MuKod"> <GridViewProperties> <SettingsPager Mode="ShowAllRecords"></SettingsPager> </GridViewProperties> <Columns> <dx:GridViewDataTextColumn FieldName="MuKod" [...]

Read More