Sangeeth_India 0 Unverified User

A HTML Control with runat=server option turned on, does execute a client script code, but not the server script, if both are written. What if, if I want both of them to be executed?

For example, I have a HTML Button Control, whose click event fires a client script function, which sets the focus on a Text box. I have another code-behind function, which clears all the text box controls in the page. Now, when the button is clicked, if I want both these snippets to get executed, what has to be done?

Please do share ur ideas with me.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.