protected void cmdSearch_Click(object sender, ImageClickEventArgs e)
 {
     Response.Redirect(NavigatePageURL(PortalUtils.GetNestedSpacesPageId(),
                                       PortalUtils.SPACE_ID_PARAM, PanelSecurity.PackageId.ToString(),
                                       "FilterColumn=" + ddlFilterColumn.SelectedValue,
                                       "FilterValue=" + Server.UrlEncode(txtFilterValue.Text)));
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            // bind groups
            BindGroupings();

            // other controls
            this.ContainerControl.Visible = (PanelSecurity.SelectedUser.Role != UserRole.User);
            lnkAllSpaces.NavigateUrl      = NavigatePageURL(PortalUtils.GetNestedSpacesPageId(),
                                                            PortalUtils.SPACE_ID_PARAM, PanelSecurity.PackageId.ToString());
        }
 public string GetNestedSpacesPageUrl(string parameterName, string parameterValue)
 {
     return(NavigatePageURL(PortalUtils.GetNestedSpacesPageId(),
                            PortalUtils.SPACE_ID_PARAM, PanelSecurity.PackageId.ToString(),
                            parameterName + "=" + parameterValue));
 }