You cannot. Remember that ASP.NET is a server-side technology. As such the languages used eg VB.NET are also server-side languages. To do any real client side manipulation you need to use a client side language such as javascript. You can write javascript to your page on certain events using the RegisterStartupScript method.
In the spot you were going to use the Server.Transfer build a string containing your javascript (remember to include <script ... tags) and use RegisterStartupScript to send it to the client.
RegisterStartupScript references can be found all over this forum simply use the search functions here. That'l do donkey, that'l do
Mark
If you are unsure of forum etiquette check here faq796-2540
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.