/// <summary> /// Handles the Click event of the Execute button. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param> protected void Execute_Click(object sender, EventArgs e) { JSONRequest.Visible = false; var searchRequest = DSSerializer.Deserialize <DSSearchRequest>(json, jsonText.Text); var response = api.ExecuteSearch(searchRequest); ResultText.Text = DSSerializer.Serialize(json, response); JSONResponse.Visible = true; }