L
Luis Ferrao
Comming from Windows Forms development, I never had problems with this
issue before.
What i'm trying to achieve is an iTunes like incremental search. For
those who never used iTunes, it's basically a text field with a key
stroke event that filters the data grid as the users types in a string.
The more text in the field, the fewer fields desplayed.
The problem is that this is obviously a client side behaviour.
In windows forms, this is easily achieved with this kind of code:
private void SearchField_TextChanged(object sender, EventsArgs e)
{
string filterExpression = "Column1 LIKE '*'" + ((TextBox)
sender).Text + "'*' OR... (and so on for the rest of the columns)"
MainView.RowFilter = filterExpression;
}
In asp.net though, i fear the solution will not be as straightforward.
I would apreciate if someone had some input on how to achieve this
either by client-side script, third-party controls, etc...
Any kind of help really.
Best regards,
Luis Ferrao
issue before.
What i'm trying to achieve is an iTunes like incremental search. For
those who never used iTunes, it's basically a text field with a key
stroke event that filters the data grid as the users types in a string.
The more text in the field, the fewer fields desplayed.
The problem is that this is obviously a client side behaviour.
In windows forms, this is easily achieved with this kind of code:
private void SearchField_TextChanged(object sender, EventsArgs e)
{
string filterExpression = "Column1 LIKE '*'" + ((TextBox)
sender).Text + "'*' OR... (and so on for the rest of the columns)"
MainView.RowFilter = filterExpression;
}
In asp.net though, i fear the solution will not be as straightforward.
I would apreciate if someone had some input on how to achieve this
either by client-side script, third-party controls, etc...
Any kind of help really.
Best regards,
Luis Ferrao