473,395 Members | 1,535 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,395 software developers and data experts.

My label text in site.master is changing, but problem

Hi!
My label in site.master is changing, but when i am navigating in different page. Its simply disappear and gone.
I am taking username and password in login page. then i am validating those page from my database. After that i am changing my label text in my site.master page with "Welcome" message. But when i am clicking on my menu item to navigate in different page. It disappear. can somebody help me. Because i want that label.text intact until user click logout button.please help me..
Attached Images
File Type: jpg Problem01.jpg (13.6 KB, 170 views)
File Type: jpg Problem02.jpg (14.5 KB, 136 views)
File Type: jpg problem03.jpg (56.4 KB, 201 views)
Apr 14 '14 #1
1 1321
Frinavale
9,735 Expert Mod 8TB
In your master page C# or VB.NET code, you always need to set the text of the label depending on whether or not the user is logged in. You can't just set this once. Maybe put it in the page load event handling code.

-Frinny
Apr 15 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Mike Johnson | last post by:
I'm new to VB.Net and programming. I just brought VB.Net Standard I'm working on a small program for work. I've created two forms the first is named Forms1 and the second is named SettingsForm on...
3
by: Mike Johnson | last post by:
Thanks for the quick responses. I'm having trouble understanding. I've included the code I using. perhaps someone can tell me what I'm doing wrong. My original question was, I'm new to VB.Net...
4
by: Allen Smith | last post by:
When the user clicks the download button I am changing the text of a label control and do download operation. The download part of the code makes the application appears like stop responding. ...
3
by: ASP Developer | last post by:
I have a variety of pages that use a master page. For some reason when I attempt to copy any of the label text on the screen it seems to highlight most of the screen randomly and I can't simply...
0
by: VorTechS | last post by:
I'm having a problem with an inherited label, applying text rotation to aligned text. If text rotation is applied to the aligned text, the alignment goes 'nuts'. I can find no logic to what is...
12
by: vbnewbie | last post by:
I am having problems accessing properties of dynamically generated objects in VB2005. Can someone please help? In a nutshell: My app creates an equal number of checkboxes and labels that share the...
0
by: Justin Meese | last post by:
I have a VB.NET application where I would like to have the code behind set a label on the master page with some information. I have tried to expose the label in a public property in my master page,...
4
by: hkw9105 | last post by:
Hi, I am trying to change label text on button click, the way label.text = "string" work well before but not in this case. I tried to put this on other method and it work..it is just not working...
10
by: robertybob | last post by:
Hi I have a form, say Form1, that contains Label1 and a subroutine doText() that loads text into Label1. Public Sub doText() Label1.Text = "Hello" End Sub
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:
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
BarryA
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...
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
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...
0
Oralloy
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,...
0
jinu1996
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.