getting null for Request.Form["__EVENTTARGET"]

3 posts, 1 answers
  1. Prasad
    Prasad avatar
    40 posts
    Member since:
    Sep 2011

    Posted 13 Aug 2013 Link to this post

    Hi,
    I am using RadButton in aspx page. I set property Visible=false; Depanding Scenarios It will be Visible  from code behind file. I am getting Request.Form["__EVENTTARGET"] null value when i click on radbutton. 
    For similar scenario I was replaced RadButton with link button with Vissible=false; I am getting client id for  Request.Form["__EVENTTARGET"] in page_load event.

    Please give solution for my problem as soon as possible.
  2. Answer
    Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 13 Aug 2013 Link to this post

    Hello,

    Please try with the below code snippet.

    <telerik:RadButton ID="RadButton2" runat="server" Text="RadButton" Visible="false" UseSubmitBehavior="false">
        </telerik:RadButton>

    Note : UseSubmitBehavior="false"


    Thanks,
    Jayesh Goyani
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Prasad
    Prasad avatar
    40 posts
    Member since:
    Sep 2011

    Posted 26 Sep 2013 Link to this post

    Thanq Jayesh ...
Back to Top