Hi,<BR><BR>I wrote a javascript code for color picker.Since I want to <BR>make it (color picker) as a server control, I included the <BR>javascript code in the c# server control.But in the body <BR>tag in my aspx file, i have to use onload=Init(); which is <BR>a function in the javascript code. Since this is a client <BR>side script, it gives me some problems because this is <BR>called first before executing the server control.<BR>So how to include this onload=init() function also in the <BR>server control.<BR>Kindly get back to me on this..<BR>Thx<BR>Philip