Is 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?
I've download the demo code for the Predefined table styles code, and I noticed that the CSS dropdown isn't limited to the classes in that document. Basically, any class on the page hosting the editor becomes available in there.
So if I add style .aardvark to the head of the page hosting the RadEditor, it becomes the first option in the CSS Dropdown despite it not appearing in TableLayoutCss.css. We have a lot of classes across our application that are applied to every page we render, so we don't want them all appearing in here.
In my case, the HTML users define here is rendered to PDF in the back office by a different tool, so I don't want any classes available for selection in the front end that aren't specifically in TableLayoutCss.css.
Has anyone hit this problem and managed to overcome it or is this expected behaviour of the TableLayoutCssFile option? As things stand, I'm having to tell the users to avoid using the CSS dropdown and go for the 'More Table Styling' button instead, but this clearly isn't as portable a solution as it should be!
I inherited an intranet that was developed by one of our in-house developers years ago, he has since left. When he left his duties passed on to someone else and after various forms of attrition, have fallen to me. Any documentation he may have provided never made its way down to me so I'm completely flying blind. Anyway, I had managed to fix an issue with one of the other Telerik pages because I found the section in the aspx that referred to the <asp:SqlDataSource and then was followed by a bunch of SQL code so I was able to update the parts of that that needed to be updated and that one works fine now. But a new problem has creeped up with another page that looks like it pulls data from our ERP regarding timesheet data. I would assume it must be getting that from some sort of SQL statement as that is the only way into that system but there is no SQLDataSource tag on this page.
Where should I be looking in the apsx file to identify where the data is coming from for that page? Since there is no SQL call on the page itself I assume that its calling something else and that has the SQL query in it, but I can't find it for my life.
Thanks.