Hello Gary,
Unfortunately, we do not have any sample codes for this specific purpose.
You would add the two mentioned controls to your new control and then manage their visibility property in the code behind. You could add a condition for example in the Page_Load method like this (both controls would be invisible by default):
if (Request.QueryString["SearchText"] == “ALL”)
{
SearchResultControlID.Visibility = true;
}
else
{
RepeaterControlID.Visibility = true;
}
Best regards,
Helena Grulichova