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. App_Code in Web Application

App_Code in Web Application

Scheduled Pinned Locked Moved Web Development
question
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

    Am developing a web application wherein I have a label in master page which has to get value from the web pages. When I develop a web site, I used to put a method in App_Code. How do I do it here? Any particular approach to be taken? Thanks, simi

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

    J 1 Reply Last reply
    0
    • D DotNetXenon

      Am developing a web application wherein I have a label in master page which has to get value from the web pages. When I develop a web site, I used to put a method in App_Code. How do I do it here? Any particular approach to be taken? Thanks, simi

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

      J Offline
      J Offline
      jchalfant
      wrote on last edited by
      #2

      I'm a bit of an ASP newbie, but I'd either use javascript embeded in the master page or use the findcontrol method to obtain the control I need to modify/retrieve data from. In both cases, you'll need to know the ID of the control you're looking for. Yet another option is to search through Page.Controls for the control. Hope that helps!

      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