开发者

ListFieldIterator shows ["Title" column value]

I am writing a webpart for SP 2007 with ListFieldIterator. If ControlMode equal to SPControlMode.Edit or SPControlMode.New it works开发者_StackOverflow good. If ControlMode equal SPControlMode.Dispaly i see ["Title" column value] for Title column and ["SomeColumn" column value] for each other columns.

How I can fix it?


This typically happens when the ListFieldIterator control does not have the itemContext set or the controlmode is unset/not parseable. Have you tried explicitly setting these two attributes? PS. in your question you have "Dispaly", not "Display" - I believe it's a typo

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