ActivEarth.Groups.Groups.SearchGroups C# (CSharp) Method

SearchGroups() protected method

Method called when the Search Button is clicked. Redirects the User to the Search Groups page using the Text in the searchBox as the search terms.
protected SearchGroups ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        protected void SearchGroups(object sender, EventArgs e)
        {
            if (searchBox.Text.Length > 0)
                Response.Redirect("~/Groups/GroupsSearch.aspx?Term=" + searchBox.Text);
        }