xenonysf wrote:
I mean creating a js code by code-behind.
This is not a good method until you rally need it. It will be tough to maintain. If you are doing this to get some values from server, you can directly use them in javascript by putting it into a server executable block.
My Website | Ask smart questions