Knowledge Base support case for AllWebMenus,  abstracted and stripped of all user’s private info.


Initial Email From:
John
Email Subject: Using an asp.net form in a megamenu
Support Case Month: May 2013

Is there a way to include an asp.net form within a menu subgroup? We have a conventional html-based megamenu design, to which I would like to add asp.net controls to display item prices and urls loaded from a datasource.
John

Reply From: Likno Customer Support

Dear John,

This is not impossible, but it may be tricky and in any case it requires custom code.

It is not possible to include server-side code (ASP) into client-side code (JS), but it is possible to include it in the HTML of your page.

Hence I believe the best approach is to use an in-page UL/LI structure for populating your menu and include the ASP there.

Note that AllWebMenus can give you a sample code of the UL/LI you need to have in your page, based on your existing menu:

clip_image001

clip_image002

clip_image003

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: John

That was fast, Kostas! 

I appreciate your answer, but I don't believe it answers my question. :-)

We already have a megamenu with subgroup items that are in HTML.  My question is whether we can use asp.net controls within the subgroup's HTML. I tried it, but it didn't seem to want to work.

Does that explain my problem more clearly?

I hope all's well with you.

Regards

John

Reply From: Likno Customer Support

Dear John,

Sorry for the misunderstanding, I will try to explain this further.

I understand that you typed your HTML code within AllWebMenus, right? This means that the HTML code is included in the compile JavaScript file which you then upload online.

The problem is that any code you add in a JavaScript file, will not be processed by the server, hence any server-side code you add (such as the ASP include code) will appear as plain HTML or text inside your menu and will not be processed by the server.

If on the other hand you put your population code in your HTML page, then (if you also have this configured on your server, which is very likely) this page will be first processed by the server for server-side code and it will then be served to the client. This way the server-side code will work.

The downside of using UL/LI code to populate your menus is that you need to have this code in each of your pages, however this is not much of a problem as you can add this code in yet another ASP include file, or (if you have one) in your template file.

I hope this was more clear than my previous answer. Let me know if you need more help.

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

Reply From: John

Dear Kostas

That's very clear. Thanks!  Looks like I'm heading for a world of pain again!!

Bests,
John

 

Tags: , , , , , , , , , , , , , ,

 

Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.


Initial Email From:
User
Initial Email Subject: Link menu to asp.net pages
Support Case Month: March 2013

I use Visual Studio to create Web Applications (.aspx) with a site.master page.  How do I add my new menu to the site.master?

Great program...I have had it for a while, just never have had an occasion to use it.

Thanks

Reply From: Likno Customer Support

After you compile your menu, click on the “Link menu to web pages” button:

link menu to web pages

There you have two options:

1) find the file and link to it automatically, or

2) copy-paste the Linking Code manually into your file

link menu automatically to web pages

Best Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

 

Tags: , , , , ,

 

Knowledge Base support case for Likno Web Modal Windows Builder, abstracted and stripped of all user’s private info.


Initial Email From:
Brad
Initial Email Subject: modal
Support Case Month: November 2012

How can I instantiate the modal from a asp.net Image button?

Thanks,
Brad

Reply From: Likno Customer Support

Dear Brad,

The modal window can be triggered by JavaScript, by calling the window name followed by parenthesis. For example, if your modal window retains the default name “Modal_Window_1” then you can open it using the following JavaScript code:

Modal_Window_1();

This can be placed in your aspnet image “onclick” event.

Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

 

Tags: , , , , , , , , , , , ,

 

Knowledge Base support case for Likno Web Modal Windows Builder, abstracted and stripped of all user’s private info.


Initial Email From:
Brad
Initial Email Subject: modal
Support Case Month: November 2012

Hi,

Can I create an asp.net form in a modal window?

Thanks,
Brad

Reply From: Likno Customer Support

Dear Brad,

Yes you can load an asp.net form in a modal window. To do this, you need to select the “external” source type:

modal window, external source type

Note: If you want the result of the form to be loaded in the whole page instead of the modal, you need to set the <form> to have:   target='_top'

Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider or design for your websites!
Like us on Facebook – Follow us on Twitter

 

Tags: , , , , , , , , ,

 

Knowledge Base support case for AllWebMenus, abstracted and stripped of all user’s private info.


Initial Email From:
Michael
Initial Email Subject: Pre-sale questions
Support Case Month: May 2012

I have an asp.net application which uses a master page for a horizontal menu.  Each menu item will open a child page that contains a vertical menu on the right.  Can AllWebMenus have a menu on a master page and a different one on a child page.  Each child page will have its own menu which will be different from the menus on the other child pages.

One horizontal menu on site.master.

One vertical menu on each child page:  government.aspx will have the menu items "Certrification", "Contracting", and "Performance"

services.aspx will have 5 different menu items



Reply From:
Likno Customer Support

Hello,

Yes you can have different “right” menus on each page. There are two ways to do this:

1) Create a different menu for each page and link each one to the corresponding page.

2) Create a single UL/LI menu that you will link to the master (or template) page, and have a different UL/LI structure in each child page.

For more details on how the UL/LI menus work , please read the related Help article:

multiple vertical menus

Regards,
Kostas
Likno Customer Support
www.likno.com
Create any type of javascript menu (CSS menu, drop-down menu, sliding menu), button, html tree, modal window, tooltip, accordion, tab, scroller, jQuery slider) or design for your websites!

 

Tags: , , , , , , , , , , , , , , , , , , ,

 


© 2009-2013 Likno Blog – Drop-Down Menus, Javascript Menus, CSS Menus, jQuery Scrollers/Sliders, Modal Windows