Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. UpdatePanel Issue

UpdatePanel Issue

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    DotNetXenon
    wrote on last edited by
    #1

    I have all the controls in an in content page in an asp.net web app. Issue is that am not able to access the controls in Master page when I access this way ,(Label)Master.FindControl("lblPageMsg"); Am able to access this way when I dont use Update panel. Any help is appreciated.

    ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

    S 1 Reply Last reply
    0
    • D DotNetXenon

      I have all the controls in an in content page in an asp.net web app. Issue is that am not able to access the controls in Master page when I access this way ,(Label)Master.FindControl("lblPageMsg"); Am able to access this way when I dont use Update panel. Any help is appreciated.

      ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      I think When you are using update Panel might be Label is not present in it. So even if you could access it is not going to update the message. Are you getting any error ? while accessing the label. Create a public property in Master Page that will set the text of label and make sure that your label is present in update panel so that after asynchronous postback it will update the message that you want to show

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

      modified on Wednesday, May 28, 2008 3:19 AM

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups