
How is the best way to get values of controls to EditFormSettings ?
I have this code but I don't know if there's other best way:
protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e) { if (e.CommandName == "PerformInsert") { GridEditFormInsertItem editform = (GridEditFormInsertItem)((Telerik.Web.UI.GridEditFormInsertItem)(e.Item)); RadTextBox txtbx = (RadTextBox)editform.FindControl("txtName"); string strtxt = txtbx.Text; } }<EditFormSettings EditFormType="Template"> <FormTemplate> <telerik:RadLabel runat="server" Text="Name:" Font-Bold="True"></telerik:RadLabel> <br /> <telerik:RadTextBox ID="txtName" runat="server" InputType="Text" MaxLength="70" Width="100%" AutoCompleteType="None" autocomplete="off"></telerik:RadTextBox> <asp:RequiredFieldValidator ErrorMessage="*" ControlToValidate="txtName" runat="server" CssClass="rfv" /> <telerik:RadButton ID="btnSave" runat="server" Text='<%# (Container is GridEditFormInsertItem) ? "Save" : "Update" %>'CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'> </telerik:RadButton> </FormTemplate></EditFormSettings>

What I am trying to do is have a RadGrid that will display 5 static questions followed by the detail? The detail records will be dynamic and come from the database.
Example
<Header Row> File Name and Created On<Static Question>1. Do you have any special agreements?<Detail Record(s)> This will list all files associated with question 1<Static Question>2. Attach financial statements for last 3 months<Detail Record(s)>List all files associated with question 2

I I tried to block the addition of the grid. But when I clicked to add a row by trying to block the grid It can be added
By which I click on the symbol plus it cannot But when i click on the message it will add a row
I don want it's Add New Row in block radgrid
now I block it's but it Add new row
Attach files : Pic1 and Pic2

Hi,
I have a large ASPX app using Telerik controls and would like to add logic to display a loading panel while a file upload or download operation is being performed.
The loading panel would need to be controlled from the server side, both for showing and hiding. Can this be done?


I'm trying to display images on my gridimagecolumn without me having to upload it myself but instead it does it automatically when i load the grid. How do I do that?
My template is =>
<telerik:GridBinaryImageColumn DataField="Profile" HeaderText="Profile" UniqueName="Upload" ImageHeight="60px" ImageWidth="60px" ResizeMode="Fit"></telerik:GridBinaryImageColumn>
I haven't yet figure the code out on how to go about this...This is what I have so far.
protected void uxUsedGrid_InsertCommand(object source, GridCommandEventArgs e) { _InsertCommand(source, e); } private void _InsertCommand(object source, GridCommandEventArgs e) { GridEditFormInsertItem insertItem = e.Item as GridEditFormInsertItem; RadAsyncUpload radAsyncUpload = insertItem["Upload"].FindControl("AsyncUpload1") as RadAsyncUpload; UploadedFile file = radAsyncUpload.UploadedFiles[0]; byte[] fileData = new byte[file.InputStream.Length]; file.InputStream.Read(fileData, 0, (int)file.InputStream.Length); }protected void AsyncUpload1_FileUploaded(object sender, FileUploadedEventArgs e) { long totalBytes = 0; int MaxTotalBytes = 1000000; if ((totalBytes < MaxTotalBytes) && (e.File.ContentLength < MaxTotalBytes)) { e.IsValid = true; totalBytes += e.File.ContentLength; IsRadAsyncValid = true; } else { e.IsValid = false; IsRadAsyncValid = false; } }
I have look at this Demo and while it was helpful, it mostly focused on the client uploading the files and basing it off from that to upload the images.
Any help is appreciated!

RadDatePicker inside UpdatePanel in Microsoft Edge browser throws JavaScript error when doing a post-back (see attached image).
The error: "Unable to get property 'length' of undefined or null reference".
Any ideas how to fix this, or a work-around?
Microsoft Edge 44.17763.1.0
Telerik Controls: Telerik.Web.UI, Version=2019.1.409.45
My Code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="EdgeDatePickerIssue.Default" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Default</title></head><body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager" runat="server" ScriptMode="Release" /> <asp:UpdatePanel runat="server" ID="upPanel"> <ContentTemplate> <label>Select Date:</label> <telerik:RadDatePicker ID="dpStartDate" runat="server" MaxDate="2020-01-01" MinDate="2000-01-01" AutoPostBack="true" OnSelectedDateChanged="dpStartDate_SelectedDateChanged" /> <telerik:RadButton ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" /> </ContentTemplate> </asp:UpdatePanel> </form></body></html>
