473,473 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

2 New Member
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...
Mar 5 '08 #1
4 996
maheshmrk22
23 New Member
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






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...
Mar 5 '08 #2
vanc
211 Recognized Expert New Member
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.
Mar 5 '08 #3
saunakinju
2 New Member
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(Webstyle) 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.js'></script>
<script type='text/javascript' src='admin_log.js'></script>
<noscript>Your browser does not support script </noscript>

</td>
-
-
-plz sir help me if u can
Mar 5 '08 #4
maheshmrk22
23 New Member
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


Thank You sir,actually i am using on software(Webstyle) 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.js'></script>
<script type='text/javascript' src='admin_log.js'></script>
<noscript>Your browser does not support script </noscript>

</td>
-
-
-plz sir help me if u can
Mar 5 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but...
16
by: Christian Blackburn | last post by:
Hi Gang, I would like to use SetMenuItemBitmaps or an equivalent in VB 2003. Can somebody point me in the right direction? Thanks in Advance, Christian
2
by: Jeff Brown | last post by:
OK i have came to the conclusion that since this app will be run on multiple computers that loading a complete database and then updating on exit is a moot point. I have tried several ideas...
66
by: genestarwing | last post by:
QUESTION: Write a program that opens and read a text file and records how many times each word occurs in the file. Use a binary search tree modified to store both a word and the number of times it...
4
by: Bruno Alexandre | last post by:
Hi guys, I'm using the asp:menu component and everything worked great in my machine, but when I upload the files to our Hosting I got this: http://portal.filterqueen.dk/portal2.fq/test.aspx ...
1
by: bobmct | last post by:
Anyone: As a non-js programmer (but incorporater of js code into my perl/php/html sites) I am attempting to create vertical self expanding menu (when the user cursors over a selection it will...
5
by: Gremenbulin | last post by:
I am looking for a freeware menu builder that generates code I can easily read and maintain, unlike most of the commercial products I have seen. Prefeably to run under linux (inlcuding web-based...
15
by: Neil | last post by:
So, I tried to copy a toolbar. I have a custom menu bar for a form. Tried to copy it so that I could modify the copy and use it with another form. With no direct way to copy it, I made a copy of...
2
by: davidson1 | last post by:
Hai friends..for menu to use in my website..i found in one website....pl look below website.... http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm i downloaded 2 files.... ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.