Hi,
I am trying to send Slider value to a textbox using AjaxManager. I want the value to be displayed in the textbox OnValueChanged. I do not want to use OnClientValueChanged as I want to use a codebehind method.
The issue is that the slider value is not updated consistently in the textbox every time I drag the slider handle. Sometimes it responds after two clicks or more and sometimes it starts working fine.
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
></
asp:ScriptManager
>
<
telerik:RadAjaxManager
ID
=
"RadSlider1"
runat
=
"server"
EnableAJAX
=
"True"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"DbgSlider1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"Slider1Text"
UpdatePanelRenderMode
=
"Inline"
></
telerik:AjaxUpdatedControl
>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadSlider
runat
=
"server"
ID
=
"DbgSlider1"
Width
=
"400px"
IsSelectionRangeEnabled
=
"false"
MinimumValue
=
"0"
MaximumValue
=
"50000"
Step
=
"5000"
OnValueChanged
=
"SetValue"
AutoPostBack
=
"true"
ShowDecreaseHandle
=
"false"
ShowIncreaseHandle
=
"false"
EnableDragRange
=
"true"
EnableServerSideRendering
=
"true"
>
</
telerik:RadSlider
>
<
dbg:DbgTextBox
ID
=
"Slider1Text"
runat
=
"server"
>
</
dbg:DbgTextBox
>
Hello,
My problem is that an appointment that covers multiple days is not displayed correctly in Week View (see WeekView.PNG) while it is displayed correctly in the Monthly View (see MonthView.PNG).
As you can see the appointment does not cover the entire box, does not cover all days for his duration and more is moved to the right. The code in both cases is the same.
For more information I have inspected the item and there is a margin-left which, I believe, has no reason to be there. Also witdh calculated element is obviously wrong (see InspectElement.PNG).
I tried everything, but nothing.
Many thanks for the support.
Andrea
Hi all,
I have a Rad grid with a column template like the following:
<
telerik:GridTemplateColumn
HeaderText
=
"Actions"
UniqueName
=
"Actions"
>
<
ItemTemplate
>
<
div
class
=
"sfBasicLangs"
>
<
asp:ImageButton
runat
=
"server"
CommandName
=
"delete"
OnCommand
=
"Delete"
/>
</
div
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
ClientScript.RegisterStartupScript(this.GetType(), "mailto",
"<
script
type
=
'text/javascript'
>parent.location='mailto:" + emailToBuffer.ToString() + "'</
script
>") ;
<
script
type
=
'text/javascript'
>parent.location='mailto:dana@here.com; '</
script
>
This is my code:
<
telerik:RadFileExplorer
ID
=
"attachmentFileExplorer"
runat
=
"server"
Width
=
"100%"
Height="300px"
PageSize="10" EnableOpenFile="True"
>
<
Configuration
EnableAsyncUpload
=
"true"
ViewPaths="/FOLDER 1/"
UploadPaths="/FOLDER 1/"
DeletePaths="/FOLDER 1/" />
</
telerik:RadFileExplorer
>
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
>