title: How to Call javascript function with argument from code behind ASP.NET ,C#?
body: <p>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.</p>
  
  <pre><code> function addTab(tabid,tablist) {
              //to Find the Panel
              var Panel = $find("&lt;%=RadPanelBar2.ClientID %&gt;");
              //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 &lt; TabsNames.length) {
                  var ntab = new Telerik.Web.UI.RadTab();
                  tabStrip.get_tabs().add(ntab);
                  ntab.set_text(TabsNames[i]);
                  i++;
              }
              return false;
          }  
  </code></pre>