ResourceLink Control Page Mode option

Posted by Community Admin on 05-Aug-2018 07:11

ResourceLink Control Page Mode option

All Replies

Posted by Community Admin on 21-Jan-2011 00:00

Is there an option in the ResourceLinker that would allow me to specify that I only want a resource to download for Design Mode, Live, or Both?

...if not...can you add that in as a feature request? :)

Posted by Community Admin on 21-Jan-2011 00:00

Hi Steve,

The control does not have option to specify whether the script will be loaded only in Design, Live, Preview. I will add this as a feature request(386493).

Currently this could be done with a custom control.

IsDesignMode is extension static method which determines whether the control is in Sitefinity design mode - you  are editing a page. There are also

  • IsPreviewMode- determines whether the control is in Sitefinity preview mode.
  • IsBackend -determines whether a control instance is in backend.


Greetings,
Ivan Dimitrov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.

Posted by Community Admin on 21-Jan-2011 00:00

Awesome thx, it'd be super nice to have a property available in the template to just choose which mode to use.

fyi, fantastic feature...everything being compressed into one request is crazy convenient :)

This thread is closed