Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8400107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T21:28:45+00:00 2026-06-09T21:28:45+00:00

I have a <ASP:Label ID=lblDashboardLink runat=server /> located on a MasterPage named MasterBase .

  • 0

I have a <ASP:Label ID="lblDashboardLink" runat="server" /> located on a MasterPage named MasterBase.

From a page using this MasterPage, how can I access this label or any other items I need?

'VB.NET
'(From the child .aspx page)
Master.FindControl("lblDashboardLink"). <-- but don't see an option to change URL

I’ve been googling and I keep finding this same method, but it’s focusing more on User Controls it looks like… Can anyone guide me in the right direction here?? I’m so used to MVC!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T21:28:47+00:00Added an answer on June 9, 2026 at 9:28 pm

    Master.FindControl(“lblDashboardLink”) always returns a Control (see MSDN). So all you have to do is cast it to Label. Then you may access any properties of a Label. Anyway there is no URL property in a label…

    CType(Master.FindControl("lblDashboardLink"), Label).Text = "your value"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this label control in my web page <asp:Label ID=Label1 runat=server Text=test></asp:Label> And
In an ASP.NET page I have this: <asp:Label ID=MyDateTimeLabel runat=server Text='<%# Eval(MyDateTime) %>' />
I have this control <asp:Label ID=lblName runat=server Text=My Name CssClass=required regular /> I want
I have a Label on a .Net page. <asp:Label ID=Label5 runat=server></asp:Label> The control has
I have this label inside a repeater <asp:Label id=lblsub runat=server text=sdds /> I am
I have a very simple code snitppet that looks like this: <asp:Label Text=$Name$ runat=server
In asp.net I have this label: <asp:Label ID=Label3 runat=server Text=0 visible='<%# visibleCredits() %>'></asp:Label> In
I Have a asp label <asp:Label ID=lblstarUKRollNo Visible=false runat=server Text=* CssClass=star></asp:Label> and i want
I have an ASP.NET website containing the following <asp:UpdatePanel ID=UpdatePanel1 runat=server > <ContentTemplate> <asp:Label
I have the following piece of asp: <asp:ValidationSummary ID=RegisterUserValidationSummary runat=server CssClass=failureNotification ValidationGroup=RegisterUserValidationGroup/> ... <asp:Label

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.