{"id":1346,"date":"2013-02-08T22:27:23","date_gmt":"2013-02-08T22:27:23","guid":{"rendered":"http:\/\/www.stuartroberts.net\/?p=1346"},"modified":"2017-02-15T00:21:15","modified_gmt":"2017-02-15T00:21:15","slug":"sharing-properties-between-webpart-user-control","status":"publish","type":"post","link":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/","title":{"rendered":"Sharing WebPart and User Control Properties"},"content":{"rendered":"<p>When creating a Visual WebPart, sometimes you want the main functionality to be contained within the user control and not the WebPart, so that, for example, you can use the WebPart on multiple pages, one where the WebPart is hosted and users can edit the properties and another where only the user control is loaded and no WebPart manager, or WebPart zones, are available to allow editing of the properties.<\/p>\n<p>In the later case, the properties defined in the WebPart would either be set to default values or be retrieved from the query string.<\/p>\n<p>Now, how to setup the user control to receive the WebPart&#8217;s property values when contained in a WebPart?<br \/>\n<!--more--><\/p>\n<p>Take the following declaration within the WebPart class:<\/p>\n<pre lang=\"csharp\">\r\npublic class ExampleVisualWebPart : WebPart\r\n{\r\n\t\/\/ Other methods and properties excluded for brevity\r\n\t\r\n\t[Personalizable(PersonalizationScope.Shared), WebBrowsable(true)]\r\n\tpublic string ExampleProperty { get; set; }\r\n}\r\n<\/pre>\n<p>The first thing to do is to add a new public property to the user control using the WebPart as the object type:<\/p>\n<pre lang=\"csharp\">\r\npublic ExampleVisualWebPart ParentWebPartControl { get; set; }\r\n<\/pre>\n<p>and then create the same property declared in the WebPart for the user control:<\/p>\n<pre lang=\"csharp\">\r\nprivate string _customProperty;\r\n\r\npublic string ExampleProperty \r\n{\r\n\tget\r\n\t{\r\n\t\tif (ParentWebPartControl != null)\r\n\t\t\treturn ParentWebPartControl .CustomProperty;\r\n\r\n\t\treturn _customProperty;\r\n\t}\r\n\tset\r\n\t{\r\n\t\tif (ParentWebPartControl != null)\r\n\t\t\tParentWebPartControl .CustomProperty = value;\r\n\r\n\t\t_customProperty = value;\r\n\t}\r\n}\r\n<\/pre>\n<p>Lastly, back in the WebPart class, change the CreateChildControls method to:<\/p>\n<pre lang=\"csharp\">\r\nprotected override void CreateChildControls()\r\n{\r\n\tExampleVisualWebPartUserControl userControl = new ExampleVisualWebPartUserControl { ID = \"exampleVisualWebPartUserControl\", ParentWebPartControl = this };\r\n\tControls.Add(userControl);\r\n}\r\n<\/pre>\n<p>or<\/p>\n<pre lang=\"csharp\">\r\nprotected override void CreateChildControls()\r\n{\r\n\tExampleVisualWebPartUserControl userControl = Page.LoadControl(_ascxPath) as ExampleVisualWebPartUserControl;\r\n\tuserControl.ParentWebPartControl = this;\r\n\tControls.Add(userControl);\r\n}\r\n<\/pre>\n<p>This will load the user control and set the <em>ParentWebPartControl<\/em> to the current WebPart, allowing the user control to read the property values defined by the WebPart.  When there is no parent WebPart, the user control will simply read the local value contained within itself.<\/p>\n<p>You can easily extend this to read from a query string when this is the case.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When creating a Visual WebPart, sometimes you want the main functionality to be contained within the user control and not the WebPart, so that, for example, you can use the WebPart on multiple pages, one where the WebPart is hosted &hellip; <a href=\"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[3],"tags":[81,58,38],"class_list":["post-1346","post","type-post","status-publish","format-standard","hentry","category-sharepoint","tag-sharepoint","tag-user-control","tag-webpart"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"How to retrieve SharePoint WebPart properties from child user control in a visual WebPart\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Stu\"\/>\n\t<meta name=\"keywords\" content=\"sharepoint,sps,sp,webpart,user control,properties,share,communicate\" \/>\n\t<link rel=\"canonical\" href=\"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Stuart Roberts on all things SharePoint |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Sharing WebPart and User Control Properties | Stuart Roberts on all things SharePoint\" \/>\n\t\t<meta property=\"og:description\" content=\"How to retrieve SharePoint WebPart properties from child user control in a visual WebPart\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2013-02-08T22:27:23+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-02-15T00:21:15+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@SharePointStu\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Sharing WebPart and User Control Properties | Stuart Roberts on all things SharePoint\" \/>\n\t\t<meta name=\"twitter:description\" content=\"How to retrieve SharePoint WebPart properties from child user control in a visual WebPart\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@SharePointStu\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#article\",\"name\":\"Sharing WebPart and User Control Properties | Stuart Roberts on all things SharePoint\",\"headline\":\"Sharing WebPart and User Control Properties\",\"author\":{\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g\",\"width\":96,\"height\":96,\"caption\":\"Stu\"},\"datePublished\":\"2013-02-08T22:27:23+00:00\",\"dateModified\":\"2017-02-15T00:21:15+00:00\",\"inLanguage\":\"en-GB\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#webpage\"},\"articleSection\":\"SharePoint, SharePoint, User Control, WebPart\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.stuartroberts.net\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/category\\\/sharepoint\\\/#listItem\",\"name\":\"SharePoint\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/category\\\/sharepoint\\\/#listItem\",\"position\":2,\"name\":\"SharePoint\",\"item\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/category\\\/sharepoint\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#listItem\",\"name\":\"Sharing WebPart and User Control Properties\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#listItem\",\"position\":3,\"name\":\"Sharing WebPart and User Control Properties\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/category\\\/sharepoint\\\/#listItem\",\"name\":\"SharePoint\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/#person\",\"name\":\"Stu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g\",\"width\":96,\"height\":96,\"caption\":\"Stu\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/#author\",\"url\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/\",\"name\":\"Stu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g\",\"width\":96,\"height\":96,\"caption\":\"Stu\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#webpage\",\"url\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/\",\"name\":\"Sharing WebPart and User Control Properties | Stuart Roberts on all things SharePoint\",\"description\":\"How to retrieve SharePoint WebPart properties from child user control in a visual WebPart\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/2013\\\/02\\\/08\\\/sharing-properties-between-webpart-user-control\\\/#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/index.php\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2013-02-08T22:27:23+00:00\",\"dateModified\":\"2017-02-15T00:21:15+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/#website\",\"url\":\"http:\\\/\\\/www.stuartroberts.net\\\/\",\"name\":\"Stuart Roberts on all things SharePoint\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"http:\\\/\\\/www.stuartroberts.net\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Sharing WebPart and User Control Properties | Stuart Roberts on all things SharePoint","description":"How to retrieve SharePoint WebPart properties from child user control in a visual WebPart","canonical_url":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/","robots":"max-image-preview:large","keywords":"sharepoint,sps,sp,webpart,user control,properties,share,communicate","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#article","name":"Sharing WebPart and User Control Properties | Stuart Roberts on all things SharePoint","headline":"Sharing WebPart and User Control Properties","author":{"@id":"http:\/\/www.stuartroberts.net\/index.php\/author\/admin\/#author"},"publisher":{"@id":"http:\/\/www.stuartroberts.net\/#person"},"image":{"@type":"ImageObject","@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g","width":96,"height":96,"caption":"Stu"},"datePublished":"2013-02-08T22:27:23+00:00","dateModified":"2017-02-15T00:21:15+00:00","inLanguage":"en-GB","commentCount":2,"mainEntityOfPage":{"@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#webpage"},"isPartOf":{"@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#webpage"},"articleSection":"SharePoint, SharePoint, User Control, WebPart"},{"@type":"BreadcrumbList","@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/www.stuartroberts.net\/#listItem","position":1,"name":"Home","item":"http:\/\/www.stuartroberts.net\/","nextItem":{"@type":"ListItem","@id":"http:\/\/www.stuartroberts.net\/index.php\/category\/sharepoint\/#listItem","name":"SharePoint"}},{"@type":"ListItem","@id":"http:\/\/www.stuartroberts.net\/index.php\/category\/sharepoint\/#listItem","position":2,"name":"SharePoint","item":"http:\/\/www.stuartroberts.net\/index.php\/category\/sharepoint\/","nextItem":{"@type":"ListItem","@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#listItem","name":"Sharing WebPart and User Control Properties"},"previousItem":{"@type":"ListItem","@id":"http:\/\/www.stuartroberts.net\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#listItem","position":3,"name":"Sharing WebPart and User Control Properties","previousItem":{"@type":"ListItem","@id":"http:\/\/www.stuartroberts.net\/index.php\/category\/sharepoint\/#listItem","name":"SharePoint"}}]},{"@type":"Person","@id":"http:\/\/www.stuartroberts.net\/#person","name":"Stu","image":{"@type":"ImageObject","@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g","width":96,"height":96,"caption":"Stu"}},{"@type":"Person","@id":"http:\/\/www.stuartroberts.net\/index.php\/author\/admin\/#author","url":"http:\/\/www.stuartroberts.net\/index.php\/author\/admin\/","name":"Stu","image":{"@type":"ImageObject","@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/503cb376bab10c66a6bde71d1514dcab2eab4ec44a2f82ef597ca87af61bf1cd?s=96&d=retro&r=g","width":96,"height":96,"caption":"Stu"}},{"@type":"WebPage","@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#webpage","url":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/","name":"Sharing WebPart and User Control Properties | Stuart Roberts on all things SharePoint","description":"How to retrieve SharePoint WebPart properties from child user control in a visual WebPart","inLanguage":"en-GB","isPartOf":{"@id":"http:\/\/www.stuartroberts.net\/#website"},"breadcrumb":{"@id":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/#breadcrumblist"},"author":{"@id":"http:\/\/www.stuartroberts.net\/index.php\/author\/admin\/#author"},"creator":{"@id":"http:\/\/www.stuartroberts.net\/index.php\/author\/admin\/#author"},"datePublished":"2013-02-08T22:27:23+00:00","dateModified":"2017-02-15T00:21:15+00:00"},{"@type":"WebSite","@id":"http:\/\/www.stuartroberts.net\/#website","url":"http:\/\/www.stuartroberts.net\/","name":"Stuart Roberts on all things SharePoint","inLanguage":"en-GB","publisher":{"@id":"http:\/\/www.stuartroberts.net\/#person"}}]},"og:locale":"en_GB","og:site_name":"Stuart Roberts on all things SharePoint |","og:type":"article","og:title":"Sharing WebPart and User Control Properties | Stuart Roberts on all things SharePoint","og:description":"How to retrieve SharePoint WebPart properties from child user control in a visual WebPart","og:url":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/","article:published_time":"2013-02-08T22:27:23+00:00","article:modified_time":"2017-02-15T00:21:15+00:00","twitter:card":"summary","twitter:site":"@SharePointStu","twitter:title":"Sharing WebPart and User Control Properties | Stuart Roberts on all things SharePoint","twitter:description":"How to retrieve SharePoint WebPart properties from child user control in a visual WebPart","twitter:creator":"@SharePointStu"},"aioseo_meta_data":{"post_id":"1346","title":"Sharing WebPart and User Control Properties | #site_title","description":"How to retrieve SharePoint WebPart properties from child user control in a visual WebPart","keywords":[{"label":"SharePoint","value":"SharePoint"},{"label":"SPS","value":"SPS"},{"label":"SP","value":"SP"},{"label":"WebPart","value":"WebPart"},{"label":"User Control","value":"User Control"},{"label":"Properties","value":"Properties"},{"label":"Share","value":"Share"},{"label":"Communicate","value":"Communicate"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-08-03 13:49:30","updated":"2026-10-15 19:19:04","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/www.stuartroberts.net\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/www.stuartroberts.net\/index.php\/category\/sharepoint\/\" title=\"SharePoint\">SharePoint<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tSharing WebPart and User Control Properties\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/www.stuartroberts.net\/"},{"label":"SharePoint","link":"http:\/\/www.stuartroberts.net\/index.php\/category\/sharepoint\/"},{"label":"Sharing WebPart and User Control Properties","link":"http:\/\/www.stuartroberts.net\/index.php\/2013\/02\/08\/sharing-properties-between-webpart-user-control\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/1346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/comments?post=1346"}],"version-history":[{"count":19,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/1346\/revisions"}],"predecessor-version":[{"id":1810,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/posts\/1346\/revisions\/1810"}],"wp:attachment":[{"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/media?parent=1346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/categories?post=1346"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.stuartroberts.net\/index.php\/wp-json\/wp\/v2\/tags?post=1346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}