I am wanting to try and create a reoccurance rule through just code I found the guide of http://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/recurrence-editor/server-side-programming/populating-the-recurrence-rule by the way their is a spelling error at the top of the document in the h2 created.
I understand that I need to use recurrenncerange but I am saving my appointment via entity framework so i have two properties which i gather I need to populate.
RecurrenceRule
RecurrenceParentID
Can you please explain using the below methods if I can save the required information into the nvarchar that will allow the re ourrance data to show I am wanting to use this to show the days off that a staff memeber has.
01./Creating a Weekly Recurrence rule02.int interval = 2;03.RecurrenceRange range = new RecurrenceRange();04.range.Start = DateTime.Now;05.range.EventDuration = TimeSpan.FromMinutes(30);06.range.MaxOccurrences = 3;07.RecurrenceDay recurrenceDay = RecurrenceDay.Wednesday;08.recurrenceEditor.RecurrenceRule = new WeeklyRecurrenceRule(interval, recurrenceDay, range);09.//DayOfWeek startDayOfWeek = DayOfWeek.Tuesday;10.//recurrenceEditor.RecurrenceRule = new WeeklyRecurrenceRule(interval, recurrenceDay, range, startDayOfWeek);
I am trying to figure out how to achevie the following I am using the edit pop to allow user to edit multple note records my problem I am having is that I cant seem to figure out how to get the id passed to my save command on the popup dialog.
01.<telerik:RadGrid ID="rgNotes" runat="server" GroupPanelPosition="Top" OnItemCommand="rgNotes_ItemCommand">02. <GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>03. <MasterTableView NoDetailRecordsText="No notes for this Appointment" AutoGenerateColumns="False" CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Add Notes" AllowAutomaticInserts="true" EditMode="PopUp">04. <Columns>05. <telerik:GridEditCommandColumn UniqueName="EditCommandColumn">06. </telerik:GridEditCommandColumn>07. <telerik:GridBoundColumn DataField="notes_id" FilterControlAltText="Filter notes_id column" HeaderText="notes_id" ReadOnly="True" SortExpression="notes_id" Visible="false" UniqueName="notes_id">08. </telerik:GridBoundColumn>09. <telerik:GridBoundColumn DataField="Subject" FilterControlAltText="Filter Subject column" HeaderText="Subject" ReadOnly="True" SortExpression="Subject" UniqueName="Subject">10. </telerik:GridBoundColumn>11. </Columns>12. 13. <EditFormSettings EditFormType="Template" InsertCaption="Add new Note" CaptionFormatString="Please enter or update note">14. <FormTemplate>15. 16. <telerik:RadTextBox ID="txtNotesId" Width="200px" runat="server"></telerik:RadTextBox>17. 18. Subject19. <p>20. <telerik:RadTextBox ID="txtSubjectNotes" Width="200px" runat="server"></telerik:RadTextBox>21. </p>22. <p>23. Notes<br />24. <telerik:RadTextBox ID="RadTextBox1" TextMode="MultiLine" Rows="10" Columns="10" Width="200px" runat="server"></telerik:RadTextBox>25. </p>26. 27. <telerik:RadButton ID="rdSaveNotes" OnClick="rdSaveNotes_Click" Skin="Bootstrap" BackColor="#512479" ForeColor="White" runat="server" Text="Save Notes"></telerik:RadButton>28. <telerik:RadButton ID="rdCancel" OnClick="rdCancel_Click1" CommandName="Cancel" Skin="Bootstrap" BackColor="#512479" ForeColor="White" runat="server" Text="Cancel"></telerik:RadButton>29. </FormTemplate>30. </EditFormSettings>31. </MasterTableView>32. <ClientSettings>33. <ClientEvents OnPopUpShowing="PopUpShowing" />34. <Selecting AllowRowSelect="true" />35. </ClientSettings>36. </telerik:RadGrid>37. </telerik:RadAjaxPanel>Obv I need a way of passing the value to my save event but I cant seem to think how at present I no in the grids normal way of doing it you can dothis in the item command.
01.protected void rdSaveNotes_Click(object sender, EventArgs e)02.{03. try04. {05. int id = Convert.ToInt32(Request.QueryString["id"]);06. tblApertureNetNote _note = new tblApertureNetNote();07. 08. // _note = _dal.GetNotesById(id);09. 10. _note.appointment_id = id;11. 12. _note.isActive = true;13. _note.isDeleted = false;14. _note.subject = txtSubject.Text;15. if (_note.EntityState == System.Data.EntityState.Detached)16. _dal.Addnotes(_note);17. 18. rgNotes.DataBind();19. }20. catch (Exception ex)21. {22. logger.Error("Error in rdSaveNotes_Click function calandar edit.aspx" + ex.ToString());23. }24.}
And this is how I would normally pass the primary key but here I do not no how to ?.
1.protected void rgNotes_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)2. {3. GridDataItem item = e.Item as GridDataItem;4. Guid id = new Guid(item.GetDataKeyValue("notes_id").ToString());5. }
Hello,
Saving to excel is not working depending on the amount of data. Columns with formulas are the cause.
Less amount of data can be converted to excel.
Sample JSON here: https://drive.google.com/file/d/0B-ORCNWgXhVoYWVvQUYybjhRWVE/view?usp=sharing
Telerik.Web.Spreadsheet.dll 2016.1.301.45


Hello! I'm new to the forum,I hope you can help,I created a RadHtmlChart with Telerik,when I pass the mouse over a point the topltip shown as I show in the image Link: http://imgur.com/KE1D5qW
How I can do to change the format to Spanish?
Dear Telerik team,
I am developing MVC web site. I am using telerik (grid in existing views) and Kendo(combobox in new view). In _layouts page Jquery-1.7.1.min.js was referenced.
Grid is working. but If I changed reference from JQuery-1.7.1 to Jquery.min.js file getting script issues like version not supported like that.
If I use JQuery-1.7.1 only then KendoComboBox is undefined.
If I use both 2012.2.607/JQuery-1.7.1(_layouts) and Kendo/Jquery.min.js(view) then nothing is working.
Please help me how to resolve these issues. Please suggest good approach.

Hello,
I want to export a grid whose width exceeds the width of a A4 in landscape. The last right column is cut in the middle and the right margin has disappeared. It's
very ugly.
Is there a standard solution or configuration to export correctly the grid i.e. that the last column is not exported because it is not complete ? or must I that completly program...
or it is possible at least to Keep the right margin even if the column is cut ?
Thanks in advance.
Sébastien
I just upgrade to 2016.1.225 (Feb 25, 2016) and I'm having a problem with legacy code that used a client side template to add some more information to the appointment.
This is how the appointment div was rendered before.
<div class="rsAptContent" style="">Anthony Lee, Jr.<span class="apptDate "> - 1:30 PM</span><div class="apptDescription"> - Civil</div><a href="#" class="rsAptDelete" style="visibility: hidden;">delete</a></div>This is how it renders now in release 2016.1.225 (Feb 25, 2016)
<div class="rsAptContent" style="">DAP Clinic Salisbury 10-1 Ann Shaw</div><span class="apptDate "> - 9:30 AM</span><div class="apptDescription"></div><a href="#" class="rsAptDelete" style="visibility: hidden;" title="delete"><span class="rsIcon rsIconDelete"></span></a><span class="rsAptResize rsAptResizeStart"></span><span class="rsAptResize rsAptResizeEnd"></span>The rsAptDelete link is not inside of the appointment content div.
I got this code from Telerik to modify the appointment content.
function OnClientDataBound(scheduler) { var $ = jQuery; // using templates to create the subject & date on the appointment $(".rsAptDelete").each(function () { var apt = scheduler.getAppointmentFromDomElement(this); // creating an object containing the data that should be applied on the template var descValue = { Description: apt.get_description() }; var startValue = { Start: apt.get_start().format('h:mm tt') }; if (descValue.Description.indexOf('Cambridge') != -1) apt.set_cssClass('rsCategoryYellow'); // instantiate the template, populate it and insert before the delete handler (".rsAptDelete") $("#tmplAppDate").tmpl(startValue).insertBefore(this); $("#tmplAppDescription").tmpl(descValue).insertBefore(this); }); }
Not sure how to get this working now.
I made a simple grid (using control) and have a that filters details on the grid based on the item selected item in the combo box
Here's what have on the client side for the
<label for ="Label1">Select One:</label><telerik:RadComboBox ID="RadComboBox1" runat="server" DataSourceID="SqlDataSource2" DataTextField="GroupCompany" DataValueField="GroupCompany" AutoPostBack ="true" AppendDataBoundItems ="true" > <Items><telerik:RadComboBoxItem Text=" " Value=" " Selected ="true" /></Items></telerik:RadComboBox><asp:SqlDataSource runat="server" ID="SqlDataSource2" ConnectionString='<%$ ConnectionStrings:SiteSqlServer %>' SelectCommand="SELECT * FROM [Table-GroupCompany]"></asp:SqlDataSource><br />The grid uses a different source (SqlDataSrouce1) just for everyone's reference. I used the demo for using Combobox as filter for RadGrid
How do make a button that will execute the filter functionality that the makes?
I couldn't follow nor find the demo for making a filter button (because perhaps it's too much spoon feeding :p) I appreciate any help possible.
Thank you!
