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

RadMenu not firing onclick in LoggedInTemplate

1 Answer 95 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Antonio
Top achievements
Rank 1
Antonio asked on 03 Jun 2011, 02:42 AM
Hello,

The following code does not fires onclick properly in RadMenu but removing Loginview and loggedintemplate tags
makes it to run, I think something is not being located in order to fire onclick, what would be the
workaround to allow loginview?

Thanks
Antonio

<asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false">
<LoggedInTemplate>
 

<
telerik:RadMenu ID="RadMenu1" runat="server" Width="100%" style="margin-bottom:2px"
         EnableRoundedCorners="True" EnableShadows="True"
         DataSourceID="SqlDataSource1" 
         DataFieldID="MenuID" 
         DataFieldParentID="ParentID"
         onitemclick="RadMenu1_ItemClick" onitemdatabound="RadMenu1_ItemDataBound" 
         >
         <DataBindings>
            <telerik:RadMenuItemBinding TextField="FieldText" Depth="0" />
            <telerik:RadMenuItemBinding TextField="FieldText" Depth="1" ValueField="Page" />
        </DataBindings>
 </telerik:RadMenu>
     <asp:SqlDataSource ID="SqlDataSource1" runat="server"
     ConnectionString="<%$ ConnectionStrings:serpoldbConnectionString %>" 
    SelectCommand="select MenuID,ParentID,FieldText,Page from tbMenu" SelectCommandType="Text"
    CancelSelectOnNullParameter="False">
     </asp:SqlDataSource>

 

 

 

 

</LoggedInTemplate>
    </asp:LoginView>

 

 

 

 

 

 

 

 

 


1 Answer, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 03 Jun 2011, 07:48 AM
Hello Antonio,

I've tested similar scenario with putting the RadMenu in LoginView control inside LoggedInTemplate. The ItemClick event of the menu is firing correctly.
I suspect something wrong in your implementation. Could you please open new support thread and send me your code as attachment in a .zip file so I can inspect it and help you?

Thank you!

All the best,
Veronica Milcheva
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Menu
Asked by
Antonio
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Share this question
or