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

Filter textbox content before Select takes place on the database

1 Answer 42 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 09 Mar 2009, 10:28 PM
Hi

I have a RadGrid that use a Select statement that includes a value from a RadTextBox
when the form is submitted.

It is running fine except that I would like to remove the word 'chateau' from the
TextBox text before the query runs and RadGrid gets populated.  In asp you would use
Replace(Request.Form("WineName"), "chateau", "")  before using the value. 
I could maybe do this in code behind with RegEx.Replace() if I knew what event to run
the code on.

Please advise!.

Thanks for your help

Clive

1 Answer, 1 is accepted

Sort by
0
Clive Hoggar
Top achievements
Rank 1
answered on 11 Mar 2009, 08:51 PM
Figured out a different way to approach it - so solved!
thanks
Tags
Grid
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Clive Hoggar
Top achievements
Rank 1
Share this question
or