We can use RegisterArrayDeclaration() method to pass an array to javascript as shown below. First parameter will be Array Name and second parameter will be Array item.
I hold Bachelors degree in Computer Science along with MCSD,MCTS and MVP for the year 2009. Areas of Interest: C#, WPF, WF, silverlight, ASP.NET, Oracle and SQL Server.
Join the conversation! Your thoughts help the community grow.