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

LoginControl update problem

1 Answer 55 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Chen asked on 07 Oct 2010, 05:11 PM
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" "">
<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">

1 Answer, 1 is accepted

Sort by
Maria Ilieva
Telerik team
answered on 13 Oct 2010, 11:10 AM
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
Asked by
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question