Hi,
Is there a way to position the datepickers vertically on a date range filter column? Because of the number of columns, users are forced resize the datetime column to access the second datepicker in a range fileter.
James
Hi guys,
I have to embed two images as on e image..pls suggest which control is best and how can i done?
Thanks & Regards,
Radian
Hi,
i have a horizontal menu that I would like to restrict to a fixed width and not wrap around, it seem that the GroupSettings-Width should do the trick. How do I set the GroupSettings-Width property on the radmenu that I am building in the code behind?
I'm guessing the property is GroupSettings.Width = Unit.Pixel(750), but on what am I setting this property?
thanks
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
></
telerik:RadScriptManager
>
<
telerik:RadGrid
ID
=
"_timeEntriesGrid"
runat
=
"server"
AutoGenerateEditColumn
=
"false"
DataSourceID
=
"_timeEntryDataSource"
AllowAutomaticInserts
=
"false"
AllowAutomaticUpdates
=
"false"
GridLines
=
"None"
Skin
=
"Forest"
AutoGenerateColumns
=
"False"
GroupingEnabled
=
"true"
ShowGroupPanel
=
"true"
GroupLoadMode
=
"Client"
AllowPaging
=
"true"
PageSize
=
"50"
>
<
ExportSettings
IgnorePaging
=
"false"
OpenInNewWindow
=
"true"
>
<
Pdf
PageTitle
=
"Time Entries"
AllowPrinting
=
"true"
PaperSize
=
"Letter"
/>
</
ExportSettings
>
<
MasterTableView
Caption
=
"Time Entries Logged"
AllowFilteringByColumn
=
"true"
CommandItemDisplay
=
"Top"
>
<
CommandItemSettings
ShowAddNewRecordButton
=
"false"
ShowRefreshButton
=
"true"
ShowExportToPdfButton
=
"true"
/>
<
RowIndicatorColumn
><
HeaderStyle
Width
=
"20px"
/></
RowIndicatorColumn
>
<
ExpandCollapseColumn
><
HeaderStyle
Width
=
"20px"
/></
ExpandCollapseColumn
>
<
Columns
>
<
telerik:GridBoundColumn
Groupable
=
"true"
DataField
=
"ContractorDescription"
HeaderText
=
"Contractor"
SortExpression
=
"ContractorDescription"
UniqueName
=
"ContractorDescription"
DataType
=
"System.String"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
Groupable
=
"true"
DataField
=
"Name"
HeaderText
=
"Name"
SortExpression
=
"Name"
UniqueName
=
"Name"
DataType
=
"System.String"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Description"
HeaderText
=
"Log Type"
SortExpression
=
"Description"
UniqueName
=
"Description"
DataType
=
"System.String"
></
telerik:GridBoundColumn
>
<
telerik:GridDateTimeColumn
DataFormatString
=
"{0:g}"
DataField
=
"TimeLogged"
HeaderText
=
"Time"
SortExpression
=
"TimeLogged"
UniqueName
=
"TimeLogged"
DataType
=
"System.DateTime"
></
telerik:GridDateTimeColumn
>
</
Columns
>
</
MasterTableView
>
<
ClientSettings
AllowGroupExpandCollapse
=
"True"
ReorderColumnsOnClient
=
"True"
AllowDragToGroup
=
"True"
AllowColumnsReorder
=
"True"
></
ClientSettings
>
<
GroupingSettings
ShowUnGroupButton
=
"true"
/>
<
HeaderContextMenu
CssClass
=
"GridContextMenu GridContextMenu_Default"
EnableImageSprites
=
"True"
></
HeaderContextMenu
>
</
telerik:RadGrid
>
<
telerik:OpenAccessDataSource
ID
=
"_timeEntryDataSource"
runat
=
"server"
ObjectContextProvider
=
"Keeley.Barcode.DAL.KeeleyBarcodeDataContext, Keeley.Barcode.DAL"
TypeName
=
"Keeley.Barcode.DAL.VwProjectTimeLog"
OrderBy
=
"TimeLogged DESC"
Where
=
"ProjectID == '08485ad8-6f37-41cf-8fc3-50ba91f87e05'"
>
</
telerik:OpenAccessDataSource
>
</
form
>
</
body
>
System.InvalidCastException: Unable to cast object of type 'Telerik.Web.Apoc.Layout.BlockArea' to type 'Telerik.Web.Apoc.Layout.AreaContainer'.
at Telerik.Web.Apoc.Fo.Flow.BlockContainer.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.SystemException: System.InvalidCastException: Unable to cast object of type 'Telerik.Web.Apoc.Layout.BlockArea' to type 'Telerik.Web.Apoc.Layout.AreaContainer'.
at Telerik.Web.Apoc.Fo.Flow.BlockContainer.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)
Hi,
We are using a RadGrid control and wanted to know if there was a way to display multiple footer records.
We currently do not have footers turned on in the grid but instead return the total and totals for Applications records in the actual data that we receive in the dataset we get back from querying the database.
We then color these last 3 records to make them appear like footers on the bottom of the grid.
I have attached a screenshot of the grid for reference.
We noticed that these last 3 records do not behave like true footers when using the filtering capabilities of the grid.
Please advise if we can achieve this same results by using actual footers in the RadGrid.
Thanks!
Avo
I'm trying to set up a RadGrid with column filters that have values from the column itself, as demonstrated in the second RadGrid in this demo page: http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/basic-filtering/defaultcs.aspx
The columns for City, Country, and Contact Title have the functionality I need.
I have a RadGrid running in an ASP.NET Web Forms application, I've set AllowFilteringByColumn to true, and FilterType to "CheckList". I'm setting the datasource of the RadGrid programmatically at runtime to a list of objects. My goal is to set the column filter datasources programmatically at runtime as well, but none of the examples I've seen demonstrate a way to do this. The demo page linked above demonstrates this with a web service, and the column filters are created by referencing one of the web service methods. I don't want a database call for each one of my filterable columns, especially since I gather the necessary values when the page loads. As an example, two of my columns are User and Note Types. I use the following to extract a collection of distinct values:
var userNames = model.Results.Select(r => r.Username).Distinct().OrderBy(name => name);
var noteTypes = model.Results.Select(r => r.NoteType).Distinct().OrderBy(name => name);
I would very much like to simply assign these collections to the column filters in the RadGrid at runtime, rather than developing web services I don't need. Can this be done?
I've been looking for documentation/demos on binding a kendo treeview with a list<> in MVC architecture, but haven't found much information.
- What I have in the controller : List<UserDefined> test = List<UserDefined>();
1. [Example UserDefined class has the following properties- Id,Name,Age]
2. So, the List would look like :
List.Add(new UserDefined { Id = 1,Name = "abc", Age=10};
List.Add(new UserDefined { Id = 2,Name = "def", Age=20};
List.Add(new UserDefined { Id = 3,Name = "ghi", Age=30};
- A strongly typed view is created, to use the above list in the view.
Like so, @model List<UserDefined.test> is registered in the view.
Question : How to bind the above list (test) to the kendo Treeview?
Hi All,
I have a big problem with the RadHTMLChart. It appears it refuses to render until postback if it follows a RadListView on a page. If I put it on the page anywhere before the RadListView the problem goes away and it renders fine. This is the same for a RadHTMLChart that has no dynamic content on it.
<!-- LOAD GRAPHS -->
<
asp:Panel
runat
=
"server"
ID
=
"PanelCharts"
>
<
telerik:RadHtmlChart
runat
=
"server"
ID
=
"chtResults"
Width
=
"800"
Height
=
"500"
Transitions
=
"true"
Skin
=
"MetroTouch"
>
<
ChartTitle
>
<
Appearance
Align
=
"Center"
Position
=
"Top"
>
</
Appearance
>
</
ChartTitle
>
<
Legend
>
<
Appearance
Position
=
"Right"
Visible
=
"true"
>
</
Appearance
>
</
Legend
>
<
PlotArea
>
<
Series
>
<
telerik:PieSeries
StartAngle
=
"90"
>
<
LabelsAppearance
Position
=
"OutsideEnd"
DataFormatString
=
"{0} %"
>
</
LabelsAppearance
>
<
TooltipsAppearance
Color
=
"White"
DataFormatString
=
"{0} %"
></
TooltipsAppearance
>
<
SeriesItems
>
<
telerik:PieSeriesItem
Exploded
=
"false"
Name
=
"Safari"
Y
=
"4.5"
/>
<
telerik:PieSeriesItem
Exploded
=
"false"
Name
=
"Opera"
Y
=
"2.3"
/>
</
SeriesItems
>
</
telerik:PieSeries
>
</
Series
>
</
PlotArea
>
</
telerik:RadHtmlChart
>
</
asp:Panel
>
<!-- LOAD VERDICTS -->
<
asp:Panel
ID
=
"PanelVerdicts"
runat
=
"server"
>
<
telerik:RadListView
ID
=
"RadListViewVerdicts"
AllowPaging
=
"False"
runat
=
"server"
ItemPlaceholderID
=
"ProductsHolder"
DataKeyNames
=
"VerdictID"
>
<
LayoutTemplate
>
<
div
class="RadListView RadListViewFloated RadListView_<%# Container.Skin %>">
<
div
class
=
"rlvFloated"
>
<!-- <telerik:RadAjaxPanel ID="RadAjaxPanel" runat="server"> -->
<
asp:Panel
ID
=
"ProductsHolder"
runat
=
"server"
>
</
asp:Panel
>
<!-- </telerik:RadAjaxPanel> -->
</
div
>
</
div
>
</
LayoutTemplate
>
<
ItemTemplate
>
<
div
id
=
"productItem"
runat
=
"server"
class
=
"productItemWrapper"
>
<!-- Display Verdict Button -->
<
div
style
=
"text-align:center"
>
<
asp:Button
id
=
"btnVote"
runat
=
"server"
width
=
"100%"
OnCommand
=
"VoteCommand"
/>
</
div
>
<
div
class
=
"argumentItemWrapper"
id
=
"argumentItemWrapper"
runat
=
"server"
>
<
telerik:RadListView
ID
=
"RadListViewArguments"
AllowPaging
=
"False"
runat
=
"server"
ItemPlaceholderID
=
"ArgumentsHolder"
DataKeyNames
=
"ArgumentID"
OnNeedDataSource
=
"nestedListView_DataSource"
>
<
LayoutTemplate
>
<
asp:Panel
ID
=
"ArgumentsHolder"
runat
=
"server"
>
</
asp:Panel
>
</
LayoutTemplate
>
<
ItemTemplate
>
<!-- Display Arguments -->
<
p
style
=
"font-size:12pt;margin-top:10px"
><%# Eval("Description") %></
p
>
</
ItemTemplate
>
</
telerik:RadListView
>
</
div
>
<
a
href
=
"#"
id
=
"showmore"
runat
=
"server"
>Show more</
a
>
</
div
>
</
ItemTemplate
>
</
telerik:RadListView
>
</
asp:Panel
>
Obviously this isn't much help without the codebehind to load the radlistview items from needdatasource, but it appears to be easy to reproduce, just stick the radhtmlchart before a radlistview on a page.
It's nothing to do with updating as I've tested it without any updatepanel, radajaxpanel or radajaxmanager on the page and it does the same thing.
Thanks,
Will
I have the following RadScheduler inside an update panel:
<
asp:UpdatePanel
ID
=
"UpdatePanel1"
runat
=
"server"
UpdateMode
=
"Conditional"
>
<
ContentTemplate
>
<
telerik:RadPane
runat
=
"Server"
ID
=
"bottomPane"
Scrolling
=
"None"
Height
=
"1000"
>--%>
<
telerik:RadScheduler
runat
=
"server"
ID
=
"RadScheduler1"
Skin
=
"Office2007"
Height
=
"100%"
OverflowBehavior
=
"Auto"
OnAppointmentInsert
=
"RadScheduler1_AppointmentInsert"
OnAppointmentUpdate
=
"RadScheduler1_AppointmentUpdate"
OnAppointmentDelete
=
"RadScheduler1_AppointmentDelete"
OnAppointmentDataBound
=
"RadScheduler1_AppointmentDataBound"
OnClientAppointmentInserting
=
"OnClientAppointmentInserting"
OnClientNavigationComplete
=
"OnClientNavigationComplete"
OnClientAppointmentsPopulating
=
"OnClientAppointmentsPopulating"
OnFormCreated
=
"RadScheduler1_FormCreated"
DataKeyField
=
"Id"
DataSubjectField
=
"Subject"
DataStartField
=
"Start"
DataEndField
=
"End"
DataRecurrenceField
=
"RecurrenceRule"
DataRecurrenceParentKeyField
=
"RecurrenceParentId"
DataReminderField
=
"Reminder"
SelectedView
=
"WeekView"
ShowFooter
=
"false"
DayStartTime
=
"07:00:00"
DayEndTime
=
"21:00:00"
FirstDayOfWeek
=
"Monday"
LastDayOfWeek
=
"Sunday"
EnableDescriptionField
=
"true"
AppointmentStyleMode
=
"Default"
ClientIDMode
=
"Static"
ClientID
=
"RadScheduler1"
StartEditingInAdvancedForm
=
"true"
>
<
AdvancedForm
Modal
=
"true"
></
AdvancedForm
>
<
TimelineView
UserSelectable
=
"false"
></
TimelineView
>
<
ResourceHeaderTemplate
>
<
div
class
=
"rsResourceHeader<%# Eval("
Text") %>">
<%# Eval("Text") %>
</
div
>
</
ResourceHeaderTemplate
>
<
TimeSlotContextMenuSettings
EnableDefault
=
"true"
/>
<
AppointmentContextMenuSettings
EnableDefault
=
"true"
/>
<
Localization
/>
</
telerik:RadScheduler
>
</
ContentTemplate
>
</
asp:UpdatePanel
>​
Whenever i update an appointment in the advanced, the built-in subject validator works (the subject field border gets red and it does nothing if the subject field is empty). In the normal insert, the AppointmentInsert event fires and I can validate the subject in code behind. However, when i insert a new appointment in the advanced form, if the subject field is empty, the border gets red, but the UpdatePanel loads, the AppointmentInsert event doesn't fire and the page gets blocked. I attached a picture.
Thank you very much.
Hi,
Is it possible to show a tooltip window over the elements in the list on the left side of the gantt view?
For example if you want to see full name of an item in the column "Title".
Thanks