Add a custom form?

2 posts, 0 answers
  1. Matt
    Matt avatar
    29 posts
    Member since:
    Oct 2011

    Posted 14 Nov 2011 Link to this post

    I'd like to add a custom form to show some read-only details about an appointment as a modal popup, sort of like the Advanced Form but simpler and without the ability to change any values. Is this possible?
    I have a rt-click context menu set up already to trigger this form, but I can't figure out a way within Scheduler. I can do it with a standard modal popup from my page, but would prefer to use something that comes from Scheduler if possible. Thanks!
  2. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 15 Nov 2011 Link to this post


    Are you looking to do this so your form shows instead of the Advanced Form in some cases?

    If not, all you need to is call a JavaScript function to open a RadWindow with your form in it.

    If on the other hand what you are trying to do is handle the normal Scheduler events to show your form under some conditions and the regular form under others, then the FormCreating event is your friend.

    Basically, you wire up the FormCreating event, test to see if the conditions are right for your custom form, if they are, set e.Cancel = true and call code to open your own form. If they aren't just let the Scheduler do it's thing.

    Hope this helps. Sorry if I've misunderstood your requirements.

Back to Top