BlueVista
unread,Feb 19, 2009, 3:46:09 PM2/19/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi,
I read through this blog and it's perfectly working. I am truly
thankful.
http://www.c-sharpcorner.com/Blogs/BlogDetail.aspx?BlogId=825
Now, I put a button called btnClear so clear the textbox (where user
input some search text) and reload the grid just like it did when
first time the page loaded. I used following code but not working. I
dont any error. It still shows the searched items not the full grid. I
tried to clear the txtSearch text using this piece of code but it does
not clear the text from the searc text box. (txtSearch.Text =
string.Empty;)
protected void btnShowAll_Click(object sender, EventArgs e)
{
SqlDataSource1.FilterExpression = null;
Session["MyFilter"] = null;
}
Thanks