www.codinghillbilly.com   kyle.baley.org  Subscribe / Contact
 
 
 
 
LATEST POSTS
Monday, July 03, 2006

Changing the title of the series slightly so as not to confuse Googlers who think that I might actually get a working extender out of this. So to clarify, I'm trying to build an extender and reporting back on my trials and tribulations.

So on the advice of Ted Glaza, I tried creating my own Sys.UI.Control within my code. I added the following line to the initialize call for my extender:

_collapsePanel = new Sys.UI.Control( _collapsePanelID );

Re-compile because even though this is javascript, you need to do this with Atlas. Probably something to do with registering it with ScriptManager but I'm not one to dwell on reasons for implementation details, just on implementation details themselves. Load the page and voila!

Again this highlights some issues that still remain when working with Atlas. If I choose to debug, I get a page that's too much trouble to screen capture at a decent size and include here. It's a line somewhere in the Atlas javascript that calls the initialize function on my extender. It's clearly the new line causing the error but the debugger doesn't delve deep enough for me to see where.

There's more. When I try to leave the page, I also get the following:

No idea what to make of that. As you probably suspect, there is no mention of displayMode in any of my code. So how do I track this down? And if I do track this down and it's in Atlas code where I think it is, what do I do about it?

To be clear, I know the bug is in my code, not in the Atlas code. What I mean by that last question is: If I can even find which line is causing the error, what do I do to fix it?

Stay tuned, kiddies!

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Copyright © 2010 Kyle Baley. All rights reserved.
 
CATEGORIES
.NET General (18) alt.net (4) altnetconf (9) ASP.NET AJAX (40) ASP.NET MVC (29) Bahamas (1) Bahanet (9) BDD (1) Brownfield (18) Career (9) Castle (1) Code coverage (1) Coding Style (6) Communication (1) Community (18) Conscientious Coding (34) Continuous Integration (11) dasBlog (12) Development (16) DevTeach (4) Domain (2) Environment (4) Estimating (1) Featured (14) Flamingo (10) Games (1) Google App Engine (2) GWT (5) Hardware (6) Java (1) Javascript (7) Linq (2) Livelink (6) Lucene.NET (2) MbUnit (1) Metrics (1) Miscellaneous (24) Mocking (4) NAnt (4) NHibernate (12) NInject (1) Office (3) Office Development (6) Open Rasta (1) Patterns (5) Presenting (13) Professional Development (15) Refactoring (10) ReSharper (11) REST (2) S#arp Architecture (5) Security (3) Software (11) Sundry (18) TDD (19) Tools (21) User Interface (5) Utilities (8) Visual Studio (8) VSTO (1) Web development (12) Windows (3) Working Remotely (16) Workplace (3) Writing (4)
 
LATEST POSTS
 
POPULAR POSTS
 
 
ARCHIVE