You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to fetch list of model keys which are mentioned in the razor file. So how can I fetch the list of keys? My project is based on the forms and fields so based on the keys it will find the fields from the appropriate forms. That's why I need to fetch the keys list from the razor file.
From above sample file I need a list of keys like @model.StudentFirstName, @model.StudentLastName, @model.StudentPhone, @Model.parentFirstName, @Model.parentLastName.
So how can I achieve it? and how can I get a list from the razor file?
The text was updated successfully, but these errors were encountered:
I want to fetch list of model keys which are mentioned in the razor file. So how can I fetch the list of keys? My project is based on the forms and fields so based on the keys it will find the fields from the appropriate forms. That's why I need to fetch the keys list from the razor file.
For example: below is a sample razor file.
From above sample file I need a list of keys like @model.StudentFirstName, @model.StudentLastName, @model.StudentPhone, @Model.parentFirstName, @Model.parentLastName.
So how can I achieve it? and how can I get a list from the razor file?
The text was updated successfully, but these errors were encountered: