Answered by:
System.Web.UI.WebControls: Unit.Pixel Method: Why Int16?

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?
- Moved by Herro wongMicrosoft contingent staff Friday, July 18, 2014 7:04 AM
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.
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.
- Proposed as answer by Ioana Vasilescu Friday, July 11, 2014 7:51 PM
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.
Tuesday, July 15, 2014 6:36 AM