pagemethods Questions
8
Solved
In researching this problem most SO issues were about the static method as a fix.
Since it's not working with the real (and a bit sophisticated) WebMethod I've just created a simple one for the sa...
Frameup asked 22/12, 2013 at 23:27
8
Solved
jQuery 1.3.2, ASP.NET 2.0. Making an AJAX call to a PageMethod (WebMethod) returns the full/whole page instead of just the response. A breakpoint on the page method shows it's never getting hit. I ...
Derbent asked 24/2, 2009 at 19:6
8
I have static method in which I want to extract querystring value of the request. But it gives me null value when i am calling it from webmethod. Below is the some code
public static int GetLatest...
Milliken asked 29/7, 2013 at 12:23
5
Solved
I'm trying to do this:
function DelBatch()
{var userInfo = get_cookie("UserInfo");
PageMethods.DeleteBatchJSWM(userInfo, function(result)
{window.location = "BatchOperations.aspx";});
}
But it ...
Bevins asked 14/7, 2011 at 21:45
2
Solved
I have called a Code behind method using jQuery using a static WebMethod method.
That web method call was success but when tried to access a text box control it is giving error. An object re...
Pinafore asked 20/7, 2015 at 10:29
1
Solved
Is it possible to call a function on the server side from the client side using PageMethods, and access that function's return value in JavaScript? Here's an example:
Client Side:
function onBlu...
Knownothing asked 27/4, 2016 at 15:51
4
Solved
I'm looking at some old code that I can only assume worked at one time.
MyPage.aspx:
function GetCompanyList(officeId) {
var companyList = document.getElementById('<%= CompanyDropDown.ClientI...
Geometrize asked 14/8, 2013 at 21:7
7
I am developing an asp.net website.
When two different users are accessing that website with different sessions, one users content is getting swapped to another user.
I am using javacsript, cal...
Salmonella asked 4/9, 2013 at 11:1
3
I am calling pageMethod in codebehind of aspx page. I get the response for whole page instead of webMethod response. Also, I tried calling the same webMethod using jquery and got the whole page as ...
Ichinomiya asked 12/2, 2014 at 6:29
8
Solved
I know that I can call a page method with jquery using the following syntax
$.ajax({
type: "POST",
url: "Default.aspx/GetDate",
data: "{}",
contentType: "application/json; charset=utf-8",
dat...
Unquestionable asked 23/2, 2009 at 19:38
4
Solved
Hi I am calling a simple page method from javascript , here is my code at markup
function OnCallSumComplete(result, userContext, methodName) {
alert(result);
}
function OnCallSumError(error, ...
Chorizo asked 18/5, 2012 at 18:41
8
Solved
I have method like this in my .cs :
[System.Web.Services.WebMethod]
public static void GetServiceInformation(IInfo x) //IInfo is an interface
{
x.l_power = true;
x.lb_InboxCount = UserTrans.GetI...
Inaccessible asked 29/12, 2013 at 10:26
5
Solved
I have a very simple call to a PageMethod. When I step through my PageMethod in my .cs file, the value looks as expected. However, on the client side I get an undefined result. Any ideas? This shou...
Strenta asked 24/8, 2009 at 19:15
5
I have a main page which has some pagemethod called to perform some activities. A popuppanel(popuppanel content page also have pagemethods) is used within this main page to show some details. If th...
Crudden asked 3/9, 2013 at 10:23
2
I am having a pagemethod to which i give a call from my JavaScript
say
Pagemethods.MyMethod(MyParameter, onsucess, onfailure);
In the Code behind, I have something like this:
[WebMethod]
publ...
Nkvd asked 8/6, 2009 at 11:49
2
Solved
I am having issue with my pagemethod + url rewrite.
When using regular URL: http://myweb.com/mypages/abc.aspx
call to the PageMethod works fine.
But when i use a friendly URL : http://myweb.co...
Prototype asked 1/12, 2010 at 4:39
4
Solved
I use update panels all the time when i wanna to update specific part of my page but recently i face performance problems ( i mean it 's slow in rendering the intended control and sometimes it does...
Ungava asked 4/3, 2012 at 13:22
2
Solved
I have a [WebMethod] and i want to assign values to a text box using the this code:
[WebMethod]
public static void MyMethod(string s)
{
//TextBox1.Text = s; //Here how can i access the textbx?
}
...
Lannylanolin asked 23/1, 2012 at 6:4
2
Solved
I am building a dynamic partial load asp.net page, I would like to use jQuery to call page methods or web service to retrieve the content HTML.
page methods or web service, performance wise, which...
Katheryn asked 7/10, 2009 at 12:51
3
Solved
I am using ASP.NET page methods with jQuery. Here is my code,
$.ajax({
type: "POST",
url: "Default.aspx/GetRecords",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "jso...
Saari asked 30/3, 2010 at 4:3
1
Solved
I have a page hierarchy as the following
I want to execute a PageMethod if I click the 'SAVE' button, so I coded like the following
On Button Click I called
OnClientClick="return btnSaveAS_Cl...
Pleopod asked 26/7, 2011 at 5:2
1
Solved
My Pagemethod implementation is not working in Chrome browser.
I have ASP.NET 3.5 web application developed in VS 2008.
The code below not working in chrome or Safari:
function FetchDataOnTabChan...
Junkman asked 30/11, 2010 at 12:6
2
Solved
I'm calling PageMethod "SameMethod" from javascript method "caller" so that I can get some values from DB. After I get values, control is continuing in "onSuccess" method. Problem is that I need to...
Fireguard asked 9/12, 2010 at 12:34
3
Solved
I've got a click tracking AJAX function (calls a WebMethod on an .aspx page), and I need to call it when the user clicks through to a link.
Unfortunately, I'm using window.location = "newUrl" to c...
Darwen asked 12/2, 2010 at 15:34
2
I have a .NET 3.5 aspx place with a method marked with the [WebMethod] attribute. I'm calling this with jQuery, sending JSON in both directions. This all works great. My question is, what does [Scr...
Cervine asked 2/6, 2009 at 19:36
1 Next >
© 2022 - 2024 — McMap. All rights reserved.