RadScheduler ContextMenu event not fire on Mozilla

4 posts, 0 answers
  1. avinash
    avinash avatar
    7 posts
    Member since:
    Oct 2012

    Posted 03 Jun 2011 Link to this post

    Hi,

    I have develop web application using dotnetnuke
    I have rad scheduler control with two time slot context menu Item
    1)New Busy Slot
    2)Schedule Lesson

    I have two dropdownlist, calender control on the same page also.
    The expected functionaliy is open modal popup on context menu clicked.
    but problem is OnTimeSlotContextMenuItemClicked event is not fired 1st time ,even it doesnt fire on calender selection changed event or dropdown selection change. I found error in mozillas erro consol screen
    " Error: Sys.InvalidOperationException: A control is already associated with the element.
    Source File: http://localhost:54484/dotnetnuke/ScriptResource.axd?d=PHma0e-2otry_Ysyy9H2h977jLIeN8DaDTF6ErzwLL_L9Iy1W5rT2cg3BU4MorllD3c_4X0PSAs9XJKkkZku0nl5qDgzkvAliCRsP9dmNilzj8c1cMwntVYsWHdvDmjhMhE3oBeiGlN9xjWr6ZBeJ8QnEcxU3irWPFm4JQ2&t=5c2f384e
    Line: 6580"

    But if click on any navigate button of scheduler control and then try to clik on context menu then it works fine.
    In IE work fine.


    pls do reply its very urgent


    Thanks
  2. Plamen
    Admin
    Plamen avatar
    2960 posts

    Posted 06 Jun 2011 Link to this post

    Hi avinash,

    We tested locally the problem and everithing seems to be working fine. Here is the code that we used and a short video of the result:
    <telerik:RadScheduler runat="server" ID="RadScheduler1" OnTimeSlotContextMenuItemClicked="RadScheduler1_TimeSlotContextMenuItemClicked">
           <TimeSlotContextMenus>
               <telerik:RadSchedulerContextMenu ID="SchedulerTimeSlotContextMenu" runat="server">
                   <Items>
                       <telerik:RadMenuItem Text="New Appointment" Value="a"/>
                       <telerik:RadMenuItem Text="New All Day Event" Value="b" />
                   </Items>
               </telerik:RadSchedulerContextMenu>
           </TimeSlotContextMenus>
       </telerik:RadScheduler>
    protected void RadScheduler1_TimeSlotContextMenuItemClicked(object sender, TimeSlotContextMenuItemClickedEventArgs e)
    {
        Response.Write(e.MenuItem.Text);
    }

    http://screencast.com/t/UN9M5p4Reimb.

    Best wishes,
    Plamen Zdravkov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. avinash
    avinash avatar
    7 posts
    Member since:
    Oct 2012

    Posted 06 Jun 2011 Link to this post

    Hi,
    Thanks for your reply,
    it works for me only when I click on today, or navigation controls of radscheduler , but if I Change RadCalendar's date and then click on radscheduler,TimeSlotContextMenuItemClicked event not fired , so that I unable to open modal popup.

    Thanks
  4. Plamen
    Admin
    Plamen avatar
    2960 posts

    Posted 06 Jun 2011 Link to this post

    Hello avinash,

    We tested once again according  to the new details that you gave and we still didn't experience any problems.

    Can you send us a live url of the issue?

    Kind regards,
    Plamen Zdravkov
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top