Access VB.Net Controls from Javascript

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: fripper (young_at_indiana.edu)
Date: 03/31/04


Date: Tue, 30 Mar 2004 20:24:22 -0500


I have a VB .Net application for which I would like to write a JavaScript
program to handle a countdown counter. My question is can I access the text
property of a textbox that I created in design mode with VB .Net from the
JavaScript program? This is to say I want the JavaScript program to pick up
the value in the textbox reduce it by one and put the new value back into
the text box.

Thanks.



Relevant Pages

  • Re: client side javscript and ASP.NET controls
    ... the mouse anywhere for having that javascript method called. ... TExtBox = 10) ... then you are working with a .NET object on the server. ... > Attributes.Add to include an attribute that gets rendered to the client. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: client side javscript and ASP.NET controls
    ... the mouse anywhere for having that javascript method called. ... TExtBox = 10) ... then you are working with a .NET object on the server. ... > Attributes.Add to include an attribute that gets rendered to the client. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: GridView/FormView Issue
    ... on Page_Load event you need to ADD a javascript to the textbox so it will perform an action everytime the user writes a letter or deletes a letter, for that you add in the Page_Load this: ... var min = 10; ... Now, to enforce the user to update more than the minimum characters, all you need is to validate before update, ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: ScriptManager.RegisterClientScriptBlock not working with UpdatePanel
    ... this stuff is easier to debug with firefox and its dev tools. ... which has an ASP:Table (design time) in it. ... The table has rows with a textbox that runs some Javascript ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: client side vs server side events for controls
    ... Just one further question regarding VBScript - everyone keeps ... > generate their own javascript to do so. ... >> date when that textbox loses the focus. ... At the moment I'm doing this in the server side TextChanged ...
    (microsoft.public.dotnet.framework.aspnet)