string rawParameters = Attributes["sc_parameters"];
NameValueCollection parameters = Sitecore.Web.WebUtil.ParseUrlParameters(rawParameters);
However, if you take advantage of using custom WebControls (*.cs) instead of a Sublayout (*.ascx) then that method doesn't work. Instead you'll want to make use of the Parameters property on the inherited WebControl.
string rawParameters = this.Parameters;
NameValueCollection parameters = WebUtil.ParseUrlParameters(rawParameters);
1 comment:
Hi Vapok,
Nice article, thanks! Just wanted to say that the column containing the actual content is really small, so not everything is visible.
Cheers,
Matthijs
Post a Comment