Web Connection
Web Control page properties not found
Gravatar is a globally recognized avatar based on your email address. Web Control page properties not found
  Doug
  All
  Jan 26, 2017 @ 09:21am

When doing the Web Control Framework Walkthrough and moving from the Edit Developer page to the Add a Developer step, the code changes from lnID = VAL(Request.QueryString("Id")) to this.nId = VAL(Request.QueryString("Id")). Where the difference is your using a property of the form.

My problem is, I am getting a property not found error. So, the question is, what have I missed. I've stepped through and do not see any properties.

Thanks, Doug

Gravatar is a globally recognized avatar based on your email address. re: Web Control page properties not found
  Rick Strahl
  Doug
  Jan 26, 2017 @ 12:06pm

Doug,

Just add a nId property to the page. A property is used so it's accessible throughout the page in various page methods.

+++ Rick ---

Gravatar is a globally recognized avatar based on your email address. re: Web Control page properties not found
  Doug
  Rick Strahl
  Jan 29, 2017 @ 09:09am

The issue was that I had renamed the Web Control ID properties to ID="txtfieldname" where it should have been just the field name (ID=fieldname). Removing the "txt" prefix from the ID properties allowed the expected properties to be found.

Thanks, Doug

© 1996-2024