CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 2/24/2005 6:52:59 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 15 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
jrandomuser
Asp.Net User
This one is a fun complicated one...2/24/2005 6:52:59 PM

0/0

I have a Composite control. In addition to adding some controls to the page it also emits a ScriptBlock. The script block needs the objects within the composite control, so it only works if it is rendered AFTER the controls in my composite control have been rendered. If you do a regular registerclientscriptblock it will register the block BEFORE it has rendered the controls. This generates an error because the controls dont exist that are being referenced by the Javascript.

HOW do I control WHERE the Javascript gets emitted on my page?????
http://www.brightideashosting.com



Those who say it can not be done, should not interrupt those who are doing it!
jrandomuser
Asp.Net User
Re: This one is a fun complicated one...2/24/2005 7:10:11 PM

0/0

I dont know if this is the appropriate way but... I added a label and had the label added last to the composite control. the labels text property is the JS I wanted to emit.
http://www.brightideashosting.com



Those who say it can not be done, should not interrupt those who are doing it!
imagemaker
Asp.Net User
Re: This one is a fun complicated one...2/24/2005 8:44:27 PM

0/0

Use Page.RegisterStartupScript as it places the script just before the closing tag of the form element and thus after your user/composite controls.
Bill, WESNet Designs
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Teach Yourself Electricity and Electronics Authors: Stan Gibilisco, Pages: 698, Published: 2006
Odyssey Authors: Homer, Stanley Lombardo, Sheila Murnaghan, Pages: 414, Published: 2000
Merriam-Webster's Collegiate Dictionary Authors: Merriam-Webster, Inc, Pages: 1663, Published: 2003
The Tragedy of King Lear: The New Cambridge Shakespeare Authors: William Shakespeare, Jay L. Halio, Pages: 314, Published: 2005
Italy Authors: Damien Simonis, Duncan Garwood, Paula Hardy, Alex Leviton, Josephine Quintero, Miles Roddis, Richard Watkins, Pages: 924, Published: 2006
The Uses of Argument Authors: Stephen Edelston Toulmin, Pages: 247, Published: 2003
The Iliad Authors: Homer, Robert Fitzgerald, Pages: 490, Published: 1998
Crossing Boundaries: Postmodern Travel Literature Authors: Alison Russell, Pages: 231, Published: 2000
Management: Tasks, Responsibilities, Practices Authors: Peter F. Drucker, Pages: 839, Published: 2008
The Adventures of Sherlock Holmes: Selected Stories Authors: Arthur Conan Doyle, Sidney Paget, Pages: 446, Published: 1992

Web:
Pay attention, this one's complicated | dooce ® Aug 19, 2008 ... One of the worst things about my apartment (next to the ..... and obvious inability to this of fun adjectives to describe boiling water. ...
Our Adoption Journey: China's Very Complicated One Child Policy China's Very Complicated One Child Policy. There has been a lot of discussion and various news articles recently published about the one child policy, ...
Brockville Recorder and Times - Ontario, CA Home · News · Columnists; Bisphenol A issue is a complicated one. Bisphenol A issue is a complicated one. Posted By Rod Charlton. Posted 16 days ago ...
Safes: A Safe So Complicated That No One Will Open It, Ever Oct 8, 2008 ... We think the Band Saw Safe is as charming as safes come with various arrows rotating to confound would-be thieves.
MySpace.com - Jess{one complicated girl} - 24 - Female ... MySpace profile for Jess{one complicated girl} with pictures, videos, personal blog, ... Sep 20 2008 2:17 AM ready to have fun tomorrow?? huh? huh? ...
timesofmalta.com - Divorce: Need it be so complicated? (1) Aug 19, 2008 ... Divorce: Need it be so complicated? (1). Karl Consiglio, Paceville. It's strange here in Malta - on the one hand we want to be a democracy, ...
Patent Craziness: Complicated Machine Replaces One Bulb | Gadget ... Jul 3, 2008 ... It's one of the most inspired and ridiculous patent designs we've ever heard: A machine with over 200 different parts whose sole purpose is ...
Hi, this is kind of a complicated one so I'll try and make it ... Legal question: Hi, this is kind of a complicated one so I'll try and make it brief and to the point. My husband and I attempted to purchase a car on.
A Safe So Complicated That No One Will Open It, Ever - Gizmodo ... A Safe So Complicated That No One Will Open It, Ever .... Nothing a good drill and some fun reverse engineering couldn't solve. ...
A Complicated Challenge on One Side; a Single Task on the Other ... Feb 27, 2008 ... There was little evidence that Hillary Rodham Clinton produced the kind of ground-moving moment she needed.

Videos:
Complicated - One Piece This is a semi-old vid I made a while ago. It was pretty much something I could upload when I didn't have anything ready yet. I don't think you guys ...
Indian Food Made Easy 1 Indian cuisine is a national favourite but, when it comes to cooking it at home, it can seem rather complicated and easier to pop to the local take...
A zanessa story series 3 #32 part 1/2 (complicated) yay! i got 2 out in one day part 2 will be out tomorrow =)
Grease You're the one that I want Kathleen complicated song On the Show Grease you're the one that I want, these contestants sang Complicated in front of a live audience and Kathleen Monteleone (Blonde on Left...
Complicated Part 1 Sorry it's late. Miss pop. will come out later today! Comment over 15 to get the next one. Enjoy!
Similarities in songs... Just for fun!!! Are they rip-offs or just coincidences? Plagiarism or not? After the Avril Lavigne / Rubinoos incident, I've done a little research on the Internet ...
Spies, Lies and Secret Weapons It was a fearsome weapon, part missile, and part torpedo. Fired from a submarine, the drag-resistant (super-cavitation) technology made it possible f...
AZS: Complicated Love Ep.32 [Just one last dance] I hope you like it and please comment!! They WILL get back together,...but you have to wait a little bit longer ;D xoxo rachel
Complicated Things made simple Episode One Ever had one of those days, where something is just so friggin' complicated, and you just need someone to make it simple? Well, we are here for you. ...
It's Complicated: Chapter One Its been months since IT had happened. If Joe hadnt been there that night I would be dead right now. But I guess your wondering what IT isthe night ...




Search This Site:










user controls: to load or not to load

question: active frame does not support this element 'asp:listitem' ?

process flow control

anyone use halfpricehosts.com?

dynamic control

applying styles to button

affinity - gate - valueweb

private variables versus viewstate...

do i have to compile my user control?

'[propertyname]' could not be initialized.

control works fine in 1.1, but not 2.0 (viewstate error)

accessing webservice with windows usercontrols in ie

properties of a custom control

web custom control and project time support...please help me!

multiple <@ register lines

proper way to register client-script with a sub-classed validator

knowing items added/removed in itemtemplate in design mode

how to host an asp.net 2.0 website on 2003 server iis 6.0

please help hosting problems.

can't debug designer

strange behavior with bool property on composite control!

accessing a public variable from within an click event

control with auto-generated id could not be located

using components as data sources in design time

get volume serial number

error trying to pxe boot.

the basics of viewstate management in a server control

isa 2004 standard configuration

how is this for colocation costs...

restoring dynamic controls

  Privacy | Contact Us
All Times Are GMT