I have a div which I would like to fill with a jsTree:  I get the "Loading" icon where the tree is meant to display, however, there would seem to be a javascript error, even though one is not thrown.  I load my folder structure from an AJAX R...
I have a textbox and a dropdownlist on my client side. I need to pass the values of these controls to a webmethod (in the code behind) using javascript. I can pass the textbox value but not the dropdownlist.  <p><asp:DropDownList id="ddl...
Sorry if this is a simple answer, but I can't seem to find this (on SO or Google.)  I have an aspx page, with a GridView and each record has a button.  What I need to do is execute a bit of Javascript on each record that requests a bit of data fr...
Suppose I write the following C# code to define a web method:  public class Thing {     public string X {get;set}     public string Y {get;set} }  [WebMethod] public static void myFunction(Thing thing) { }   I've discovered that I can invoke the...
I know this question has been asked before but nothing so far has helped me reach a final solution.  I have an ASP web page that has numerous buttons that perform different functions. I also have a dropdown box that contains a list of objects. When I...
I am trying to pass a value from Javascript to ASP pages. But it can't run properly.  This is my Javscript:  function btn_upgrade_onclick() {              var dlr = document.getElementById("<%txt_sapcode.ClientID%>").value;...
I am currently trying to pass an array that I have created in Javascript to my webmethod in my aspx.cs.  Heres what I have:  JAVASCRIPT  function callServer(requestMethod, clientRequest) {       var pageMethod = "Default.aspx/" + requestMetho...
I'm trying to access the returned value and add a check of .contains so I can know if I need to reload the page or not. I've been trying to do something like the following:  alert(msg.d); if(msg.d.contains("deleted"))     location.rel...
I'm new to AJAX/javascript, and I'm not sure what the best approach is for what I'm trying to do.  I'm calling page methods (WebMethods) on my Page using Javascript. The data I'm retrieving is a list of Divs basically.  I don'...
i have a web method which is returning json data in every call  i am pushing this result into a $scope variable , but inside ng-repeat it is not binding this result . whats wrong with my code . please suggest. here is my code   [WebMethod(EnableSessi...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.