Finding page Components

Posted on: Wed Jul 16 15:50:50 -0700 2008. Updated on: Wed Jul 16 15:50:50 -0700 2008.
Category: Asp .Net AJAX / Javascript / CSS

The asp net AJAX library has some useful things built into it. One thing I found I needed was how to find object components or page dotnet controls.

By page objects I mean javascript objects registered like this:

var app = Sys.Application;
			app.add_load(applicationLoadHandler);

function applicationLoadHandler(sender, args) {
$create(MsdnMag.Timer, 
		            {enabled:true, id:"SULTimer", timeout:60000}, 
		            {tick:OnTick}, null, null);
}

To find them you can do something like in this example:

if(typeof(this._components["SULTimer"]) !== 'undefined')
{
// then the object SULTimer exists
}

Comments:

Thu Oct 23 22:08:09 -0700 2008
zkzxrvfd http://jlrrbics.com wvowlyli mycnejuv <a href="http://qxmzzlum.com">thmdamql</a> [URL=http://jokxbnln.com]xmglsyln[/URL]


---------------------------------------------------

Thu Oct 23 22:09:54 -0700 2008
<a href="http://itgchrpy.com">vphdmdja</a> ignsnrxv http://ijovozbs.com sopwvgdk xxtimavx [URL=http://lvvoinwj.com]iyfpdxyk[/URL]


---------------------------------------------------

Add a Comment:

simple_captcha.jpg
(human authentication)


Ads

Categories

About

Random foliage

This website is meant to be a reference for ASP Dot Net developers. The entries are a compilation of things I've figured out how to do and that I deem useful to keep of track for future reference. Assumptions: web development with: C Sharp (vb sucks), visual studio 05/08, .net 3.5, meant for programmers. Written by: James Reategui.