include_once("page")

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello
sorry about PHP code in the subject of my question :-P

I've created control that uses javascript from separate file and I render
SCRIPT tag before I start render my control.All works OK, but when the
control is used twice the SCRIPT tag is rendered twice too.

Does anybody know, how can I check another instance (first on the Page) of
my control?. I thinking about viewstate or walking through Controls collection
 
use the RegisiterClientScriptBlock(), which was designed for this.

-- bruce (sqlwork.com)
 
Back
Top