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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Problem with Update Panel

Problem with Update Panel

Scheduled Pinned Locked Moved ASP.NET
helpcsharpdatabasevisual-studioannouncement
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.
  • P Offline
    P Offline
    pinna_hari
    wrote on last edited by
    #1

    Hello, I am working with visual studio 2005, My problem is when i am usting update panel(ajax), tab index is not working, whether we need set any properties while using update panel, i can't understood what may be the reason. Please tell me, how set tabindex when we use Ajax Update panel. Please help me... Thanks in advance...

    Pinna

    S 1 Reply Last reply
    0
    • P pinna_hari

      Hello, I am working with visual studio 2005, My problem is when i am usting update panel(ajax), tab index is not working, whether we need set any properties while using update panel, i can't understood what may be the reason. Please tell me, how set tabindex when we use Ajax Update panel. Please help me... Thanks in advance...

      Pinna

      S Offline
      S Offline
      Sandeep Akhare
      wrote on last edited by
      #2

      Are you asking about Focusing the control after asynchronous postback ? Please have a look at this code snippet and write this code Page PreRender event of each Page or base page pre render event if (_scriptManager != null && _scriptManager.IsInAsyncPostBack) { Control ctrlWhichRaisedAsyncPostBack = Page.FindControl(ScriptManager.AsyncPostBackSourceElementID); if (ctrlWhichRaisedAsyncPostBack != null) { ScriptManager.SetFocus(ctrlWhichRaisedAsyncPostBack.ClientID); } }

      Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

      modified on Tuesday, October 21, 2008 8:36 AM

      P 1 Reply Last reply
      0
      • S Sandeep Akhare

        Are you asking about Focusing the control after asynchronous postback ? Please have a look at this code snippet and write this code Page PreRender event of each Page or base page pre render event if (_scriptManager != null && _scriptManager.IsInAsyncPostBack) { Control ctrlWhichRaisedAsyncPostBack = Page.FindControl(ScriptManager.AsyncPostBackSourceElementID); if (ctrlWhichRaisedAsyncPostBack != null) { ScriptManager.SetFocus(ctrlWhichRaisedAsyncPostBack.ClientID); } }

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

        modified on Tuesday, October 21, 2008 8:36 AM

        P Offline
        P Offline
        pinna_hari
        wrote on last edited by
        #3

        Hi friend thanks for you reply.. your right, am asking about focusing the control after asynchronous postback. Can i get the snippet code for asp.net with vb.net. and one more in above code... in place of ctrlWhichRaisedAsyncPostBack, what should i have to write, you mean i have to write controlId(am i Correct?).. Please Help me... Looking forward for your reply...

        Pinna

        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