UpdatePanel not working. Get Specified argument was out of the range of valid values

Last post 05-30-2007 12:25 PM by dotcarlisle. 5 replies.

Sort Posts:

  • UpdatePanel not working. Get Specified argument was out of the range of valid values

    05-05-2006, 1:15 PM
    • Loading...
    • Nate Dogg
    • Joined on 12-29-2005, 5:59 PM
    • Posts 6

    I have Atlas enabled a simple page with a list box and a GridView.  I setup the GridView in the Update Panel with the Trigger being the ListBox SelectedValue.

    I set this exactly as shown in the ToDo List video.

    When I run the page and click on a value in the ListBox, it works.  When I select another option in the list box, I get, "Specified argument was out of the range of valid values."  If I take out the Atlas code, the page runs fine.

    When I add my Master Page to this, I get a slightly different behavior.  You run the page, click on a value in the ListBox and nothing happens except the Title bar of IE or Firefox, changes to the exact URL of the page I am accessing.

    Any ideas?

    Thanks,

    Nathan

  • Re: UpdatePanel not working. Get Specified argument was out of the range of valid values

    10-20-2006, 1:49 PM

    Anyone find an answer to this issue yet?  I also have this issue with the listbox.  A little different scenario:

     I have a user control which contains several dropdownlist controls that are filled from the database.  I have an instance of the control in a webpage and have an update panel wrapped aroun this user control. 

     Error occurs when I try to select a new value from the dropdownlist for a second time.

     Plase help!

    Jon

    MACHOEARTH
    MACHOEARTH.com
    jc@machoearth.com
  • Re: UpdatePanel not working. Get Specified argument was out of the range of valid values

    10-20-2006, 3:37 PM
    • Loading...
    • kashif
    • Joined on 06-11-2002, 1:34 PM
    • Posts 546
    • AspNetTeam
      Moderator

    Can you try moving to the Beta that was released today, that should fix your issues in using a ListBox as a trigger to the UpdatePanel. I just tried the scenario and it works correctly.

    Thanks,

    Kashif

  • Re: UpdatePanel not working. Get Specified argument was out of the range of valid values

    10-20-2006, 4:35 PM

    I found a temporary fix which I'm going to use until the new version of Atlas.  I will keep in mind that there is a BETA version available.

     The temp. fix:

    The problem was with the ReportViewer.  To fix this I put the ReportViewer in a panel control and set visible=false for the panel.  Now, when I run reports I set visible=true for the panel.  This works.  I can't figure out why the updatepanel and the reportviewer don't play nice together.

    I found this through trial and error; removing controls one by one.  When I removed the reportviewer everything worked correctly.  As soon as I added it back I received that error, "Specified argument was out of the range of valid values".

     Thank you very much for your answer!
    Jon

    MACHOEARTH
    MACHOEARTH.com
    jc@machoearth.com
  • Re: UpdatePanel not working. Get Specified argument was out of the range of valid values

    11-13-2006, 5:10 AM

    Hi jon,

    Thanks for the work around. I've tried this but it didn't work when we click some GO / Submit button in the page.

    Like I got a Date Control (using Update Panel) on the page and I placed ReportViewer in another panel(.Net Panel) and set the Visible property to False by default.

    Now, in the GO button I made it visible and it'sworking fine.

    Now, if I try to select the date from the calender, as soon as I click the Calendar Image button or infact any button in the page, I get an alert saying.....

    "Invalid Postback or callback argument. Event Validationis enabled using <pages enableEventValidation="true"/> in configuration or <@Page EnableEventValidation="true"/>" in a page. For security purposes...blah blah....

    I couldn't figure out what's this about.

    Can you please suggest me what can be done here.

    I've got the latest version of AJAX from MS.

    Thank you

     

  • Re: UpdatePanel not working. Get Specified argument was out of the range of valid values

    05-30-2007, 12:25 PM

    Did you ever resolve this?  I had that error message a couple times in the past.  It always ended up being a broken control.  For example, when the page went to post back to the server I had a datagrid that was retrieving data and there was an error in the code behind populating the data to the grid.  Let me know if you need more details.

    Thanks.

    MACHOEARTH
    MACHOEARTH.com
    jc@machoearth.com
Page 1 of 1 (6 items)
Microsoft Communities
Page view counter