or
<
telerik:GridTemplateColumn
UniqueName
=
"XYZDropDownType"
HeaderText
=
"XYZ DropDown Type"
SortExpression
=
"XYZDropDownType"
>
<
ItemTemplate
>
<%#DataBinder.Eval(Container.DataItem,"XYZDropdownType")%>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox2"
runat
=
"server"
DataTextField
=
"Description"
Width
=
"150px"
MaxHeight
=
"200"
SkinID
=
"EzComboBox"
DataSourceID
=
"ObjectDataSource2"
AppendDataBoundItems
=
"true"
DataValueField
=
"XYZDropdownTypeId"
SelectedValue='<%#Bind("XYZDropdownTypeId") %>'
EnableVirtualScrolling="True">
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Choose One"
Value
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"ABCType"
HeaderText
=
"ABC Type"
SortExpression
=
"ABCTypeName"
>
<
ItemTemplate
>
<%#DataBinder.Eval(Container.DataItem,"ABCTypeName")%>
</
ItemTemplate
>
<
EditItemTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBox3"
runat
=
"server"
DataTextField
=
"Type"
Width
=
"160px"
MaxHeight
=
"200"
SkinID
=
"EzComboBox"
DataSourceID
=
"ObjectDataSource3"
AppendDataBoundItems
=
"true"
DataValueField
=
"ABCTypeId"
SelectedValue='<%#Bind("ABCTypeId") %>'
EnableVirtualScrolling="True">
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Choose One"
Value
=
""
/>
</
Items
>
</
telerik:RadComboBox
>
</
EditItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:RadGrid
ID
=
"FileList"
Width
=
"97%"
AllowPaging
=
"True"
runat
=
"server"
AllowSorting
=
"True"
OnNeedDataSource
=
"FileList_NeedDataSource"
GridLines
=
"None"
AutoGenerateColumns
=
"False"
Skin
=
"Windows7"
Height
=
"220px"
>
<
HeaderContextMenu
EnableImageSprites
=
"True"
></
HeaderContextMenu
>
<
MasterTableView
Width
=
"100%"
DataKeyNames
=
"FileID"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
></
CommandItemSettings
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"FileID"
DataType
=
"System.Int32"
HeaderText
=
"FileID"
SortExpression
=
"FileID"
UniqueName
=
"FileID"
ReadOnly
=
"True"
Visible
=
"false"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"FileNumber"
HeaderText
=
"File Number"
SortExpression
=
"FileNumber"
UniqueName
=
"FileNumber"
HeaderStyle-Width
=
"85px"
ItemStyle-HorizontalAlign
=
"Center"
>
<
HeaderStyle
Width
=
"85px"
></
HeaderStyle
>
<
ItemStyle
HorizontalAlign
=
"Center"
></
ItemStyle
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DateEntered"
DataType
=
"System.DateTime"
DataFormatString
=
"{0:dd/MM/yyyy}"
HeaderText
=
"Date Entered"
SortExpression
=
"DateEntered"
UniqueName
=
"DateEntered"
HeaderStyle-Width
=
"85px"
>
<
HeaderStyle
Width
=
"85px"
></
HeaderStyle
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DateBoxed"
DataType
=
"System.DateTime"
DataFormatString
=
"{0:dd/MM/yyyy}"
HeaderText
=
"Date Boxed"
SortExpression
=
"DateBoxed"
UniqueName
=
"DateBoxed"
HeaderStyle-Width
=
"85px"
>
<
HeaderStyle
Width
=
"85px"
></
HeaderStyle
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DestroyDate"
DataType
=
"System.DateTime"
HeaderStyle-Width
=
"100px"
HeaderText
=
"Destroy Date"
ReadOnly
=
"True"
SortExpression
=
"DestroyDate"
DataFormatString
=
"{0:dd/MM/yyyy}"
UniqueName
=
"DestroyDate"
>
<
HeaderStyle
Width
=
"100px"
></
HeaderStyle
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"FileStatus"
HeaderText
=
"File Status"
HeaderStyle-Width
=
"115px"
SortExpression
=
"FileStatus"
UniqueName
=
"FileStatus"
>
<
HeaderStyle
Width
=
"115px"
></
HeaderStyle
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Business"
DataType
=
"System.Int32"
HeaderText
=
"Business"
SortExpression
=
"Business"
UniqueName
=
"Business"
Visible
=
"false"
>
</
telerik:GridBoundColumn
>
</
Columns
></
MasterTableView
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
/>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"True"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
</
ClientSettings
>
<
FilterMenu
EnableTheming
=
"True"
>
<
CollapseAnimation
Duration
=
"200"
Type
=
"OutQuint"
/>
</
FilterMenu
>
</
telerik:RadGrid
>
Protected Sub FileList_NeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs) Handles FileList.NeedDataSource
FileList.DataSource = GetFileList
End Sub
<
asp:SqlDataSource
ID
=
"GetFileList"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:FileawaySQLConnectionString %>"
SelectCommand="SELECT * FROM [qryFileList] WHERE ([Business] = @Business)">
<
SelectParameters
>
<
asp:ControlParameter
ControlID
=
"lblUserID"
Name
=
"Business"
PropertyName
=
"Text"
Type
=
"Int32"
/>
</
SelectParameters
>
</
asp:SqlDataSource
>
<
telerik:RadGrid
ID
=
"FileHistory"
Width
=
"97%"
AllowPaging
=
"True"
runat
=
"server"
AllowSorting
=
"True"
OnNeedDataSource
=
"FileHistory_NeedDataSource"
GridLines
=
"None"
AutoGenerateColumns
=
"False"
Skin
=
"Windows7"
Height
=
"220px"
>
<
HeaderContextMenu
EnableImageSprites
=
"True"
></
HeaderContextMenu
>
<
MasterTableView
Width
=
"100%"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to Pdf"
></
CommandItemSettings
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"FileID"
DataType
=
"System.Int32"
HeaderText
=
"FileID"
ReadOnly
=
"True"
SortExpression
=
"FileID"
UniqueName
=
"FileID"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"FileNumber"
HeaderText
=
"FileNumber"
SortExpression
=
"FileNumber"
UniqueName
=
"FileNumber"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"FileHistoryAction"
HeaderText
=
"FileHistoryAction"
SortExpression
=
"FileHistoryAction"
UniqueName
=
"FileHistoryAction"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DateofAction"
DataType
=
"System.DateTime"
HeaderText
=
"DateofAction"
SortExpression
=
"DateofAction"
UniqueName
=
"DateofAction"
>
</
telerik:GridBoundColumn
>
</
Columns
></
MasterTableView
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
/>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"True"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
</
ClientSettings
>
<
FilterMenu
EnableTheming
=
"True"
>
<
CollapseAnimation
Duration
=
"200"
Type
=
"OutQuint"
/>
</
FilterMenu
>
</
telerik:RadGrid
>
Protected Sub FileHistory_NeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs) Handles FileHistory.NeedDataSource
FileList.DataSource = GetFileHistory
End Sub
<
asp:SqlDataSource
ID
=
"GetFileHistory"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:FileawaySQLConnectionString %>"
SelectCommand="SELECT * FROM [qryFileHistory] WHERE ([FileID] = @FileID)">
<
SelectParameters
>
<
asp:ControlParameter
ControlID
=
"FileList"
Name
=
"FileID"
PropertyName
=
"SelectedValue"
Type
=
"Int32"
/>
</
SelectParameters
>
</
asp:SqlDataSource
>
<
asp:UpdatePanel
ID
=
"UpdatePanel1"
runat
=
"server"
>
<
ContentTemplate
>
<
telerik:RadGrid
ID
=
"rgContacts"
runat
=
"server"
GridLines
=
"None"
AllowPaging
=
"True"
CssClass
=
"RadGrid"
AllowSorting
=
"False"
AutoGenerateColumns
=
"False"
ShowStatusBar
=
"true"
OnPreRender
=
"rgContacts_PreRender"
OnNeedDataSource
=
"rgContacts_NeedDataSource"
OnUpdateCommand
=
"rgContacts_UpdateCommand"
OnInsertCommand
=
"rgContacts_InsertCommand"
OnDeleteCommand
=
"rgContacts_DeleteCommand"
>
<
MasterTableView
Width
=
"100%"
CommandItemDisplay
=
"Top"
DataKeyNames
=
"con_Contact_ID"
>
<
Columns
>
<
telerik:GridEditCommandColumn
UniqueName
=
"EditCommandColumn"
/>
<
telerik:GridBoundColumn
UniqueName
=
"con_Firstname"
HeaderText
=
"First Name"
DataField
=
"con_Firstname"
/>
<
telerik:GridBoundColumn
UniqueName
=
"con_Surname"
HeaderText
=
"Surname"
DataField
=
"con_Surname"
/>
<
telerik:GridBoundColumn
UniqueName
=
"con_Position"
HeaderText
=
"Position"
DataField
=
"con_Position"
/>
<
telerik:GridBoundColumn
UniqueName
=
"con_Email"
HeaderText
=
"Email"
DataField
=
"con_Email"
/>
<
telerik:GridBoundColumn
UniqueName
=
"con_Phone"
HeaderText
=
"Landline"
DataField
=
"con_Phone"
/>
<
telerik:GridBoundColumn
UniqueName
=
"con_Mobile"
HeaderText
=
"Mobile"
DataField
=
"con_Mobile"
/>
<
telerik:GridBoundColumn
UniqueName
=
"con_Fax"
HeaderText
=
"Fax"
DataField
=
"con_Fax"
/>
<
telerik:GridBoundColumn
UniqueName
=
"con_Is_Primary"
HeaderText
=
"Is Primary Contact"
DataField
=
"con_Is_Primary"
/>
<
telerik:GridButtonColumn
UniqueName
=
"DeleteColumn"
Text
=
"Delete"
CommandName
=
"Delete"
/>
</
Columns
>
<
EditFormSettings
UserControlName
=
"Controls/ContactDetails.ascx"
EditFormType
=
"WebUserControl"
>
<
EditColumn
UniqueName
=
"EditCommandColumn1"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
<
ClientSettings
>
<
ClientEvents
OnRowDblClick
=
"RowDblClick"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
</
ContentTemplate
>
</
asp:UpdatePanel
>
<telerik:RadGrid ID="radGridEngMemberAccess" runat="server" ShowStatusBar="true" AutoGenerateColumns="false" GridLines="None" AllowMultiRowEdit="false" > <MasterTableView DataKeyNames="JobID" AllowMultiColumnSorting="True" Width="100%" CommandItemDisplay="None" AllowAutomaticDeletes="false" Name="CloseOutDetails" > <CommandItemSettings ShowRefreshButton="false" /> <DetailTables> <telerik:GridTableView Width="100%" runat="server" CommandItemDisplay="Bottom" Name="EngMemberDetails" DataKeyNames="ID" EditMode="InPlace" > <PagerStyle Mode="NextPrevAndNumeric" /> <CommandItemSettings AddNewRecordText="Add new user" /> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1" > <HeaderStyle Width="30px" /> <ItemStyle CssClass="MyImageButton" /> </telerik:GridEditCommandColumn> <telerik:GridBoundColumn SortExpression="Name" HeaderText="User Name" HeaderButtonType="TextButton" DataField="Name" UniqueName="colName"> </telerik:GridBoundColumn> <telerik:GridDropDownColumn SortExpression="Role" HeaderText="Role" DataSourceID="XmlDataSource1" HeaderButtonType="TextButton" ListTextField="Name" ListValueField="ID" DataField="Role" UniqueName="colRole" /> <telerik:GridCheckBoxColumn DataField="IsActive" HeaderText="IsActive" UniqueName="colIsActive" HeaderStyle-Width="10%" /> <telerik:GridBoundColumn SortExpression="ID" HeaderText="ID" HeaderButtonType="TextButton" DataField="ID" UniqueName="ID" ReadOnly="true" Visible="false"/> <telerik:GridButtonColumn ConfirmText="Do you wand to delete the user?" ButtonType="ImageButton" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn2"> <HeaderStyle Width="20px" /> <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" /> </telerik:GridButtonColumn> </Columns> <SortExpressions> <telerik:GridSortExpression FieldName="Name"></telerik:GridSortExpression> </SortExpressions> </telerik:GridTableView> </DetailTables> <Columns > <telerik:GridBoundColumn SortExpression="CloseOutName" HeaderText="CloseOut Name" HeaderButtonType="TextButton" DataField="CloseOutName" > </telerik:GridBoundColumn> <telerik:GridBoundColumn SortExpression="CloseOutType" HeaderText="CloseOut Type" HeaderButtonType="TextButton" DataField="CloseOutType" ReadOnly="true"> </telerik:GridBoundColumn> <telerik:GridBoundColumn SortExpression="JobID" HeaderText="JobID" HeaderButtonType="TextButton" DataField="JobID" UniqueName="JobID" ReadOnly="true"> </telerik:GridBoundColumn> <telerik:GridDateTimeColumn SortExpression="PeriodEndDate" HeaderText="PeriodEndDate" HeaderButtonType="TextButton" DataField="PeriodEndDate" UniqueName="PeriodEndDate" DataFormatString="{0: MM/dd/yyyy}" ReadOnly="true"> </telerik:GridDateTimeColumn> </Columns> <HeaderStyle BorderColor="Blue" BackColor="Red"/> </MasterTableView> </telerik:RadGrid>
Hello,
I have a problem.
The radmenu is displayed above the radexplorer of the radeditor control (Please view the attached image).
Here is my radmenu code:
<
telerik:RadMenu
ID
=
"HeaderRadMenu"
Flow
=
"Horizontal"
Skin
=
"Outlook"
style
=
"z-index:0;"
Width
=
"100%"
runat
=
"server"
>
</
telerik:RadMenu
>
if (!IsPostBack)
{
HeaderRadMenu.LoadContentFile("~/SecureSiteManagenment/Design/xml/HeaderMenu.xml");
}
Here is my radeditor control:
<
telerik:RadEditor
runat
=
"server"
ID
=
"PContentRadEditor"
Skin
=
"Default"
Height
=
"500px"
Width
=
"100%"
Content='<%# DataBinder.Eval( Container, "DataItem.PContent") %>' ToolsFile="~/Common/Controls/RadEditor/xml/CustomFullSetOfToolsForSecureTables.xml"
DialogsCssFile="~/Common/Controls/RadEditor/RTLRadEditorStyle/RadEditor_Dialogs_RTL.css" ContentAreaCssFile="~/Common/Controls/RadEditor/RTLRadEditorStyle/EditorContentArea_RTL.css">
<
Modules
>
<
telerik:EditorModule
Visible
=
"false"
/>
</
Modules
>
<
ImageManager
ViewPaths
=
"~/Pages/Design/Contents/PagesContent"
MaxUploadFileSize
=
"10000000"
DeletePaths
=
"~/Pages/Design/Contents/PagesContent"
UploadPaths
=
"~/Pages/Design/Contents/PagesContent"
/>
<
DocumentManager
ViewPaths
=
"~/Pages/Design/Contents/PagesContent"
MaxUploadFileSize
=
"100000000"
DeletePaths
=
"~/Pages/Design/Contents/PagesContent"
UploadPaths
=
"~/Pages/Design/Contents/PagesContent"
/>
<
MediaManager
ViewPaths
=
"~/Pages/Design/Contents/PagesContent"
MaxUploadFileSize
=
"100000000"
DeletePaths
=
"~/Pages/Design/Contents/PagesContent"
UploadPaths
=
"~/Pages/Design/Contents/PagesContent"
/>
<
FlashManager
ViewPaths
=
"~/Pages/Design/Contents/PagesContent"
MaxUploadFileSize
=
"100000000"
DeletePaths
=
"~/Pages/Design/Contents/PagesContent"
UploadPaths
=
"~/Pages/Design/Contents/PagesContent"
/>
<
TemplateManager
ViewPaths
=
"~/Pages/Design/Contents/PagesContent"
MaxUploadFileSize
=
"100000000"
DeletePaths
=
"~/Pages/Design/Contents/PagesContent"
UploadPaths
=
"~/Pages/Design/Contents/PagesContent"
/>
</
telerik:RadEditor
>
If I set the z-index of the radmenu as "-1" istaed of "0". then the radexplorer hides the radmenu, but then, the user will be unable to display the child items of the radmenu.
Please, I need your help to solve this problem,
It is appreciated to send me the modified code:
Regards,
Bader