How to Call javascript function with argument from code behind ASP.NET ,C#?
I want to pass some argument to javascript function from code behind. My Javascript function as follow. how to send arg to this func. from server side code.

     function addTab(tabid,tablist) {
                //to Find the Panel
                var Panel = $find("<%=RadPanelBar2.ClientID %>");
                //To find the Tab Strip
                var tabStrip = Panel._findItemByValue("QueueGridPanel").findControl("RadTabStrip2")
                tabStrip.get_tabs().clear();
    
                var newTabNames = "MyTab1,MyTab2,MyTab3";
                //var newTabNames = document.getElementById("ctl00_GridContentPlaceHolder_hfTabs").value;
                
                var TabsNames = newTabNames.split(',');
                var i = 0;
                while (i < TabsNames.length) {
                    var ntab = new Telerik.Web.UI.RadTab();
                    tabStrip.get_tabs().add(ntab);
                    ntab.set_text(TabsNames[i]);
                    i++;
                }
                return false;
            }  
How to Call javascript function with argument from code behind ASP.NET ,C#?
===

I want to pass some argument to javascript function from code behind. My Javascript function as follow. how to send arg to this func. from server side code.

     function addTab(tabid,tablist) {
                //to Find the Panel
                var Panel = $find("<%=RadPanelBar2.ClientID %>");
                //To find the Tab Strip
                var tabStrip = Panel._findItemByValue("QueueGridPanel").findControl("RadTabStrip2")
                tabStrip.get_tabs().clear();
    
                var newTabNames = "MyTab1,MyTab2,MyTab3";
                //var newTabNames = document.getElementById("ctl00_GridContentPlaceHolder_hfTabs").value;
                
                var TabsNames = newTabNames.split(',');
                var i = 0;
                while (i < TabsNames.length) {
                    var ntab = new Telerik.Web.UI.RadTab();
                    tabStrip.get_tabs().add(ntab);
                    ntab.set_text(TabsNames[i]);
                    i++;
                }
                return false;
            }  