Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
86 views
In my RadScheduler each appointment can have multiple resources of the same type (e.g. an appointment can have 2 salespeople on it).   I implemented a custom provider to accomplish this and everything renders fine -- if I have my scheduler grouped by salesperson and date, the appointment will show up under both salespeople (see screenshot 1).

Now let's say I want to reschedule that appointment by dragging it to a new time slot.  To do so, I can drag either the appointment listed under my first salesperson or my second salesperson.   If I drag the appointment box for the first Salesperson it works as expected -- the scheduler is updated so the new appointment time is reflected for both salespeople. (see screenshots 2 and 3)

However, if I go to drag the appointment for the second Salesperson, it actually starts dragging the appointment block for the first salesperson instead of the second salesperson.   It's as if the drag and drop code in the scheduler is selecting the wrong appointment block when that appointment is on the scheduler multiple times due to it having multiple resources of the same type. (see screenshot 4)

Here's a more detailed explanation of what each screenshot shows:

1. A single appointment in Indianapolis scheduled for 12:30pm that has two salespeople (01TECH and 02TECH).  It correctly renders for each salesperson on the scheduler

2. I then decide I want to reschedule the appointment to 10:00am so I drag the appointment listed under 01TECH from 12:30pm to 10:00am.  This shows that dragging working properly.

3. After I drop the appointment at 10:00am this shows how the scheduler updates.  This is correct.  It shows the appointment now at 10:30am and it still has it listed under each Salesperson.

4.  Shows the problem when I try to do the same thing by dragging the appt listed for 02TECH.  Here I actually tried to click and drag the 12:30pm appointment listed under 02TECH, but the scheduler picks up the 12:30pm appointment for 01TECH and uses that for the drag operation.

Is this a known issue?   Are there any workarounds or fixes?

Thanks....
Peter
Telerik team
 answered on 21 Dec 2010
0 answers
282 views
We have identified several occurrences of multiple/duplicated ToolBox items existing in the Visual Studio Toolbox. Unfortunately these seem to stem from a glitch in Visual Studio, which was still not reproduced reliably so that we can fix it, or ask Microsoft for a fix.

Below are the different kinds of occurrences and their possible fixes:
  • Duplicate Toolbox items, remaining two entries per control:
    • this could be a result of having parallel RadControls installations, which is the correct behavior (Visual Studio 2008 only)
    • this could be the result of an improper deregistration of an older RadControls distribution, followed by the registration of the newer one. Usually either of the two approaches below helps fixing the problem:
      • Close Visual Studio instances, start Windows Explorer, navigate to %localappdata%\Microsoft\VisualStudio\10.0 and delete the *.tbd files
      • Right-click the Toolbox inside Visual Studio and click Reset
  • Multiple entries per control, number increasing with each start of the IDE: this is the worst scenario we have come across. All the registry entries and files on the customer machine seemed fine in this case. The only fix we were able to apply was a complete uninstall of RadControls and Visual Studio 2010, followed by a clean install of the IDE and the RadControls.
Kind regards,
Erjan Gavalji
The Telerik team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 21 Dec 2010
1 answer
109 views
Hi, I'm trying to change the style for the select button so the cursor is pointer instead, any tips how to do it?

/Rickard
Genady Sergeev
Telerik team
 answered on 21 Dec 2010
2 answers
214 views
Hey!

I am using a RadListView. Every item contains just one Image button like this:

<ItemTemplate>
    <fieldset style="float: left; width: 270px; height: 110px;">
        <div>
            <asp:ImageButton ID="imgCategory" runat="server" OnClick="imgCategory_Click" OnDataBinding="imgCategory_DataBind"
CommandArgument='<%# Eval("CategoryId") %>'/>
        </div>
     </fieldset>
</ItemTemplate>

I load the ImageButtons dynamacily in the codebehind, now I would like to change the Image source (ImageUrl) on MouseOver and on MouseOut is that possible.

Do you have any different solution in your mind?

Thanks for your asistance.

Sincerely, Jure
Jure
Top achievements
Rank 1
 answered on 21 Dec 2010
1 answer
66 views
Hi,

I have been trying to get this work w/o success.

I am developing a mobile version of the site I am working on.

An example feature is a business search which return well business info.

I have been asked to have paging work through sliding panels like a Droid or iPhone works. I found this http://www.dmxzone.com/demo/SlidingPanels/iphone/ online which might work, but wanted to know if anyone has gotten this functionality to work in the Rad Controls world.

Radgrid works great for normal pages, I have tried every way I could think of the get this to work otherwise...

Currently I just build a string for the html layout of the Business info and I bundle 5 records into 1 "panel" but I cannot figure out a good way to let the user "slide" to the next or previous page.

Any help would be greatly appreciated,

Thanks


Veli
Telerik team
 answered on 21 Dec 2010
1 answer
92 views
I can't figure out how to add a reminder to my database.  I'm able to view the reminder and set the values but can't figure out how to access it via the AppointmentInsert method.  Can someone please help me with this?


<telerik:RadScheduler ID="RadScheduler1" runat="server" TimelineView-NumberOfSlots="5"
            Width="900px" Skin="Web20" EnableEmbeddedSkins="true" EnableEmbeddedBaseStylesheet="false"
            DataStartField="Start" DataEndField="End" DataSubjectField="Subject" DataKeyField="ID" DataReminderField="Reminder"
            EnableDescriptionField="true" EnableReminderField="true" GroupingDirection="Vertical" StartInsertingInAdvancedForm="True"
            AdvancedForm-Modal="False" OnAppointmentDelete="RadScheduler1_AppointmentDelete"
            OnAppointmentInsert="RadScheduler1_AppointmentInsert" OnAppointmentUpdate="RadScheduler1_AppointmentUpdate"
            OnFormCreating="RadScheduler1_FormCreating" OnFormCreated="RadScheduler1_FormCreated"
            OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" OnDataBound="RadScheduler1_OnDataBound"
            OnNavigationComplete="RadScheduler1_NavigationComplete" OnTimeSlotCreated="RadScheduler1_TimeSlotCreated">
            <WeekView DayStartTime="06:00:00" DayEndTime="23:59:00" WorkDayStartTime="08:00:00"
                WorkDayEndTime="18:00:00" />
            <DayView DayStartTime="06:00:00" DayEndTime="23:59:00" WorkDayStartTime="08:00:00"
                WorkDayEndTime="18:00:00" />
            <MonthView VisibleAppointmentsPerDay="20" AdaptiveRowHeight="true" />
            <TimelineView SlotDuration="12:00:00" NumberOfSlots="10" TimeLabelSpan="2" ColumnHeaderDateFormat="dddd, MMMM d" />
            <Reminders Enabled="true" />
            <ResourceStyles>
                <telerik:ResourceStyleMapping Type="Category" Text="Out of Office" ApplyCssClass="rsCategoryViolet" />
                <telerik:ResourceStyleMapping Type="Category" Text="After Hours" ApplyCssClass="rsCategoryRed" />
                <telerik:ResourceStyleMapping Type="Category" Text="Projects" ApplyCssClass="rsCategoryDarkGreen" />
                <telerik:ResourceStyleMapping Type="Category" Text="MACs" ApplyCssClass="rsCategoryGreen" />
                <telerik:ResourceStyleMapping Type="Category" Text="VNMS" ApplyCssClass="rsCategoryDarkBlue" />
                <telerik:ResourceStyleMapping Type="Category" Text="IPT/Engineering" ApplyCssClass="rsCategoryDarkRed" />
                <telerik:ResourceStyleMapping Type="Category" Text="Other" ApplyCssClass="rsCategoryOrange" />
                <telerik:ResourceStyleMapping Type="Category" Text="Remote Day" ApplyCssClass="rsCategoryYellow" />
                <telerik:ResourceStyleMapping Type="Category" Text="Region Coverage" ApplyCssClass="rsCategoryPink" />
            </ResourceStyles>
            <TimeSlotContextMenuSettings EnableDefault="true" />
            <AppointmentContextMenuSettings EnableDefault="true" />
        </telerik:RadScheduler>

protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
   {
       int userCount = 0;
       foreach (Resource user in e.Appointment.Resources.GetResourcesByType("User Name"))
       {
           userCount++; 
       }
       
       string categoryName = "";
       if (e.Appointment.Resources.GetResourceByType("Category") != null)
       { categoryName = e.Appointment.Resources.GetResourceByType("Category").Text; }
       e.Cancel = userCount == 0 || categoryName == "";
       if (e.Cancel)
       {           
           ScriptManager.RegisterClientScriptBlock(lblJscript, this.GetType(), "alert", "alert('Please select a user and category to continue');", true);
           pnlJScript.Update();
           e.Cancel = true;
       }
       else
       {
           if (userCount == 1)
           {
               using (ProNetData d = new ProNetData())
               {
                   Resource user = e.Appointment.Resources.GetResourceByType("User Name");
                   Resource client = e.Appointment.Resources.GetResourceByType("Client Name");
                   Resource category = e.Appointment.Resources.GetResourceByType("Category");
                   string RecurrenceRule = e.Appointment.RecurrenceRule;
                   int userID = SafeValue.SafeInt0(user.Key.ToString());
                   TED.BLL.Appointment a = new TED.BLL.Appointment();
                   AppointmentUsers u = d.AppointmentUsers.Where(i => i.UserID == userID).FirstOrDefault();
                   a.Subject = e.Appointment.Subject;
                   a.Description = e.Appointment.Description != string.Empty ? e.Appointment.Description : null;
                   a.Start = e.Appointment.Start.ToUniversalTime();
                   a.End = e.Appointment.End.ToUniversalTime();
                   a.CreationTime = DateTime.Now;
                   a.LastModificationTime = DateTime.Now;
                   if (user != null)
                   { a.UserID = SafeValue.SafeInt0(user.Key.ToString()); }
                   if (client != null)
                   { a.ClientID = SafeValue.SafeInt0(client.Key.ToString()); }
                   if (category != null)
                   { a.CategoryID = SafeValue.SafeInt0(category.Key.ToString()); }
                   a.Mailbox = u.Email;
                   a.OutlookCreated = false;
                   if (RecurrenceRule != "")
                   {
                       //int index = RecurrenceRule.LastIndexOf(":");
                       int index = RecurrenceRule.LastIndexOf("FREQ") - 1;
                       string s = RecurrenceRule.Substring(index + 1).Replace("\r\n","") +";WKST=SU";
                       a.RecurrenceRule = s;
                       if (RecurrenceRule.Contains("DAILY"))
                       { a.RecurrenceType = 0; }
                       else if (RecurrenceRule.Contains("WEEKLY"))
                       { a.RecurrenceType = 1; }
                       else if (RecurrenceRule.Contains("MONTHLY"))
                       { a.RecurrenceType = 2; }
                       else if (RecurrenceRule.Contains("YEARLY"))
                       { a.RecurrenceType = 6; }
                       a.IsRecurring = true;
                   }
                   else
                   {
                       a.IsRecurring = false;
                       a.RecurrenceType = null;
                   }
                   if (e.Appointment.RecurrenceParentID != null)
                   { a.RecurrenceParentID = int.Parse(e.Appointment.RecurrenceParentID.ToString()); }
                   a.SyncToExchange = true;
                   d.AddToAppointments(a);
                   d.SaveChanges();
                   if (a.ID > 0)
                   {
                       try
                       {
                           string desc = "";
                           string clientName = "";
                           if (a.Description != null) { desc = a.Description; }
                           if (client != null) { clientName = client.Text; }
                           //if (pm != null) { pmID = int.Parse(pm.Key.ToString()); }
                           SendMail(a.UserID, "<b>Subject:</b>  " + a.Subject + "<br><b>Start:</b>  " + a.Start + "<br><b>End:</b>  " + a.End + "<br><b>Description:</b>  " + desc + "<br><b>Client:</b>  " + clientName, (int)InsertUpdateDelete.Insert);
                       }
                       catch { }
                   }
               }
           }
           else
           {
               foreach (Resource user in e.Appointment.Resources.GetResourcesByType("User Name"))
               {
                   using (ProNetData d = new ProNetData())
                   {
                       //Resource pm = e.Appointment.Resources.GetResourceByType("Email PM");
                       Resource client = e.Appointment.Resources.GetResourceByType("Client Name");
                       Resource category = e.Appointment.Resources.GetResourceByType("Category");
                       string RecurrenceRule = e.Appointment.RecurrenceRule;
                       int userID = SafeValue.SafeInt0(user.Key.ToString());
                       TED.BLL.Appointment a = new TED.BLL.Appointment();
                       AppointmentUsers u = d.AppointmentUsers.Where(i => i.UserID == userID).FirstOrDefault();
                       a.Subject = e.Appointment.Subject;
                       a.Description = e.Appointment.Description != string.Empty ? e.Appointment.Description : null;
                       a.Start = e.Appointment.Start.ToUniversalTime();
                       a.End = e.Appointment.End.ToUniversalTime();
                       a.CreationTime = DateTime.Now;
                       a.LastModificationTime = DateTime.Now;
                       if (user != null)
                       { a.UserID = SafeValue.SafeInt0(user.Key.ToString()); }
                       if (client != null)
                       { a.ClientID = SafeValue.SafeInt0(client.Key.ToString()); }
                       if (category != null)
                       { a.CategoryID = SafeValue.SafeInt0(category.Key.ToString()); }
                       a.Mailbox = u.Email;
                       a.OutlookCreated = false;
                       if (RecurrenceRule != "")
                       {
                           //int index = RecurrenceRule.LastIndexOf(":");
                           int index = RecurrenceRule.LastIndexOf("FREQ") - 1;
                           string s = RecurrenceRule.Substring(index + 1).Replace("\r\n", "") + ";WKST=SU";
                           a.RecurrenceRule = s;
                           if (RecurrenceRule.Contains("DAILY"))
                           { a.RecurrenceType = 0; }
                           else if (RecurrenceRule.Contains("WEEKLY"))
                           { a.RecurrenceType = 1; }
                           else if (RecurrenceRule.Contains("MONTHLY"))
                           { a.RecurrenceType = 2; }
                           else if (RecurrenceRule.Contains("YEARLY"))
                           { a.RecurrenceType = 6; }
                           a.IsRecurring = true;
                       }
                       else
                       {
                           a.IsRecurring = false;
                           a.RecurrenceType = null;
                       }
                       if (e.Appointment.RecurrenceParentID != null)
                       { a.RecurrenceParentID = int.Parse(e.Appointment.RecurrenceParentID.ToString()); }
                       a.SyncToExchange = true;
                       d.AddToAppointments(a);
                       d.SaveChanges();
                       if (a.ID > 0)
                       {
                           try
                           {
                               string desc = "";
                               string clientName = "";
                               if (a.Description != null) { desc = a.Description; }
                               if (client != null) { clientName = client.Text; }
                               SendMail(a.UserID, "<b>Subject:</b>  " + a.Subject + "<br><b>Start:</b>  " + a.Start + "<br><b>End:</b>  " + a.End + "<br><b>Description:</b>  " + desc + "<br><b>Client:</b>  " + clientName, (int)InsertUpdateDelete.Insert);
                           }
                           catch { }
                       }
                   }
               }
           }
       }
       BindSchedule();
   }

