• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 549
  • Last Modified:

Bind data to textboxes using Page Methods in ASP.NET 2.0

Hello Experts,

I 'm using AJAX PageMethods, to check whether data entered in textbox in Database, if found, then want to update rest of the fields.

But I cannot do this because my method is Shared(VB.NET) and this is the first time I'm using Webmethods in my application.When I try to access my other textbox controls under that webmethod I get this error:

Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class.

Is any other way to update text boxe's, it should be Client-Side only.
0
ASPDEV
Asked:
ASPDEV
1 Solution
 
informaniacCommented:
0
 
ASPDEVAuthor Commented:
Thanks.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now