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. Gridview PageIndexChanging event not being called when using an asp:UpdatePanel

Gridview PageIndexChanging event not being called when using an asp:UpdatePanel

Scheduled Pinned Locked Moved Web Development
question
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.
  • S Offline
    S Offline
    Steve Holdorf
    wrote on last edited by
    #1

    I have an ASP GridView that has a PageIndexChanging event wired. I put the GridView in an asp:UpdatePanel and now my PageIndexChanging event does not fire when changing pages. Does anyone have a solution where I can use the UpdatePanel and have my event called as well? Thanks, Steve

    R 1 Reply Last reply
    0
    • S Steve Holdorf

      I have an ASP GridView that has a PageIndexChanging event wired. I put the GridView in an asp:UpdatePanel and now my PageIndexChanging event does not fire when changing pages. Does anyone have a solution where I can use the UpdatePanel and have my event called as well? Thanks, Steve

      R Offline
      R Offline
      Rajdev Ramasamy
      wrote on last edited by
      #2

      I can get the event called in my sample as you described. Can you display the code you are using? Thanks, Rajdev KR

      S 1 Reply Last reply
      0
      • R Rajdev Ramasamy

        I can get the event called in my sample as you described. Can you display the code you are using? Thanks, Rajdev KR

        S Offline
        S Offline
        Steve Holdorf
        wrote on last edited by
        #3

        AutoGenerateColumns="false" AllowSorting="True" EnableViewState="true" UseCustomPager="true" AllowPaging="True" PageSize="4" OnSorting="GridViewDADSInformation_Sorting" onpageindexchanging="GridViewDADSInformation_PageIndexChanging" OnRowDataBound="GridViewDADSInformation_RowDataBound"> Width="195px" Enabled='<%# IsQueryCollection(Eval("GeneratedTitle").ToString()) %>' /> Width="80px" Enabled='<%# IsQueryCollection(Eval("GeneratedTitle").ToString()) %>' />

        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