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. refresh the page asp.net2.0+c#

refresh the page asp.net2.0+c#

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwpfhelpquestion
6 Posts 3 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.
  • R Offline
    R Offline
    regin
    wrote on last edited by
    #1

    i have datalist in that i used item templates as linkbutton and a datalist.. i used to click on the linkbutton to show the item template datalist..but i hav to referesh the page on each click on the linkbuton...hw can i do that?\ plz help me.. thanks

    N 1 Reply Last reply
    0
    • R regin

      i have datalist in that i used item templates as linkbutton and a datalist.. i used to click on the linkbutton to show the item template datalist..but i hav to referesh the page on each click on the linkbuton...hw can i do that?\ plz help me.. thanks

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

      regimol wrote:

      i used item templates as linkbutton and a datalist.

      Do you mean one more datalist inside ?

      regimol wrote:

      .but i hav to referesh the page on each click on the linkbuton...hw can i do that

      Now how you are showing datalist ?


      My Website | Ask smart questions

      R 2 Replies Last reply
      0
      • N N a v a n e e t h

        regimol wrote:

        i used item templates as linkbutton and a datalist.

        Do you mean one more datalist inside ?

        regimol wrote:

        .but i hav to referesh the page on each click on the linkbuton...hw can i do that

        Now how you are showing datalist ?


        My Website | Ask smart questions

        R Offline
        R Offline
        regin
        wrote on last edited by
        #3

        yes... its like.. all employee-id,s in thed link button. all employee details in the data list.. but if i click on emp-1 hav to show the details of that emplyee.n tn click on emp2 have to refresh that page n shoe only emplyee 2 details...

        I 1 Reply Last reply
        0
        • R regin

          yes... its like.. all employee-id,s in thed link button. all employee details in the data list.. but if i click on emp-1 hav to show the details of that emplyee.n tn click on emp2 have to refresh that page n shoe only emplyee 2 details...

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          First Bind all data on page load event After that U can call javascript fnuction to show or hide inner datalist on click of LinkButton Best Regard Pathan

          GOD HELP THOSE WHO HELP THEMSELVES

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

            regimol wrote:

            i used item templates as linkbutton and a datalist.

            Do you mean one more datalist inside ?

            regimol wrote:

            .but i hav to referesh the page on each click on the linkbuton...hw can i do that

            Now how you are showing datalist ?


            My Website | Ask smart questions

            R Offline
            R Offline
            regin
            wrote on last edited by
            #5

            or hw can i do like this community?if i click on one qu it'll pop out..n if click once again it'll popup??

            I 1 Reply Last reply
            0
            • R regin

              or hw can i do like this community?if i click on one qu it'll pop out..n if click once again it'll popup??

              I Offline
              I Offline
              Imran Khan Pathan
              wrote on last edited by
              #6

              Take datalist in div tag and apply style="display:none;" Javascript function function visibility(divId) { if(document.GetElementById('divId').style.display=="none") document.GetElementById('divId').style.display="block" else document.GetElementById('divId').style.display="none" } Best regard Pathan

              GOD HELP THOSE WHO HELP THEMSELVES

              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