I noticed that the markers on the map looks mispositioned on many devices, like shifted to north/east.
I got this problem with my Android phone and even with a Surface pro, whatever the browser I 'm using.
You can see it even with the online demo:
http://demos.telerik.com/aspnet-ajax/map/examples/overview/defaultcs.aspx
On PC:
https://i.snag.gy/IzuexH.jpg
On my phone:
https://i.snag.gy/XTwYrK.jpg
I think it's just a css issue with the markers. I really need a quick solution to the problem. Any ideas? :/
Hi Team,
I have a Radgrid which has DateTime Column with enable range filter. I am using AllowCustomPaging="True" And I am displaying the date as "24/11/2016 15:31:15" and I want that when I choose from date and To date the filter expression should format the filter date.
For example From date is "23/11/2016" and To Date is "24/11/2016" then it should change to "20161123" and "20161124" before passing to database.
Could you please help me on this.
~
Sandeep
Hello,
In the new version of UI for ASP.NET AJAX, v2016.3.1027, the RadMenu no longer closes in Internet Explorer 11 when using the code below. When selecting "Action 2" under "Actions", the javascript code in the OnClientItemClicking handler would close the menu, but now the menu stays visible. It had been working up to this point after several years, and still works in other browsers (Edge, Chrome). Please Advise.
Thank You!
01.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="RadMenuNotClosing.WebForm1" %>
02.
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
03.
<!DOCTYPE html>
04.
05.
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
06.
<
head
runat
=
"server"
>
07.
<
title
></
title
>
08.
</
head
>
09.
<
body
>
10.
<
form
id
=
"form1"
runat
=
"server"
>
11.
<
telerik:RadScriptManager
ID
=
"rsm"
runat
=
"server"
>
12.
13.
</
telerik:RadScriptManager
>
14.
<
div
>
15.
<
telerik:RadMenu
ID
=
"rmTest"
16.
runat
=
"server"
17.
OnClientItemClicking
=
"MenuItemClicking"
18.
CollapseAnimation-Duration
=
"0"
19.
ExpandAnimation-Duration
=
"0"
20.
CollapseAnimation-Type
=
"None"
21.
ExpanDelay
=
"0"
22.
CollapseDelay
=
"0"
23.
ClickToOpen
=
"true"
24.
>
25.
<
Items
>
26.
<
telerik:RadMenuItem
Text
=
"File"
>
27.
<
Items
>
28.
<
telerik:RadMenuItem
Text
=
"Exit"
>
29.
</
telerik:RadMenuItem
>
30.
</
Items
>
31.
</
telerik:RadMenuItem
>
32.
<
telerik:RadMenuItem
Text
=
"Actions"
>
33.
<
Items
>
34.
<
telerik:RadMenuItem
Text
=
"Action 1"
Value
=
"Action1"
>
35.
</
telerik:RadMenuItem
>
36.
<
telerik:RadMenuItem
Text
=
"Action 2"
Value
=
"Action2"
>
37.
</
telerik:RadMenuItem
>
38.
</
Items
>
39.
</
telerik:RadMenuItem
>
40.
</
Items
>
41.
</
telerik:RadMenu
>
42.
<
script
type
=
"text/javascript"
>
43.
function MenuItemClicking(sender,args)
44.
{
45.
var item = args.get_item();
46.
var itemValue = item.get_value();
47.
if (itemValue == "Action2")
48.
{
49.
var txt = document.getElementById("txtText");
50.
txt.value = "Action 2 taken";
51.
args.set_cancel(true);
52.
sender.close();
53.
return;
54.
}
55.
}
56.
</
script
>
57.
</
div
>
58.
<
br
/>
59.
<
br
/>
60.
<
br
/>
61.
<
asp:TextBox
ID
=
"txtText"
runat
=
"server"
Text
=
"-"
ClientIDMode
=
"Static"
>
62.
</
asp:TextBox
>
63.
</
form
>
64.
</
body
>
65.
</
html
>
I'm populating a box plot chart with a data table created from a sequel query. The query has an outliers field:
SELECT m.[periodEnd], m.[lower], m.[Q1], m.[Mean], m.[Median], m.[Q3], m.[upper],
[outliers] =
STUFF(
(SELECT ','+ CAST([DollarRepayment] AS varchar(12)) FROM #boxPlotList mm WHERE (mm.[DollarRepayment] < m.[lower]
OR mm.[DollarRepayment] > m.[upper]) AND mm.[periodEnd] = m.[periodEnd] FOR XML PATH('')),1,1,''
)
FROM #boxPlotDollarRepayments m
ORDER BY [periodEnd]
The outliers column shows like this:
10000.00,543901.00,783930.00,25325.00,403267.00,922911.00,850953.00,39815.00,20697.00,31654.00,39540.00,1385234.00,29954.00,507726.00
The code behind picks up the data table and binds it to the chart. The HTML looks like this:
<telerik:RadHtmlChart ID="RadHtmlChart5" runat="server" Width="100%" Height="500px">
<PlotArea>
<Series>
<telerik:BoxPlotSeries DataLowerField="lower" DataQ1Field="Q1" DataMeanField="Mean" DataMedianField="Median" DataQ3Field="Q3" DataUpperField="upper" DataOutliersField="outliers">
<OutliersAppearance MarkersType="Circle"></OutliersAppearance>
<ExtremesAppearance MarkersType="Cross"></ExtremesAppearance>
</telerik:BoxPlotSeries>
</Series>
<YAxis>
<TitleAppearance Text="Repayment Amount" RotationAngle="-90"></TitleAppearance>
<LabelsAppearance DataFormatString="{0:C0}"></LabelsAppearance>
</YAxis>
<XAxis DataLabelsField="periodEnd">
<TitleAppearance Text="Month Ending"></TitleAppearance>
<LabelsAppearance RotationAngle="-90"></LabelsAppearance>
</XAxis>
</PlotArea>
<ChartTitle Text="Repayments Plotting">
<Appearance Align="Center">
<TextStyle Bold="true" FontSize="16"/>
</Appearance>
</ChartTitle>
</telerik:RadHtmlChart>
If I remove the outliers column from the stored procedure and the chart tag, it works. If I put the outliers column in the stored procedure, whether I specify DataOutliersField or not in the BoxPlotSeries tag, the chart fails: chart displays the outliers all at 0 and 1 for each axis item, and the boxes, mean, median, upper and lower bounds do not appear.
Can anyone tell me what I am doing wrong?
Hi: Here are a part of RadGrid ! when I in edit & insert mode, I want hide Id (because it PK and auto increment), How Can I do ?
<Columns>
<telerik:GridEditCommandColumn UniqueName="EditCommandColumn">
</telerik:GridEditCommandColumn>
<telerik:GridBoundColumn DataField="Id" HeaderText="Id" SortExpression="Id"
UniqueName="Id" Visible="false" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Catagory" HeaderText="題目類別" SortExpression="Catagory"
UniqueName="Catagory">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="CataPercentage" HeaderText="百分比" SortExpression="CataPercentage"
UniqueName="CataPercentage">
</telerik:GridBoundColumn>
<telerik:GridButtonColumn Text="Delete" CommandName="Delete" />
</Columns>
key = "ctl00$MainContentMembers$tsupcontrol_0"
value = "Mick"
key = "ctl00_MainContentMembers_tsupcontrol_3_ClientState"
value = "{\"enabled\":true,\"logEntries\":[],\"selectedIndex\":3,\"selectedText\":\"Four%20is%20square\",\"selectedValue\":\"Four\"}"Hi...
I use RadEditor in page when i import image and click right image and open properties dialog but code error
Please Help.
Thanks.