Backend display of user control does not match the front end

Posted by Community Admin on 03-Aug-2018 17:31

Backend display of user control does not match the front end.

All Replies

Posted by Community Admin on 21-Dec-2010 00:00

I created a user control that uses a repeater to output an unordered list for use with a jQuery gallery plugin.  I am using the JavaScriptEmbedControl to add the needed jQuery scripts to the Head.  Everything works and looks fine on the front end.  When I view the page in the backend I notice that the control just renders as an unordered list and if I view the source I do not see any of the linked jQuery or Css files for that control.  I would prefer, if possible, that the control render exactly as it does on the front end.

Any ideas on what I might be missing?

Posted by Community Admin on 22-Dec-2010 00:00

Hi Stacey,

JavaScriptEmbedControl does not render any scripts when you are in edit mode. The reason behind this is that when you open a page for editing and drop a control on it, you cannot change the head tag of a page.Basically you need to refresh the entire page so you will get the script loaded on it.

Regards,
Ivan Dimitrov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed