Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
5
Answers
Access asp controls inside a public static method
Dinesh Santhalingam
8y
710
1
Reply
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
.
.
.
.
.
}
Post
Reset
Cancel
Answers (
5
)
Next Recommended Forum
how to show the all upload file on form in panel or images
Sorting Columns in datagridview