<CommandItemTemplate> <div style="padding: 5px 5px;"> <asp:LinkButton ID="linkBtnAddReport" runat="server" CommandName="InitInsert"> <img style="border:0px;vertical-align:middle;" alt="" src="../../CSS/images/add.gif" /> Add New Report </asp:LinkButton> </div> </CommandItemTemplate>
I'm attempting to add an Editor to an existing .NET 4.5 project. All of the other Telerik controls in the project seem fine so far - and RadEditor works at first, but is unable to change to either HTML or Preview mode.
When we click on either HTML or Preview, a File Not Found error is thrown. I've followed a few other threads related to RadEditor issues and have tried some proposed solutions, such as renaming the DialogHandler from .aspx to .axd, but nothing so far has worked. Right now, it appears everything in our web.config, references, etc. match what is in the Telerik Live Examples project.
Has anyone else encountered this problem, or any other ideas of what could be wrong?
Hello
How can I set a RadScheduler modal window to 'movable' by the user like a RadWindow?
My users are confused that the can move other RadWindow modal windows but not the one from the scheduler.
Thanks
Ruggero De Pellegrini

I've recently upgraded to the latest version of Telerik, and it seems like the "ItemsPerRow" property is no longer working for the Custom Drop Down.
Example here: http://demos.telerik.com/aspnet-ajax/editor/examples/customdropdowns/defaultvb.aspx
I've tried to format the list items accordingly, however the <li> styling affects ALL drop downs in the editor.
Is there either a way to get the ItemsPerRow to work properly, or is there a way to specifically refer to just the custom drop down via CSS styling?
Thank you.

Dear All
Is there a way to add Highlights and or Holidays to the Gantt control?
What is planned in the Roadmap for Gantt?
Best regards

Is there anyway to change the timing (speed) of the needle sweep?
I want to slow down the speed of the needle after its been given a value.
I don't see a exposed value, but I am guessing that some JavaScript "timer" function is used to control the speed of the needle when it moves to a given value.
Is some value existing in the control? I willing to set this value server or client side. eg:
eg:
var gao6 = $find("<%=gaPartsDiscount.ClientID%>"); //the standard script control object
var gao6g = gao6.get_kendoWidget(); //the Kendo widget
var gao6v;
-----> set "speed" of sweep??????
gao6g.value(50);
Regards,
Albert D. Kallal

