Menu

Issue with EventHandler when using QxDOTNET with .NET 4.5

Kiran
2015-03-02
2015-03-03
  • Kiran

    Kiran - 2015-03-02

    Hi,

    At the outset, thanks for creating QxDotnet. I find QooxDoo very useful and has a very rich set of UI controls.

    I currently use QxDotNet for my project. Below are details of my Dev environment:
    .NET Version: 4.5
    IDE: Visual Studio 2013 Premium

    The UI gets created fine but the issue I am facing is that, when I click on a button (i.e when the EventHandler method is invoked) the processing icon keeps rotating and then nothing happens.
    This happens only when I select .NET framework 4.5

    It seems to work fine with .NET 3.5 but I need to use 4.5 as there are some other dependencies.

    Could you please suggest a fix for this issue or a work around?

    Thanks and Regards,
    Kiran

     
  • yurik-z

    yurik-z - 2015-03-02

    Hi, Kiran!
    Version 0.2 compiled in 2012. Since that moment some bugs was fixed and committed.
    I can’t promise that I release a new version right now. So I suggest you to make a checkout of source code and compile latest version.
    To build qxdotnet from sources you will need to download ActivePython and Qooxdoo SDK v3.5 (see readme.txt)
    If you have a problem compiling qxdotnet feel free to write me.
    Best wishes,
    Yuri

     
  • Kiran

    Kiran - 2015-03-02

    Yuri,

    Thanks for the prompt response.

    I downloaded the source and built it locally in Debug mode.

    Now when I run my app, I could see the error which is given below:

    "A potentially dangerous Request.Form value was detected from the client (ev=\"<ev><e _id=\"6\" _n=\"e...\")."</ev>

    Stack Trace:
    StackTrace:
    at System.Web.HttpRequest.ValidateString(String value, String collectionKey, RequestValidationSource requestCollection)
    at System.Web.HttpRequest.ValidateHttpValueCollection(HttpValueCollection collection, RequestValidationSource requestCollection)
    at System.Web.HttpRequest.get_Form()
    at System.Web.HttpRequest.FillInParamsCollection()
    at System.Web.HttpRequest.GetParams()
    at System.Web.HttpRequest.get_Params()
    at qxDotNet.Common.ClientHandler.ProcessRequest(HttpContext context)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Do you know how to fix this issue?

    Regards,
    Kiran

     
  • yurik-z

    yurik-z - 2015-03-03

    I found a solution here:
    http://www.codeproject.com/Tips/297679/A-potentially-dangerous-Request-Form-value-was-det
    You will need to modify your web.config.
    <httpruntime requestvalidationmode="2.0"> must be added to <system.web> section.</system.web></httpruntime>

     
  • Kiran

    Kiran - 2015-03-03

    Yuri,

    Many Thanks, that worked.

    Regards,
    Kiran

     

Log in to post a comment.