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?i.e only after pressing Enter
after the text is typed the button trigger event should
activate?

Answer Posted / sandipan

Your question is not exactly cleat to me !
But then also assuming your ques i am answering this
[ I THINK YOU WANT TO CAPTURE BUTTON CLICK EVENT WITH ENTER KEY ]

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

REPLY YOUR FEEDBACK !!

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain clr in brief.

961


What is session management in c#?

962


How do you escape in c#?

935


We cannot create instances of static classes. Can we have constructors for static classes?

1012


Can property be private in c#?

886


How will you deploy the dll file in gac?

947


How are Windows programs different from normal C-programs?

2221


Explain About Virtual functions and their use.

1030


What is a .aspx file?

867


What is written in c#?

1014


3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close

1813


Do we get an error while executing the “finally” block in c#?

957


Explain different properties of object oriented systems.

984


Is for loop faster than foreach?

1020


Why do we need abstraction in c#?

927