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

Item in menu refresh grid

1 Answer 61 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Olo
Top achievements
Rank 1
Olo asked on 18 Feb 2009, 10:28 AM
Hi,
I have a radmenu and a grid. After I clicked a item in menu I want to refresh grid. But  I want that only one item in menu refresh grid, not all.
I have:  ramAjaxManager.AjaxSettings.AddAjaxSetting(menu1, grid1, ralpLoadingPanel); => but in this case all menu refresh grid.
Any ideas?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 05 Mar 2009, 07:16 AM
Hi Olo,

I have one suggestion to do this, you can prevent postback for other menu item if you attach a java script function on the OnClientItemClicking event which checks for example the item's text and if true, returns false.

function  OnClientItemClickingHandler(sender, eventArgs)

 

{

 

 

if (eventArgs.Item.Text == "MenuItem2")

 

{

 

 

return false;

 

}

-shinu.

Tags
Menu
Asked by
Olo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or