Peter
Telerik team
 answered on 21 Dec 2010
20 answers
1.0K+ views
Hi,

I am using 2008 Q3 Controls with the latest hotfix applied (2008.3.1504.20).

I have a RadGrid with two GridDateTimeColumns.  When you type a date into their filter textbox and either press enter or invoke the filter options drop down, the filter textbox simply clears itself and the value is ignored.

I was experiencing the same behaviour with GridNumericColumns until I applied the hotfix over my previous dll (2008.3.1105.20).

Here's my code:

<telerik:RadGrid ID="RadGrid1" runat="server" OnNeedDataSource="RadGrid1_NeedDataSource" EnableEmbeddedSkins="false" Skin="Main" AllowFilteringByColumn="true">  
    <MasterTableView DataKeyNames="ContractID">  
        <Columns> 
            <telerik:GridButtonColumn ItemStyle-CssClass="editcolumn" CommandName="Edit" Text="Details/Edit" UniqueName="EditColumn" /> 
            <telerik:GridBoundColumn UniqueName="ContractID" FilterControlWidth="40px" HeaderText="Reference" DataField="ContractID" AutoPostBackOnFilter="true" FilterListOptions="VaryByDataType" /> 
            <telerik:GridBoundColumn UniqueName="Address" FilterControlWidth="120px" HeaderText="Address" DataField="Address" AutoPostBackOnFilter="true" FilterListOptions="VaryByDataType" /> 
            <telerik:GridDateTimeColumn DataType="System.DateTime" UniqueName="StartDate" FilterControlWidth="100px" HeaderText="Starts" DataField="StartDate" DataFormatString="{0:d}" AutoPostBackOnFilter="true" FilterListOptions="VaryByDataType" /> 
            <telerik:GridDateTimeColumn DataType="System.DateTime" UniqueName="EndDate" FilterControlWidth="100px" HeaderText="Ends" DataField="EndDate" DataFormatString="{0:d}" AutoPostBackOnFilter="true" FilterListOptions="VaryByDataType" /> 
            <telerik:GridNumericColumn UniqueName="Rent" FilterControlWidth="40px" HeaderText="Rent" DataField="Rent" DataFormatString="{0:C}" AutoPostBackOnFilter="true" FilterListOptions="VaryByDataType" /> 
            <telerik:GridBoundColumn UniqueName="Frequency" FilterControlWidth="60px" HeaderText="Rent Frequency" DataField="Frequency" AutoPostBackOnFilter="true" FilterListOptions="VaryByDataType" /> 
            <telerik:GridBoundColumn UniqueName="Status" FilterControlWidth="60px" HeaderText="Status" DataField="Status" AutoPostBackOnFilter="true" FilterListOptions="VaryByDataType" /> 
        </Columns> 
        <SortExpressions> 
            <telerik:GridSortExpression FieldName="ContractID" SortOrder="Descending" /> 
        </SortExpressions> 
    </MasterTableView> 
    <ClientSettings AllowColumnsReorder="true" Resizing-AllowColumnResize="true" /> 
