That’s ok, BigCommerce, I love to wait – even though I don’t understand the concept of making people wait before you show them the search results.


When an asp:Imagebutton control is used with a client-side event, for instance to show a popup window, and the control is not in an asp:UpdatePanel, the client-side event does not complete because the ImageButton initiates a full post-back. In the browser, for instance with a ShadowBox popping up, it appears that the event fired and the popup starts to render, but then it disappears as the post-back response arrives. Again, this does not seem to be a problem with an asp:UpdatePanel. Today, I found that one of my ImageButtons no longer worked because I had to remove the UpdatePanel around it.
Here is the markup for my broken button:
function popBox(url, x, y)
{
Shadowbox.open({
content: url,
player: "iframe",
height: y,
width: x,
options: { modal: true }
});
}
<asp:ImageButton ID="btn" SkinID="btn" runat="server" CausesValidation="false" PostBackUrl="" />
And the code-behind:
btn.OnClientClick = "javascript:popBox('Popup.aspx?....', 790, 550);";
The PostBackUrl attribute is empty, because I don’t want to post back at all, I just want to pop up a ShadowBox. I just wanted to make sure that explicitely clearing it does not prevent the post-back (it does not, so it is not needed).
There are 2 ways to fix this problem. One is to replace the asp:ImageButton control with an asp:Image. The latter does not post back at all, but we need to change the code-behind as follows to make it work:
btn.Attributes.Add("onclick", "javascript:popBox('Popup.aspx?....', 790, 550);");
The other fix is simpler and better. Keep the ImageButton control, but change the Javascript in the Onclick event handler (this is what ASP.Net generates for OnClientClick) to return ‘false’ by default:
btn.OnClientClick = "javascript:popBox('Popup.aspx?....', 790, 550);return false;";
Now the client-side event handler can safely finish his work without being interrupted by an unwanted postback.
I frequently run into this very annoying bug in IE. I configured the browser to ask before writing cookies of unknown sites. When I hit a site that has both a Javascript error and a cookie warning popping up, there is a deadlock situation, since neither of the dialog boxes responds to input. The only way to get out of this is to kill the browser in Task Manager. My Google searches for IE, deadlock, cookie, error, and any combinations thereof, did not reveal much. Is it just me?
A couple of days ago I received a phishing email involving two Russian sites that asked me to reactivate my Paypal account. Dutyfully I went to the Paypal website and found a link labeled “Security Center”. I clicked on it, and the page that was served contained what I was looking for – in a little box on the bottom left titled “Take Action” there was a link “Report fake (spoof) websites“. That got me to the following email form: Continue reading →
Sonett77.com – Electronic music radio (Germany)
Play.fm – DJ sessions (Austria)
Hitradio.de (Germany) – Web radio with special interest streams
Rautemusik.fm – Web radio (Germany)
Quu.fm (Germany)
Byte.fm (Germany) – Online radio with a journalistic touch
Musicovery.com (France) - ”Interactive” web readio
One.fm (USA) – The music starts here
Di.fm (USA) – Digitally imported
Last.fm (USA) – Largest music catalog online
Sky.fm (USA) – Up to 96k free channels, premium streams
Deezer.com (France) – Music, but an otherwise blank homepage
RadioParadise.com (USA) – Listener supported
The effectiveness of black-listing mail servers is questionable. The overall spam volume does not appear to be impacted and keeps going up. The argument that the amount of spam would rise faster without blacklisting is nonsense. Blacklisting affects a very small percentage of emails that are in a gray zone between spam and ham, such as emails that I send to a personal mailing list with 50 members.
The large professional spammers probably only laugh about blacklisting efforts. With botnets distributed worldwide to millions of computers, there is no longer a need to rely on individual senders.
So why do big players like GoDaddy still engage in email blacklisting? One side effect of large providers blocking the IP addresses of small providers is that they are hurting the small providers’ business. Customers are unhappy, and since there is no solution for the small provider to permanently get their mail servers unblocked by the large providers, customers will eventually move their account to the large provider.
Blacklisting of email servers hurts the competition in the provider market. It is a tool that drives small providers out of the market, and will lead to a consolidation that is not good for consumers.
The Business Intelligence Showcase demonstrates our expertise with Microsoft’s business intelligence application suite. These technologies include the SQL Server database, Analysis Services, and Reporting Services. Recently added to the stack was the .Net chart control, a very powerful component that greatly improves productivity for producing visually appealing charts and diagrams on web sites and Windows Forms applications.
The initial release of the showcase application can be accessed on the pod development server.
There are currently two separate demos:
For the 2nd time in less than a week, I just spent 8 hours cleaning up my PC after a virus infection and doing some forensic analysis about where it came from. What I found gave me a bad headache.
Last night, in between compiling and testing, I read an article on Yahoo News about Obama’s science advisor and his strategies for fighting climate change. I am not giving you a link here. Then my virus scanner popped up an alert: Continue reading →
I host this blog and a few other personal sites at WebHostingBuzz (WHB), all on Linux. I host the site for the Austrian-American club at Godaddy.com (ASP). Unfortunately, I host the mailing list for the Austrian-American club at WHB as well, requiring frequent emails sent from one domain to the other.
We are paying Godaddy for extra space for two email accounts that are in use there. I have experienced repeatedly that emails sent from the WebHostingBuzz relays to a Godaddy account bounce, with the results shown here: Continue reading →