locked
System.Web.UI.WebControls: Unit.Pixel Method: Why Int16? RRS feed

  • Question

  • Unit.Pixel Method accepts parameter of type Int32. Why then the value is limited to Int16? Yes it's in the docs, I have seen it but what is the reason behind it? It's causing us a significant pain in one scenario - is there a possible workaround?
    Thursday, July 10, 2014 5:08 PM

Answers

  • Hi Trekstuff,

    >Unfortunately it won't work for me. Exception is thrown by a 3rd party control (Infragistics WebDataGrid) because it tries to do calculation/assignment via Unit.Pixel.

    Infragistics is third party software. It’s out of our support range. You should open a new thread on their forum for support. http://www.infragistics.com/community/forums/.

    Thank you for understanding.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

    • Proposed as answer by Just Karl Wednesday, July 23, 2014 8:24 PM
    • Marked as answer by Just Karl Saturday, August 2, 2014 1:17 PM
    Tuesday, July 15, 2014 6:36 AM

All replies

  • Hi Trekstuff,

    If the Unit.Pixel method doesn’t meet your requirement, I think you should build your own assembly.

    Friday, July 11, 2014 5:31 AM
  • Unfortunately it won't work for me. Exception is thrown by a 3rd party control (Infragistics WebDataGrid) because it tries to do calculation/assignment via Unit.Pixel.

    Friday, July 11, 2014 1:59 PM
  • Hi Trekstuff,

    >Unfortunately it won't work for me. Exception is thrown by a 3rd party control (Infragistics WebDataGrid) because it tries to do calculation/assignment via Unit.Pixel.

    Infragistics is third party software. It’s out of our support range. You should open a new thread on their forum for support. http://www.infragistics.com/community/forums/.

    Thank you for understanding.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

    • Proposed as answer by Just Karl Wednesday, July 23, 2014 8:24 PM
    • Marked as answer by Just Karl Saturday, August 2, 2014 1:17 PM
    Tuesday, July 15, 2014 6:36 AM