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. How to use the tab controls

How to use the tab controls

Scheduled Pinned Locked Moved ASP.NET
tutoriallounge
5 Posts 5 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.
  • C Offline
    C Offline
    cspriya
    wrote on last edited by
    #1

    1. Click any tab, for eg. Click general information tab. 2. Click edit button. 3. General information edit page is opened. 4. click any other tab(for eg. Official tab). 5. Again click general information tab, it displayed general information edit page. It should display the view page of the general information. 6. Once clicked the any other tab, current page should go to view status. how to change edit mode to view mode while tab change event. Please tell me the answer

    C S A U 4 Replies Last reply
    0
    • C cspriya

      1. Click any tab, for eg. Click general information tab. 2. Click edit button. 3. General information edit page is opened. 4. click any other tab(for eg. Official tab). 5. Again click general information tab, it displayed general information edit page. It should display the view page of the general information. 6. Once clicked the any other tab, current page should go to view status. how to change edit mode to view mode while tab change event. Please tell me the answer

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I'm at a loss here. You're talking about your specific site ? Sounds like you need to close your edit mode when the tab is changed ?

      Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

      1 Reply Last reply
      0
      • C cspriya

        1. Click any tab, for eg. Click general information tab. 2. Click edit button. 3. General information edit page is opened. 4. click any other tab(for eg. Official tab). 5. Again click general information tab, it displayed general information edit page. It should display the view page of the general information. 6. Once clicked the any other tab, current page should go to view status. how to change edit mode to view mode while tab change event. Please tell me the answer

        S Offline
        S Offline
        saanj
        wrote on last edited by
        #3

        Your question is not clear.

        Either you love IT or leave IT...

        1 Reply Last reply
        0
        • C cspriya

          1. Click any tab, for eg. Click general information tab. 2. Click edit button. 3. General information edit page is opened. 4. click any other tab(for eg. Official tab). 5. Again click general information tab, it displayed general information edit page. It should display the view page of the general information. 6. Once clicked the any other tab, current page should go to view status. how to change edit mode to view mode while tab change event. Please tell me the answer

          A Offline
          A Offline
          Abhijit Jana
          wrote on last edited by
          #4

          cspriya wrote:

          1. Click any tab, for eg. Click general information tab. 2. Click edit button. 3. General information edit page is opened. 4. click any other tab(for eg. Official tab). 5. Again click general information tab, it displayed general information edit page. It should display the view page of the general information. 6. Once clicked the any other tab, current page should go to view status.

          Looks like Test Case ;P

          cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net

          1 Reply Last reply
          0
          • C cspriya

            1. Click any tab, for eg. Click general information tab. 2. Click edit button. 3. General information edit page is opened. 4. click any other tab(for eg. Official tab). 5. Again click general information tab, it displayed general information edit page. It should display the view page of the general information. 6. Once clicked the any other tab, current page should go to view status. how to change edit mode to view mode while tab change event. Please tell me the answer

            U Offline
            U Offline
            Uma J
            wrote on last edited by
            #5

            Set a property or View State, public string Mode { get { object o = ViewState["Mode"]; if (o == null) return String.Empty; else return (string)o; } set { ViewState["Mode"] = value; } } when clicking the Edit tab give the Mode as Mode = "E" when clicking the View tab give the Mode as Mode = "V" Now write the code based on the mode like, if(Mode == "E") { //Your code goes here.... } if(Mode == "V") { //Your code goes here.... }

            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