Hi!
I wanted to modify style of RadCombo on server side, something like this:
01.protected void SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)02. {03. var radCombo = sender as RadComboBox;04. var parent = radCombo.Parent;05. 06. // cuted...07. 08. int constLeft = 130;09. int avgTokenWidth = 73;10. int computed = constLeft + (avgTokenWidth * autocomplete.Entries.Count);11. radCombo.Style["Left"] = computed.ToString() + " px ! important";12. }
But it doesn't do anything. How to push these change to the client?

I am trying to get inline popup working but for some resson its displaying nothing no editable fields for the user the insert and cancel are showing fine. I have made sure to have ajax manager and a ajax loader as per demo
01.<telerik:RadAjaxManager ID="RadAjaxManager2" runat="server">02. <AjaxSettings>03. <telerik:AjaxSetting AjaxControlID="rpNotes">04. <UpdatedControls>05. <telerik:AjaxUpdatedControl ControlID="rpNotes" LoadingPanelID="RadAjaxLoadingPanel1" />06. </UpdatedControls>07. </telerik:AjaxSetting>08. </AjaxSettings>09. </telerik:RadAjaxManager>10. <telerik:RadAjaxPanel ID="rpNotes" runat="server">11. <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />12. <telerik:RadGrid ID="rgNotes" runat="server" GroupPanelPosition="Top" Skin="Bootstrap">13. <GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>14. <MasterTableView NoDetailRecordsText="No notes for this Appointment" AutoGenerateColumns="False" CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Add Notes" AllowAutomaticInserts="true" EditMode="InPlace">15. <Columns>16. <telerik:GridEditCommandColumn UniqueName="EditCommandColumn">17. </telerik:GridEditCommandColumn>18. <telerik:GridBoundColumn DataField="Subject" FilterControlAltText="Filter Subject column" HeaderText="subject" ReadOnly="True" SortExpression="Subject" UniqueName="Subject">19. </telerik:GridBoundColumn>20. </Columns>21. </MasterTableView>22. </telerik:RadGrid>23. </telerik:RadAjaxPanel>24. <div></div>25. </div>26. <br />I am filling my rad grid using dal access which is the following routine.
01./// <summary>02./// Gets the allnotes by appointment.03./// </summary>04./// <param name="id">The identifier.</param>05./// <returns></returns>06.public List<tblApertureNetNote> getNotesByAppointment(int id)07.{08. try09. {10. var _notes = apertureNetEntities.tblApertureNetNotes.Where(f => f.isDeleted == false && f.appointment_id == id).OrderByDescending(o => o.authCreatedDate).ToList();11. return _notes.AsQueryable().ToList();12. }13. catch (Exception ex)14. 15. {16. string inner = string.Empty;17. if (ex.InnerException != null)18. {19. inner = ex.InnerException.ToString();20. }21. logger.Error("Error in IQueryable function getNotesByAppointment " + ex.ToString() + " " + inner);22. return null;23. }24.}
Hi,
I am trying to use the Rad Searchbox as in example: http://demos.telerik.com/aspnet-ajax/searchbox/examples/overview/defaultcs.aspx
I have added the similar code, but the rad search box is throwing error as "Unknown element".
How to use the Rad Searchbox?
Thanks
Hi,
I am using the scheduler control for a project, and I am quite new to it, your guidance on below 3 problems would be very helpful.
I have a list of free time, and time booked for appointment etc. Now based on this the remaining timeslots should be disabled.
i.e. for example if for today I have my time available from say 9:00 AM to 10:00AM then an appointment from 10:00AM to 12:AM and then a available time from 12:PM to 3:00PM . except for these time the remaining timeslots should be disabled. How can I achieve this.
I am loading the appointment from the server side, hence using the TimeSlotCreated event I was not able to change the timeslots.
Also if you can help me on how to add a tooltip to the available timeslots(in the above example 9:00AM to 10:00AM, I have to show a tool tip as say "available from 9:00AM - 10:00AM".
Third how can I clear a scheduler, say today I have data in scheduler horizontally 3 users in header and each having some appointment, when I move to next day if there are no users and no appointment, I want to clear the scheduler so that the old data is removed. I Tried to clear using below code, but still the see that the header and appointment persist.
DiarySchedule.ResourceTypes.Clear(); Appointments.Clear(); DiarySchedule.DataKeyField = "ID"; DiarySchedule.DataStartField = "Start"; DiarySchedule.DataEndField = "End"; DiarySchedule.DataSubjectField = "Subject"; DiarySchedule.DataDescriptionField = "Description"; DiarySchedule.DataRecurrenceField = "RecurrenceRule"; DiarySchedule.DataRecurrenceParentKeyField = "RecurrenceParentID"; DiarySchedule.DataSource = Appointments;
Thank you
Arvind


Hi
I am new to Telerik I am looking for working independent sample project or web site of Scheduler - Resource Grouping (http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourcegrouping/defaultcs.aspx?skin=Silk). Where can I download such a sample?
Thanks
abahrami

Hi,
We are using Telerik Web UI for AJAX (version 2015.2.729.45). In grid we have data with double quotes (") and filter control is TextBox. Searching text with double quotes fails the search.
please see the attachment.
Code being used - Using the aspx standard script.
<telerik:GridBoundColumn DataField="Name" HeaderText="Header" UniqueName="Name" FilterControlWidth="260px" AllowFiltering="true" ShowFilterIcon="false" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" />
Kindly let us know for the solution.
Thanks.
Neelesh

Hello,
we have updated one of our solutions from .NET 3.5 to 4.0 with a new Telerik version. Right now we are having an critical issue we are not able to solve.
We are opening an selection form in an modal dialog. All available items are displayed in an GridView where the user can select a single item. On post back the form is handing the user selection back to the previous form. From the theory quite easy going. Right now we have recognized an ciritical issue with our post back.
On postback we are loosing the ViewState and the ControlState of the GridView. Due to this case, it will reload the data source, without the selected sort, filter and page options and returns the wrong user selection.
For example:
If we select the 3rd item on page 2, while all items are sorted alphabetically ascending, it will return the 3rd item from the datasource, without any filtering, paging, or sorting. So on postback the selected page is always 0, the sort order null... filtering null.
This strange behaviour only occurs in modal dialogs. If we do use the same kind of grid (cause it's based on a adapter pattern will complete same implementation) it will work correctly.
Grid implementation:
<telerik:RadAjaxManagerProxy ID="AjaxManagerProxy" runat="server" >
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="PanelButtonBar">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="PanelButtonBar" LoadingPanelID="RadAjaxLoadingPanel1"/>
<telerik:AjaxUpdatedControl ControlID="pnlMessage"/>
<telerik:AjaxUpdatedControl ControlID="RadWindowManagerInGrid" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="Grid">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="Grid" LoadingPanelID="RadAjaxLoadingPanel1"/>
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
If you already know this kind of issue and fixed it, please let me know. I realy do require an idea :)
Best Regards,
Jan