This is a migrated thread and some comments may be shown as answers.

Get search text

1 Answer 52 Views
SearchBox
This is a migrated thread and some comments may be shown as answers.
Freddy
Top achievements
Rank 1
Freddy asked on 30 Apr 2013, 01:05 PM
Hi,

How to get the search text in code behind in Onsearch event?

Thanks,
Freddy

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 30 Apr 2013, 01:10 PM
Hi,

Please have a look into the following C# code.

C#:
protected void RadSearchBox1_Search(object sender, SearchBoxEventArgs e)
{
    string searchKey = e.Text;
}

Thanks,
Princy.
Tags
SearchBox
Asked by
Freddy
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or