Hi,
if i use a base class for my pages PageBase inherits system.web.page
can i control the title of my inheriting pages without midifying the pages
directly or adding a runat=server to the title element?
TIA, z. 4 1126
I dont believe so, not until Master pages with ver 2.0
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"z f" <zi**@info-scope.co.il> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... Hi, if i use a base class for my pages PageBase inherits system.web.page can i control the title of my inheriting pages without midifying the pages directly or adding a runat=server to the title element?
TIA, z.
No soup for you!
--
MY ASP.Net tutorials http://www.openmymind.net/
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:%2*****************@tk2msftngp13.phx.gbl... I dont believe so, not until Master pages with ver 2.0
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"z f" <zi**@info-scope.co.il> wrote in message news:%2****************@TK2MSFTNGP11.phx.gbl... Hi, if i use a base class for my pages PageBase inherits system.web.page can i control the title of my inheriting pages without midifying the
pages directly or adding a runat=server to the title element?
TIA, z.
sure, walk the controls collection of the page, inpect the literal controls
inner html looking for <title>. replace the control contents with what you
want. you may have to add the <head> (or even the head if it was not on the
page).
basically the the stuff on the page before the <form> (and after </form>) is
in literal controls, so its easy to modifiy.
-- bruce (sqlwork.com)
"z f" <zi**@info-scope.co.il> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
| Hi,
| if i use a base class for my pages PageBase inherits system.web.page
| can i control the title of my inheriting pages without midifying the pages
| directly or adding a runat=server to the title element?
|
| TIA, z.
|
| This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Greg Scharlemann |
last post by:
Given some recent success on a simple form validation (mainly due to
the kind folks in this forum), I've tried to tackle something a bit
more difficult. I'm pulling data down from a database and...
|
by: Ben Mann |
last post by:
Hi there,
I am starting on an ASP .Net project. I have some examples of using a base
class for pages to inherit from to allow additional properties to be used by
default. This seems like a good...
|
by: z f |
last post by:
the HTML designer for aspx pages don't work is the page inherits from a
custom pageBase.
any solution?
TIA.
|
by: Pablo |
last post by:
I do not know like changing the color of bottom of: a
menu, of the bar of the title of form, messagebox?
|
by: lprisr |
last post by:
Hi,
I have double byte characters in the content that I am returning using Web
Services. However, the encoding in the xml file returned by Web Services is
utf-8 and I am unable to read the...
|
by: Yuk Tang |
last post by:
Leading on from a recent topic, "How does child class access parent's
variables", I would like to ask, what's the most elegant way of
changing a parent/grandparent/great-grandparent's property?
...
|
by: rbinington |
last post by:
Hi,
I am trying to write a DNN module that has the ability to insert articles into an article repository. I want the users to be able to move pages around and enter text into the FCKEditor. I...
|
by: tolkienarda |
last post by:
hi all
I am working on a php driven database program for a literacy program, it will allow them to keep track of classes and students, the part i am strugling with is adding new classes, the...
|
by: sgxbytes |
last post by:
Hi,
My html has
<Table style="year-button-archive" width="60%" >
<tr>
<td class="gold" >
<a title="year">By Year:</a>
<td class="gold">
<a id = "2008"...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |