Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to AJAX
Set div to the vertical middle of the browser window
Our application shows custom HTML confirm message box, that we wanted to locate in the middle of the browser window. If I would start from the scratch, I would use Ajax Control Toolkit ModalPopup However, because the proprietary code to show div has been already written, I wanted just to set vertical position of the div. I've created a function based on code from AlwaysVisibleControlExtende... Initially it didn't work, because common.JS getClientBounds : function() returned 0 clientHeight and clientWidth. ......

Posted On Friday, September 5, 2008 1:09 PM

How to detect Debug mode in JavaScript
I've asked a question on forum: AJAX ScriptManager Class has a IsDebuggingEnabled property, that is available in server code. I want in my client Javascript function to determine, do I running debug or release mode. MS Online Community Support suggested : You can create a hidden field to the page, then, check the IsDebuggingEnabled property of ScriptManager , if it is true, set the value of the hidden field to "true", else, false. It will work, but I expected the method available in some AJAX client ......

Posted On Wednesday, February 13, 2008 1:10 AM

How to use different client AJAX UpdatePanel error handling for different UpdatePanels?
I have an ASP.NET AJAX page with several UpdatePanels. If error occured during asyncronous postback, I want to ignore it for some panels and show errors for other updatepanels. The samples that I found(like Customizing Error Handling for ASP.NET UpdatePanel Controls.) suggested to call add_endRequest and from EndRequestEventArgs use error Property . Dave Ward suggested that In EndRequest, you can check sender._panelsToRefreshIDs. It’s a JavaScript array of UpdatePanel IDs being updated in the partial ......

Posted On Saturday, February 9, 2008 11:51 AM

Problems after Installing VS 2008 side-by-side with VS 2005
I have Visual Studio 2005 environment and decided to try VS 2008. I've read some articles(e.g. here) about site-by-site installation and had an impression, that making a copy of solution is enough. NOTE: If you are using TFS, before conversion of the existing solution, obtain and install Team Explorer Client . VS 2005 is using TFS Source Control, but VS 2008 shows no Source Control plug-in installed. . After installing of VS 2008 I've copied my existing solution as MySolution2008 and opened it in ......

Posted On Monday, January 28, 2008 11:59 AM

ASP.Net Ajax UpdatePanel links.
I've tried to investigate slow load of UpdatePanel. It works quick enough in FireFox, slow in IE 7 and even more slower in IE6. I found a few related links: In production make sure that <compilation debug="false"> is in your web.config(tip from Delayed load with an UpdatePanel and similar post. The top 10 mistakes when using AJAX recommends do not put everything in a UpdatePanel. "Are you making these 3 common ASP.NET AJAX mistakes?" suggest to use ......

Posted On Monday, May 7, 2007 12:59 AM

Copyright © Michael Freidgeim | Powered by: