Hi,
I'm using a RadMenu to display the first levels of my sitemap.
I use ajax to load menuitems on demand.
It's working well, but it's a little bit slow in IE6, so I would like to display a loading image or something. I'm trying to use the LoadingStatusTemplate property but it doesn't work...
Here's the code from my menu (a UserControl)
Any idea if something is wrong or missing ?
Thank you,
Olivier
I'm using a RadMenu to display the first levels of my sitemap.
I use ajax to load menuitems on demand.
It's working well, but it's a little bit slow in IE6, so I would like to display a loading image or something. I'm trying to use the LoadingStatusTemplate property but it doesn't work...
Here's the code from my menu (a UserControl)
<
asp:SiteMapDataSource
ID
=
"SiteMapDataSource1"
runat
=
"server"
ShowStartingNode
=
"false"
/>
<
telerik:RadAjaxManagerProxy
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadMenu1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadMenu1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManagerProxy
>
<
telerik:RadMenu
ID
=
"RadMenu1"
runat
=
"server"
DataSourceID
=
"SiteMapDataSource1"
MaxDataBindDepth
=
"1"
DataTextField
=
"Title"
DataValueField
=
"Key"
DataNavigateUrlField
=
"Url"
OnItemDataBound
=
"RadMenu1_ItemDataBound"
>
<
LoadingStatusTemplate
>
<
asp:Image
runat
=
"server"
ID
=
"LoadingImage"
ImageUrl
=
"~/common/images/ajax-loader.gif"
ToolTip
=
"Loading..."
Width
=
"16px"
Height
=
"16px"
/>
</
LoadingStatusTemplate
>
<
WebServiceSettings
Path
=
"~/Webservices/SiteMenuService.svc"
Method
=
"LoadData"
/>
<
DataBindings
>
<
telerik:RadMenuItemBinding
Depth
=
"0"
ExpandMode
=
"WebService"
/>
</
DataBindings
>
</
telerik:RadMenu
>
Any idea if something is wrong or missing ?
Thank you,
Olivier