Web Part Error: "The Height and Width properties do not ..." RRS feed

  • Question

  • I,ve made a asp webpart based on two datagridviews, a textbox and a button. It works fine under asp.net, but when deployed under MOSS2007 it shows the textbox and button.

    When the button is pushed (with a search argument) the following error apears.

    Web Part Error: The Height and Width properties do not support proportional metrics (for example, 20%).

    Can anyone tell me what this means?




    • Edited by Mike Walsh FIN Thursday, November 18, 2010 4:57 PM ... are only acceptable within " " to signify a message text that continues - " " added
    Thursday, November 18, 2010 3:52 PM


  • Hi,

    It seems that you used percentage to set the properties width and height of a control.

    So you could try it again by setting them with integers.

    Microsoft Online Community Support
    • Marked as answer by KeFang Chen Thursday, November 25, 2010 10:26 AM
    Friday, November 19, 2010 6:27 AM