LoginControl update problem

2 posts, 0 answers
  1. Chen
    Chen avatar
    46 posts
    Member since:
    Oct 2010

    Posted 07 Oct 2010 Link to this post

    I am a newbie, so this may be trivial.
    I am using your login window example, and failed on the get-go.
    I took the TelerikLoginWebForm and added a login template.
    I expect to see "DGV" when I am logged in, and nothing, when I am not.
    However, DGV does appear when I am logged in, but fails to disappear when I logout. 
    As if the logout event does not modify the LoginView.
    The LoginControl does change when I hit Logout.

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TelerikLoginWebForm.aspx.cs" Inherits="TelerikLoginWebForm" %>
    <%@ Register src="LoginControl.ascx" tagname="LoginControl" tagprefix="uc1" %>
    <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head runat="server">
        <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
        <form id="form1" runat="server" >
        <asp:ScriptManager ID="RadScriptManager1" runat="server">
                <%--Needed for JavaScript IntelliSense in VS2010--%>
                <%--For VS2008 replace RadScriptManager with ScriptManager--%>
    <%--            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        <script type="text/javascript">
            //Put your JavaScript code here.
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <telerik:AjaxSetting AjaxControlID="LoginView">
                        <telerik:AjaxUpdatedControl ControlID="LoginView" UpdatePanelHeight="" />
            <uc1:LoginControl ID="LoginControl1" runat="server" />
            <asp:LoginView ID="LoginView" runat="server">

  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 13 Oct 2010 Link to this post

    Hello Chen,

    The provided code looks ok to me.
    As the provided information is not enough to isolate the root cause of the issue you are facing, please prepare a simple, fully runnable reproduction demo, open a new support ticket and send it to us along with very detailed reproduction steps and explanations and we will debug it locally and we will do our best to help.

    Best wishes,
    Maria Ilieva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top