Dear Telerik,
We have problem with selecting value from combo box and drop down list when there are more then 50 values. After selecting one value the focus on next input is slow. We saw that new Kendo version 2015.1.318 (core) have new property called data-index, we are on professional 2014.2.716 version. So can you please tell us how to speed up our project ?
If there is any question please ask.
Thank you in advanced.
I have a telerik RadScheduler in which I don't want Gray Color for current date instead I want it to be as simple as white color which Property do I use here?? here is my scheduler as shown in attached file
<telerik:RadScheduler runat="server" ID="RadScheduler1" SelectedView="MonthView"
OverflowBehavior="Expand" DataKeyField="ID" DataStartField="Start" DataEndField="End"
DataSubjectField="Subject" OnAppointmentDelete="RadScheduler1_AppointmentDelete"
DayStartTime="00:00:00" DayEndTime="23:00:00" StartInsertingInAdvancedForm="True"
AdvancedForm-EnableCustomAttributeEditing="true" OnAppointmentInsert="RadScheduler1_OnAppointmentInsert"
OnFormCreated="RadScheduler1_OnFormCreated"
OnClientAppointmentInserting="OnClientAppointmentInserting" OnFormCreating="RadScheduler1_FormCreating"
OnAppointmentUpdate="RadScheduler1_OnAppointmentUpdate" EnableCustomAttributeEditing="True"
ResolvedRenderMode="Classic" EditFormDateFormat="dd/MM/yyyy" WorkDayEndTime="23:00:00"
WorkDayStartTime="00:00:00" TimeZoneID="Pakistan Standard Time" ShowFullTime="True"
TimelineView-UserSelectable="false" MonthView-UserSelectable="false" DayView-UserSelectable="false" WeekView-UserSelectable="false"
TimeZoneOffset="05:00:00" >
<TimeSlotContextMenuSettings EnableDefault="true" />
<AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
<TimeSlotContextMenus>
<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerTimeSlotContextMenu">
<Items>
<telerik:RadMenuItem Text="Mark Holidays" Value="CommandAddAppointment">
</telerik:RadMenuItem>
</Items>
</telerik:RadSchedulerContextMenu>
</TimeSlotContextMenus>
<ExportSettings>
<Pdf PageTopMargin="1in" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in">
</Pdf>
</ExportSettings>
<AdvancedForm Modal="true" EnableCustomAttributeEditing="true" DateFormat="dd/MM/yyyy" />
<Localization AdvancedNewAppointment="Set Day" AdvancedEditAppointment="Update Your Day"
ConfirmDeleteText="Are you sure you want to delete this Day" />
<WeekView DayStartTime="06:00:00" WorkDayEndTime="18:00:00" HeaderDateFormat="dd/MM/yyyy" />
<DayView DayStartTime="06:00:00" WorkDayEndTime="18:00:00" HeaderDateFormat="dd/MM/yyyy" />
<MultiDayView DayStartTime="06:00:00" WorkDayEndTime="18:00:00" />
<MonthView HeaderDateFormat="dd/MM/yyyy" />
</telerik:RadScheduler>
Hey Guys im trying to follow the sample follow the example:
http://demos.telerik.com/aspnet-ajax/htmlchart/examples/databinding/bindtodataset/defaultcs.aspx
except that im trying to use a areaseries. Sadly it seems like the property DataFieldX is not supported eventhough its documented:
http://www.telerik.com/help/aspnet-ajax/properties_t_telerik_web_ui_areaseries.html
I can only set "DataFieldY".
My Code:
<
telerik:RadHtmlChart
runat
=
"server"
ID
=
"AreaChart"
Width
=
"800"
Height
=
"500"
Skin
=
"Silk"
>
<
PlotArea
>
<
Series
>
<
telerik:AreaSeries
Name
=
"Series1"
DataFieldX
=
"timestamp"
DataFieldY
=
"eToday"
>
<
Appearance
>
<
FillStyle
BackgroundColor
=
"Red"
></
FillStyle
>
</
Appearance
>
<
LabelsAppearance
Position
=
"Above"
>
</
LabelsAppearance
>
<
LineAppearance
Width
=
"1"
></
LineAppearance
>
<
MarkersAppearance
MarkersType
=
"Circle"
BackgroundColor
=
"White"
Size
=
"6"
BorderColor
=
"Red"
BorderWidth
=
"2"
></
MarkersAppearance
>
<
TooltipsAppearance
Color
=
"White"
>
</
TooltipsAppearance
>
</
telerik:AreaSeries
>
</
Series
>
<
Appearance
>
<
FillStyle
BackgroundColor
=
"Transparent"
></
FillStyle
>
</
Appearance
>
<
XAxis
AxisCrossingValue
=
"0"
Color
=
"black"
MajorTickType
=
"Outside"
MinorTickType
=
"Outside"
Reversed
=
"false"
>
<
TitleAppearance
Position
=
"Center"
RotationAngle
=
"0"
Text
=
"Date & Time"
>
</
TitleAppearance
>
<
LabelsAppearance
DataFormatString
=
"{0}"
RotationAngle
=
"0"
Skip
=
"0"
Step
=
"1"
>
</
LabelsAppearance
>
</
XAxis
>
<
YAxis
AxisCrossingValue
=
"0"
Color
=
"black"
MajorTickSize
=
"4"
MajorTickType
=
"Outside"
MaxValue
=
"1400"
MinorTickType
=
"None"
MinValue
=
"0"
Reversed
=
"false"
Step
=
"200"
>
<
LabelsAppearance
DataFormatString
=
"{0}"
RotationAngle
=
"0"
Skip
=
"0"
Step
=
"1"
>
</
LabelsAppearance
>
<
TitleAppearance
RotationAngle
=
"0"
Position
=
"Center"
Text
=
"Leistung am Tag in kWh"
>
</
TitleAppearance
>
</
YAxis
>
</
PlotArea
>
<
Appearance
>
<
FillStyle
BackgroundColor
=
"Transparent"
></
FillStyle
>
</
Appearance
>
<
ChartTitle
Text
=
"Company performance"
>
<
Appearance
Align
=
"Center"
BackgroundColor
=
"Transparent"
Position
=
"Top"
>
</
Appearance
>
</
ChartTitle
>
<
Legend
>
<
Appearance
BackgroundColor
=
"Transparent"
Position
=
"Bottom"
>
</
Appearance
>
</
Legend
>
</
telerik:RadHtmlChart
>
Please help on how to be able to fire Required Field Validator of fields when clicking Add New Item and trying to SAVE empty record in Rad Grid. Thanks!!
Rad Grid:
<div>
<label for="rgRemark">Remarks:</label>
<telerik:RadGrid ID="rgRemarks" runat="server" AllowPaging="True" AllowSorting="True"
AutoGenerateColumns="False" GridLines="None" AllowMultiRowEdit="false" AllowAutomaticInserts="false"
AllowAutomaticUpdates="false" CellSpacing="0" Width="500px" Style="float: right">
<PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="True" />
<MasterTableView CommandItemDisplay="Top" DataKeyNames="EmployeeID, RemarkID" CellSpacing="-1" RetrieveAllDataFields="false">
<CommandItemSettings ShowRefreshButton="True" ShowAddNewRecordButton="True" AddNewRecordText="Add Remark" />
<Columns>
<telerik:GridTemplateColumn DataField="Remark" SortExpression="Remark" HeaderText="Remark"
UniqueName="Remark">
<ItemTemplate>
<asp:Label ID="lblRemark" Text='<%#Eval("Remark")%>' runat="server" />
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtRemark" runat="server" TextMode="MultiLine" Width="300px" />
<asp:RequiredFieldValidator ID="requiredFieldRemark" runat="server" ControlToValidate="txtRemark"
ErrorMessage="* Remark is required field." Display="Dynamic"/>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridButtonColumn ButtonType="ImageButton" HeaderText="Edit" CommandName="Edit" Text="Edit" />
<telerik:GridButtonColumn ConfirmText="Delete this Remark?" ConfirmDialogType="RadWindow"
ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
HeaderText="Delete" UniqueName="DeleteColumn">
</telerik:GridButtonColumn>
</Columns>
<EditFormSettings>
<EditColumn ButtonType="ImageButton" CancelImageUrl="~\Images\CommandImages\Cancel.gif" CancelText="Cancel Edit"
InsertImageUrl="~\Images\CommandImages\Save.gif" InsertText="Insert" UniqueName="EditColumn"
UpdateImageUrl="~\Images\CommandImages\Save.gif" UpdateText="Update ">
</EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
</div>
Code Behind:
If (TypeOf e.Item Is GridEditableItem AndAlso e.Item.IsInEditMode) Then
Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem)
Dim requiredFieldRemark As RequiredFieldValidator = DirectCast(editedItem.FindControl("requiredFieldRemark"), RequiredFieldValidator)
requiredFieldRemark.Enabled = True
ElseIf (TypeOf e.Item Is GridEditFormInsertItem AndAlso e.Item.OwnerTableView.IsItemInserted) Then
Dim dataItem As GridEditableItem = CType(e.Item, GridEditableItem)
Dim requiredFieldRemark As RequiredFieldValidator = DirectCast(dataItem.FindControl("requiredFieldRemark"), RequiredFieldValidator)
requiredFieldRemark.Enabled = True
End If
Hello,
I been trying to use this asyncupload-additional fields but It doesn't work when I set session state to SQL SERVER. keep getting this error:
Microsoft JScript runtime error: Error while uploading, [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.30514.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer
this is my control:
<
telerik:RadAsyncUpload
runat
=
"server"
ID
=
"RadAsyncUpload1"
OnClientFileUploaded
=
"onClientFileUploaded"
MultipleFileSelection
=
"Automatic"
Skin
=
"Office2007"
/>
javascript is same as given in demo.
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowFilteringByColumn
=
"True"
EnableViewState
=
"true"
CssClass
=
"GridViewSforms"
Skin
=
"Web20"
EnableEmbeddedSkins
=
"False"
Height
=
"510px"
Width
=
"941px"
ShowStatusBar
=
"True"
AlternatingItemStyle-BackColor
=
"#ededed"
ClientSettings-EnableRowHoverStyle
=
"true"
AllowPaging
=
"True"
AllowSorting
=
"True"
CellSpacing
=
"0"
GridLines
=
"None"
AutoGenerateColumns
=
"False"
ShowGroupPanel
=
"False"
EnableLinqExpressions
=
"False"
>
<
ClientSettings
AllowColumnsReorder
=
"True"
ReorderColumnsOnClient
=
"True"
AllowDragToGroup
=
"True"
EnableRowHoverStyle
=
"True"
>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
</
ClientSettings
>
<
AlternatingItemStyle
BackColor
=
"#EDEDED"
/>
<
MasterTableView
CommandItemDisplay
=
"Top"
>
<
telerik:GridBoundColumn
DataField
=
"CustomerProgramDescription"
Groupable
=
"true"
HeaderText
=
"Program"
UniqueName
=
"CustomerProgramDescription"
>
<
FilterTemplate
>
<
telerik:RadComboBox
ID
=
"RadComboBoxCustomerProgramDescription"
runat
=
"server"
AppendDataBoundItems
=
"true"
DataTextField
=
"CustomerProgramDescription"
DataValueField
=
"CustomerProgramDescription"
OnClientSelectedIndexChanged
=
"CustomerProgramDescriptionIndexChanged"
OnDataBound
=
"RadComboBoxAllFilters_OnDataBound"
SelectedValue='<%# TryCast(Container,GridItem).OwnerTableView.GetColumn("CustomerProgramDescription").CurrentFilterValue %>'
Width="100px">
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"All"
/>
</
Items
>
</
telerik:RadComboBox
>
<
telerik:RadScriptBlock
ID
=
"RadScriptBlockProgram"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function CustomerProgramDescriptionIndexChanged(sender, args) {
var tableView = $find("<%# TryCast(Container,GridItem).OwnerTableView.ClientID %>");
tableView.filter("CustomerProgramDescription", args.get_item().get_value(), "EqualTo");
}
</
script
>
</
telerik:RadScriptBlock
>
</
FilterTemplate
>
<
ItemStyle
Wrap
=
"False"
/>
<
HeaderStyle
Wrap
=
"false"
/>
</
telerik:GridBoundColumn
>
Protected Sub RadGrid1_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemDataBound
If TypeOf e.Item Is Telerik.Web.UI.GridFilteringItem Then
'Populate Filters by binding the combo to datasource
Dim filteringItem As Telerik.Web.UI.GridFilteringItem = CType(e.Item, Telerik.Web.UI.GridFilteringItem)
Dim myRadComboBox As Telerik.Web.UI.RadComboBox = DirectCast(filteringItem.FindControl("RadComboBoxCustomerProgramDescription"), Telerik.Web.UI.RadComboBox)
myRadComboBox.DataSource = myDataSet
myRadComboBox.DataTextField = "CustomerProgramDescription"
myRadComboBox.DataValueField = "CustomerProgramDescription"
myRadComboBox.ClearSelection()
myRadComboBox.DataBind()
End If