MaxHeight property is not always working with Web User Contril (.ascs)

10 replies. Last post: January 22, 2010 4:23 AM by Andi Santoso
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

I've created a Web User Control (.ascx)
Created a WebGrid, and some columns are configured as multilines.
Also the last column is configured to use WebTextEditor, as the following:
  

<ISWebGrid:WebGridColumn Caption="Note" DataMember="Note" Name="Note"
       Width="400px" MaxHeight="50px" IsAutoIncrement="false"
       CustomEditorName="WebTextEditor" CustomEditorServerId="WebTextEditor1"
       EditType="Custom" AllowMultiLine="True" TextboxMaxlength="50">
</ISWebGrid:WebGridColumn>


  Now, my issue is, the MaxHeight property is not working at all, if I have large amount of data in the field, it keep growing the row with no limit.
  The only way to make it work is put the GRID between <FieldSet></FieldSet>.

  But if I do that, the WebTextEditor toolbar will be scrambled as shown in the attached image.
  I tried to set RowHeightDefault="-1", but still same issue.


Maged

All times are GMT -5. The time now is 12:38 AM.
Previous Next