开发者

Dynamic Data UIHint("MultilineText_Edit") in Grid and Edit

开发者 https://www.devze.com 2022-12-12 09:43 出处:网络
When a particular property on my model is attributed with UIHint(\"MultilineText_Edit\") it renders the multiline text edit in the Details view, but not in the Edit view. In the Edit view it\'s a 开发

When a particular property on my model is attributed with UIHint("MultilineText_Edit") it renders the multiline text edit in the Details view, but not in the Edit view. In the Edit view it's a 开发者_开发技巧tiny little textbox. Any idea how to persuage DD to render that as a multiline in the Edit view as well?


It's very likely its looking for MultilineText_Edit_Edit.ascx. As the convention is to look for the one with _Edit at the end.

Try if it works in edit when u have a copy of the user control named like that.

0

精彩评论

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