Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6093099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:31:18+00:00 2026-05-23T12:31:18+00:00

I am encountering this error whenever the button is clicked to collapse/expand the panel.

  • 0

I am encountering this error whenever the button is clicked to collapse/expand the panel.
Error: CollapsiblePanelExtender A potentially dangerous Request.Form value was detected from the client.

Can someone tell me what I did wrong and what is causing this?

<asp:Button ID="Button1" runat="server" Text="Button" />
 <ajaxToolkit:CollapsiblePanelExtender 
    TargetControlID="testPanel" 
    ID="CollapsiblePanelExtender1" 
    runat="server"
    ExpandControlid="Button1"
    CollapseControlID="Button1" 
    Collapsed="False" 
    ExpandDirection="Vertical" 
    AutoCollapse="false" 
    AutoExpand="false">

</ajaxToolkit:CollapsiblePanelExtender>

<asp:Panel ID="testPanel" runat="server">
    stuff here
</asp:Panel>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:31:18+00:00Added an answer on May 23, 2026 at 12:31 pm

    Put validateRequest="false" in your page directive or web.config file.

    Adding Cross-Site Scripting Protection to ASP.NET

    for example if you already have:

    <%@ Page Language="vb" AutoEventWireup="false" Codebehind="MyForm.aspx.vb"  Inherits="Proj.MyForm"%>
    

    then this should become:

    <%@ Page Language="vb" AutoEventWireup="false" Codebehind="MyForm.aspx.vb" Inherits="Proj.MyForm" ValidateRequest="false"%>
    

    Note:

    If you are using .NET 4 then you will need to add requestValidationMode=”2.0″ to the httpRuntime configuration section of the web.config file. For example:

    <httpRuntime requestValidationMode="2.0"/>
    

    If you don’t already have a httpRuntime section in the web.config file then this goes inside the section.

    Thanks

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am encountering this error when I am loading an Ad Hoc build of
I have been encountering this error for my project, which involves working with Digital
I'm encountering this error while compiling some old VC++ 6.0 source code. error C2632:
I'm building a simple paint app and encountering this error given by the logcat:
I have tried invoking Ant programmatically, but I am encountering this error Exception in
I suddenly started encountering this error out of no where and need some help.
I have started using spring and am encountering this error No mapping found for
While trying to update my Android SDK I am encountering this error when trying
I'm just starting out with Geb and am encountering this error when inputting sample
I read SO about another user encountering similar error , but this error is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.