Hi,
I want to keep Tasks reordering (up/down), which is a great feature. But I don't want tasks to be added as a child tasks during this order.
Is it possible to keep the task reorder, but to disable "Drop over certain task and make it a child task." ?
We are using the RadScheduler to view and manipulate the doctors appointment list.
In day view we want to show the patient name and also som detailed information - neatly organised as in multiple columns.
We have tried using formating options for the Appointment.Description like "{0}\t{1}\t" and "{0,30} {1,10}" which doesn't seem to help.
Our goal is to see appointment organised like this:
09:20 JACK NICHOLSON 22.04.1937 GPO YYN
09:40 LINDA BLAIR 22.01.1959 KL YN
What we get is this:
09:20 JACK NICHOLSON 22.04.1937 GPO YYN
09:40 LINDA BLAIR 22.01.1959 KL YN
Is there a way to make the string formatting work as expected (simplest) or to add string objects with predefined width to the appointments (more complex).
Best regards,
Gunnar
Hello,
I am wondering how to use a RadListBox control with the Filter Template in a RadGrid? I looked at the demos for filtering but did not see any for how to handle the multiple selections of a RadListBox control. Would anyone be able to point me in the right direction as far as documentation?
Thanks!
Hello,
I have a RadGrid that is using the Header Context filtering and I am trying to bind the list boxes, but I received this kind of error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compilation Error Message: BC30456: 'radGrid1_FilterCheckListItemsRequested" is not a member of 'ASP.cad_cadlog_aspx'.
I'm following everything that the Telerik demo for Excel-filtering says to include, but I receive the above error regardless. I've copy/pasted what the event name is and everything. Still no luck. Here is my RadGrid code:
<
Telerik:RadGrid
ID
=
"radGrid1"
runat
=
"server"
ShowFooter
=
"true"
Width
=
"100%"
Height
=
"650px"
Visible
=
"true"
DataSourceID
=
"dsCADLog"
AllowFilteringByColumn
=
"true"
FilterType
=
"HeaderContext"
EnableHeaderContextMenu
=
"true"
EnableHeaderContextFilterMenu
=
"true"
OnFilterCheckListItemsRequested
=
"radGrid1_FilterCheckListItemsRequested"
>
I have manually created RadGrids based on data. The grids create just fine but I don't know how to add the sorting and pagination to a DYNAMICALLY created RadGrid.
Here is my RadGrid creation code:
Private Function CreateGrid(ByVal strLine As String) As RadGrid
Dim rg As New RadGrid
rg.ID = strLine rg.Width = Unit.Percentage(280) rg.PageSize = 40 rg.AllowPaging = True rg.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric rg.PagerStyle.AlwaysVisible = True rg.MasterTableView.PagerStyle.AlwaysVisible = True rg.AutoGenerateColumns = False rg.ExportSettings.FileName = strLine Dim boundColumn As GridBoundColumn boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Process" boundColumn.HeaderText = "Process" boundColumn.UniqueName = "Process" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Product" boundColumn.HeaderText = "Product" boundColumn.UniqueName = "Product" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Tested" boundColumn.HeaderText = "Tested" boundColumn.UniqueName = "Tested" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Passed" boundColumn.HeaderText = "Passed" boundColumn.UniqueName = "Passed" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Failed" boundColumn.HeaderText = "Failed" boundColumn.UniqueName = "Failed" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Yield" boundColumn.HeaderText = "Yield" boundColumn.UniqueName = "Yield" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "Top5" boundColumn.HeaderText = "Top 5 Rejects" boundColumn.UniqueName = "Top5" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Left boundColumn = New GridBoundColumn rg.MasterTableView.Columns.Add(boundColumn) boundColumn.DataField = "TrueFailure" boundColumn.HeaderText = "True Failure?" boundColumn.UniqueName = "TrueFailure" boundColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center Return rg
End Function
The way I have done it on a project that was NOT dynamically created:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
Session("Report") = CreateTable()
End If
End Sub
Protected Sub rdgAgeReport_PageIndexChanged(sender As Object, e As Telerik.Web.UI.GridPageChangedEventArgs) Handles rdgAgeReport.PageIndexChanged
rdgAgeReport.DataSource = CType(Session("Report"), DataTable)
rdgAgeReport.DataBind()
End Sub Protected Sub rdgAgeReport_PageSizeChanged(sender As Object, e As Telerik.Web.UI.GridPageSizeChangedEventArgs) Handles rdgAgeReport.PageSizeChanged
rdgAgeReport.DataSource = CType(Session("Report"), DataTable)
rdgAgeReport.DataBind()
End Sub
I've had Load on Demand working with the RadComboBox for a long time with a TelerikController Web API resource. While building-out more of our API I recently made all JSON responses camel case like so:
Dim
settings
As
JsonSerializerSettings = GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings
settings.Formatting = Formatting.Indented
settings.ContractResolver =
New
CamelCasePropertyNamesContractResolver()
The camel casing breaks RadComboBox though. Items returned from the web service will not be displayed in the dropdown. Is there any property that can be set to change this behavior or do we have to give up camel casing? I don't want to manually handle the response event and parse the JSON.
Thank you