I'm using this http://www.telerik.com/forums/custom-advanced-form
I copied the RadAjaxManager and Loading panel per the post. I have a JS refreshScheduler, I have a code behind ajaxrequest handler
when the advanced form closes the JS refreshScheduler fails:
0x800a138f - JavaScript runtime error: Unable to get property 'ajaxRequest' of undefined or null reference
on ajaxManager.ajaxRequest('RebindScheduler');
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e){ if (e.Argument == "RebindScheduler") { RadScheduler1.Rebind(); }}
function refreshScheduler() { var ajaxManager = $find("RadAjaxManager1"); ajaxManager.ajaxRequest('RebindScheduler'); }<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadScheduler1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadScheduler1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager><telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server" Skin="Default"> Loading...</telerik:RadAjaxLoadingPanel>Hi,
I'm new with Telerik. I took a demo and modified it for my own use, as I was going along, the filters were working, now they are not. I have custom and standard filters. They do nothing but generate an error. When running I get an error in VS2013, when I try to access one of the filters:
Error: Sys.WebForms.PageRequestManagerServerErrorException: ORA-00936: missing expression
Obviously this is an oracle error.
None of my filters are working and they all return a similar error
Can someone provide some guidance on what to check for?
Thanks
Hi everyone, I have a context menu that opens with Replace, Edit, and Delete Options. What I want to do is on the Delete click to delete that row and rebind the grid.
This seems insanely simple, but can't find the set up I have. Can anyone help?
Thank you!
i have used a RadAsyncUpload in my Aspx page. It works fine but when i upload a file and then remove the file, the browse button also gets invisible.
below is my control being used
Please guide on the same.
Thanks in advance
<telerik:RadAsyncUpload Width="230px" runat="server" ID="rgEditUpload" OnClientFileUploaded="onClientFileUploaded"MaxFileInputsCount="1" AllowedFileExtensions="jpg,jpeg,png,gif,pdf" OnClientValidationFailed="OnClientValidationFailed"OnClientFileUploadRemoved="onClientFileRemoved"> <FileFilters> <telerik:FileFilter Description="Documents(pdf;tiff;tif)" /> </FileFilters> <Localization Select="Browse" /></telerik:RadAsyncUpload>| [DefaultProperty("Value")] |
| [ToolboxData("<{0}:myGridDropDownColumn runat=server></{0}: myGridDropDownColumn>")] |
| public class myGridDropDownColumn : GridDropDownColumn |
| { ... } |

I put a RadEditor inside a Formview, which is inside a RadAjaxPanel. I use the following to load RTF:
protected void Unnamed_DataBinding(object sender, EventArgs e)
{
var txt = sender as RadEditor;
txt.LoadRtfContent(@"{\rtf1\ansi\deff0
{\colortbl;\red0\green0\blue0;\red255\green0\blue0;}
This line is the default color\line
\cf2
This line is red\line
\cf1
This line is the default color
}
");
}
The issue is the editor is displaying the text with HTML tags instead of formatted text. I am wondering if this is an issue with the trial version (still waiting for my company to process the purchase) since it adds warning text to the content automatically.
Hi,
I've been having problems with client side calculations for my RadGrid (EditMode="Batch", EditType="Cell").
In order to sum up cells 'a' and 'b' and display the result in cell 'c' of the selected row (and only this row) I subscribed to OnBatchEditCellValueChanged event and created javascript function (see below).
It worked fine in 2014.403.45.
When switching to the latest (2014.2.618.40) and changing to EditType="Row" (it doesn't work for "Cell" also) all of a sudden I get loads of undefined/null object errors:
Error: Unable to get value of the property 'getElementsByTagName': object is null or undefined
Callstack:
_getDataControl
_openCellInEditMode
openRowForEdit
_open
_openEditFromEvent
Anonymous Function
>
I've spent hours researching this and still didn't manage to get this working...
I guess my question would be: could you please provide an example of a simple javascript function example that sums two cells and display the result in the third
cell of the selected row in RadGrid with EditMode="Batch", EditType="Cell".
Thank you in advance.
function BatchCellModified(sender, args) { var grid = $find('<%= myGrid.ClientID %>'); var masterTable = grid.get_masterTableView(); var rows = masterTable.get_dataItems(); var rowArgs = args.get_row(); var rowIndex = rowArgs.sectionRowIndex; var row = rows[rowIndex]; var txtTotal = row.get_cell("Total"); if (args.get_columnUniqueName() === "PD" || args.get_columnUniqueName() === "BI") { var txtPd = (isNaN(parseFloat(row.get_cell("PD").outerText))) ? 0 : parseFloat(row.get_cell("PD").outerText); var txtBi = (isNaN(parseFloat(row.get_cell("BI").outerText))) ? 0 : parseFloat(row.get_cell("BI").outerText); var totalAmount = txtPd + txtBi; txtTotal.innerHTML = totalAmount; } if (args.get_columnUniqueName() === "Total") { if (txtTotal != (txtPd + txtBi)) { var txtPdOutput = row.get_cell("PD"); txtPdOutput.innerHTML = 0; var txtBiOutput = row.get_cell("BI"); txtBiOutput.innerHTML = 0; } } };
