Edited Control not showing changes
What would cause an edited control to not show it's changes until I reload the page editor, or publish and go back in, or go to preview
The HTML in the JSON just comes back blank...with no error
"Attributes"
: [],
"ClassId"
:
null
,
"CommandName"
:
"reload"
,
"ControlType"
:
"Medportal.Sitefinity.Controls.Widgets.ContactCard"
,
"CssLinkUrls"
: [],
"CustomTitleHtml"
:
null
,
"Description"
:
null
,
"DockId"
:
"ctl00_contentPlaceHolder_ctl01_C_ctl04"
,
"ErrorMessage"
:
""
,
"Html"
:
""
,
"Id"
:
"d9c0563a-c42a-4ecb-88bc-d25ef7c74ff7"
,
"LayoutControlDataID"
:
"6a1cc716-5e68-4210-b8fa-c1af0221d95f"
,
"LayoutHtml"
:
null
,
"LayoutTemlpate"
:
null
,
"MediaType"
: 0,
"ModifiedLayoutPermissios"
:
null
,
"Ordinal"
:
"1"
,
"PageId"
:
"728492b8-5d07-444e-bdce-97a44387bbc5"
,
"PageNodeId"
:
"10b21f1f-af02-4252-9426-dc9f9895b833"
,
"Parameters"
:
null
,
"Permissions"
: [
"Key"
:
"perm_delete"
,
"Value"
:
"True"
,
"Key"
:
"perm_indexchanged"
,
"Value"
:
"True"
,
"Key"
:
"perm_edit"
,
"Value"
:
"True"
,
"Key"
:
"perm_duplicate"
,
"Value"
:
"True"
,
"Key"
:
"perm_permissions"
,
"Value"
:
"True"
],
"PlaceholderId"
:
"C011_Col00"
,
"PreviousPlaceholderID"
:
"C011_Col00"
,
"ReloadControlsWithSameKey"
:
false
,
"SiblingId"
:
"d2883453-4dda-464b-ae62-f985a2dbf508"
,
"Title"
:
null
,
"Url"
:
"/steve-test/Action/Edit"
"Attributes"
: [],
"ClassId"
:
null
,
"CommandName"
:
"reload"
,
"ControlType"
:
"Medportal.Sitefinity.Controls.Widgets.PodTitle"
,
"CssLinkUrls"
: [],
"CustomTitleHtml"
:
null
,
"Description"
:
null
,
"DockId"
:
"ctl00_contentPlaceHolder_ctl01_C_ctl03"
,
"ErrorMessage"
:
""
,
"Html"
:
"<h2 class='pod-title' title='This is my title TEST' class='test'><a href='#' class='expand-collapse-icon ' title='Click to Expand or Collapse'><span class='pod-inner'></span></a>\r\n <span class='titletext icon check'>This is my title TEST</span>\r\n \r\n</h2>"
,
"Id"
:
"a0cd6df2-4dfe-47fd-b682-e54889f98b24"
,
"LayoutControlDataID"
:
"881702df-0c9a-4149-86b8-cfc63d041f1f"
,
"LayoutHtml"
:
null
,
"LayoutTemlpate"
:
null
,
"MediaType"
: 0,
"ModifiedLayoutPermissios"
:
null
,
"Ordinal"
:
"0"
,
"PageId"
:
"728492b8-5d07-444e-bdce-97a44387bbc5"
,
"PageNodeId"
:
"10b21f1f-af02-4252-9426-dc9f9895b833"
,
"Parameters"
:
null
,
"Permissions"
: [
"Key"
:
"perm_delete"
,
"Value"
:
"True"
,
"Key"
:
"perm_indexchanged"
,
"Value"
:
"True"
,
"Key"
:
"perm_edit"
,
"Value"
:
"True"
,
"Key"
:
"perm_duplicate"
,
"Value"
:
"True"
,
"Key"
:
"perm_permissions"
,
"Value"
:
"True"
],
"PlaceholderId"
:
"C050_Col00"
,
"PreviousPlaceholderID"
:
"C011_Col00"
,
"ReloadControlsWithSameKey"
:
false
,
"SiblingId"
:
"00000000-0000-0000-0000-000000000000"
,
"Title"
:
null
,
"Url"
:
"/steve-test/Action/Edit"
...nothing, no response? :)
I have designers bitching at me...it's hard to get people exited to use SF when I'm constantly having to say "Its a bug" :/ Kind of overshadows the awesome bits...
Hi Steve,
Are you talking about a custom control? In that case maybe the applyChanges in the javascript is not firing correctly and as a result the changes are not being reflected on the spot. You can take a look at this blog post:Creating Advanced Sitefinity 4 Widget Control Designers
Well yes and no, happens in SOME custom controls (I've made a ton of them since release, there's no script errors in design mode, and live mode works fine)
...but also happens to our downloads widget. They set the categories and tags to filter, but nothing ever gets rendered...until live
Could it be that some document name or something is throwing it off?...I'm not sure why this would be failing...seems to be okay on a new instance
Hello Steve,
I did some testing with the download widget and got the default behavior. If you want, you could open a support ticket, toss in the project and database with the problematic widget and I will conduct the tests, at least I will be able to find out what exactly is failing.
Great, will do, thanks!