1

I have a list which has 5 columns in it. Some of these fields help the user fill in the data but I don't want the user to modify these fields.

I have tried changing the field to readonly but that ends up hiding the field completely from the form. Is there a way to get the field to render out to the form as just text?

Maybe I need to use javascript to disable the fields programmatically - would prefer not to go down that route though..

4

1 回答 1

1

您必须定义自己的 RenderingTemplate ,它将使用您自己的自定义 ListFieldIterator。(一篇优秀的文章)

于 2010-04-21T12:20:39.643 回答