1
Answer

How should be the Resource Names?

Hi friends,
 
May i know how should be the resource names while doing localization, whether it's should be as Resources.en-US.resx or Resources.en.resx , which one best practice ? and why ?

Answers (1)

2
Photo of Manas Mohapatra
NA 29.3k 3.3m 7y
To resolve your issue:
 
1. Make method as public and static
2. Make sure param name should be same
3. Make sure that you shouldn't have any client side error like variable is undefined etc.. You can see error in console tab by pressing F12 in browser.
4. jQuery library reference should be added properly. 
  1. [System.Web.Services.WebMethod]  
  2. public static string saveTask(string date, string id)  
  3. {  
  4.     return "Hello " + name + Environment.NewLine + "The Current Time is: "  
  5.         + DateTime.Now.ToString();  
  6. }  
 
Accepted
0
Photo of Sbonga Mathobela
NA 68 2.7k 7y
Thanx guys....I found the soultion. I changed in the RouteConfug :settings.AutoRedirectMode = RedirectMode.Off; instead of settings.AutoRedirectMode = RedirectMode.Permanent
0
Photo of Pooja Dixit
NA 29 6 7y
It is May be possible in Server side Error Occured..
that time debugger is not properly working on..