writing a function which creates a string (javascript) and then add it to a button as its attribute?
<p>hi
I have a Button in my .aspx web form and use c# 3.0
I want to add a javascript function to its attribute as its "onclick" event handler.
the function has 1 parameter in order to check whether onclick javascript should get a confirmation from user or not. The parameter Datatype is bool But when I send true, 
execution of the program halts and show me a message that True is not defined!!</p>

<p>What's wrong?</p>
