J
Jo Inferis
(Disclaimer : I'm pretty new to .NET, so please forgive me if this isn't
100% clear)
I know Master pages are coming, but until then I've implemented a version of
the page templating solution at www.geekyfrog.com (thanks, btw).
Within it this basically combines the PlaceHolder class and INamingContainer
to give sub controls their own namespace (check the site for a better
explanation - like I said, I'm still figuring a lot of this out!)
I wanted to implement some further navigation within the global template and
was toying with the use of a series of LinkButton's to control
this....however, within the global template, the JScript which ASP.NET
generates is totally bogus. Basically, a LinkButton comes out like this :
<a id = "_PageTemplate_nphBody_btnShowRun"
href =
"javascript:__doPostBack('_PageTemplate$nphBody$btnShowRun','')">Run</a>
The id passed in the __doPostBack function appears to have gained $'s in
place of underscores. This is especially confusing since the underscore
isn't (afaik) a character that needs any kind of escaping within a JScript
string (there is one at the beginning of the string anyway!).
Can anyone shed any light on this? :/
thanks in advance,
100% clear)
I know Master pages are coming, but until then I've implemented a version of
the page templating solution at www.geekyfrog.com (thanks, btw).
Within it this basically combines the PlaceHolder class and INamingContainer
to give sub controls their own namespace (check the site for a better
explanation - like I said, I'm still figuring a lot of this out!)
I wanted to implement some further navigation within the global template and
was toying with the use of a series of LinkButton's to control
this....however, within the global template, the JScript which ASP.NET
generates is totally bogus. Basically, a LinkButton comes out like this :
<a id = "_PageTemplate_nphBody_btnShowRun"
href =
"javascript:__doPostBack('_PageTemplate$nphBody$btnShowRun','')">Run</a>
The id passed in the __doPostBack function appears to have gained $'s in
place of underscores. This is especially confusing since the underscore
isn't (afaik) a character that needs any kind of escaping within a JScript
string (there is one at the beginning of the string anyway!).
Can anyone shed any light on this? :/
thanks in advance,