</telerik:RadGrid> 

and I have the following VB in place to limit the filter options:

Private Sub RadGrid1_Init(ByVal sender As ObjectByVal e As System.EventArgs) Handles RadGrid1.Init  
    Dim menu As GridFilterMenu = RadGrid1.FilterMenu  
    Dim i As Integer = 0  
    While i < menu.Items.Count  
        If menu.Items(i).Text = "NoFilter" Or _  
            menu.Items(i).Text = "Contains" Or _  
            menu.Items(i).Text = "EqualTo" Or _  
            menu.Items(i).Text = "GreaterThan" Or _  
            menu.Items(i).Text = "LessThan" Then 
            i = i + 1  
        Else 
            menu.Items.RemoveAt(i)  
        End If 
    End While 
End Sub 

Am I fighting another bug in the dll or just missing something?
Pavel
Telerik team
 answered on 21 Dec 2010
6 answers
220 views
Please help.

I receive the following error when adding an exception to the recurrence:

Object reference not set to an instance of an object.
[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.RecurrenceRule.TryParse(String input, RecurrenceRule& rrule) +970
   Telerik.Web.UI.Scheduling.AppointmentController.ExpandRecurrence(Appointment parent) +145
   Telerik.Web.UI.Scheduling.AppointmentController.AddAppointmentAndExpand(Appointment appointment) +16
   Telerik.Web.UI.RadScheduler.PerformDataBindingFromProvider(IEnumerable`1 providedAppointments) +127
   Telerik.Web.UI.RadScheduler.PerformSelect() +156
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
   Telerik.Web.UI.RadScheduler.EnsureDataBound() +12
   Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +63
   Telerik.Web.UI.RadScheduler.CreateChildControls() +10
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +44
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

RadScheduler front-end: (I have the datarecurrenceparentkeyfield set as "MasterSeriesItemID")
<telerik:RadScheduler runat="server" ID="RadScheduler1" 
    width="700px" height="565px"
    Skin="Office2007" 
    overflowbehavior="Scroll" shownavigationpane="true"
    timezoneoffset="00:00:00" selectedview="MonthView"
    daystarttime="08:00:00" dayendtime="20:29:59" 
    datasourceid="Appointments_DS" 
    datakeyfield="Key" datastartfield="EventDate"
    dataendfield="EndDate" datasubjectfield="Title" 
    datarecurrencefield="RecurrenceRule" 

    datarecurrenceparentkeyfield="MasterSeriesItemID"

    customattributenames="Description, Category, Location, Event_Cancelled, RecurrenceData"
    allowdelete="false" allowedit="false" allowinsert="false" showviewtabs="true">
    <monthview userselectable="true" visibleappointmentsperday="2" />
    <TimelineView UserSelectable="false" />
    <appointmenttemplate>
        <asp:literal id="ApptBtn" runat="server" 
            text='<%# (Eval("Subject").ToString().Length >= 16) 
            ? Eval("Subject").ToString().Substring(0, Eval("Subject").ToString().IndexOf(" ")) + "..." 
            : Eval("Subject") %>'></asp:literal>
    </appointmenttemplate>
</telerik:RadScheduler>


Sample data:
<Appointment>
  <Key>171</Key>
  <Title>Policy Committee</Title>
  <Location>Room 100 (55 Somewhere Street)</Location>
  <EventDate>2011-01-01T10:30:00</EventDate>
  <StartDateString>1/1/2011</StartDateString>
  <EndDate>2094-03-04T10:30:00</EndDate>
  <Description>Meeting Description</Description>
  <Category>Committee Meeting</Category>
  <Event_Cancelled>0</Event_Cancelled>
  <fRecurrence>1</fRecurrence>
  <RecurrenceData><recurrence><rule><firstDayOfWeek>su</firstDayOfWeek><repeat><monthlyByDay th="TRUE" weekdayOfMonth="first" monthFrequency="1" /></repeat><repeatForever>FALSE</repeatForever></rule></recurrence></RecurrenceData>
  <RecurrenceRule>
    <![CDATA[
        DTSTART:20110101T103000Z
        DTEND:20110101T103000Z
        RRULE:FREQ=MONTHLY;UNTIL=20940304T103000Z;INTERVAL=1;BYSETPOS=1;BYDAY=TH;
    ]]>
</RecurrenceRule>
  <fAllDayEvent>0</fAllDayEvent>
  <EventType>1</EventType>
  <Modified>2010-12-03T13:13:06</Modified>
</Appointment>
<Appointment>
  <Key>172</Key>
  <Title>Policy Committee</Title>
  <Location>Room 100 (55 Somewhere Street)</Location>
  <EventDate>2011-12-01T10:30:00</EventDate>
  <StartDateString>12/1/2011</StartDateString>
  <EndDate>2011-12-01T10:30:00</EndDate>
  <Description>Meeting Description</Description>
  <Category>Committee Meeting</Category>
  <Event_Cancelled>1</Event_Cancelled>
  <fRecurrence>1</fRecurrence>
  <RecurrenceData>Every 1 month(s) on the first Thursday</RecurrenceData>
  <RecurrenceRule>
    <![CDATA[
        DTSTART:20111201T103000Z
        DTEND:20111201T103000Z
        RRULE:UNTIL=20111201T103000Z;BYSETPOS=-1;
    ]]>
</RecurrenceRule>
  <fAllDayEvent>0</fAllDayEvent>
  <EventType>4</EventType>
  <RecurrenceID>2011-12-01T10:30:00</RecurrenceID>
  <MasterSeriesItemID>171</MasterSeriesItemID>
  <Modified>2010-12-03T14:41:34</Modified>
</Appointment>


XSL file:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="Appointments">
        <Appointments>
            <xsl:apply-templates select="Appointment"/>
        </Appointments>
    </xsl:template>
  
    <xsl:template match="Appointment">
        <Appointment>
            <xsl:attribute name="Key">
                <xsl:value-of select="Key"/>
            </xsl:attribute>

            <xsl:attribute name="MasterSeriesItemID">
                <xsl:value-of select="MasterSeriesItemID"/>
            </xsl:attribute>

            <xsl:attribute name="Title">
                <xsl:value-of select="Title"/>
            </xsl:attribute>
            <xsl:attribute name="EventDate">
                <xsl:value-of select="EventDate"/>
            </xsl:attribute>
            <xsl:attribute name="EndDate">
                <xsl:value-of select="EndDate"/>
            </xsl:attribute>
            <xsl:attribute name="Category">
                <xsl:value-of select="Category"/>
            </xsl:attribute>
            <xsl:attribute name="Location">
                <xsl:value-of select="Location"/>
            </xsl:attribute>
            <xsl:attribute name="Description">
                <xsl:value-of select="Description"/>
            </xsl:attribute>
            <xsl:attribute name="Event_Cancelled">
                <xsl:value-of select="Event_Cancelled"/>
            </xsl:attribute>
            <xsl:attribute name="RecurrenceData">
                <xsl:value-of select="RecurrenceData"/>
            </xsl:attribute>
            <xsl:attribute name="RecurrenceRule">
                <xsl:value-of select="RecurrenceRule"/>
            </xsl:attribute>
        </Appointment>
    </xsl:template>
</xsl:stylesheet>
Simon
Telerik team
 answered on 21 Dec 2010
1 answer
67 views
I'm kind of surprised that Telerik has not come out with a server-side animation control, like the existing AjaxControlToolkit's Animation Extender (but more functional and easier to implement). There are other alternatives, like RIAnimation (http://www.hushhushmedia.com/page/RIAnimation.aspx) but that is clearly no longer supported. This would be for those of us who want high quality jquery animations, but don't want to bother with javascript!
Sebastian
Telerik team
 answered on 21 Dec 2010
1 answer
78 views
Hi,

Is it possible to control what appears in the "Files of type" combo in the "Choose file to upload" dialog?
If I want to upload just .xyz files then I possible want just .xyz to appear in the "Files of type" combo.
But I guess it's not possible?

Regards,
Peter
Genady Sergeev
Telerik team
 answered on 21 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?