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?
+2
A:
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.
eglasius
2009-11-23 18:34:31
Thanks! It worked. I made a copy like you said, called the file "MultilineText_Edit_Edit.ascx" but I had to change the class name. I just tacked a '1' on the end.
Jason M
2009-11-25 15:17:15
Answer my same question and win some points. http://stackoverflow.com/questions/3501152/uihint-not-working-for-editThanks!
ProfK
2010-08-17 13:44:17
@ProfK I just voted close as dup on that one, any upvote from anyone that follows it here are enough.
eglasius
2010-08-17 16:19:54
I seconded the close as dup and you have my vote. :-)
ProfK
2010-08-17 16:59:16