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

Radmenu, Expandmode=webservice within SP2010

1 Answer 49 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 13 Oct 2011, 12:10 AM
We have a project where we have been successfully using the radmenu with statically defined menuitems but due to page weight and exceptionally long js render times we are trying to use the webservice population mode.  We have the code running within our control in a test harness successfully but when we run within our sharepoint environment the server side onclick events are not being triggered.  These same onclick events are being caught in the debugger when running our code outside of sharepoint.  Using fiddler we see a postback does occur when the menu item is clicked. 

Do you have any suggestions on what to check/where to look next.

Thanks.

 

 

<telerik:RadMenu ID="xxxRadMenu" runat="server" Skin="Office2007" ClickToOpen="true"

 

 

 

OnClientItemClicking="DoIt.OnMenuItemClicking" OnItemClick="xxxRadMenu_ItemClicked"

 

 

 

CollapseAnimation-Type="None" CssClass="ActionsRadMenu" OnClientItemPopulating="itemPopulating">

 

 

 

<WebServiceSettings Method="PopulateAccountMenuItems" />

 

 

 

<Items>

 

 

 

<telerik:RadMenuItem Text="Actions..."

 

 

 

Value="Actions"

 

 

 

PostBack="false"

 

 

 

ExpandMode="WebService">

 

 

 

</telerik:RadMenuItem>

 

 

 

</Items>

 

 

 

</telerik:RadMenu>

 

1 Answer, 1 is accepted

Sort by
0
Kalina
Telerik team
answered on 16 Oct 2011, 11:02 AM
Hi David,

Let me suggest you take a look at this online demo and particularly the WebServiceSettings and web method definition there.
Can you reproduce the issue out of SharePoint?

All the best,
Kalina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Menu
Asked by
Mark
Top achievements
Rank 1
Answers by
Kalina
Telerik team
Share this question
or