Greetings,
I have noticed today that the following demo pages are broken when using the latest versions of Chrome & Edge:
https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/dateaxis/defaultcs.aspx
https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/pan-zoom/defaultcs.aspx
Each of these have a series of JavaScript errors that prevent the page from working:
RadHtmlChart.js:79 Uncaught SyntaxError: Invalid or unexpected token
at b.RadHtmlChart._parseObject (RadHtmlChart.js:79:46)
at b.RadHtmlChart._configurePlotArea (RadHtmlChart.js:128:47)
at b.RadHtmlChart._getMainConfig (RadHtmlChart.js:96:20)
at b.RadHtmlChart._getChartConfig (RadHtmlChart.js:82:3)
at b.RadHtmlChart._createStandardChart (RadHtmlChart.js:74:57)
at b.RadHtmlChart.createChart (RadHtmlChart.js:59:3)
at b.RadHtmlChart._initialize (RadHtmlChart.js:40:3)
at b.RadHtmlChart.initialize (RadHtmlChart.js:34:7)
at b.RadHtmlChart.endUpdate (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a5bc44d53-7cae-4d56-af98-205692fecf1f%3aea597d4b%3ab25378d2:6:53689)
at Sys.Component.create (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a5bc44d53-7cae-4d56-af98-205692fecf1f%3aea597d4b%3ab25378d2:6:55151)
Hope this helps ....
We have multiple RadGrids with the MasterTableView configured thusly:
<MasterTableView EditFormSettings-PopUpSettings-KeepInScreenBounds="true" EditMode="PopUp" TimeZoneID="Central Standard Time">
If a record from the database has a null datetime value, the min value of DATETIME data type is used (01/01/0001). When the grid tries convert UTC to CST, we get the error: The added or subtracted value results in an un-representable DateTime.
Parameter name: value.
How can this be handled so the Grid display an empty cell when a null datetime is encountered?
hello
in google chrome if we have "google translate extension" installed and the "Immediately display popup." option is enabled, by double clicking a word normally a pop up would display the translation; but in telerik editor, chrome extension's pop up will get inserted in the editor as html.
it even happens in the telerik demo page: https://www.telerik.com/products/aspnet-ajax.aspx
how can we fix that?
thanks
Trying to add a text box and button into a Column Group Header server side and can't seem to get to the cell of the specific header. I know how to set the text and all but want to place controls into the header.
protected void RadGrid1_PreRender(object sender, EventArgs e)
{
foreach (GridColumnGroup cg in RadGrid1.MasterTableView.ColumnGroups)
{
if (cg.Name == "HeaderGroupName")
{
cg.HeaderText = "TEST";
}
}
}
We have a development partner that create a custom component for us. It is using an older version of Telerik. What would be the recommended version to use now. We are looking to move to an Azure environment using containers. Below is the version information of the DLL.
Thanks!
Version information
Product Name - Telerik.Web.UIHello
I'm asking you a question because there's a tricky screen.
The screen consists of Grid and Dialog, as shown below.
[StudentGrid]
[StudentDialog]
I've been trying to display a System.Drawing.Image (obtained from live camera feed snapshot) dynamically in a DataList control with asp:Image control but not having any success.
I was looking at RadBinaryImage to see if this is a viable option.
The images to be displayed are variable (aka dynamic number of images not static number/count) so I may have 5 images or 10 images or 7 images that are all System.Drawing.Image types. I want to display those images in a Grid or DataList.
<asp:DataList ID="cameras" runat="server" RepeatColumns="3" RepeatDirection="Horizontal" RepeatLayout="Table">
<ItemTemplate>
<asp:Image ID="cameraX" runat="server" />
</ItemTemplate>
</asp:DataList>
In the ItemDataBound event handler I convert to byte array and assign to asp:Image ImageUrl ... but this results in nothing being displayed. No errors, just nothing displayed. Would RadBinaryImage be a solution?
protected void cameras_ItemDataBound(object sender, System.Web.UI.WebControls.DataListItemEventArgs e)
{
Models.Facility.Camera camera = e.Item.DataItem as Models.Facility.Camera;
Image img = GetImage(camera);
MemoryStream ms = new MemoryStream();
img.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
System.Web.UI.WebControls.Image imgControl = (System.Web.UI.WebControls.Image)e.Item.FindControl("camera");
var base64Data = Convert.ToBase64String(ms.ToArray());
imgControl.ImageUrl = "data:image/jpg;base64," + base64Data;
}