Hi,
I have a radgrid built completely from code-behind as a server-control. I am trying to add column filters to some of its columns. When I set the properties required for filtering (AllowFilteringByColumn on the grid) I see the filters on the columns. I then create the columns in code-behind - set the filter properties on them - and add it to the grid's column collection. When I type text in the filter column and press Enter the page/grid doesn't postback. Nothing happens. What am I missing in the below code?
The constructor that initializes the control
public
RadGridOpportunity()
{
this
.ID =
"grdOpportunity"
;
this
.MasterTableView.AutoGenerateColumns =
false
;
this
.MasterTableView.DataKeyNames =
new
string
[] {
"ID"
};
this
.MasterTableView.Columns.Add(ColStatus());
this
.MasterTableView.HierarchyLoadMode = GridChildLoadMode.ServerBind;
this
.MasterTableView.NoRecordsTemplate =
new
TemplateNoRecords();
this
.ItemCommand += RadGridOpportunity_ItemCommand;
this
.ItemCreated += RadGridOpportunity_ItemCreated;
this
.MasterTableView.NestedViewTemplate =
new
TemplateNestedView();
this
.NeedDataSource += RadGridOpportunity_NeedDataSource;
//filtering
this
.AllowFilteringByColumn =
true
;
this
.MasterTableView.AllowFilteringByColumn =
true
;
}
The column that is built and added to the columns collection-
protected
GridColumn ColStatus()
{
GridBoundColumn col =
new
GridBoundColumn();
col.HeaderText =
"Status"
;
col.DataField =
"Status"
;
col.CurrentFilterFunction = GridKnownFunction.Contains;
col.ShowFilterIcon =
false
;
col.AutoPostBackOnFilter =
true
;
col.DataType = Type.GetType(
"System.String"
);
return
col;
}
I have an issue that I am not able to figure out. In my Radscheduler I have the dropdown arrow for the popup calendar (next to the "today" link). When you select a date from the calendar I want it to change the Radscheduler view to that date. It is not working for me. Can you please give me some advice on how to make it work? I have included my code and an image of the dropdown calendar below.
Thank you,
Shelly
I am working on a new web interface and the tile list I used was 3 rows and grouped in 2 columns and looked nice and tidy as per the demos on the site. The quarterly update was applied (UI for ASP.NET AJAX v2016.1.113.45) to my project; but when viewing my tile list now instead of having 3 x 2 tiles then a gap then another 3 x 2 tile grouping. What I do get is 3 x 1 with a large gap and then 3 x 1, etc... (I have attached a file to show what I mean). But by manipulating the CSS class rtlistWrapper and making the width 11.8em instead of 22.8em this does sort of correct it; but is not what I want it to do.
The tiles are bound client side from an array of objects and I expect this process to organise the tiles correctly; but does seem that this is not the case.
My questions are; why has the looked changed even though I had only updated to the new telerik update? I would rather not use the CSS class manipulation to get it to look better; if there is another workaround or a setting in the Tile List control that I can implement to get it to render properly then that is the way I would prefer to go. Any advice is welcome.
<
telerik:RadMultiPage
ID
=
"RadMultiPage1"
runat
=
"server"
Width
=
"720"
SelectedIndex
=
"1"
>
<
telerik:RadPageView
ID
=
"RadPageView1"
runat
=
"server"
Selected
=
"true"
>
<
uc1:DoctorControl
ID
=
"DoctorControl"
runat
=
"server"
/>
</
telerik:RadPageView
>
...
A post in the Support Forums doesn't guarantee you a response from the Telerik support team although 95% of all posts are eventually answered. Additionally, a post is not assigned a response time as with the support ticketing system. In case you need a faster and precise response, please start a new support ticket as it gets higher priority than Forum posts.
Telerik strives to constantly improve its support services but it is essential to have full information so as to supply precise replies. It is important that you follow the guidelines below in order to receive an accurate response:
GUIDELINES TO USING THE SUPPORT FORUM
ENJOY!!!
the horizontal scrollbar doesn't show. rows and columns are not align. But the following loads (via ajax callback) display correctly.
<telerik:RadPivotGrid ID="PivotGrid1" runat="server" AllowPaging="true" ShowDataHeaderZone="false" ShowColumnHeaderZone="false" ShowRowHeaderZone="false"
ShowFilterHeaderZone="false" AllowFiltering="false" AllowSorting="false" Skin="Office2010Silver" PageSize="10">
<Fields>
...
</Fields>
<ColumnHeaderCellStyle Width="120px" />
<RowHeaderCellStyle Height="20px" Width="120px" />
<TotalsSettings GrandTotalsVisibility="None" />
</telerik:RadPivotGrid>
I have a telerik radgrid used on my page.I have set the enablelinqexpressions property to true. What i read in blog was when we set this property we get the filter expression in the linq format like this - "(iif(Message == null, \"\", Message).ToString().ToUpper().Contains(\"f2e\".ToUpper()))" but i am still getting the filter expression in the SQL format.
Am i missing any thing ?
Please find below few of my radgrid code snippet:
<telerik:RadGrid ID="gridResults" runat="server" AllowFilteringByColumn="True"
AllowPaging="True" AllowCustomPaging="True" AllowSorting="True" AutoGenerateColumns="False"
CellSpacing="0" EnableAJAX="True" GridLines="None" PageSize="20" Skin="Windows7"
OnNeedDataSource="gridResults_NeedDataSource" OnItemCommand="gridResults_ItemCommand" Visible="False">
<GroupingSettings CaseSensitive="False" />
<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True" />
<ExportSettings OpenInNewWindow="true" ExportOnlyData="true" HideStructureColumns="true" />
<MasterTableView CommandItemDisplay="Top" AllowMultiColumnSorting="False">
<CommandItemSettings ShowAddNewRecordButton="false" ShowExportToCsvButton="true" ShowExportToExcelButton="true" ShowRefreshButton="false" />
<SortExpressions>
<telerik:GridSortExpression FieldName="Timestamp" SortOrder="Descending" />
</SortExpressions>