Master/detail access field

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
Omalbahr
User
Posts: 2

Master/detail access field

Post by Omalbahr »

I have Master table Name is "master":
id
name
and Detail table name is "detail" :
id
masterid
title
when I click Master/Detail View
and I try access to Detail table from Row_Rendered like
CurrentPage.title.ViewValue = CurrentPage.title.ViewValue + "Om";
I wrote this code in Row_Rendered in Detail table

it is shown error
RuntimeBinderException: 'ASPNETMaker2023.Models.CommitteesV2.MasterView' does not contain a definition for 'title'

How to solve this problem ?


MichaelG
User
Posts: 1110

Post by MichaelG »

"Title" is a reserved word. Try "_title" instead.

To check the correct object name for the field, you can right click on the table and click "Object Properties".


Omalbahr
User
Posts: 2

Post by Omalbahr »

I try with deferment name same error


MichaelG
User
Posts: 1110

Post by MichaelG »

To check the correct object name for the field, you can right click on the table and click "Object Properties".

What is the object name for the "title" field? Also show your latest codes.


Post Reply