desperately looking for help.
i want to execute one java script function,passvalues(), which is there in my master page.
After doing so much of additions , subtraction and type conversions in the button click event im obataining the values for 3 variables which i need to pass these values to the existing javascript function...how can i pass these values to the javascript function which is thr in master page ..in the end of the button_click event handler..
Expand|Select|Wrap|Line Numbers
- Protected void Button_Click(sender object,EventArgs e)
- {
- // Type conversions..
- //getting the references of other control..
- blah blah blah
- value1="";
- value2="";
- value3="";
- /*Now i want to pass these values to a javascript function which is there in my master page..based on these values only all my remaining functions work.*/
- }
Is Clientmanager.RegisterStartupScript will work for me ...if yes kindly tell me how can i use tht .
Thanks in advance..
Rgds,
BTR.