hi
I use radGrid with the following code:
<telerik:RadGrid
ID="RadGrid_Fibers"
RenderMode="Auto"
GridLines="Both" runat="server"
Skin="Sunset"
DataSourceID="SqlDataSource1_SP_Tow_Prog_Fibers_Select"
AutoGenerateColumns="False">
<MasterTableView Width="100%" ShowFooter="True"
DataSourceID="SqlDataSource1_SP_Tow_Prog_Fibers_Select"
DataKeyNames="TowProgFibers_ID">
<GroupByExpressions>
<telerik:GridGroupByExpression>
<SelectFields>
<telerik:GridGroupByField FieldAlias="Tow_Had" FieldName="Tow_Had" FormatString="" HeaderText="" />
</SelectFields>
<GroupByFields>
<telerik:GridGroupByField FieldAlias="Tow_Had" FieldName="Tow_Had" FormatString="" HeaderText="" />
</GroupByFields>
</telerik:GridGroupByExpression>
</GroupByExpressions>
that when a skin such as sunset is used, radGrid works without problems.
But when I don't want to use skin and Skin ="" is set with an error:
Unable to cast object of type 'Telerik.Web.UI.GridImageButton' to type 'Telerik.Web.UI.ElasticButton'
How to solve this problem? please help.
Hello, everyone. I'm a novice. I don't how to use the <GridImageColumn>, I have a request to display qualified photos from a remote computer.
For example, A textbox inputs 'abc',then I click the button of 'submit', the <GridImageColumn> or another control should find and display the 'abc.jpg' from the remote computer. The remote TargetFolder url just like '\\123.**.***.***\photo' and I hope it will be shown in <DetailTables> .
How should I edit the back-end code, so that I could get the pictures and also display it. I will post my code.
I'd really appreciate it if you could help me!
<telerik:RadPageView runat="server" ID="RadPageView3">
<telerik:RadAjaxPanel ID="RadAjaxPanel3" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" BackColor="#FFFFFF">
<div class="ContentRow">
<div class="column c1 ">
<telerik:RadLabel ID="labcrate" runat="server" Text="LabCrate" CssClass="LabOnRight" ForeColor="#000000"></telerik:RadLabel>
</div>
<div class="column c2 ">
<telerik:RadTextBox ID="txtCrate" runat="server"></telerik:RadTextBox>
</div>
<div class="column c3 ">
<telerik:RadButton ID="btnSubmit" runat="server" Text="Submit" AutoPostBack ="true"></telerik:RadButton>
</div>
</div>
<telerik:RadGrid RenderMode="Lightweight" runat="server" ID="RG_Carrier" Height="740px" AllowPaging="true" PageSize="10" AllowAutomaticDeletes="false"
AllowAutomaticUpdates="false" AllowAutomaticInserts="false" AllowFilteringByColumn="false" AllowMultiRowSelection="true" OnNeedDataSource="RadGrid_NeedDataSource" >
<PagerStyle Position="Bottom" AlwaysVisible="true" PageSizes="10,20,30"></PagerStyle>
<ClientSettings EnableAlternatingItems="true" AllowKeyboardNavigation="False" EnablePostBackOnRowClick="true">
<Selecting AllowRowSelect="false" />
<Scrolling AllowScroll="true" UseStaticHeaders="true"></Scrolling>
</ClientSettings>
<AlternatingItemStyle BackColor ="LightBlue" />
<MasterTableView DataKeyNames="CrateNo" AutoGenerateColumns="false" CommandItemDisplay="Top" EditMode="PopUp">
<CommandItemSettings ShowAddNewRecordButton="false" />
<Columns>
<telerik:GridBoundColumn AllowFiltering="false" FilterControlWidth="120px" AutoPostBackOnFilter="true" DataField="CrateNo" UniqueName="CrateNo" HeaderText="CrateNo">
<HeaderStyle Width="150px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn AllowFiltering="false" DataField="Qty" UniqueName="Qty" HeaderText="Qty">
<HeaderStyle Width="60px" />
</telerik:GridBoundColumn>
<telerik:GridBoundColumn AllowFiltering="false" FilterControlWidth="120px" AutoPostBackOnFilter="true" DataField="ProductName" UniqueName="ProductName" HeaderText="ProductName">
<HeaderStyle Width="150px" />
</telerik:GridBoundColumn>
</Columns>
<DetailTables>
<telerik:GridTableView DataKeyNames="CratePhoto" ClientDataKeyNames="CratePhoto" runat="server" CommandDisplay="None" AutoGenerateColumns="true" AllowPaging="false" EditMode="PopUp">
<Columns>
<telerik:GridImageColumn DataType="System.String"
DataImageUrlFormatString=""
ImageAlign="Middle" ImageHeight="110px" ImageWidth="90px" HeaderText="CratePhoto">
</telerik:GridImageColumn>
</Columns>
</telerik:GridTableView>
</DetailTables>
</MasterTableView>
</telerik:RadGrid>
</telerik:RadAjaxPanel>
</telerik:RadPageView>
Does the functionality exist to format a range of cells as a table like can be done in Excel?
I use the data provider to read the format of an existing Excel file.
But, a range of cells formatted as a table is not copied into the RadSpreadsheet.

Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_rsm_TSM&compre…e35%3aen-US%3a7263e9c6-5962-41bc-b839-88b704bfcf0d%3aea597d4b%3ab25378d2:6Error.create Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_rsm_TSM&compre…e35%3aen-US%3a7263e9c6-5962-41bc-b839-88b704bfcf0d%3aea597d4b%3ab25378d2:6Sys.WebForms.PageRequestManager._createPageRequestManagerServerError Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_rsm_TSM&compre…35%3aen-US%3a7263e9c6-5962-41bc-b839-88b704bfcf0d%3aea597d4b%3ab25378d2:15Sys.WebForms.PageRequestManager._parseDelta Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_rsm_TSM&compre…35%3aen-US%3a7263e9c6-5962-41bc-b839-88b704bfcf0d%3aea597d4b%3ab25378d2:15Sys.WebForms.PageRequestManager._onFormSubmitCompleted Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_rsm_TSM&compre…35%3aen-US%3a7263e9c6-5962-41bc-b839-88b704bfcf0d%3aea597d4b%3ab25378d2:15(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_rsm_TSM&compre…e35%3aen-US%3a7263e9c6-5962-41bc-b839-88b704bfcf0d%3aea597d4b%3ab25378d2:6(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_rsm_TSM&compre…e35%3aen-US%3a7263e9c6-5962-41bc-b839-88b704bfcf0d%3aea597d4b%3ab25378d2:6Sys.Net.WebRequest.completed Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_rsm_TSM&compre…e35%3aen-US%3a7263e9c6-5962-41bc-b839-88b704bfcf0d%3aea597d4b%3ab25378d2:6_onReadyStateChange Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_rsm_TSM&compre…e35%3aen-US%3a7263e9c6-5962-41bc-b839-88b704bfcf0d%3aea597d4b%3ab25378d2:6Is there a purpose of the Save Icon on the Home tab toolbar?
I would like to capture some kind of event when a user clicks this icon to direct it to my SaveWorkbook method override in my custom provider.
But, I don't see any such method implemented that can override.
If no ability exists to do this, why then is the icon even there?

So I have a organization chart and a button. When I click on the button, I will fill in a DataTable stored in ViewState to be the data source of the org chart. Since I'm still having the problem in another post that nobody replied yet: Databinding keeps disappearing when post back in UI for ASP.NET AJAX | Telerik Forums So I add some handling in Page_Load to avoid the org chart from becoming blank.
My Page logic is as follows:
<Telerik:RadButton ID="btn1" OnClick="btn_click">
...
<Telerik:RadOrgChart ID="OrgChart1">protected DataTable table1
{
get
{
if (ViewState["table1"] != null)
return (DataTable)ViewState["table1"];
else
return null;
}
set
{
ViewState["table1"] = value;
}
}
protected DataTable table2
{
get
{
if (ViewState["table2"] != null)
return (DataTable)ViewState["table2"];
else return null;
}
set
{
ViewState["table2"] = value;
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!PostBack) // do something
if (table1 != null && table2!=null) {
OrgChart1.GroupEnabledBinding.NodeBindingSettings.DataFieldID = "aaa";
OrgChart1.GroupEnabledBinding.NodeBindingSettings.DataFieldParentID = "bbb";
OrgChart1.GroupEnabledBinding.NodeBindingSettings.DataCollapsedField = "ccc";
OrgChart1.RenderedFields.NodeFields.Add(new OrgChartRenderedField() { DataField = "A" });
OrgChart1.GroupEnabledBinding.NodeBindingSettings.DataSource = table1;
OrgChart1.GroupEnabledBinding.GroupItemBindingSettings.DataFieldNodeID = "aaa";
OrgChart1.GroupEnabledBinding.GroupItemBindingSettings.DataFieldID = "ddd";
OrgChart1.GroupEnabledBinding.GroupItemBindingSettings.DataSource = table2;
OrgChart1.DataBind();
}
}
protected void btn_click(object sender, EventArgs e) {
// do something to provide data for table1 and table2
OrgChart1.GroupEnabledBinding.NodeBindingSettings.DataFieldID = "aaa";
OrgChart1.GroupEnabledBinding.NodeBindingSettings.DataFieldParentID = "bbb";
OrgChart1.GroupEnabledBinding.NodeBindingSettings.DataCollapsedField = "ccc";
OrgChart1.RenderedFields.NodeFields.Add(new OrgChartRenderedField() { DataField = "A" });
OrgChart1.GroupEnabledBinding.NodeBindingSettings.DataSource = table1;
OrgChart1.GroupEnabledBinding.GroupItemBindingSettings.DataFieldNodeID = "aaa";
OrgChart1.GroupEnabledBinding.GroupItemBindingSettings.DataFieldID = "ddd";
OrgChart1.GroupEnabledBinding.GroupItemBindingSettings.DataSource = table2;
OrgChart1.DataBind();
}
And then, when the page is post back, suddenly there are duplicate group names in the org chart as you can see in the screenshot.
Can somebody help me?
I am using telerik version 2014.3.1024.45 with Asp.Net Webforms and Recently i have upgraded to jQuery Version from 2.0.3 to 3.6.3.
i am using Telerik Grid control in my application. Every row in a grid has a checkbox. if clicked on checkbox or on a row, that particular row will get selected. This functionality is used to work with jQuery 2.0.3. but after upgrading jQuery Version to 3.6.3, row is getting selected only when clicked on row, row is not getting selected when clicked on checkbox.
Hi All,
I am trying to provide read-only access to certain users. This user should not be able to remove the uploaded file.
How do I hide/disable the remove button from server side?
So we have BatchEdit working and used in multiple pages. On one though one of the fields that gets edited is via a RadComboBox. No issues with changing, submitting with a CommandButton to save. All good. The only issue is that when you change the item in the Combo a little red glyph shows up in the cell upper left corner to indicate the data is changed. This happens with other cells as well and is expected and good.
When we click the save button the BatchEditCommand event fires and the data is saved. If the Combo box was changed the data is changed correctly, but the Red Glyph doesnt go away. Even if we rebind the grid the glyph doesnt go away. If we change only cells that are just textboxes the Red Glyph goes away after the save.
What are we missing?