•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 391,555 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,625 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 5607 | Replies: 8 | Solved
![]() |
Well I worked it out, here is how it's done.
The following is the html code.
Then the vb .net code:
Anyways, just thought I'd share my findings with you guys.
Slade
The following is the html code.
<TITLE ID=pageTitle RUNAT=server> </TITLE>
Then the vb .net code:
Public Class MyPage Inherits System.Web.UI.Page Protected pageTitle As System.Web.UI.HtmlControls.HtmlGenericControl Private Sub Page_Load(ByVal sender As System.Object, _ByVal e As System.EventArgs) Handles MyBase.Load pageTitle.InnerText = "Dynamic page Title" End Sub End Class
Anyways, just thought I'd share my findings with you guys.
Slade
Last edited by slade : May 31st, 2004 at 10:02 pm. Reason: Editing errors
Formerly known as Slade.
Nice work Slade, I may actually put that to some use!
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
I have been working with this code for a while now... after a few builds there is an error. What actually happens is in the aspx code, the "runat = server" disappears. This is more than likely because it isn't included in the <forms>tag</forms>
Anyways, just a little bit of extra info.
Slade
Anyways, just a little bit of extra info.
Slade
Formerly known as Slade.
No, actually it's related to Visual Studio .NET's web page designer. When you are on the WYSIWYG ("Design") view of the page, it reformats your code, and sometimes screws up on tags. There is a setting to control what view you get when you double click on a file in the project window; I have it going to HTML View, which there is no problem with (I rarely use the designer for Web Development).
-Ryan Hoffman
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
Yup. It works for every tag
.
. -Ryan Hoffman
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
•
•
•
•
Originally Posted by Tekmaven™
No, actually it's related to Visual Studio .NET's web page designer. When you are on the WYSIWYG ("Design") view of the page, it reformats your code, and sometimes screws up on tags. There is a setting to control what view you get when you double click on a file in the project window; I have it going to HTML View, which there is no problem with (I rarely use the designer for Web Development).
Lol I don't use it either, it's such a pain. I usually just build my project and view it in my browsers every now and then to make sure it's all ok
. Formerly known as Slade.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
.net .net framework 3.0 access ajax asp code combo css custom data developer development div dom dreamweaver dropdownlist feed firefox google checkout google checkout vat html html api javascript microsoft module msdn net news office reader reuse skin software sql symantec tables theme vista w3c weather web windows workflow wysiwyg xml xoap
- IE 6 start page getting changed to about:blank (Web Browsers)
Other Threads in the ASP.NET Forum
- Previous Thread: Posting values to a payment gateway without using a form
- Next Thread: Working with SQL's Text data type


thanks Paladine, glad I could help!
Linear Mode