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. Update panel in asp.net

Update panel in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netannouncement
6 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.
  • A Offline
    A Offline
    anushh
    wrote on last edited by
    #1

    In my page, while page load short description of some articles displayed. when i click the viewmore link the large description of the corresponding article is enabled. This div also has another one linkbutton for view comments. If first i click viewmore link means the large description is displayed.Next i click the viewcomments link means again the short description is displayed. I try to use updatepanel for this. but no solution.

    N C 2 Replies Last reply
    0
    • A anushh

      In my page, while page load short description of some articles displayed. when i click the viewmore link the large description of the corresponding article is enabled. This div also has another one linkbutton for view comments. If first i click viewmore link means the large description is displayed.Next i click the viewcomments link means again the short description is displayed. I try to use updatepanel for this. but no solution.

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      You probably need to rephrase your question and explain what you are asking clearly.

      Navaneeth How to use google | Ask smart questions

      M 1 Reply Last reply
      0
      • N N a v a n e e t h

        You probably need to rephrase your question and explain what you are asking clearly.

        Navaneeth How to use google | Ask smart questions

        M Offline
        M Offline
        mr_muskurahat
        wrote on last edited by
        #3

        what i have understood your question.. you are trying to hide and show div..to do this you will have to use javascript function to hide and show div and you will load both short and detaild description.. on page load or according to your logic.

        Government Dyal Singh College Lahore.

        S A 2 Replies Last reply
        0
        • M mr_muskurahat

          what i have understood your question.. you are trying to hide and show div..to do this you will have to use javascript function to hide and show div and you will load both short and detaild description.. on page load or according to your logic.

          Government Dyal Singh College Lahore.

          S Offline
          S Offline
          sashidhar
          wrote on last edited by
          #4

          I dont Think We Need To use javascript give an id to div run at ="server"> and u Can use it in events using the id Am i Wrong? :-O :confused:

          If It Helps Click It as Answer

          1 Reply Last reply
          0
          • M mr_muskurahat

            what i have understood your question.. you are trying to hide and show div..to do this you will have to use javascript function to hide and show div and you will load both short and detaild description.. on page load or according to your logic.

            Government Dyal Singh College Lahore.

            A Offline
            A Offline
            anushh
            wrote on last edited by
            #5

            The hide and show functionality working properly. Actually what i need is "During pageload it first displays the short description then when i click viewmore link that shortdescription div disabled and large description div enabled. now i click the viewcomments link means b'coz of the page refreshment the shortdescription is enabled and that largecontent div disabled. but it doesn't.

            1 Reply Last reply
            0
            • A anushh

              In my page, while page load short description of some articles displayed. when i click the viewmore link the large description of the corresponding article is enabled. This div also has another one linkbutton for view comments. If first i click viewmore link means the large description is displayed.Next i click the viewcomments link means again the short description is displayed. I try to use updatepanel for this. but no solution.

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

              The updatepanel will work fine, if inside it, you create events that create a postback and update the content of the page. A better solution, is to generate your own javascript, which would give you more control and make it more responsive.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              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