I am currently working on a project that takes advantage of some DevExpress components. Recently we ran into an issue where ASPxDateEdit caused the parent page to scroll if the control was used in an IFrame. Oddly enough this issue only happened on Chrome (and potentially other webkit browsers), but not on IE.

The only way we were able to sole this issue was to add the following css to the control

-webkit-backface-visibility: hidden;

in my case I was working with ASPXDateEdit so I added it to DevExpress’s

.dxeCalendar class.

At the time of writing this I am using DevExpress WebForms version 14.2.7 (released 22-APR-2015)

Today I ran into this error when posting back on my ASP.NET page.

System.Web.HttpUnhandledException (0x80004005): Exception of type ‘System.Web.HttpUnhandledException’ was thrown. —> System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation=”true”/> in configuration or <%@ Page EnableEventValidation=”true” %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument)

It did not take me long to track down the problem. I forgot to add an ID to a dynamically created dropdownlist control.



An exception of type ‘System.MissingMethodException’ occurred in mscorlib.dll but was not handled in user code

Additional information: No parameterless constructor defined for this object.


Possible Solution:

If defining your gridview’s data source in the ASP.NET markup. Make sure the code behind’s constructor is public and has the right visibility.

In my case, Resharper suggested making the constructor protected, which this problem.