Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Is it possible to call a c# function inside asp text box's key press event, with out declaring it as a web-method.

if it is possible then please give me some suggestion to do it..

ASP.NET
<asp:TextBox ID="txtSearch" runat="server"
           ontextchanged="txtSearch_TextChanged">


C#
protected void txtSearch_TextChanged(object sender, EventArgs e)
        {
            //its working
        }



i tried this but its not working...
Posted
Updated 11-Oct-11 3:00am
v2

1 solution

 
Share this answer
 
Comments
Tejas Vaishnav 11-Oct-11 8:58am    
Its not working like, txtSearch_TextChanged is not called, thats why i ask you the question...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900