Today I was working with the DevExpress AspxHtmlEditor, when I noticed that the toolbar icons were sometimes blurry, but would clear up on mouse over.
Turns out my browser zoom was not set to 100%. Setting the Zoom to 100% resolved the issue.
Today I was working with the DevExpress AspxHtmlEditor, when I noticed that the toolbar icons were sometimes blurry, but would clear up on mouse over.
Turns out my browser zoom was not set to 100%. Setting the Zoom to 100% resolved the issue.
Today I ran into the following error.
System.InvalidOperationException: Script controls may not be registered before PreRender.
In my case I was overriding OnPreRender and forgot to include base.OnPreRender(e)
protected override void OnPreRender(EventArgs e) { base.OnPreRender(e); //Don't forget me. }
Adding in the the call to base solved the issue.
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.
Error:
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.
I was getting this prompt because I installed Productivity Power Tools. To disable this question do the following: