Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Heather@FootAnstey
Posts : 57
Join date : 2018-12-19

Quick Search TextBox Empty Quick Search TextBox

Thu 16 Apr 2020 - 19:46
Original Post: Phil 15/06/2012 15:39:25

" Hi all is it possible though code to get and set the text of the quick search text box, on a search list.
If so what is the property and is it on the SearchList Class or the ucSearchControl Class?
Many thanks Phil "


Responses:

Dwayne 27/03/2013 02:27:20
" Hi Phil,
Did you ever work out how to do this? I'm trying the exact same thing now, but none of the obvious properties seem to work.
EDIT: Well I managed to work this out... in my circumstance, it is all based on when the control is ready. You need to wait for the SearchCompleted event to fire, then
you can set the search list's QuickFilterControl property:

ucSearchControl searchList =
EnquiryForm.GetControl(“searchControlName”) asucSearchControl;
searchList.SearchCompleted += delegate(object innerSender,
SearchCompletedEventArgs innerE)
{
searchList.QuickFilterContol.Text = “Filter Text”;
};

I hope this helps you and possibly other members of the forum Smile
Dwayne."

Phil 27/03/2013 08:11:57

" Cool nice work .I did have some success with
SearchControl.ExternalFilter = ““
and
SearchControl.SearchList.Filter for the dataset
But I was taken off that project to work on something more pressing so stop searching for an answer.
So cheers for this.
Phil"
Back to top
Permissions in this forum:
You cannot reply to topics in this forum