Hello,
I'm attempting to get the x-axis value from the Shared Template section of a HTML chart so that I can pass that value to a JS function for creating the tooltip display. Is there any way of getting this value? You can see the HTML markup below.
<
telerik:RadHtmlChart
ID
=
"lcPayrollBiWeekly"
runat
=
"server"
CssClass
=
"FieldLabel"
EnableViewState
=
"false"
>
<
ClientEvents
OnSeriesHover
=
"seriesHover"
/>
<
ChartTitle
Text
=
"Bi-Weekly Payroll Comparison"
>
<
Appearance
BackgroundColor
=
"White"
Position
=
"Top"
/>
</
ChartTitle
>
<
Legend
>
<
Appearance
BackgroundColor
=
"White"
Position
=
"Bottom"
/>
</
Legend
>
<
PlotArea
>
<
CommonTooltipsAppearance
Shared
=
"true"
>
<
SharedTemplate
>
# for (var i = 0; i <
points.length
; i++) { #
<div>#= formatLabel(points[i].value, points[i].value.x, points[i].series.name) #</
div
>
# } #
</
SharedTemplate
>
</
CommonTooltipsAppearance
>
<
Appearance
FillStyle-BackgroundColor
=
"White"
/>
<
YAxis
>
<
LabelsAppearance
DataFormatString
=
"{0:C}"
RotationAngle
=
"0"
/>
<
TitleAppearance
Text
=
"Amount"
/>
<
MinorGridLines
Visible
=
"false"
/>
</
YAxis
>
<
XAxis
>
<
LabelsAppearance
RotationAngle
=
"0"
/>
<
TitleAppearance
Text
=
"Payroll Period"
/>
<
MinorGridLines
Visible
=
"false"
/>
</
XAxis
>
</
PlotArea
>
</
telerik:RadHtmlChart
>
Thanks,
Johnathan
Hi,
I open a RadWindow with a grid inside. The problem is that the right border does not appear correctly (See attached image).
<
telerik:RadGrid
ID
=
"grdStList"
runat
=
"server"
AutoGenerateColumns
=
"False"
Skin
=
"Bootstrap"
>
<
MasterTableView
NoMasterRecordsText
=
""
DataKeyNames
=
"VA_ARTIKEL"
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"ANZAHL"
UniqueName
=
"ANZAHL"
>
<
HeaderStyle
HorizontalAlign
=
"Right"
/>
<
ItemStyle
VerticalAlign
=
"Top"
HorizontalAlign
=
"Right"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"VA_ARTIKEL"
UniqueName
=
"VA_ARTIKEL"
>
<
ItemStyle
VerticalAlign
=
"Top"
/>
</
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"BEZEICHNUNG"
>
<
ItemStyle
VerticalAlign
=
"Top"
Wrap
=
"false"
/>
<
ItemTemplate
>
<
span
><%# Eval("BEZEICHNUNG").ToString & " " & Eval("BEZEICHNUNG_ZUSATZ1").ToString & " " & Eval("BEZEICHNUNG_ZUSATZ2").ToString%></
span
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
The last column has the attribute "Wrap='false'". If I remove this attribute, the grid is displayed correctly but then the width is not correct.
How can i avoid the text to wrap and have a grid that displays correctly ?
Thank you!
I use the RadScriptManager to run some javascript to draw some graphics. But I get some timeout about Telerik.
I used the Javascript successfully for another case, but this case has timeout problem.
RadScriptManager.RegisterStartupScript(this, this.GetType(), "TPR_Initial_Command", jsResultInit, true);
I do not know what happens. Does somebody know how to solve this timeout problem?
These are the error message apear in the google chrome's console window:
"伺服器要求逾時" in English means the Server's request is timeout.
Uncaught Error: Sys.WebForms.PageRequestManagerTimeoutException:
Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6 Uncaught Error: Sys.WebForms.PageRequestManagerTimeoutException: 伺服器要求逾時。
at Function.Error.create (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6)
at Sys.WebForms.PageRequestManager._createPageRequestManagerTimeoutError (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:15)
at Sys.WebForms.PageRequestManager._onFormSubmitCompleted (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:15)
at Array.<anonymous> (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6)
at Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6
at Sys.Net.WebRequest.completed (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6)
at Sys.Net.XMLHttpExecutor._onTimeout (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6)
at Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts…:6
Hello,
We are using the RTF Editor and we are experiencing issues with a lack of flexibility/control of where we can place bullets in our text. Is there a fix for this? Currently we are placing the cursor in the spot where we would like the bullet to appear, selecting the bullet option, and then the bullet appears elsewhere. The editor seems to expect that the bullet be created first before any text is entered (and therefore we seem to need to add the bullet first, then write the text, which causes difficulty as we have a lot of pre-existing text that needs to be re-organized). We need a way to enter text first, or have pre-existing text, and then place the bullets in front of the lines of text. It would be very helpful to be able to place bullets easily in any places they are appropriate.
I'm having trouble with the keyboard accessibility of the RadMenu. I can tab into the menu, and use the arrow keys to move to the various navigation items, but once I go past the last item it just goes back to the first. I have found that hitting tab then escape for each navigation item will let me get out, but it seems ridiculous to have to tell our users that they will have to do the same.
Is there a way to make the menu easier to use for those who are not able to use a mouse?
Thanks,
Andrea
Hi everyone,
I am using a RadGrid with several columns. In the GridDateTimeColumn I use the EnableRangeFiltering-property. Unfortunately, I have very high Dates in my database (01.01.2200 for example). That's why, I need to modify the MaxDate-property of the To-field for theRangeFiltering. How can I access the corresponding field in order to modify its MaxDate-value? You can see a part of my code below:
Thank you very much!
Regards,
Hendrik
<
telerik:RadGrid
runat
=
"server"
ID
=
"rg_pobTable"
>
<
MasterTableView
CommandItemDisplay
=
"Top"
DataKeyNames
=
"Id"
>
<
Columns
>
<
telerik:GridDateTimeColumn
UniqueName
=
"NächstePrüfung"
ShowFilterIcon
=
"False"
DataType
=
"System.DateTime"
EnableRangeFiltering
=
"True"
AllowSorting
=
"True"
AutoPostBackOnFilter
=
"True"
PickerType
=
"DatePicker"
SortExpression
=
"NächstePrüfung"
HeaderText
=
"Nächste Prüfung"
DataField
=
"NächstePrüfung"
DataFormatString
=
"{0:dd.MM.yyyy}"
>
<
HeaderStyle
Width
=
"325px"
/>
</
telerik:GridDateTimeColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>