ScriptManager.RegisterClientScriptInclude(CanvasCell, typeof(TableCell),"pen", "Scripts/pen.js"); ScriptManager.RegisterStartupScript(CanvasCell, typeof(TableCell), "LogoJavaScript", script, true);