DNN Module and missing template content

2 posts, 0 answers
  1. possible
    possible avatar
    77 posts
    Member since:
    Oct 2006

    Posted 08 Jan 2008 Link to this post


    I have RadScheduler inside DNN module, nearly everything works ok but I have one big problem with 2 modules on the same page. When I edit appointment in one of them, content of custom appointment templates in second is lost (appointment view on radscheduler is blank, only green box is visible). Can I fix this in easy way?

  2. Peter
    Peter avatar
    6637 posts

    Posted 09 Jan 2008 Link to this post

    Hi Tomasz,

    Could you please be more specific as to what the problem is and how to reproduce it? You have a support ticket about the appointment's subject missing which we have answered with a suggestion. Did you have a chance to try it? Could it be that the two problems are related to each other? Perhaps, using the workaround we suggested in the support ticket can help in this case. The idea is to find the Subject textbox and assing its Text value to the appointment's Subject:

    else if ((e.CommandName == "Insert" || e.CommandName == "Update") && ((string)e.CommandArgument == "-"))  
                    Appointment aptToUpdate = radSch.Appointments.FindByID(e.Container.Appointment.ID);  
                    if (aptToUpdate == null)  
                        aptToUpdate = e.Container.Appointment;  
                    Basic ucB = (Basic)e.Container.FindControl("ucB");  
                    TextBox Name = (TextBox)ucB.FindControl("txtName");  
                    e.Container.Appointment.Subject = Name.Text;  
                    Recurrency ucR = (Recurrency)e.Container.FindControl("ucR");  
                    ViewParticipants ucP = (ViewParticipants)e.Container.FindControl("ucP");  
                    ucB.CollectData(aptToUpdate, SchedulerFormMode.Insert);  
                    ucR.CollectData(aptToUpdate, SchedulerFormMode.Insert);  
                    ParticipantsToSave = ucP.CollectParticipans();  

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top