Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
115 views
I have a Hierarchical  grid which I want to export to Excel, this works fine but I would like to ignore the paging, but in doing so it will only print the details of the parent grid - am I missing something?

Thanks
Claire Thomson
Top achievements
Rank 1
 answered on 14 May 2010
1 answer
108 views
Hi, 

  I am using Telerik 2010.1.415.35 trial version. 
  I am using RadScheduler and RadCalendar controls in my page.
  I am getting below javascript error on click of week option from the ViewTabs of the RadScheduler:

          Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException:
                                                                                      Specified argument was out of the range of valid values.
          Parameter name: value

  I am binding a dynamic list to a resourcetype and I have set resource grouping based on this resourcetype through code in the
  codebehind. 
  Day view loads properly. But when the view is changed from dayview to week view or month view , the above error occurs  
  
  Error does not occur if the number of list items bound to the resourcetype is less may be below 10 - 15 resources.
  And the list contains only 55 resources.
  
  Please help me to solve this issue.

Thanks
 Babu

Peter
Telerik team
 answered on 14 May 2010
11 answers
367 views
Hi
I'm using the scheduler in timeline view and want to change the header.  Is there a template for the header?

Specifically I want to include new header text and change have the full date/time display in the header (while leaving the column headers in the view with time only header value) and leave the current navigation controls in place.

Thanks

Peter
Telerik team
 answered on 14 May 2010
2 answers
121 views

Dear Sir,

i m using Rad shceduler control and for Single Provider its working Fine. But When
I want to Show Multiple Doctor Appointment in Scheduler Control i just Set GroupId="DoctorName"  But it showing  Error rows.0.cells is null or not an object.
With out GroupBy="DoctorName" its working Fine. But Without GroupName How Can i Achive Multiple Doctor Appointment Case.
Please Help Me.
Thanks
Chandan Kumar.

aspx page coding.

<

 

telerik:RadScheduler GroupBy="DoctorName" AllowInsert="false" HoursPanelTimeFormat="hh:mm tt" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound"

 

 

OnAppointmentCreated="RadScheduler1_AppointmentCreated" runat="server" ID="RadScheduler1"

 

 

Skin="Office2007" Height="545px" CustomAttributeNames="StatusId" Width="690px"

 

 

ShowFooter="false" SelectedDate="2010-03-18" DayStartTime="07:00:00" DayEndTime="21:00:00"

 

 

FirstDayOfWeek="Monday" LastDayOfWeek="Sunday" EnableDescriptionField="true"

 

 

ShowNavigationPane="false" OnAppointmentDelete="RadScheduler1_AppointmentDelete"

 

 

DataSubjectField="Subject" DataStartField="FromTime" DataEndField="ToTime" ShowAllDayRow="false"

 

 

AllowEdit="false" DataKeyField="AppointmentId" DataDescriptionField="Description" OnTimeSlotContextMenuItemClicked="RadScheduler1_TimeSlotContextMenuItemClicked"

 

 

AllowDelete="false" OnAppointmentContextMenuItemClicked="RadScheduler1_AppointmentContextMenuItemClicked"

 

 

OnNavigationCommand="RadScheduler1_NavigationCommand" OnTimeSlotCreated="RadScheduler1_TimeSlotCreated">

 

 

<AppointmentContextMenuSettings EnableDefault="false" />

 

 

<TimelineView UserSelectable="false" />

 

 

<AppointmentTemplate>

 

<%

# Eval("Subject")%>

 

 

<br />

 

 

<asp:Label runat="server" ID="Teacher" />

 

 

<br />

 

 

<asp:Label runat="server" ID="Students" />

 

 

</AppointmentTemplate>

 

 

<AppointmentContextMenus>

 

 

 

<telerik:RadSchedulerContextMenu runat="server" DataTextField="Status" DataValueField="StatusId"

 

 

ID="SchedulerAppointmentContextMenu" AppendDataBoundItems="true">

 

 

<Items>

 

 

<telerik:RadMenuItem Text="Copy" Value="Copy" />

 

 

<telerik:RadMenuItem IsSeparator="True" />

 

 

<telerik:RadMenuItem Text="Edit" Value="Edit" />

 

 

<telerik:RadMenuItem IsSeparator="True" />

 

 

</Items>

 

 

</telerik:RadSchedulerContextMenu>

 

 

</AppointmentContextMenus>

 

 

<TimeSlotContextMenus>

 

 

<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerTimeSlotContextMenu">

 

 

<Items>

 

 

<telerik:RadMenuItem Text="New Appointment" Value="New" />

 

 

<telerik:RadMenuItem IsSeparator="true" />

 

 

