This is a migrated thread and some comments may be shown as answers.

getting null for Request.Form["__EVENTTARGET"]

2 Answers 44 Views
Button
This is a migrated thread and some comments may be shown as answers.
Prasad
Top achievements
Rank 1
Prasad asked on 13 Aug 2013, 06:37 AM
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 Answers, 1 is accepted

Sort by
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 13 Aug 2013, 11:31 AM
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
0
Prasad
Top achievements
Rank 1
answered on 26 Sep 2013, 02:38 PM
Thanq Jayesh ...
Tags
Button
Asked by
Prasad
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Prasad
Top achievements
Rank 1
Share this question
or