[SOLVED] Â Getting record data in a code snippet |
3/18/2020 11:03:50 AM |
ASPRunner.NET General questions | |
Pete K author
I've inserted a code snippet into a view page in which I want to use some conditional logic to display a field value along with some other text and formatting. According to the help topic (https://xlinesoft.com/asprunnernet/docs/insert_code_snippet.htm), I should be able to access field values using pageObject:
include\CommonEvents.cs(341,15): error CS0103: The name 'pageObject' does not exist in the current context
|
|
Pete K author 3/18/2020 | |
Okay, so I solved the issue by getting the editid1 post value and looking up the record with a query. The next wall I hit was using: MVCFunctions.EchoToOutput();
|
admin 3/18/2020 | |
Pete, |
Pete K author 3/19/2020 | |
Pete, thank you for pointing, we'll update the documentation.
|