Hi for some reason my select row code does not work
My grid definition is below
<telerik:radgrid runat="server" id="RadGridAppointmentList" showfooter="false" width="100%" enableajax="true" showstatusbar="true" allowautomaticinserts="false"
onitemcommand="RadGridAppointmentList_ItemCommand" onitemcreated="RadGridAppointmentList_ItemCreated" AllowMultiRowSelection="false"
allowaddingrecords="false" autogeneratecolumns="false" allowsorting="false" allowpagesizeselection="False" onitemdatabound="OnItemDataBoundHandler" allowautomaticupdates="false"
allowpaging="True" skin="Bootstrap" pagesize="25" onneeddatasource="RadGridAppointmentList_NeedDataSource" onprerender="RadGridAppointmentList_PreRender" cssclass="table table-striped">
<MasterTableView AutoGenerateColumns="false" DataKeyNames="ref" TableLayout="Auto" EditMode="EditForms" CommandItemDisplay="None" >
<Columns>
<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn" AllowFiltering="false" HeaderText="Select" ItemStyle-Width="45" HeaderStyle-Width="45" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true">
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" OnCheckedChanged="CheckUncheckItem" AutoPostBack="True"
runat="server"></asp:CheckBox>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridButtonColumn CommandName="Edit" UniqueName="EditColumn" Text="Edit" ItemStyle-Width="45px" HeaderText="Edit" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true">
</telerik:GridButtonColumn>
<telerik:GridBoundColumn DataField="ref" runat="server" Display="false" ItemStyle-Width="1" ItemStyle-ForeColor="White" UniqueName="ref">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="studentname" DataField="" HeaderText="Name" runat="server" ItemStyle-Wrap="true" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true"
ItemStyle-Width="100" ReadOnly="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="Id_No" DataField="id_no" HeaderText="Student" runat="server" ItemStyle-Width="30px"
Display="false" ReadOnly="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="bookeddate" DataField="bookeddate" HeaderText="Date" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" runat="server"
ItemStyle-Width="100" Display="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="selectedtime" HeaderText="Time" runat="server" ItemStyle-Width="80" Display ="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="appointmentdate" HeaderText="Date and Time" runat="server" ItemStyle-Width="110px" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="staff_id" HeaderText="Name" runat="server" ItemStyle-Width="100px" Display="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn UniqueName="staff_name" DataField="" HeaderText="Staff Name" runat="server" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" ItemStyle-Width="100" Display="true">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="status" HeaderText="Status" HeaderStyle-BackColor="#428bca" HeaderStyle-ForeColor="White" HeaderStyle-Font-Bold="true" UniqueName="status"
runat="server" ItemStyle-Width="130px">
</telerik:GridBoundColumn>
</Columns>
<EditFormSettings EditFormType="Template">
<EditColumn UniqueName="EditColumn">
</EditColumn>
<FormTemplate>
<table style="width: 100%" border="0" >
<tr style="border:solid">
<td colspan="2"><b>Edit Appointment</b><br /></td>
</tr>
<tr>
<td colspan="2">
<br />
Select Status<br />
<telerik:RadComboBox ID="RadComboBoxStatus" runat="server" EmptyMessage="Select Status" CausesValidation="False"
HighlightTemplatedItems="true" Height="100px" Width="450px" DropDownWidth="450px" EnableAutomaticLoadOnDemand="False" AutoPostBack="true"
AppendDataBoundItems="true" Visible="true" CssClass="ComboBox" OnSelectedIndexChanged="RadComboBoxStatus_SelectedIndexChanged">
<Items>
<telerik:RadComboBoxItem value="absent" text="absent" />
<telerik:RadComboBoxItem value="present" text="present" />
<telerik:RadComboBoxItem value="session_cancelled" text="session_cancelled" />
</Items>
</telerik:RadComboBox>
</td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="btnSave" CausesValidation="False" Text="Save"
runat="server" AutoPostBack="True" CommandName="Update"></asp:Button>
</td>
</tr>
</FormTemplate>
</EditFormSettings>
</MasterTableView>
<ClientSettings EnablePostBackOnRowClick="True">
<Selecting AllowRowSelect="true"></Selecting>
</ClientSettings>
<SelectedItemStyle BackColor="Gray" BorderColor="Blue" BorderStyle="Dashed" BorderWidth="1px" />
</telerik:radgrid>
This is my select code
Protected Sub CheckUncheckItem(sender As Object, e As EventArgs)
Dim selectedItems As ArrayList
TryCast(TryCast(sender, CheckBox).NamingContainer, GridItem).Selected = TryCast(sender, CheckBox).Checked
Dim CheckBox1 As CheckBox = DirectCast(sender, CheckBox)
Dim item As GridDataItem = DirectCast(CheckBox1.NamingContainer, GridDataItem)
If CheckBox1.Checked Then
Dim refno As String = item.GetDataKeyValue("ref").ToString()
selectedItems.Add(refno)
Session("selectedItems") = selectedItems
Else
Dim refno As String = item.GetDataKeyValue("ref").ToString()
selectedItems.Remove(refno)
Session("selectedItems") = selectedItems
End If
End Sub
The line selectedItems.Add(refno) is failing
Error is Error Message: Object reference not set to an instance of an object.
Does the ref column need to be visible to make it work?
I am using a TreeList with advanced binding with NeedDataSource event handling.
My data does not have any nodes with null / zero to define the root level nodes.
I have seen reference in other threads to settings a 'DefaultValue' to define root nodes but cannot see how to do this in documentation.
How do I display data when I do not have 0 / null root level Id's?
Eg. My root level node may be '1'. How do I configure the TreeList to recognize this?
Thanks
Jason
I have RadGrid that is bound in code-behind using a stored procedure.
I have enable excel-like filtering to the grid and it is all working fine except for any values that contains the word 'AND'.
On another page I have a RadGrid that is bound using the SqlDataSource. The filters work even when containing the word 'AND'.
Any ideas on how to handle this problem?
Regards,
Jas
