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...

Can we use the java script code in .Net Code behind?

Answer Posted / satish v itagi

I have made use of scripts in code behind. My client
wanted cursor to move from one web ui control to another in
a specific order based on the data fed/selected by user.
For eg. after entering specific word in a textbox, cursor
has to focus on save button bypassing all other ui
controls; if another specific word is entered focus should
jump on third ui control skipping the second, so on and so
forth.

User got delighted when the facility was given.

Another case where I implemented was to focus to next
control even after a post back event (otherwise smart
navigation returns focus to the same control after a post
back and use has to press tab key again to set focus to
next ui control).

This facility made my clients again happy.

Of course, it is more worthy to earn clients delight than
weighty pay packet!!!

Ofcourse, I used Page.RegisterStartupScript() and the
Page.RegisterClientScriptBlock() methods!

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you register a custom server control to a web page?

988


Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc

1109


What is .net remoting?

1051


Explain the steps needed to be performed in order to create an animation in xaml?

1015


Explain the difference between asp and asp.net?

1012


What are the 3 types of web?

918


How can I have a particular web page in an asp.net application which displays its own error page?

1118


Explain what does wsdl stand for?

1139


Does web services support data reader like pom project?

935


If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?

981


while developing webservices if i want some users to use my webservice only how can i give security to my webservice?

1858


What is session and cookies in asp.net?

1023


What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?

982


Describe session handling in a webfarm?

1006


What is difference in .net 1.1 and .net 2.0?

1048