Invalid postback or callback argument

Last post 12-21-2009 8:03 AM by vijayarajtcs. 19 replies.

Sort Posts:

  • Re: Invalid postback or callback argument

    01-09-2009, 3:42 AM
    • Member
      2 point Member
    • Reason Man
    • Member since 01-08-2009, 12:22 AM
    • Posts 1
    First Google result so i'll add one for "if(!Page.IsPostBack)" in codebehind. I had a repeater with a databound imagebutton. When the button is clicked it threw that error. I finally realized that was trying to rebind my datasource on every postback. It's amazing what staring at your code for 15 minutes can do.
  • Re: Invalid postback or callback argument

    01-15-2009, 6:10 PM
    • Member
      4 point Member
    • bobster9999
    • Member since 01-15-2009, 11:03 PM
    • UK
    • Posts 2

     Not sure if this helps but I just made a break through with this error after quite literally trawling the web for answers.

    On my page I had 3 gridviews displaying different information, on one grid I wanted a link to post another page using postbackurl which carried the form values across.

     It turned out that turning off the view state on the other grids allowed the postback to function.

     Hope this helps anyone.

     IIS7 / .NET 2 / VS2008

     

  • Re: Invalid postback or callback argument

    03-15-2009, 6:07 AM
    • Member
      36 point Member
    • rickjackson
    • Member since 03-12-2008, 11:17 AM
    • Mumbai
    • Posts 61
    Hey AmirPalang U Trick Worked Thanks Man U Rock :D
  • Re: Invalid postback or callback argument

    03-26-2009, 5:15 PM

    AmirPalang: This works!  Thanks so much!

    I changed my button type in grid from "Button" to "LinkButton".

  • Re: Invalid postback or callback argument

    12-21-2009, 8:03 AM
    • Member
      2 point Member
    • vijayarajtcs
    • Member since 09-24-2008, 6:02 AM
    • Posts 1

    this is the correct answer , for the past two days i was struggle to get the output , this post helps me to get the output , thank a lot 

Page 2 of 2 (20 items) < Previous 1 2