Home / ASP.NET Weblogs

January 2007 - Posts

Posted to:
by: 
01-31-2007, 6:29 PM

How to work around the "Access denied" cross-domain frame issue in ASP.NET Ajax 1.0

Some users have run into an issue when hosting ASP.NET Ajax applications in a frame or iframe that's in a different domain from the top-level window. If you try to do that and browse to the page using IE, you'll receive an "access denied" error client-side any time a DOM event is raised in the frame. The code that's responsible for that is Sys.UI.getLocation . This is a tricky piece of code that determines the pixel coordinates of a DOM element relative to the top-left corner of the page, so that an absolutely positioned child of the body using these coordinates would exactly cover the element you measured. This is useful for drag & drop, popup scenarios like auto-complete and when an event is raised to get mouse coordinates...
Posted to:
by: 
01-31-2007, 8:23 AM

CollapsePanel Extender FLASHING on Page Load ?

This was really bugging me and I guess others as well. In the forums they thought it was a bug in IE6 ( http://forums.asp.net/thread/1488886.aspx ), but I was getting the same behavior in IE6, and Firefox Setting the Height in the content panel (the collapsable area) to 0 solved the problem for me in IE and Firefox. < asp : Panel ID ="ContentPanel" runat ="server" CssClass ="collapsePanel" Height ="0"> Anyone who still has IE6 installed, let me kow if you still get the panel “flash” on page load. Read More...
Posted to:
by: 
01-31-2007, 6:30 AM

Introduction to the PopupControl Extender

Check out this cool article by Brian Mains. In addition to the titles topic it contains a good description of extender controls. Introduction to the PopupControl Extender . Read More...
Posted to:

Molly Holzschlag, IE Web Casts &amp; IIS DownloadCENTER

Molly I'm really excited about the announcement we made on the IE Blog earlier today. Molly Holzschlag has joined forces with the IE team. I think this is a great win for the web design world, Moll and Microsoft. When Molly and I first started talking about what her role would entail, I explained to her I wanted to hire Molly, not "Microsoft Molly", but Molly. She isn't going out and pimping things, and she's not going to be telling you things she doesn't believe in, she still be out working to make the web a happier place for all web designers and developers to be. When we first brought Molly on, she and I worked and tried to come up with a good set of projects for her to work on. As you might have read on the IE Blog, there are two major components...
Posted to:
by: 
01-30-2007, 1:41 PM

ASP.NET AJAX 1.0 Source Code Released

As I mentioned last week when ASP.NET AJAX 1.0 shipped , we are publishing the full source code to the ASP.NET AJAX product. This includes the source to the server-side ASP.NET integration (including the UpdatePanel, UpdateProgress, and ScriptManager controls, as well as the source to the Network Serialization code). The client-side ASP.NET AJAX JavaScript library (which we also call the "Microsoft AJAX Library") is being released under the Microsoft Permissive License (Ms-PL) . This grants developers the right to freely customize/modify the library, as well as to redistribute the derivative versions of the JavaScript library for both commercial and non-commercial purposes. The code for the server-side ASP.NET AJAX 1.0 implementation was released...
Posted to:
by: 
01-30-2007, 4:26 AM

Now On Demand - How Hackers Reverse Engineer and Exploit an ASP.NET AJAX Application

The Live From Redmond Webcast … How Hackers Reverse Engineer and Exploit an ASP.NET AJAX Application is now available for on-demand viewing. Cick HERE to watch the recording. Read More...
Posted to:
by: 
01-30-2007, 4:15 AM

ON DEMAND - Live From Redmond: AJAX Security Basics

Live From Redmond: AJAX Security Basics is now avaliable on-demand. Click HERE to watch. Read More...
Posted to:
by: 
01-30-2007, 12:35 AM

Great new Book on ClickOnce

I just got a copy of Brian Noyes book on ClickOnce Smart Client Deployment with ClickOnce: Deploying Windows Forms Applications with ClickOnce While I have not had a chance to dig into it yet, I did ask around the team and a bunch of folks on the WinForms and ClickOnce product teams reviewed it and provided feedback. They all said it was an excellent source of detailed and real world information. Have any of you looked at it? What do you think? Read More...
Filed under: ,
Posted to:
by: 
01-30-2007, 12:23 AM

PodCast about ASP.NET AJAX

I got the chance to do a Podcast with Wally McClure. You can get to it here . Read More...
Filed under:
Posted to:
by: 
01-30-2007, 12:21 AM

What is your Allocation Number?

Rico is doing some very interesting work to get some sort of idea about the allocation overhead of using different parts of the .NET Framework. As he says, this is a fairly rough approximation done just with static analysis, but it does give you something to chew on. Rico starts by focusing on making a good hashcode function… I thought I'd look at properties. As you know the Framework Design Guidelines encourages you to make simple properties that are logically just fields . There is a reasonable assumption that the get accessor of a property would not have to allocate any data. The good news is the vast majority of these had 0 or 1 allocation. The thing to watch out for is that some of the worst offenders are properties, with 15 with a score...

1 2 3 4 5 Next > ... Last »

Archives