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
- .
- .
- .
- .
- .
- }