I have a Asp form.in my code i have a static method i want to access the page controls Inside the static method.Suggest some ideas..
- [System.Web.Services.WebMethod]
- public static Dictionary<string, object> LoadAssetAssignView()
- {
- datetime mydate=datetime.parse(TextBox1.Text);//Can't access the form control
- .
- .
- .
- .
- .
- }
Mangesh GPosted Dec 29, 2016, 12:31 AM
Nithin TNPosted Jul 23, 2019, 3:31 AM
Mangesh GPosted Dec 29, 2016, 12:56 AM
Dinesh SanthalingamPosted Dec 29, 2016, 12:34 AM
Mangesh Gaherwar
Dinesh SanthalingamPosted Dec 29, 2016, 12:26 AM
Mangesh GPosted Dec 29, 2016, 12:13 AM