473,387 Members | 1,300 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

INamingContainer and the LinkButton...

(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$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
1 1201
I am newbie to asp.net, 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

NamingPlaceHolder.vb
PageBody.vb
PageBodyBase.vb
PageBodyDesigner.vb
PageTemplate.vb
PageTemplateBase.vb

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.

Thanks,
Ramu

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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Fresh Air Rider | last post by:
Hello Could anyone please explain how I can pass more than one arguement/parameter value to a function using <asp:linkbutton> or is this a major shortfall of the language ? Consider the...
0
by: Solomon Shaffer | last post by:
This is very interesting - and odd. I have a number of LinkButtons that are created in a custom data grid that I created. The purpose of the LinkButtons is to provide alphabetical filtering...
0
by: Alex Stevens | last post by:
Hi All, I have built a composite user web control and I've NOT implemented INamingContainer. It does implement IPostBackDataHandler to retrieve information entered into the controls when the...
10
by: Natan | last post by:
Is there any possibility to make an ASCX be loaded in an object that does not implement INamingContainer, but mantain the funcionality of events and etc? I know i can`t do this using the current...
3
by: gemel | last post by:
Interface definitions do no not contain implementation, only signtures. That is there real purpose. Here thow we have an Inteface which does not have any implementation code but it has to be...
2
by: Sam Samnah | last post by:
With INamingContainer ChildControl UniqueIDs or ClientIDs are Represented similar to the following: ParentControlID:childControlID Now my problem is the colon ":" used to sperate the Parent...
1
by: Sam Samnah | last post by:
I'm having a hard time with INamingContainer. I'm building a composite control that has a implements an HtmlGenericControl Div control and an HtmlInputHidden control the Generic control works...
2
by: Martin Robins | last post by:
I have a situation where I need to specify the names for some controls without the parent INamingContainer getting in the way - this is because I am using 2 hidden fields to pass data to another...
4
by: TS | last post by:
Steven, i lost this message conversation from outlook express and made a post online (see last one on this page). Please answer it as it hasn't been yet. thanks The clientID of our controls...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.