can anyone help me plz.....i can't understand that if i add menu in my vb.net...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saunakinju
    New Member
    • Mar 2008
    • 2

    #1

    can anyone help me plz.....i can't understand that if i add menu in my vb.net...

    I can't Understand that if i add menu in my VB.Net Application with the use of Javascript,thn how can i open a perticular form on click of submenu item of that menu.Because menu will be appear when i run my application so i can't understand how to make code for that.....plz help me fast.Thanx...
  • maheshmrk22
    New Member
    • Dec 2007
    • 23

    #2
    Hi,

    R u creating your menu at runtime? If yes, then you have to create submenu under that menu at runtime and then you have to link the form. If no, at design time you have to give link of form with #and form name.

    Thanks
    Mahesh






    Originally posted by saunakinju
    I can't Understand that if i add menu in my VB.Net Application with the use of Javascript,thn how can i open a perticular form on click of submenu item of that menu.Because menu will be appear when i run my application so i can't understand how to make code for that.....plz help me fast.Thanx...

    Comment

    • vanc
      Recognized Expert New Member
      • Mar 2007
      • 211

      #3
      Originally posted by saunakinju
      I can't Understand that if i add menu in my VB.Net Application with the use of Javascript,thn how can i open a perticular form on click of submenu item of that menu.Because menu will be appear when i run my application so i can't understand how to make code for that.....plz help me fast.Thanx...
      I suppose that you are talking about asp.net with vb.net is the language. When you create menu by javascript then you can assign menu's item with any function that you coded by javascript too. I don't think you can call VB function from javascript item because javascript belong to client side when vb belongs to server side. That's why normally menu's items are to link between pages rather then perform any complicated stuff. Cheers.

      Comment

      • saunakinju
        New Member
        • Mar 2008
        • 2

        #4
        Originally posted by maheshmrk22
        Hi,

        R u creating your menu at runtime? If yes, then you have to create submenu under that menu at runtime and then you have to link the form. If no, at design time you have to give link of form with #and form name.

        Thanks
        Mahesh

        Thank You sir,actually i am using on software(Websty le) to create menu with different effects and i just include that .JS file in my application now it will display that menu when i run my application but i just want to know that how can i open new form on submenu item of that menu at runtime...

        take a look to this js file

        -
        -
        -
        <td style="width: 70px" rowspan="2">
        </td>
        <td style="height: 33px;" colspan="2">
        <script type='text/javascript'>

        function Go(){return}

        </script>
        <script type='text/javascript' src='xaramenu.j s'></script>
        <script type='text/javascript' src='admin_log. js'></script>
        <noscript>You r browser does not support script </noscript>

        </td>
        -
        -
        -plz sir help me if u can

        Comment

        • maheshmrk22
          New Member
          • Dec 2007
          • 23

          #5
          Hi,

          As you said that you are using third party tool to create a menu. I can suggest you one free tool to create wonderful menus with different effects Sothlink DHTML menu creator. If you want to stick with yours only...you search link for submenu in JS file. Infront of that you will find one property with # for linking. In the place of # you have to put your page name.

          If you put your JS files code here then that would easy to explain to you.


          Thanks

          Mahesh


          Originally posted by saunakinju
          Thank You sir,actually i am using on software(Websty le) to create menu with different effects and i just include that .JS file in my application now it will display that menu when i run my application but i just want to know that how can i open new form on submenu item of that menu at runtime...

          take a look to this js file

          -
          -
          -
          <td style="width: 70px" rowspan="2">
          </td>
          <td style="height: 33px;" colspan="2">
          <script type='text/javascript'>

          function Go(){return}

          </script>
          <script type='text/javascript' src='xaramenu.j s'></script>
          <script type='text/javascript' src='admin_log. js'></script>
          <noscript>You r browser does not support script </noscript>

          </td>
          -
          -
          -plz sir help me if u can

          Comment

          Working...