Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How will U encapsulate button trigger event into text_box event of Pressing Enter key?

Answer Posted / sandipan4allinterview

protected void Button1_KeyDown(object sender, EventArgs e)
{
if(e.KeyCode == Keys.Enter)
{
///do your stuff
}
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the diff between the System.Array.CopyTo() and System.Array.Clone()?

955


What to implement on my class Finalize or IDisposable

936


Explain the difference between Response.Write () and Response.Output.Write ().

906


What are scriptable objects?

876


Which one is trusted and which one is untrusted?

882


What is the real use of interface in c#?

875


What is xaml file in c#?

920


How do you convert byte array to hexadecimal string, and vice versa?

1053


What is the use of console readkey ()?

948


What are annotations in c#?

885


Explain the serialization in .net

946


Is string primitive?

833


Can we store different data types in arraylist in c#?

872


Is javascript harder than c#?

919


In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?

817