Enter text on Double Click

3 posts, 1 answers
  1. Jack
    Jack avatar
    128 posts
    Member since:
    May 2003

    Posted 28 Oct 2011 Link to this post

    Hi,

    I am using the scheduler as an appointment manager in day view only with multiple resources.

    Is it possible to not show the (simple) text box but rather insert (in my example their username) directly on double click?

    Cheers,

    Jon

  2. Answer
    Peter
    Admin
    Peter avatar
    6637 posts

    Posted 01 Nov 2011 Link to this post

    Hello Jon,

    Here is one possible solution:
    <telerik:RadScheduler runat="server" ID="RadScheduler1"
           StartInsertingInAdvancedForm="true" onformcreating="RadScheduler1_FormCreating">
       </telerik:RadScheduler>

    protected void RadScheduler1_FormCreating(object sender, SchedulerFormCreatingEventArgs e)
      {
          e.Cancel = true;
          e.Appointment.Subject = User.Identity.Name;
          RadScheduler1.InsertAppointment(e.Appointment);
          RadScheduler1.Rebind();
      }

    All the best,
    Peter
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jack
    Jack avatar
    128 posts
    Member since:
    May 2003

    Posted 15 Nov 2011 Link to this post

    Perfect Peter.

    Thank you!

    Jon
Back to Top