Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
57 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
117 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
110 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
98 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
258 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
96 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
1 answer
107 views
Hello

Thanks in Advance...

I want to Add New Item in My radmenu that item should come through database only . In My existing rad menu is static that should be remain same I want to add one more item that should be come from database. How we can bind the Particular item dynamically

Thanks and Regards
Parveen Goyal
Shinu
Top achievements
Rank 2
 answered on 14 May 2010
3 answers
66 views
Hello,

My goal is to keep an archive of past appointments placed on the calendar that can be kept up to date when appointments are added, removed or updated on the calendar.

What I would like to do:
Upon appointment Insert
- Capture the ID
- Create a new table with the ID, start and end times and other data necessary for the archive A new row would need to be inserted for each recurrence in the appointment as well should it be recurring.

Upon appointment update
- Use the ID to find all future occurences in the archive table and delete them
- Create new entries in the archive table for all future occurences (same as the insert)

Upon delete
- Delete all future occurences of the appointment in the archive table.

As you can see I want to leave anything that happened historically in place so it can be evaluated later and not affected by changes in the future.

I believe I can add the functions but here are the hurdles I'm facing:

1) I am returning the inserted ID from the insert query in a variable, how do I access that in the appointmentinserted event?

2) There are no recurrence details in the e.appointment variable that I can see, just the pattern. How do I access the recurrence items so I can loop through them and add them to the calendar? in the appointmentinserted and updated events? Do I have to select them using the id into a new object?

I know I saw a post similar to this here a while back, but now I cannot find it. Any tips would be appreciated. Thanks!!! - Andrew

Peter
Telerik team
 answered on 14 May 2010
1 answer
57 views
when I open IE8, i got the error " DateError is not defined", my page include a rad calendar control, if i commented "<ClientEvents OnError="DateError" />" in the HTML source code, everything will be okay, any help will be appreciated.
Maria Ilieva
Telerik team
 answered on 14 May 2010
1 answer
49 views
Hi all,
I am getting an issue export into excel format, after export the excel can be opened by MS Excel but it actually is in Html format, I don't want this I want to open the file in excel, it should be the excel format and editable and saving. I don't know what it is happening, I set export format is Excel.

Please help me to find the solution for solving this problem.

Thanks,

Sang
Daniel
Telerik team
 answered on 14 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?