i want to call java script function without any event and call from .aspx.cs file. how's it possible?
Rachit Patel
Javascript is an Event Oriented Programming Language. If you want to call any javascript funtion from code behind,you can use System.Web.UI.ScriptManager.RegisterStartupScript (panAddDetails,this.GetType(), "click", "javascript:DisableOnLoad();", true); where panAddDetails - Is the id of a Panel. DisableOnLoad() - Javascript method to call. cheer'S Vivek