how to include a javascript file in aspx ?
-
How can i include a javascript file in aspx? also how can we add textbox in aspx during runtime?
TextBox myTextbox = new TextBox(); Page.Controls.Add(myTextbox); <div class="ForumSig"><hr>only two letters away from being an asset</div></x-turndown>
-
How can i include a javascript file in aspx? also how can we add textbox in aspx during runtime?
What Mark said, except 1 - the script tag needs to be closed, and 2 - if you want to access the textbox in code behind, you need to add it before the page load event, so that viewstate is restored to the control.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
-
What Mark said, except 1 - the script tag needs to be closed, and 2 - if you want to access the textbox in code behind, you need to add it before the page load event, so that viewstate is restored to the control.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
Christian Graus wrote:
1 - the script tag needs to be closed
Oh sure if you want to be technical about it :-D
only two letters away from being an asset
-
Christian Graus wrote:
1 - the script tag needs to be closed
Oh sure if you want to be technical about it :-D
only two letters away from being an asset
*grin*
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )