Create that function in a separate script file and the reference of this js file to your aspx page.
Finally you need to bind this event to your server control; you can do this by simply setting attribute property of control. I hope it helps. Sent wirelessly from my BlackBerry device on the Bell network. Envoyé sans fil par mon terminal mobile BlackBerry sur le réseau de Bell. -----Original Message----- From: Pronabananda Paul <[email protected]> Sender: [email protected] Date: Wed, 11 May 2011 10:37:47 To: DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting<[email protected]> Reply-To: [email protected] Subject: [DotNetDevelopment] How to add onClick, onBlur eventhandle for text box in asp.net using c# language Dear All, I am new at this group. recenlty, I am trying to develop web application using asp.net and C#. And I have faced a problem to write code on the onClick event for text box in asp.net application. By searching net, I found this has to be performed through javascript function. But, I am not able to implement that. Kindly, help me to remove this problem. -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
