This is a migrated thread and some comments may be shown as answers.

Radajax panel - JQuery - Menu

3 Answers 102 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
NLV
Top achievements
Rank 1
NLV asked on 11 Jan 2010, 06:26 AM
Hello,

i've created a vertical menu by showing and hiding divs using JQuery. I have wrapped all the divs in a RadAjax panel. The jquery script is written in Page load to show and hide the divs. After the panel loads the scripts are not fired and all the divs are rendered visible. So what should i do?

Also if i'm in the fourth menu, after the ajax loads the page should show the fourth div hiding all the other divs. How to do that?

Thank You.

3 Answers, 1 is accepted

Sort by
0
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
answered on 11 Jan 2010, 11:28 PM
Can you post the code to look at?
0
NLV
Top achievements
Rank 1
answered on 12 Jan 2010, 06:02 AM
Sorry, i cant, due to the policies. All i've done is created a simple aspx page with a vertical menu in the left and the content at the right. You can navigate through the menu and the content (div) changes in the right. Just simple old show/hide div menu.

My problem is that i've added all the divs in the content (totally 10) inside a radajax panel. So when some postback occurs in the fourth menu (fourth div), the menu set backs to the first one by running the script in the page load.

How can i pass some value when the postback occurs in one of those menus representing the identity of the menu in which postback occurred?

Thank you.
0
NLV
Top achievements
Rank 1
answered on 12 Jan 2010, 06:56 AM
Okie, i achieved it through RadAjaxSettings in RadAjaxManager without using RadAjaxPanel.

Thank you for your replies.
Tags
Ajax
Asked by
NLV
Top achievements
Rank 1
Answers by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
NLV
Top achievements
Rank 1
Share this question
or