//This function generates the query and passes it to the current content, which is expected to be "search". This will //then bind the query to the video items, which will initiate the search public void DoSearch(string SearchText) { if (SearchText.Length >= Convert.ToInt32(Resources.MinimumSearchTextLength)) { CurrentContext.Query = AmazonVideoRequest.generateSearchUrl(SearchText); } else { CurrentContext.Query = ""; } }