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. fixing the page focus, when timer get refresh the content...,

fixing the page focus, when timer get refresh the content...,

Scheduled Pinned Locked Moved ASP.NET
tutorial
3 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.
  • M Offline
    M Offline
    Member 3879881
    wrote on last edited by
    #1

    Hi guys i have used with in updatepanel, timer control for changing my ads dynamically..., now my probs is in my page if i scroll down and look at the bottom contents..., when ever my timer getting refresh the content using the updatepanel..., my page losing the focus and go to the top of the page..., how to avoid it and fixing the page focus...,

    Thanks & Regards, Member 3879881, please don't forget to vote on the post

    I 1 Reply Last reply
    0
    • M Member 3879881

      Hi guys i have used with in updatepanel, timer control for changing my ads dynamically..., now my probs is in my page if i scroll down and look at the bottom contents..., when ever my timer getting refresh the content using the updatepanel..., my page losing the focus and go to the top of the page..., how to avoid it and fixing the page focus...,

      Thanks & Regards, Member 3879881, please don't forget to vote on the post

      I Offline
      I Offline
      Inderjeet Kaur
      wrote on last edited by
      #2

      </asp:GridView> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="gvCardFeesRReport" /> </Triggers> </asp:UpdatePanel> Try using this code before closing the UpdatePanel. Change gridview ID in COntrolID to ur Gridview ID. Hope this helps you.

      Inderjeet Kaur Sr. Software Engg

      M 1 Reply Last reply
      0
      • I Inderjeet Kaur

        </asp:GridView> </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="gvCardFeesRReport" /> </Triggers> </asp:UpdatePanel> Try using this code before closing the UpdatePanel. Change gridview ID in COntrolID to ur Gridview ID. Hope this helps you.

        Inderjeet Kaur Sr. Software Engg

        M Offline
        M Offline
        Member 3879881
        wrote on last edited by
        #3

        Hi inderjeet, I didnt ask u for postback event..., i said clearly i used timer control for updatepanel content..., so page wont get postback..., it will do partial postback..., in that i am losing the page focus..., plz go through this url: http://124.153.80.135/[^] just go to some wht bottom page..., when my timer getting tick event the page will lose the focus...,

        Thanks & Regards, Member 3879881, please don't forget to vote on the post

        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