<telerik:RadMenuItem Text="Paste" Value="Paste" />

 

 

</Items>

 

 

</telerik:RadSchedulerContextMenu>

 

 

</TimeSlotContextMenus>

 

 

<TimeSlotContextMenuSettings EnableDefault="False" />

 

 

</telerik:RadScheduler>

 

Peter
Telerik team
 answered on 14 May 2010
2 answers
63 views
Hi!
How can you display the Telerik.Web.UI assembly version number at runtime? I have looked for a property (like "VersionNumber") but haven't found anything that holds the version number...

Thanks,

Arnstein
Arnstein
Top achievements
Rank 2
 answered on 14 May 2010
1 answer
123 views
I am trying to add time slot context menu items from server side using business class that returns a List(of). I cannot get the items to display, can someone lend some assistance please?

<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerTimeSlotContextMenu" > 
                    <Items> 
                        <telerik:RadMenuItem Text="New Appointment" ImageUrl="Images/new.gif" Value="CommandAddAppointment" /> 
                        <telerik:RadMenuItem Text="New Recurring Appointment" ImageUrl="Images/recurring.gif" Value="CommandAddRecurringAppointment" /> 
                        <telerik:RadMenuItem IsSeparator="true" /> 
                        <%-- Custom command --%> 
                        <telerik:RadMenuItem Text="Group by Calendar" Value="EnableGrouping" /> 
                        <telerik:RadMenuItem IsSeparator="true" /> 
                        <telerik:RadMenuItem  Text="Change Scheduler Location" > 
                          
                        </telerik:RadMenuItem> 
    </Items> 
                </telerik:RadSchedulerContextMenu>  


 Protected Sub LoadLocationSchedulerContextMenuItems()  
 
        Dim objScheduler As New Scheduler  
        Dim lLocations As New System.Collections.Generic.List(Of Locations)()  
        Dim ChangeSchedulerLocationMenu As RadMenuItem = RadScheduler1.TimeSlotContextMenus(0).Items(4)  
 
        lLocations = objScheduler.GetLocations(m_CTSession.CTContext.OPP.GroupID)  
 
        For Each obj As Locations In lLocations  
            Dim LocationMenuItem As New RadMenuItem  
            LocationMenuItem.Text = obj.LocationShortName  
            LocationMenuItem.Value = obj.LocationId  
            ChangeSchedulerLocationMenu.Items.Add(LocationMenuItem)  
        Next 
 
        ChangeSchedulerLocationMenu.DataBind()  
 
        objScheduler = Nothing 
        lLocations = Nothing 
 
    End Sub 
Peter
Telerik team
 answered on 14 May 2010
1 answer
127 views
Trying to get the delete function to work with the RadListBox and I have met all the requirements according to the docs.

I have done all this.
  • Set the AllowDelete="True" (so the Delete button is visible)
  • Set the AllowAutomaticUpdates="True" (so the DataSource is updated automatically)
  • Set the AutoPostBackOnDelete="True".
  • Make sure that the DataSource has a DeleteCommand set.

I am using an SqlDataSource pointing to my table that has a primary key on the ID and userid fields.

The delete button displays in the listbox at design time but when I run the app there is no delete button. I have tried changing the width of the listbox but that did not help.

Is there something else I am missing that needs to be done?

Genady Sergeev
Telerik team
 answered on 14 May 2010
1 answer
100 views
Hi,
I am getting issue like 

Error: a._events is undefined
 Source File: http://localhost:33367/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RSM_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a94b8a2b4-5efc-4f4c-9641-d912b698978d%3aea597d4b%3ab25378d2
Line: 6

Scenario:

I am customizing the RadGrid with the sort column. ie i am changing the sort column dynamically with a link button outside Radgrid.
I am having Refresh button outside Grid.

When i click the refresh button first time, the grid gets refreshed.
But when i click the refresh button after customizing the grid with the sort column, i am getting the javascript error like above

Please anyone advice this...
Radoslav
Telerik team
 answered on 14 May 2010
4 answers
277 views
There a way to Format the PDF that you export from RadEditor?  It doesn't seem to carry over any HTML formatting.  Also, looking for documentation on the Export Settings, not sure how best to use that and if that would solve this problem.

Formatting like Underline and Italics work but not bold, or superscript or <h1>Title</h1> type stuff as well.


Eirik H
Top achievements
Rank 2
 answered on 14 May 2010
4 answers
100 views
I would love to use a client side function to set the text of a RadDock in a way that is reflected also on the serverside in the DockState.Text object. Is this possible, since there is no set_text function on the client side object.

//Christoffer
Pero
Telerik team
 answered on 14 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?