Dynamic PageTitle in ASP.NET

0

Posted in , ,

Recently I came across an issue while developing ASP.NET web application. I want the .aspx page titles to change whenever I browse a certain page on my website. After some research I was able to do this by setting the 'title' as a server control by adding runat="server" inside the tag and utilize the following in your code-behind file:


Protected pageTitle As System.Web.UI.HtmlControls.HtmlGenericControl
'VB
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

pageTitle.InnerText = "Title"

End Sub


If you are using a Masterpage:

use instead Page.Header.Title

Cheers

Read More

Reactions: 

Understanding Your Idiot Manager

0

Posted in ,

A friend recently posted this very interesting link he found in the internet. We're very much thinking about us being in the company and working our way off to the corporate ladder's bigshots. Seems like this article is a hit.

"I don't give a sh*t what you think."

That was the answer I received the very first time I asked for a raise. It was stated matter-of-factly, as if I was just another irrelevant cog in the system.

Well, I wasn't going to stand for this. I took my whopping one year of experience and left this idiot manager behind, confident that any future manager could not be worse.

I couldn't have been more wrong. Turns out he may have not been so bad after all.

Being in these situations inevitably leads one to question a boss's managerial skills. At one point or another in your career, you most likely have had this discussion with a co-worker: "So-and-so is an idiot. Can you believe that moron who never really talks to us tried to give a team pep talk and then thought we'd be thrilled about working all weekend? If he would actually listen to us, we wouldn't have been in that situation."

What I found is that whether it was the PL/1 development project from my early days to the Java/.Net world of today, the curious actions of managers and the ultimate reactions of employees determined the fate of projects and ultimately damaged the long-term success of a team. (Does anyone even code in PL/1 anymore?)

Read More Here...


As you can see, it very much helps to understand our leaders. Now you know! Now you don't!

Read More

Reactions: 

Davao's First Cosplay Documentary

3

Please visit this site -- http://kospurei.multiply.com/

Don't forget to share this to your fellow otakus. (-:

The Documentary "Kospurei" is under the G.A.M.E. Productions. All Rights reserved. (-:

Read More

Reactions: