Getting error Uncaught TypeError: Cannot read property 'cells' of undefined When i Click on an item from a RadContextMenu. This page has a Rad-scheduler.
Hello,
I'm experiencing an issue and I hope you can help me with this. I saw a similar thread but it's from 2017 and it doesn't answer all of my concers, so that´s why I open a new one. But if you prefer, I can continue in the other one.
Anyway, we are using RadEditor with ImageManager.
When users of our application are trying to upload an image, the upload seems to be going on forever (there is a yellow dot by the image's name) and when I peek at the Chrome's Dev Tool console (Chrome is updated) , an "Unexpected token < in JSON at position 453" error is logged.
I attached an image showing this error message.
But when I changed "EnableAsyncUpload" property to false, it uploads correctly and saves the image in the specified location without any problem.
I can leave it like this but it bugs me a lot not to know why the error appears.
Is it really ok leaving EnableAsyncUpload in False? Is there a way to fix the JSON issue?
Thank you!
PS: just in case, snippets of how it's declared the editor in the ascx file and how it's configured in the code behind
<
div
id
=
"HtmlBodyCell"
style="<%= HtmlBodyCellStyle %>">
<
Telerik:RadEditor
ID
=
"HtmlBodyTextArea"
runat
=
"server"
Width
=
"475px"
Height
=
"400px"
/>
</
div
>
string
[] imgPath = { vpath };
HtmlBodyTextArea.EnableFilter(Telerik.Web.UI.EditorFilters.MakeUrlsAbsolute);
HtmlBodyTextArea.ImageManager.UploadPaths = imgPath;
HtmlBodyTextArea.ImageManager.ViewPaths = imgPath;
HtmlBodyTextArea.ImageManager.MaxUploadFileSize = 200000;
HtmlBodyTextArea.ImageManager.EnableAsyncUpload =
true
;
HtmlBodyTextArea.ImageManager.RenderMode = RenderMode.Lightweight;
Hello,
please I need your help in client side code ,
I need javascript code that explain how can RadComboBox in header affects on all RadComboBoxs in asp repeater rows,
how can set same value and same text .
thanks
I have created a dynamic wizard steps. I want to delete the wizardsteps based on index. How can do this.
Ascx Page:
<
telerik:RadButton
runat
=
"server"
RenderMode
=
"Lightweight"
ID
=
"rbtnRemoveSteps"
Text
=
"Remove Steps"
AutoPostBack
=
"false"
OnClientClicked
=
"RemoveSteps"
></
telerik:RadButton
>
Ascx Script:
function
RemoveSteps() {
var
ajaxmanager =
null
;
ajaxmanager = $find(
'<%=RadAjaxManager.GetCurrent(this.Page).ClientID%>'
);
ajaxmanager.ajaxRequest(
'DeleteSteps'
);
}
Parent Page:
case
"DeleteSteps"
:
if
(UIControlsWizard.WizardSteps.Count >=0)
{
int
activeIndex = UIControlsWizard.ActiveStepIndex;
UIControlsWizard.WizardSteps.RemoveAt(activeIndex);
}
break
;
Hi,I have a problem with RadDataForm and HiddenField. I have a scenario like this:
<telerik:RadDataForm runat="server" ID="radDataForm" DataSourceID="myDataSource">
<InsertItemTemplate>
<asp:HiddenField ID="hiddenField" runat="server" Value='<%# Bind("MyProperty") %>' />
<telerik:RadComboBox ID="myCombo" runat="server" SelectedValue='<%# Bind("MyProperty2") %>' />
</InsertItemTemplate>
</telerik:RadDataForm>
I Just semplify my code. The problem is that radComboBox (as other telerik controls) works fine and i bind my object passed in data source, while the property bounded throught asp:HiddenField doesn't work, even the value is not null.
Any suggestions?
Thanks
<
telerik:RadToolBarButton
Text="<%$ Resources:AdminLoc, btnAddDailyEquipment %>"
ImageUrl="~/Web/Images/Icons/ress_equipement.gif"
Group="DailyEquipment" CommandName="AddDailyResource" CommandArgument="DailyEquipment"
Value="DailyEquipment" Visible="<%# KeyValueTools.GetActivitekRepentignyDev %>">
case
"AddDailyResource"
:<br> $find(
'<%= RgPanelSummary.ClientID%>'
).get_masterTableView().fireCommand(args.get_item().get_commandName(), argument);<br>
break
;
If I have more than one element in my grid. The server-side ItemCommand is fired
But my problem occuring when I have no data in my RadGrid. The server-side called the ItemDataBound (RadGrid), the PageLoad, PageRender, etc. But the ItemCommand is never called. I have this problem for each custom action "Print, DailyEquipement". But If I using a default Radgrid action (DeletedSelected, InitInsert) the ItemCommand is called.
Can I resolve my problem? And If Yes how ?
Thank you and have a good day
Hello
I am looking for a little assistance in developing Facebook like notification counts like the attached image. I have the image displaying properly, just didn't know if there was any functionality built with the menu item to do something like the attached image.
Thanks in advance,
Tom
Hello,
I am using a template form on which I have a dropdown list. Depending on the selection, I need to hide or show a couple of different labels/date pickers. While I can access the dropdown list using the SelectedIndexChanged as follows, can you please help me figure out how I can show/hide the controls? I have found similar questions asked before but have yet to found a clear response. Really appreciate your help as I've put in quite a bit of time figuring this out.
protected void ddDuration_SelectedIndexChanged(object sender, DropDownListEventArgs e)
{
RadDropDownList ddDuration = (RadDropDownList)sender;
sDuration = (string)ddDuration.SelectedValue;
if (sDuration == "0")
{
//Need to show lblStartTime and timeStart, and Hide lblFullDate. dateFull
}
else
{
//Need to show lblFullDate, dateFull and Hide lblStartTime and timeStart.
}
}
<telerik:RadDropDownList Width="16.8em" ID="ddDuration" runat="server" OnSelectedIndexChanged="ddDuration_SelectedIndexChanged"
AutoPostBack="true">
<Items>
<telerik:DropDownListItem Text="Please Select" Value="">
</telerik:DropDownListItem>
<telerik:DropDownListItem Text="Partial" Value="0">
</telerik:DropDownListItem>
<telerik:DropDownListItem Text="Full Day" Value="1">
</telerik:DropDownListItem>
</Items>
</telerik:RadDropDownList>
</td>
</tr>
<tr>
<td>
<asp:Label Font-Bold="true" ID="lblFullDate" runat="server"
Text="FullDay Closure Date: "></asp:Label>
</td>
<td>
<telerik:RadDatePicker ID="dateFull" runat="server" RenderMode="Classic"></telerik:RadDatePicker>
</td>
</tr>
<tr>
<td>
<asp:Label Font-Bold="true" ID="lblStartTime" runat="server"
Text="Partial Closure Start Time: "></asp:Label></td>
<td>
<telerik:RadDateTimePicker Width="21.2em" RenderMode="Classic"
runat="server" ID="timeStart"></telerik:RadDateTimePicker>
</td>
</tr>
Hi all
I have a this problem: I don't find RadToolTip in Telerik.Web.UI client side. I find all other controls but not RadToolTip.
I recivede this error: Telerik.Web.UI.RadToolTip is undefined
Why?
Thank you