whether the button is clicked or not by using viewstate [Resolved]

Posted by Karthime under ASP.NET on 4/10/2012 | Points: 10 | Views : 2126 | Status : [Member] | Replies : 6
With the help of view state does the server find that
whether is a button is click or not, then how it finds

A.Karthi


Responses

Posted by: Sabarimahesh on: 4/10/2012 [Member] Bronze | Points: 50

Up
0
Down

Resolved
Hi

Refer this link

http://stackoverflow.com/questions/2765815/asp-net-button-event-handlers-do-not-fire-on-the-first-click-but-on-the-second

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: muralikrishnasurap-12704 on: 4/10/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Karthi,
we can't find which button is click based on view sate, But when you click any button on your web page The button name and its value will be sent as parameters as a post back data using this details server will raise particular button Click event.

Best Regards
Murali Krishna.S

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthime on: 4/10/2012 [Member] Starter | Points: 25

Up
0
Down
Hi, whether only the clicked button name and value will be sent as parameters or if i placed two buttons and one textbox all the controls' name and values will be sent as parameter

A.Karthi

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: muralikrishnasurap-12704 on: 4/10/2012 [Member] Starter | Points: 25

Up
0
Down
Hi Karthik,
Check this MSDN link its good...

http://msdn.microsoft.com/en-us/library/59t350k3(v=vs.71).aspx

Best Regards
Murali Krishna.S

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/11/2012 [Member] Bronze | Points: 25

Up
0
Down
Karthime

Thank You

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 4/11/2012 [Member] Starter | Points: 25

Up
0
Down
Thank you murali

Thanks & Regards
Hari

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response