How can I call that addRect
function from asp.net c#
I tried this but it cannot call the function, what should I use ?
(function (window) {
function addRect(x, y, w, h, fill, flag, count) { }
})(window);
Page.ClientScript.RegisterStartupScript(this.GetType(), "addRect", "addRect(x,y,w,h,fill,flag,count);", true);