click on Generate New image creates javascript error

2 posts, 0 answers
  1. Gaurav
    Gaurav avatar
    8 posts
    Member since:
    Jun 2010

    Posted 01 Oct 2010 Link to this post

    Hello friends 

    I am working on asp.net 4.0 MVC2 

    when i am using captcha control in webforms of my application it is wroking fine and generates new image on clicking 'Generate new image' smoothly
    but

    When I use captcha control on viewpage then it generates error in status bar ''__EVENTTARGET' is null or not an object' , When I click on Generate new image of Captcha .

    below is the full error which generates on status bar .

    Message: '__EVENTTARGET' is null or not an object
    Line: 5
    Char: 14923
    Code: 0
    URI: http://localhost:49745/ScriptResource.axd?d=BwKPZvDIDmwhWjYX4ApjIWW9-jbu7YR8CiNknEcofMLvmIbIuFTfGxzGlHBZ5QtetZZn1pwupgQhqBj0o785DdFZxqNS6iHUW4GVbD3Ycjs1&t=16ab2387

    do something need full

    Thanks
    Gaurav
  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 05 Oct 2010 Link to this post

    Hello Gaurav,

    RadCaptcha requires: ViewState, page postbacks and HtmlForm in order to work correctly. In MVC framework there is none of the three, which means that you would not be able to use it in an MVC web application.

    The following forum post provides more information: http://www.telerik.com/community/forums/aspnet-ajax/captcha/mvc.aspx

    Regards,
    Pero
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top