I'm using an entity together with ajax. I want the full table i provice with Entity framework ina grid created with JavaScript. The table I'm currently sending has less than 140 lines. My code works if I only have 50 lines in the table a few...
Here's the situation: I would like to iterate through a table with input controls, collect up the values and then submit them to an ASP.Net PageMethod to save the data to the database. I have the collection all figured out, but am getting an erro...
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 onBlur(){ //this function is called when you click...
I need to call some C# functions (which save some values to the database) from Javascript, and so I'm using multiple PageMethods to do that. I want to show an alert to the user after all this has been done. But I'm not able to understand the...
I am working on a project that dynamically creates an html table with javascript.  Once this table is created I need to be able to export it to excel through a button click.  I have tried a few things already, but they haven't worked for me.   I...
I have a javascript call to a C# WebMethod. The same page has another call and it is working. I debugged the javascript code, this is called:  function userUpdReq_onOk() { ... var clientValidationPassed =Page_ClientValidate();  if( clientValidationPa...
while attempting to learn PageMethods, I've come across a peculiar problem.  When running the program, the program enters the error function. Chrome developer tools shows the following error:      GET http://localhost:62316/Advertising/WebForm1.a...
I am successfully calling a PageMethod in Javascript from my C# code behind as follows.  PageMethods.getTextResume(sProfileID, function(result){alert(result);}, function(result){alert(result);});   The first parameter is the required parameter by the...
I am generating a file on the server and I do not want to write it to disk but instead return it to the client via a web service. What recommendations would you have to do this?...
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.GetInbox(int.Parse(emp_num), 0); }     Now i want...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.