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. to check control is present which is not in the page

to check control is present which is not in the page

Scheduled Pinned Locked Moved ASP.NET
tutorial
4 Posts 4 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.
  • A Offline
    A Offline
    anbusenthil
    wrote on last edited by
    #1

    how to check the control is their or not which is not in the page is it possible to check the control is present or not using codebehind

    M H B 3 Replies Last reply
    0
    • A anbusenthil

      how to check the control is their or not which is not in the page is it possible to check the control is present or not using codebehind

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      if(Page.FindControl("ControlID") != null)

      Manas Bhardwaj Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

      1 Reply Last reply
      0
      • A anbusenthil

        how to check the control is their or not which is not in the page is it possible to check the control is present or not using codebehind

        H Offline
        H Offline
        himanshu2561
        wrote on last edited by
        #3

        Plz Dont ask same questions again and agian

        himanshu

        1 Reply Last reply
        0
        • A anbusenthil

          how to check the control is their or not which is not in the page is it possible to check the control is present or not using codebehind

          B Offline
          B Offline
          Baran M
          wrote on last edited by
          #4

          You can use Page.FindControl("ControlID") to get all the server control but not html controls.

          You are best person who knows about your problem. ------------------------------------------------- More pain more gain

          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