By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,828 Members | 801 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,828 IT Pros & Developers. It's quick & easy.

INamingContainer and the LinkButton...

P: n/a
(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 (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$bt nShowRun','')">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,
Jo Inferis

random ASP/SQL/Web geek....
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
I am newbie to, even i am using the geekyfrog's templating control. Problem with the control is it isn't working if i create control with the following classes provided by geeky without changing anything


i just complied the above classes into assembly "GeekyFrog.Web.Templating.dll" and placed my version into the bin directory, whats happening here is, webform doesn't recognize templatepath property if i place .ascx filename in the tag. If I try to intialize the property in a code behid file it works.
Can you please help me if i am missing something.


************************************************** ********************
Sent via Fuzzy Software @
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.