Saturday, March 31, 2012

passing the array values from server side and getting from javascript in asp.net


function GetDatabyUsercontrol(Header, CId, Type) {
             var TypeArray = new Array();
             TypeArray = "'" + Type[0] + "','" + Type[1] + "','" + Type[2] + "','"  + Type[3] + "','"
                       + Type[4] + "','" + Type[5] + "'";  
}


ScriptManager.RegisterStartupScript(Page, this.GetType(), "Popup",
                        "callParentPageMethod('" + objVal.ToString() + "'," + objVal1.ToString() + ",[" + TypeofRequest + "]);", true);



passing the array values from server side and getting from javascript in asp.net

No comments:

Post a Comment

Comments

Search

Custom Search
Protected by Copyscape Plagiarism Software