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;
}

hello, I'm using RadSpreadsheet and didn't figure out how to do the following:
1. In SpreadsheetTool Name="InsertCells", Can I change the default tool that appear to be other than "Add Column left"?
2. When dragging down a cell it behaves like "Copy cell" , but if the cell include content that ends with a digit the dragging will cause a "Fill Series" behavior, which means the new cell will have the prev cell value increased by 1, is there a way to control this default behavior and config it to be only "copy cell" with no increments??
Thanks,
Efrat

I allow the user to create in runtime, zones (my sections) and docks.
<asp:Repeater ID="repSections" runat="server" OnItemDataBound="repSections_ItemDataBound">
<ItemTemplate>
<asp:Panel ID="panelSection" runat="server" CssClass="container">
A RadDockZone(section) and it's RadDocks are injected here in runtime...
</asp:Panel>
</ItemTemplate>
</asp:Repeater>This repeater is populated from database and zones and it's docks injected in runtime, assigning the DockPositionChanged event to each of the created docks. Since I also inject in runtime, controls before and after each zone to manage it (Add, configure, move up/down) and I want them to postback using ajax, I'm configuring the ajax behavior in the ItemDataBound event of the Repeater:
protected void repSections_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
LinkButton linkbtAddNormalSection = e.Item.FindControl("linkbtAddNormalSection") as LinkButton;
linkbtAddNormalSection.CommandArgument = section.Id.ToString();
AjaxSetting ajaxSetting_linkbtAddNormalSection = new AjaxSetting();
ajaxSetting_linkbtAddNormalSection.AjaxControlID = linkbtAddNormalSection.UniqueID;
ajaxSetting_linkbtAddNormalSection.EventName = "Click";
ajaxSetting_linkbtAddNormalSection.UpdatedControls.AddRange(new AjaxUpdatedControlsCollection()
{
new AjaxUpdatedControl(repSections.UniqueID,""),
new AjaxUpdatedControl(panelNosections.UniqueID,""),
new AjaxUpdatedControl(radNotification.UniqueID, "")
});
ajaxManagerProxy.AjaxSettings.Add(ajaxSetting_linkbtAddNormalSection);
...
}Because of this, RadAjax places a RadAjaxPanel that includes all the created zones inside of the repeater causing the DockPositionChanged event to function in ajax mode. That's fine, and works great since avoids a regular postback each time a dock changes position.
The issue is that I need to show a RadNotification that is outside the repeater and consequently, outside that RadAjaxPanel and I can't show it from the DockPositionChanged event.
Any suggestion to overcome this?
Thank you!