I don't know what's going on but I have a js file, and I call it in my default page Page_load, but every time when I go to my default page, I am getting the object exprected error from javascript, but if I sign in and then redirect to that default page, the js code got executed correctly without any errors... I am clueless at this point.
Code:ImgUsers.Attributes.Add("onload", "javascript:ResizeImage('ctl00_ContentPlaceHolder1_ImgUsers', '450', '400');");
