Menu with user login control help needed

2 posts, 0 answers
  1. Kelvin
    Kelvin avatar
    10 posts
    Member since:
    Oct 2012

    Posted 27 May 2014 Link to this post


    A couple of months ago I saw one of the menu demos where one if the menu items was a login.  The item had a user id and password inputs along with a submit button.  I now need to code out something like this but I cannot find the demo as it seems to have been replaced with some newer ones.  Anyway can anyone provide a link to the demo if it still exists or some code samples (either C# or VB is fine) of how to accomplish having the login elements in a Rad Menu?

    Thanks in advance...

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 28 May 2014 in reply to Kelvin Link to this post

    Hi Kelvin,

    Please have a look into the sample code snippet which shows a Login form inside the RadMenu.

    <telerik:RadMenu ID="radmenuLogin" runat="server">
            <telerik:RadMenuItem Text="Login">
                    <div style="border: 1px solid black;">
                        <telerik:RadTextBox ID="radtxtUserName" runat="server" Label="User Name">
                        <br />
                        <telerik:RadTextBox ID="radtxtPassword" runat="server" Label="PassWord" TextMode="Password">
                        <br />
                        <telerik:RadButton ID="radbtnSubmit" runat="server" Text="Submit" OnClick="radbtnSubmit_Click">

    protected void radbtnSubmit_Click(object sender, EventArgs e)
        string userName = radtxtUserName.Text;
        string password = radtxtPassword.Text;
        //your code for submission

    Let me know if you have any concern.
  3. DevCraft R3 2016 release webinar banner
Back to Top