See full discussion here
Base
public myClass() : base()
Overload
class myClass
{
public myClass()
{
//No parameters
}
public myClass(string param1) : this()
{
//No parameters will be called before me!
}
}
This blog is a record of some development issues I have faced. There may be something of use!
See full discussion here
public myClass() : base()
class myClass
{
public myClass()
{
//No parameters
}
public myClass(string param1) : this()
{
//No parameters will be called before me!
}
}
Getting huge amount of "A first chance exception" messages when running web-site under IDE for first time (after a rebuild).
These were being reported because programmer had turned off 'Just my code' within Tools->Options->Debugging->General
Date format is 'YYYY-MM-DD'
e.g.
select * from orders where Date='2008-04-22'
from Activity a where a.Date between '2008-01-01' and '2008-02-29'
Had apparently strange goings on with IIS & Asp.Net.
Delivered new mylibrary.dll. User renamed mylibrary.dll to "old mylibrary.dll", copied in new mylibrary.dll. Got error saying 'old mylibrary.dll' could not be loaded into manifest.
After deleting the 'old mylibrary.dll' files the web site loaded ok.
After a discussion we came to the conclusion that IIS loads all the DLL files in the BIN directory irrespective of references within Web.Config.
The site then throws exception when two dlls contain the same Assembly-name - this also makes sense.
So what appeared to be strange behaviour came down to not thinking logically!
There is a bug with the AJAX calendar extender in that the style of the popup calendar are not applied if the text-box /calendar extender are hidden when a page first loads.
e.g. Panel with Details on is only shown once valid record found; if the first calendar extender on the page is within this hidden Details panel the calendar will not be displayed correctly when Details does become visible:
To fix this have a hidden calendar extender at top of the page:
<!-- Workaround for Calendar not displaying correctly - if hidden when page first loads -->
<div style="display: none"><asp:TextBox runat="server" ID="textbox1" /><cc1:CalendarExtender ID="ceTextBox1" runat="server" TargetControlID="textbox1" /></div>
Calendar is then displayed correctly: