You must Sign In to post a response.
  • Category: Windows

    How to Add Javascript,Jquery and Styles in Windows Form Application in

    hi Developers ,

    i Got exact answer for Change Language Tamil and English dynamically, which i have posted the last question of our Forum. that is working Exactly in html i.e Aspx page. but
    My Application is Windows Form Based application. i don't know how to add the same javascript and jquery to my Windows application.this is final module of my Matrimonial Project.
    So anyone know there is any possibilities for my question please suggest me to i am done my requirement.

    thanks with
  • #768672

    As you mentioned you application was done using ASP.NET, You can call JavaScript through your aspx page itself. Like below,

    <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="Scripts/YourJavaFile.aspx.js" type="text/javascript"></script>

    Once reference done in this content tag, we can create the file in your default aspx page itself like

    you can write your Jquery code in that file.


    $(document).ready(function () {
    $("#btnAdd").click(function () {
    alert('Button is clicked !!');
    return false;

    If your application is kind of Winforms?
    If so, Jquery cannot be used in winforms. It is concept related to HTML and web technologies. You cannot use or refer it in the winforms.


  • Sign In to post your comments