<telerik:RadTreeList ID=
"radTreelistLocation"
runat=
"server"
OnItemDataBound=
"radTreelistLocation_ItemDataBound"
AutoGenerateColumns=
"false"
ParentDataKeyNames=
"ParentLocationId"
AllowMultiItemSelection=
"true"
ShowTreeLines=
"true"
OnNeedDataSource=
"RadTreeList1_NeedDataSource"
AllowPaging=
"true"
PageSize=
"50"
DataKeyNames=
"ID"
AllowSorting=
"true"
>
<Columns>
<telerik:TreeListTemplateColumn UniqueName=
"locationName"
HeaderText=
"Location Name"
>
<ItemTemplate>
<asp:CheckBox ID=
"chkAssign"
runat=
"server"
Checked=
'<%# Eval("IsChecked") %>'
OnCheckedChanged=
"chkAssign_CheckChanged"
/>
</ItemTemplate>
</telerik:TreeListTemplateColumn>
<telerik:TreeListTemplateColumn UniqueName=
"locationName"
HeaderText=
"Location Name"
>
<ItemTemplate>
<asp:Label ID=
"lblLocationName"
runat=
"server"
Text=
'<%#Eval("Name") %>'
/>
</ItemTemplate>
</telerik:TreeListTemplateColumn>
</Columns>
</telerik:RadTreeList>
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(!Page.IsPostBack)
{
PopulateUsers();
radTreelistLocation.ExpandAllItems();
bindGrid();
}
}
protected
void
RadTreeList1_NeedDataSource(
object
sender, EventArgs e)
{
radTreelistLocation.DataSource = _applicationProcess.SelectLocations();
}
public
void
bindGrid()
{
List<Location> locationlist =
new
List<Location>();
locationlist = _applicationProcess.SelectLocations();
radTreelistLocation.DataSource = _applicationProcess.SelectLocations();
radTreelistLocation.DataBind();
ViewState[
"location"
] = locationlist;
}
}
<
telerik:RadGrid
ID
=
"radGridReconStatus"
GridLines
=
"None"
AutoGenerateColumns
=
"false"
ShowFooter
=
"true"
Width
=
"1000px"
AllowPaging
=
"false"
AllowSorting
=
"true"
runat
=
"server"
AllowAutomaticUpdates
=
"false"
Skin
=
"Outlook"
Visible
=
"true"
OnDetailTableDataBind
=
"radGridReconStatus_DetailTableDataBind"
OnItemDataBound
=
"radGridReconStatus_ItemDataBound"
OnNeedDataSource
=
"radGridReconStatus_NeedDataSource"
OnItemCommand
=
"radGridReconStatus_ItemCommand"
>
<
ExportSettings
IgnorePaging
=
"true"
OpenInNewWindow
=
"true"
ExportOnlyData
=
"true"
HideStructureColumns
=
"true"
>
<
Pdf
PageWidth
=
"1000px"
/>
</
ExportSettings
>
<
HeaderStyle
Font-Bold
=
"true"
/>
<
MasterTableView
ShowFooter
=
"true"
DataKeyNames
=
"ID"
CommandItemDisplay
=
"None"
>
<
DetailTables
>
<
telerik:GridTableView
Width
=
"100%"
DataKeyNames
=
"REVIEW_ID, KEY_ID"
runat
=
"server"
Name
=
"Detail"
AutoGenerateColumns
=
"false"
ShowHeader
=
"true"
GridLines
=
"None"
AlternatingItemStyle-BackColor
=
"AliceBlue"
CommandItemDisplay
=
"Top"
>
<
GroupHeaderItemStyle
Font-Bold
=
"true"
/>
<
CommandItemTemplate
>
<
table
border
=
"0"
cellpadding
=
"0"
cellspacing
=
"0"
width
=
"100%"
>
<
tr
>
<
td
style
=
"color: White;"
>
<
asp:CheckBox
ID
=
"chkSelectAll"
runat
=
"server"
/><
b
>Select all</
b
>
</
td
>
<
td
align
=
"right"
style
=
"color: White;"
>
<
asp:LinkButton
ID
=
"lnkDeleteInternal"
runat
=
"server"
Font-Bold
=
"true"
Text
=
"Delete Internal"
CommandName
=
"DeleteInternal"
/>
<
asp:LinkButton
ID
=
"lnkDeleteExternal"
runat
=
"server"
Font-Bold
=
"true"
Text
=
"Delete External"
CommandName
=
"DeleteExternal"
/>
<
asp:LinkButton
ID
=
"lnkDeleteBoth"
runat
=
"server"
Font-Bold
=
"true"
Text
=
"Delete Both"
CommandName
=
"DeleteBoth"
/>
</
td
>
</
tr
>
</
table
>
</
CommandItemTemplate
>
<%--<
ParentTableRelation
>
<
telerik:GridRelationFields
DetailKeyField
=
"REVIEW_ID"
MasterKeyField
=
"REVIEW_ID"
/>
</
ParentTableRelation
>--%>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"KEY_ID"
UniqueName
=
"KEY_ID"
Visible
=
"false"
/>
<
telerik:GridTemplateColumn
HeaderText
=
"Select"
ItemStyle-Width
=
"50px"
UniqueName
=
"CHECK_COLUMN"
>
<
ItemTemplate
>
<
asp:CheckBox
ID
=
"chkSelect"
runat
=
"server"
Enabled
=
"true"
/>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
DataField
=
"KEY_NAME"
UniqueName
=
"KEY_NAME"
Visible
=
"false"
HeaderText
=
"Total Breaks"
/>
<
telerik:GridBoundColumn
DataField
=
"TRANSACTION_TYPE"
UniqueName
=
"TRANSACTION_TYPE"
HeaderText
=
"Transaction Type"
Visible
=
"true"
ItemStyle-Width
=
"250px"
/>
<
telerik:GridBoundColumn
DataField
=
"INTERNAL_AMOUNT"
UniqueName
=
"INTERNAL_AMOUNT"
Visible
=
"true"
HeaderText
=
"Internal System Amount"
ItemStyle-Width
=
"150px"
DataFormatString
=
"{0:#,###0}"
/>
<
telerik:GridBoundColumn
DataField
=
"EXTERNAL_AMOUNT"
UniqueName
=
"EXTERNAL_AMOUNT"
Visible
=
"true"
HeaderText
=
"External Party Amount"
ItemStyle-Width
=
"150px"
DataFormatString
=
"{0:#,###0}"
/>
<
telerik:GridBoundColumn
DataField
=
"VARIANCE"
UniqueName
=
"VARIANCE"
Visible
=
"true"
HeaderText
=
"Difference"
ItemStyle-Width
=
"100px"
DataFormatString
=
"{0:#,###0}"
/>
</
Columns
>
</
telerik:GridTableView
>
</
DetailTables
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"REVIEW_ID"
UniqueName
=
"REVIEW_ID"
Visible
=
"false"
/>
<
telerik:GridBoundColumn
DataField
=
"RECON_ID"
UniqueName
=
"RECON_ID"
Visible
=
"false"
/>
<
telerik:GridBoundColumn
DataField
=
"ID"
UniqueName
=
"ID"
Visible
=
"false"
/>
<
telerik:GridBoundColumn
DataField
=
"REVIEW_COLUMN_VALUE_1"
HeaderText
=
"Key1"
UniqueName
=
"REVIEW_COLUMN_VALUE_1"
/>
<
telerik:GridBoundColumn
DataField
=
"REVIEW_COLUMN_VALUE_2"
HeaderText
=
"Key2"
UniqueName
=
"REVIEW_COLUMN_VALUE_2"
/>
<
telerik:GridBoundColumn
DataField
=
"REVIEW_COLUMN_VALUE_3"
HeaderText
=
"Key3"
UniqueName
=
"REVIEW_COLUMN_VALUE_3"
/>
<
telerik:GridBoundColumn
DataField
=
"REVIEW_COLUMN_VALUE_4"
HeaderText
=
"Key4"
UniqueName
=
"REVIEW_COLUMN_VALUE_4"
/>
<
telerik:GridBoundColumn
DataField
=
"REVIEW_COLUMN_VALUE_5"
HeaderText
=
"Key5"
UniqueName
=
"REVIEW_COLUMN_VALUE_5"
/>
<
telerik:GridBoundColumn
DataField
=
"INTERNAL_LOAD_DATE"
HeaderText
=
"Internal Load Date"
DataFormatString
=
"{0:MM/dd/yyyy}"
ItemStyle-Width
=
"75px"
/>
<
telerik:GridBoundColumn
DataField
=
"EXTERNAL_LOAD_DATE"
HeaderText
=
"External Load Date"
DataFormatString
=
"{0:MM/dd/yyyy}"
ItemStyle-Width
=
"75px"
/>
<
telerik:GridBoundColumn
DataField
=
"REVIEW_STATUS"
HeaderText
=
"REVIEW STATUS"
UniqueName
=
"REVIEW_STATUS"
/>
<
telerik:GridBoundColumn
DataField
=
"BreakCount"
HeaderText
=
"BreakCount"
UniqueName
=
"BreakCount"
/>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
<
telerik:GridDropDownColumn
DataSourceID
=
"ReportNameddlist"
ListTextField
=
"ReportName"
ListValueField
=
"ReportName"
UniqueName
=
"ddReportName"
SortExpression
=
"ReportName"
HeaderText
=
"Report Name"
DropDownControlType
=
"DropDownList"
DataField
=
"ReportName"
>
</
telerik:GridDropDownColumn
>
editor =
CType
(editMan.GetColumnEditor(
"ddReportName"
), GridDropDownListColumnEditor)
Dim
ReportNameddList
As
DropDownList = editor.DropDownListControl
ReportNameddList.DataSource = (From r
In
DbContext.SubscriptionReportNames
Select
r.ReportName).ToList()
ReportNameddList.DataBind()
Hi,
I have a problem in my page that is in my aspx page contains RadTextbox, RadComboBox and RadEditor. In the top of the I have placed radtextbox and placed the radcombox below to the radtextbox then placed the radeditor.
My problem is if radtextbox is at top then radcombo and rad editor is not working also it will displayed without skin. If radeditor is at top then combo will not works also displayed without style.
Then I have removed the radtextbox. Radcombo is at top now radeditor will not works. If i placed the radeditor in top of the page then radcombo will not works. I have attached the image of the radeditor, which displays without skin when radcombo is at top.
Thanks
Velkumar
The text in my radgrid is bleeding into the next field. I have tried fixing the issue using CSS, but, I'm not getting the desired results. Here is my code.
<script type="text/css">
.RadGrid .rgHeader,
.RadGrid .rgEditRow td,
.RadGrid .rgRow td,
.RadGrid .rgAltRow td
{
white-space : nowrap !important;
overflow : hidden !important;
text-overflow : ellipsis !important;
table-layout : fixed !important;
}
</script>
<telerik:RadScriptManager ID="ScriptManagerAggressiveMatches" runat="server" EnableTheming="True">
</telerik:RadScriptManager>
<telerik:RadGrid ID="RadGridAggressiveMatches" runat="server" DataMember="Aggressive Members" AutoGenerateEditColumn="True" GridLines="None" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" ShowFooter="True" Skin="Office2007" PageSize="50">
<ItemStyle Width="20px" />
<PagerStyle Mode="NumericPages" NextPageText="Next" PrevPageText="Previous" />
<MasterTableView Width="98%" TableLayout="Fixed">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
</MasterTableView>
<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
<Selecting AllowRowSelect="True" />
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
<FilterMenu EnableTheming="True">
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</FilterMenu>
</telerik:RadGrid>