Hello,
I have a grid with one of column defined as below, now I want to use HeaderContextMenu to show the filter option but the input is textbox instead of DateTime which should have a small calendar icon on the right side. I have tried manually showing and hiding the textbox by using below jquery at ShowMenu event but the filter just doesn't take value from my input datepicker. Can you show me how to do that?
$('[id$=DPFirstCond_wrapper]').show();
$('[id$=DPSecondCond_wrapper]').show();
$('[id$=TBFirstCond_wrapper]').hide();
$('[id$=TBSecondCond_wrapper]').hide();
<
telerik:GridTemplateColumn
SortExpression
=
"StartDate"
UniqueName
=
"StartDate"
DataType
=
"System.DateTime"
HeaderText
=
"Complan Eff. Date"
DataField
=
"StartDate"
>
<
HeaderStyle
Width
=
"180px"
></
HeaderStyle
>
<
ItemTemplate
>
<
div
runat
=
"server"
class='<%# ComPlanCssClass(Eval("StartDate"), Eval("ComPlanPending.StartDate"), Eval("ComPlanPending"))%>'>
<
asp:Label
Text='<%# ComPlanValue(Eval("StartDate"), Eval("ComPlanPending.StartDate"), Eval("ComPlanPending"))%>' runat="server" />
</
div
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
Hi sir
I create radhtmlbar chart dynamically created using below code i have two column series one for task and another lateaction i give color dynamically that color not update in legend
How we handle this situation.
Dim chart2 As New RadHtmlChart
chart2.ID = "chart2"
chart2.ChartTitle.Text = "Employee Efficiency (KPI)"
chart2.PlotArea.XAxis.LabelsAppearance.RotationAngle = 100
chart2.PlotArea.XAxis.DataLabelsField = _ChartSeriesFieldTitlexaxis2
chart2.PlotArea.Series.Clear()
chart2.PlotArea.XAxis.LabelsAppearance.RotationAngle = 0
Dim series4 As New ColumnSeries
series4.DataFieldY = _ChartDataFieldTitle2
series4.Name = "Total task(s)"
series4.LabelsAppearance.DataFormatString = "{0} Task(s)"
chart2.PlotArea.Series.Add(series4)
Dim series66 As New ColumnSeries
series66.DataFieldY = _ChartDataFieldTitle23
series66.Name = "Late action(s)"
series66.LabelsAppearance.DataFormatString = "{0} Task(s)"
chart2.PlotArea.Series.Add(series66)
Dim strrec As String = ""
series4.ColorField = "ColorRange"
series66.ColorField = "ColorRange1"
chart2.Legend.Appearance.Visible = True
chart2.Legend.Appearance.Position = ChartLegendPosition.Top
firstTable2.Columns.Add("ColorRange", Type.GetType("System.String"))
firstTable2.Columns.Add("ColorRange1", Type.GetType("System.String"))
Dim cosos2 As Integer = 0
For Each row As DataRow In firstTable2.Rows
row("ColorRange") = _Colors1(cosos2)
row("ColorRange1") = _Colors2(cosos2)
Next
How do I trouble shoot the following error "RadAsyncUpload handler is registered successfully, however, it may not be accessed directly."
It works fine locally but not on the server.
Good day, I am using Teleik.Web.UI version 2023.1.323.40
I had to add this javascript to the date picker to get the current day to be focused in the calendar- when it is first opened.
I am not sure why this helped, is there a more suitable fix?
datePickerDynCtrl.ClientEvents.OnPopupOpening =The RadGrid's AutoGenerateColumn is set to True. it can generate columns from the data source and load perfectly fine. Then I save the Grid Setting using the PersistanceManager. All good so far
The Grids data-source is actually taken from a View in database. only if I remove a column from the database View, and then try to load the grid along with saved settings then it fails because now the column that was there when saving settings no longer exists in datasource.
Here is how first settings are loaded
RadPersistenceManagerCs.LoadState()
and then
RadGridCs.Rebind()
The error is thrown in .Rebind()
The RadPersistanceManager does not expose any property where i can see what was loaded
I wonder if it is possible to verify if columns in saved settings match columns in data-source some other way
Thanks
Harshad
Hello.
I need to check on each row of the grid if its checkbox is checked or not.
In RadDropDownTree there is option EnableFiltering.
Is there some listbox (checkbox enabled) that has same capabilities?
Or maybe a way to keep RadDropDownTree always opened?
I am using Telerik RadGrid control in my ASP.NET web application. Grid columns are generated automatically from the data source. Also Grouping, sorting, Filtering, Aggregates etc are enabled for the columns in the grid. On right click on the column, it shows context menu and after selecting "Aggregates" option it shows all functions available such as None,Sum,Min,Max,Last,First,Count,Avg,CountDistinct,Custom
But I would like to remove some functions from this list.
Is there a way to access the functions list and manipulate it before grid renders ?
Thanks
Harshad