.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

How to get the text of Dynamic link button on click of it...

Posted By: rajkiran     Posted Date: February 25, 2011    Points:2   Category :ASP.Net
How to get the text of Dynamic link button on click of it...

Responses
Author: Manas Patnaik          Accepted Answer   
Posted Date: February 25, 2011     Points: 10   

In a event the "sender" represent Information about the object .So cast the sender object to the LinkButton and retrive the property you want.



Manas Patnaik
http://manaspatnaik.com/blog
Author: rajkiran             
Posted Date: February 25, 2011     Points: 5   

can u please elaborate it,,....how to cast it....
protected void lbutton1_Click(object sender, EventArgs e)
{


....how to do it here...?
}
Thank you

Author: rajkiran             
Posted Date: February 25, 2011     Points: 5   

Thank You Manas....ur post was really helpful.....:)



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend