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

[Solved] RadGrid Stops responding in Edit Mode when in RADAJAXPanel or targeted by Telerik AJAX Manager

1 Answer 203 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Johan Pienaar
Top achievements
Rank 1
Johan Pienaar asked on 28 Apr 2009, 10:15 AM
Hi,

I have an application which makes extensive use of the CRUD capabilities of the ASP.NET Ajax:Grid. It is generally wrapped inside a RADAJAX Panel (Code included below). Everything worked fine until we made two changes to the application.

1. We upgraded the Telerik Controls from 2008.3.1125 to 2008.3.13142. We removed the RadMenu from the Masterpage and replaced it with a RadPanelBar.

Since making these changes everything works fine except that once the Grid enters Edit mode either for an Insert or Edit to be performed it becomes unresponsive. Clicking on the Update, Cancel, Refresh and Insert Links has no effect. We then removed the Grid From the RADAJAX Panel and it worked fine. I tested the Grid when targeted by the Telerik AJAX Manager and the same problem occurred.

I replicated the problem on a machine running Windows 7 Beta in both Firefox and IE. I then replicated the problem on Windows Vista and Windows 2003 machines running IE7 and Firefox.

Any suggestions?

Thanks.

Johan Pienaar

ASPX:
<%@ Page Title="" Language="VB" MasterPageFile="~/Web_Masterpages/Application.master" AutoEventWireup="false" CodeFile="ProductManagement.aspx.vb" Inherits="Web_Application_Administrators_Schemes_ProductManagement" %> 
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"
    <table cellpadding="5" cellspacing="0" width="100%" class="ContentTable"
    <tr> 
        <td valign="top"
    <asp:Label ID="Label1" runat="server" CssClass="headingmed"  
        Text="Manage Products"></asp:Label> 
            <br /> 
    <br /> 
            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" width="100%"  
                HorizontalAlign="NotSet" LoadingPanelID="RadAjaxLoadingPanel1"
                <telerik:RadGrid ID="RadGridProducts" runat="server"  
                AllowAutomaticDeletes="True" AllowAutomaticInserts="True"  
                AllowAutomaticUpdates="True" AllowFilteringByColumn="True" AllowPaging="True"  
                AllowSorting="True" DataSourceID="SqlDataSourceProduct" GridLines="None"  
                Skin="Forest" AutoGenerateColumns="False" PageSize="15"
                    <HeaderContextMenu EnableTheming="True" Skin="Gray"
                        <CollapseAnimation Duration="200" Type="OutQuint" /> 
                    </HeaderContextMenu> 
                    <ExportSettings FileName="Schemes" IgnorePaging="True" OpenInNewWindow="True"
                        <Pdf AllowCopy="True" Author="Prosperity Africa Web Amanagement System"  
                        Creator="Prosperity Africa Web Amanagement System" PageHeight="297mm"  
                        PageWidth="210mm" PaperSize="A4" /> 
                    </ExportSettings> 
                    <MasterTableView commanditemdisplay="Top" datasourceid="SqlDataSourceProduct"  
                    DataKeyNames="product_uniqueid,scheme_uniqueid"
                        <NoRecordsTemplate> 
                            <asp:Label ID="NoRecordsTemplate" runat="server"  
                            Text="No records were found."</asp:Label> 
                        </NoRecordsTemplate> 
                        <CommandItemSettings AddNewRecordText="Add new product" /> 
                        <RowIndicatorColumn> 
                            <HeaderStyle Width="20px"></HeaderStyle> 
                        </RowIndicatorColumn> 
                        <ExpandCollapseColumn> 
                            <HeaderStyle Width="20px"></HeaderStyle> 
                        </ExpandCollapseColumn> 
                        <Columns> 
                            <telerik:GridBoundColumn DataField="product_uniqueid" DataType="System.Int32"  
                            HeaderText="product_uniqueid" ReadOnly="True" SortExpression="product_uniqueid"  
                            UniqueName="product_uniqueid" Visible="False"
                            </telerik:GridBoundColumn> 
                            <telerik:GridTemplateColumn UniqueName="product_scheme"  
                            DataField="scheme_name" HeaderText="Scheme" SortExpression="scheme_name"
                                <EditItemTemplate> 
                                    <telerik:RadComboBox ID="RadComboBoxProductScheme" Runat="server"  
                                    DataSourceID="SqlDataSourceSchemes" DataTextField="scheme_name"  
                                    DataValueField="scheme_uniqueid" MarkFirstMatch="True" Skin="Forest"  
                                    SelectedValue='<%# Bind("product_scheme") %>' Width="175px"
                                        <Items> 
                                            <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1"  
                                            Value="RadComboBoxItem1" /> 
                                        </Items> 
                                        <CollapseAnimation Duration="200" Type="OutQuint" /> 
                                    </telerik:RadComboBox> 
                                </EditItemTemplate> 
                                <ItemTemplate> 
                                    <asp:Label ID="LabelProductScheme" runat="server"  
                                    Text='<%# Eval("scheme_name") %>'></asp:Label> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridTemplateColumn DataField="product_description" HeaderText="Name"  
                            SortExpression="product_description" UniqueName="product_description"
                                <EditItemTemplate> 
                                    <telerik:RadTextBox ID="RadTextBoxProductDescription" Runat="server"  
                                    LabelCssClass="radLabelCss_Gray" MaxLength="255" Skin="Forest"  
                                    Text='<%# Bind("product_description") %>' Width="175px"
                                    </telerik:RadTextBox> 
                                    <asp:RequiredFieldValidator ID="RequiredFieldProductDescription" runat="server"  
                                    ControlToValidate="RadTextBoxProductDescription" Display="Dynamic"  
                                    ErrorMessage="Product Description is required.">Product Description is required.</asp:RequiredFieldValidator> 
                                </EditItemTemplate> 
                                <ItemTemplate> 
                                    <asp:Label ID="LabelProductDescription" runat="server"  
                                    Text='<%# Eval("product_description") %>'></asp:Label> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridTemplateColumn UniqueName="product_startdate"  
                            DataField="product_startdate" DataType="System.DateTime"  
                            HeaderText="Start Date" SortExpression="product_startdate"
                                <EditItemTemplate> 
                                    <telerik:RadDatePicker ID="RadDatePickerStartDate" Runat="server" 
                                    Culture="English (South Africa)"  
                                    DbSelectedDate='<%# Bind("product_startdate") %>' Skin="Forest"  
                                        MinDate="2000-01-01"
                                        <DateInput LabelCssClass="radLabelCss_Gray" Skin="Gray"
                                        </DateInput> 
                                        <Calendar Skin="Forest"
                                        </Calendar> 
                                        <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                                    </telerik:RadDatePicker> 
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidatorStartDate"  
                                    runat="server" ControlToValidate="RadDatePickerStartDate"  
                                    Display="Dynamic" ErrorMessage="Start Date is required.">Start Date is required.</asp:RequiredFieldValidator> 
                                </EditItemTemplate> 
                                <ItemTemplate> 
                                    <asp:Label ID="LabelSchemeStartDate" runat="server"  
                                    Text='<%# Eval("product_startdate", "{0:d}") %>'></asp:Label> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridTemplateColumn UniqueName="product_enddate"  
                            DataField="product_enddate" DataType="System.DateTime"  
                            HeaderText="End Date" SortExpression="product_enddate"
                                <EditItemTemplate> 
                                    <telerik:RadDatePicker ID="RadDatePickerProductEndDate" Runat="server" 
                                    Culture="English (South Africa)"  
                                    DbSelectedDate='<%# Bind("product_enddate") %>' Skin="Forest"  
                                        MinDate="2003-01-01"
                                        <DateInput LabelCssClass="radLabelCss_Gray" Skin="Gray"
                                        </DateInput> 
                                        <Calendar Skin="Forest"
                                        </Calendar> 
                                        <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                                    </telerik:RadDatePicker> 
                                </EditItemTemplate> 
                                <ItemTemplate> 
                                    <asp:Label ID="LabelProductEndDate" runat="server"  
                                    Text='<%# Eval("product_enddate", "{0:d}") %>'></asp:Label> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridTemplateColumn DataField="product_maximumage"  
                            DataType="System.Decimal" HeaderText="Maximum Age"  
                            SortExpression="product_maximumage"  
                            UniqueName="product_maximumage" Visible="False"
                                <EditItemTemplate> 
                                    <telerik:RadNumericTextBox ID="RadNumericTextBoxMaximumAge"  
                                    Runat="server" Culture="English (South Africa)"  
                                    DbValue='<%# Bind("product_maximumage") %>' InvalidStyleDuration="500"  
                                    LabelCssClass="radLabelCss_Gray" MaxValue="99" MinValue="0" 
                                    Skin="Forest" Value="65" Width="75px"
                                    </telerik:RadNumericTextBox> 
                                </EditItemTemplate> 
                                <ItemTemplate> 
                                    <asp:Label ID="LabelMaximumAge" runat="server"  
                                    Text='<%# Eval("product_maximumage", "{0:N}") %>'></asp:Label> 
                                </ItemTemplate> 
                            </telerik:GridTemplateColumn> 
                            <telerik:GridBoundColumn DataField="product_lasteditedbyuser"  
                            HeaderText="product_lasteditedbyuser" ReadOnly="True"  
                            SortExpression="product_lasteditedbyuser" UniqueName="product_lasteditedbyuser"  
                            Visible="False"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="product_lasteditedon"  
                            DataType="System.DateTime" HeaderText="product_lasteditedon" ReadOnly="True"  
                            SortExpression="product_lasteditedon" UniqueName="product_lasteditedon"  
                            Visible="False"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="product_lasteditedip"  
                            HeaderText="product_lasteditedip" ReadOnly="True"  
                            SortExpression="product_lasteditedip" UniqueName="product_lasteditedip"  
                            Visible="False"
                            </telerik:GridBoundColumn> 
                            <telerik:GridCheckBoxColumn DataField="product_active"  
                            DataType="System.Boolean" HeaderText="Active"  
                            SortExpression="product_active" UniqueName="product_active"
                            </telerik:GridCheckBoxColumn> 
                            <telerik:GridEditCommandColumn ButtonType="ImageButton"
                            </telerik:GridEditCommandColumn> 
                            <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete"  
                                ConfirmText="Are you sure you want to delete this Product?" Text="Delete"  
                                UniqueName="column"
                            </telerik:GridButtonColumn>                            
                        </Columns> 
                        <NestedViewTemplate> 
                           <fieldset style="padding:10px;"
                               <legend style="padding:5px;"><b>Product Items bound to:</b> 
                                   <asp:Label ID="LabelID" Font-Bold="true" Font-Italic="true" Text='<%# Eval("product_uniqueid") %>' Visible="false" runat="server" /> 
                                   <asp:Label ID="LabelProductName" Font-Bold="true" Font-Italic="true" Text='<%# Eval("product_description") %>' runat="server" /> 
                               </legend> 
                                <asp:SqlDataSource ID="SqlDataSourceProductItemsByProduct" runat="server"  
                                    ConnectionString="<%$ ConnectionStrings:websiteconnstring %>"  
                                    SelectCommand="SELECT [itemisedproduct_description] FROM [itemisedproduct] WHERE ([itemisedproduct_product_uniqueid] = @itemisedproduct_product_uniqueid) ORDER BY [itemisedproduct_description]"
                                    <SelectParameters> 
                                        <asp:ControlParameter ControlID="LabelID" Name="itemisedproduct_product_uniqueid"  
                                            PropertyName="Text" Type="Int32" /> 
                                    </SelectParameters> 
                                </asp:SqlDataSource>         
                                <asp:DataList ID="DataListProductItems" runat="server"  
                                    DataSourceID="SqlDataSourceProductItemsByProduct"
                                    <ItemTemplate> 
                                        <asp:Label ID="itemisedproduct_descriptionLabel" runat="server"  
                                            Text='<%# Eval("itemisedproduct_description") %>' /> 
                                    </ItemTemplate> 
                                </asp:DataList> 
                           </fieldset> 
                        <br /> 
                           <fieldset style="padding:10px;"
                               <legend style="padding:5px;"><b>Service Providers bound to:</b> 
                                   <asp:Label ID="LabelID1" Font-Bold="true" Font-Italic="true" Text='<%# Eval("product_uniqueid") %>' Visible="false" runat="server" /> 
                                   <asp:Label ID="LabelProductName1" Font-Bold="true" Font-Italic="true" Text='<%# Eval("product_description") %>' runat="server" /> 
                               </legend> 
                                    <asp:SqlDataSource ID="SqlDataSourceServiceProviders" runat="server"  
                                        ConnectionString="<%$ ConnectionStrings:websiteconnstring %>"  
                                        SelectCommand="SELECT serviceproviders.serviceproviders_description, serviceproviders.serviceproviders_name, serviceproviderproduct.serviceproviderproduct_percentage FROM serviceproviderproduct INNER JOIN serviceproviders ON serviceproviderproduct.serviceproviderproduct_provider = serviceproviders.serviceproviders_uniqueid WHERE (serviceproviderproduct.serviceproviderproduct_product = @serviceproviderproduct_product)"
                                        <SelectParameters> 
                                            <asp:ControlParameter ControlID="LabelID1" Name="serviceproviderproduct_product"  
                                                PropertyName="Text" /> 
                                        </SelectParameters> 
                                    </asp:SqlDataSource>         
                                    <asp:DataList ID="DataListServiceProvider" runat="server"  
                                        DataSourceID="SqlDataSourceServiceProviders" Width="750px"
                                        <ItemTemplate> 
                                            <table cellpadding="5" cellspacing="0"
                                                <tr> 
                                                    <td width="250"
                                                        <asp:Label ID="serviceproviders_nameLabel" runat="server"  
                                                            Text='<%# Eval("serviceproviders_name") %>' /> 
                                                    </td> 
                                                    <td width="250"
                                                        <asp:Label ID="serviceproviderproduct_percentageLabel" runat="server"  
                                                            Text='<%# Eval("serviceproviderproduct_percentage") %>' /> 
                                                        %</td> 
                                                </tr> 
                                            </table> 
                                        </ItemTemplate> 
                                    </asp:DataList> 
                            <br /> 
                           </fieldset> 
                            <br /> 
                        </NestedViewTemplate>    
                    </MasterTableView> 
                    <FilterMenu EnableTheming="True"
                        <CollapseAnimation Type="OutQuint" Duration="200"
                        </CollapseAnimation> 
                    </FilterMenu> 
                </telerik:RadGrid> 
                <br /> 
                <asp:Label ID="LabelUser" runat="server"></asp:Label> 
                &nbsp;from 
                <asp:Label ID="LabelUserIP" runat="server"></asp:Label> 
                &nbsp;is editing this page on 
                <asp:Label ID="LabelDateNow" runat="server"></asp:Label> 
                <br /> 
            </telerik:RadAjaxPanel> 
            <asp:SqlDataSource ID="SqlDataSourceSchemes" runat="server"  
                ConnectionString="<%$ ConnectionStrings:websiteconnstring %>"  
                SelectCommand="SELECT [scheme_uniqueid], [scheme_name] FROM [schemes] WHERE ([scheme_active] = @scheme_active) ORDER BY [scheme_name]"
                <SelectParameters> 
                    <asp:Parameter DefaultValue="True" Name="scheme_active" Type="Boolean" /> 
                </SelectParameters> 
            </asp:SqlDataSource> 
            <asp:SqlDataSource ID="SqlDataSourceProduct" runat="server"  
                ConnectionString="<%$ ConnectionStrings:websiteconnstring %>"  
                SelectCommand="SELECT products.product_uniqueid, products.product_scheme, products.product_description, products.product_startdate, products.product_enddate, products.product_maximumage, products.product_lasteditedbyuser, products.product_lasteditedon, products.product_lasteditedip, products.product_active, schemes.scheme_name, schemes.scheme_uniqueid FROM products INNER JOIN schemes ON products.product_scheme = schemes.scheme_uniqueid ORDER BY products.product_scheme, products.product_description"  
                UpdateCommand="UPDATE [products] SET [product_scheme] = @product_scheme, [product_description] = @product_description, [product_startdate] = @product_startdate, [product_enddate] = @product_enddate, [product_maximumage] = @product_maximumage, [product_lasteditedbyuser] = @product_lasteditedbyuser, [product_lasteditedon] = @product_lasteditedon, [product_lasteditedip] = @product_lasteditedip, [product_active] = @product_active WHERE [product_uniqueid] = @product_uniqueid"  
                DeleteCommand="DELETE FROM [products] WHERE [product_uniqueid] = @product_uniqueid"  
                InsertCommand="INSERT INTO [products] ([product_scheme], [product_description], [product_startdate], [product_enddate], [product_maximumage], [product_lasteditedbyuser], [product_lasteditedon], [product_lasteditedip], [product_active]) VALUES (@product_scheme, @product_description, @product_startdate, @product_enddate, @product_maximumage, @product_lasteditedbyuser, @product_lasteditedon, @product_lasteditedip, @product_active)"
                <DeleteParameters> 
                    <asp:Parameter Name="product_uniqueid" Type="Int32" /> 
                </DeleteParameters> 
                <UpdateParameters> 
                    <asp:Parameter Name="product_scheme" Type="Int32" /> 
                    <asp:Parameter Name="product_description" Type="String" /> 
                    <asp:Parameter Name="product_startdate" Type="DateTime" /> 
                    <asp:Parameter Name="product_enddate" Type="DateTime" DefaultValue="2099/12/31" /> 
                    <asp:Parameter Name="product_maximumage" Type="Decimal" DefaultValue="65"/> 
                    <asp:ControlParameter Name="product_lasteditedbyuser" ControlID="LabelUser" PropertyName="Text" Type="String" /> 
                    <asp:ControlParameter Name="product_lasteditedon" ControlID="LabelDateNow" PropertyName="Text" Type="String" /> 
                    <asp:ControlParameter Name="product_lasteditedip" ControlID="LabelUserIP" PropertyName="Text" Type="String" /> 
                    <asp:Parameter Name="product_uniqueid" Type="Int32" /> 
                </UpdateParameters> 
                <InsertParameters> 
                    <asp:Parameter Name="product_scheme" Type="Int32" /> 
                    <asp:Parameter Name="product_description" Type="String" /> 
                    <asp:Parameter Name="product_startdate" Type="DateTime" /> 
                    <asp:Parameter Name="product_enddate" Type="DateTime" DefaultValue="2099/12/31" /> 
                    <asp:Parameter Name="product_maximumage" Type="Decimal" DefaultValue="65"/> 
                    <asp:ControlParameter Name="product_lasteditedbyuser" ControlID="LabelUser" PropertyName="Text" Type="String" /> 
                    <asp:ControlParameter Name="product_lasteditedon" ControlID="LabelDateNow" PropertyName="Text" Type="String" /> 
                    <asp:ControlParameter Name="product_lasteditedip" ControlID="LabelUserIP" PropertyName="Text" Type="String" /> 
                    <asp:Parameter Name="product_active" Type="Boolean" /> 
                </InsertParameters> 
            </asp:SqlDataSource> 
            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"  
                BackColor="#666666" MinDisplayTime="500" style="text-align: center"  
                Transparency="50" Width="100%" Height="100%"
                <img alt="Loading..."  
                    src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'  
                    style="border:0px;" /> 
            </telerik:RadAjaxLoadingPanel> 
        </td>    
    </tr> 
    </table> 
</asp:Content> 
 

VB Code:
 
Partial Class Web_Application_Administrators_Schemes_ProductManagement 
    Inherits System.Web.UI.Page 
 
    Protected Sub Page_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles Me.Load 
 
        'Handles User Session Expired 
        Dim str_GetUsername As String 
        Try 
            str_GetUsername = Membership.GetUser.ToString() 
 
        Catch ex As Exception 
            Response.Redirect("~\Web_Application\Default.aspx"
 
        End Try 
 
        LabelDateNow.Text = Date.Now.ToString 
        LabelUser.Text = Membership.GetUser.ToString() 
        LabelUserIP.Text = Request.UserHostAddress.ToString() 
 
    End Sub 
 
    Protected Sub RadGridProducts_ItemDeleted(ByVal source As ObjectByVal e As Telerik.Web.UI.GridDeletedEventArgs) Handles RadGridProducts.ItemDeleted 
        If Not e.Exception Is Nothing Then 
            e.ExceptionHandled = True 
            DisplayMessage("Product " + e.Item("product_description").Text + " cannot be deleted. The most likely reasons for this is that there are items linked to this product. Reason: " + e.Exception.Message) 
        Else 
            DisplayMessage("Product " + e.Item("product_description").Text + " deleted. "
        End If 
 
    End Sub 
 
    Protected Sub RadGridProducts_ItemUpdated(ByVal source As ObjectByVal e As Telerik.Web.UI.GridUpdatedEventArgs) Handles RadGridProducts.ItemUpdated 
 
        Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem) 
 
        If Not e.Exception Is Nothing Then 
            e.KeepInEditMode = True 
            e.ExceptionHandled = True 
            DisplayMessage("Product " + e.Item("product_description").Text + " cannot be updated. Reason: " + e.Exception.Message) 
        Else 
            DisplayMessage("Product " + e.Item("product_description").Text + " updated"
        End If 
 
    End Sub 
 
    Protected Sub RadGridProducts_ItemInserted(ByVal source As ObjectByVal e As Telerik.Web.UI.GridInsertedEventArgs) Handles RadGridProducts.ItemInserted 
        If Not e.Exception Is Nothing Then 
            e.ExceptionHandled = True 
            e.KeepInInsertMode = True 
            DisplayMessage("Product cannot be inserted. Reason: " + e.Exception.Message) 
        Else 
            DisplayMessage("Product inserted"
        End If 
 
    End Sub 
 
    Private Sub DisplayMessage(ByVal text As String
        RadGridProducts.Controls.Add(New LiteralControl(text)) 
 
    End Sub 
 
End Class 
 

ASPX: Master Page
<%@ Master Language="VB" CodeFile="Application.master.vb" Inherits="Web_Masterpages_Application" %> 
 
<%@ 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"
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title></title> 
    <asp:ContentPlaceHolder id="head" runat="server"
    </asp:ContentPlaceHolder> 
    <link href="../App_Themes/Application/Application.css" rel="stylesheet" type="text/css" /> 
 
</head> 
<body> 
    <form id="form1" runat="server"
        <telerik:RadScriptManager ID="ScriptManager1" runat="server"  
            EnableTheming="True"
        </telerik:RadScriptManager> 
        <table align="center" cellpadding="0" cellspacing="0" class="OutsideTable"
        <tr> 
            <td> 
                <table cellpadding="0" cellspacing="0" class="MastheadTable"
                    <tr> 
                        <td align="left"
                            <asp:HyperLink ID="HyperLink1" runat="server" ImageUrl="~/Web_Images/PMALOGO.png">HyperLink</asp:HyperLink> 
                            <br /> 
                            <br /> 
                        </td> 
                        <td align="right"
                            <asp:Login ID="LoginMasthead" runat="server" DisplayRememberMe="False"  
                                LoginButtonType="Link" PasswordRecoveryText="Recover Password"  
                                VisibleWhenLoggedIn="False" Orientation="Horizontal"  
                                PasswordRecoveryUrl="~/Web_Membership/recoverpassword.aspx"
                                <LayoutTemplate> 
                                    <table border="0" cellpadding="1" cellspacing="0"  
                                        style="border-collapse: collapse;"
                                        <tr> 
                                            <td> 
                                                <table border="0" cellpadding="0"
                                                    <tr> 
                                                        <td> 
                                                            &nbsp;</td> 
                                                        <td> 
                                                            <telerik:RadTextBox ID="UserName" Runat="server"  
                                                                EmptyMessage="Enter Your User Name:" LabelCssClass="radLabelCss_Gray"  
                                                                Skin="Forest" Width="150px"
                                                            </telerik:RadTextBox> 
                                                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server"  
                                                                ControlToValidate="UserName" ErrorMessage="User Name is required."  
                                                                ToolTip="User Name is required." ValidationGroup="ctl00$LoginMasthead">*</asp:RequiredFieldValidator> 
                                                        </td> 
                                                        <td> 
                                                            &nbsp;&nbsp;&nbsp; &nbsp;</td> 
                                                        <td> 
                                                            <telerik:RadTextBox ID="Password" Runat="server" EmptyMessage="Password"  
                                                                LabelCssClass="radLabelCss_Gray" Skin="Forest" TextMode="Password"  
                                                                Width="150px"
                                                            </telerik:RadTextBox> 
                                                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server"  
                                                                ControlToValidate="Password" ErrorMessage="Password is required."  
                                                                ToolTip="Password is required." ValidationGroup="ctl00$LoginMasthead">*</asp:RequiredFieldValidator> 
                                                        </td> 
                                                        <td> 
                                                            <asp:LinkButton ID="LoginLinkButton" runat="server" CommandName="Login"  
                                                                ValidationGroup="ctl00$LoginMasthead">Log In</asp:LinkButton> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td colspan="5" style="color: Red;"
                                                            <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td colspan="5"
                                                            <asp:HyperLink ID="PasswordRecoveryLink" runat="server"  
                                                                NavigateUrl="~/Web_Membership/recoverpassword.aspx">Recover Password</asp:HyperLink> 
                                                            <br /> 
                                                            <asp:HyperLink ID="HyperLinkPMA" runat="server"  
                                                                NavigateUrl="http://website.pmafrica.co.za" Target="_blank">Prosperity Management Africa Website</asp:HyperLink> 
                                                        </td> 
                                                    </tr> 
                                                </table> 
                                            </td> 
                                        </tr> 
                                    </table> 
                                </LayoutTemplate> 
                            </asp:Login> 
                            <asp:LoginStatus ID="LoginStatus1" runat="server" LoginText="" /> 
                            <br /> 
                            <asp:LoginView ID="LoginView1" runat="server"
                                <LoggedInTemplate> 
                                    <asp:HyperLink ID="HyperLinkPMALoggedIn" runat="server" NavigateUrl="http://website.pmafrica.co.za" Target="_blank">Prosperity Management Africa Website</asp:HyperLink><br /> 
                                    Active Premium Period: <% Response.Write(Application("PremiumMonth"))%> - <% Response.Write(Application("PremiumStartDate"))%> to <% Response.Write(Application("PremiumEndDate"))%>.<br />                  
                                    Active Claims Period: <% Response.Write(Application("ClaimMonth"))%> - <% Response.Write(Application("ClaimStartDate"))%> to <% Response.Write(Application("ClaimEndDate"))%>.<br />                  
                                </LoggedInTemplate> 
                                <AnonymousTemplate> 
                                </AnonymousTemplate> 
                            </asp:LoginView> 
                            <asp:Panel ID="PanelMonthDisplay" Visible="false" runat="server"
                            </asp:Panel> 
                        </td> 
                    </tr> 
                </table> 
                <table cellpadding="0" cellspacing="0" class="BodyTable"
                    <tr> 
                        <td align="left" valign="top"
                            <table cellpadding="0" cellspacing="0"
                                <tr> 
                                    <td class="PanelBarCell"
                                        <telerik:RadPanelBar ID="RadPanelBar1" Runat="server"  
                                            DataSourceID="Web_Application" Skin="Forest" Width="200px"
                                            <CollapseAnimation Type="None" Duration="100"></CollapseAnimation> 
                                            <ExpandAnimation Type="None" Duration="100"></ExpandAnimation> 
                                        </telerik:RadPanelBar> 
                                    </td> 
                                    <td class="ContentCell"
                                        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"
                                        </asp:ContentPlaceHolder> 
                                    </td> 
                                </tr> 
                            </table> 
                        </td> 
                    </tr> 
                </table> 
            </td> 
        </tr> 
    </table> 
        <asp:SiteMapDataSource ID="Web_Application" runat="server"  
        ShowStartingNode="False" SiteMapProvider="Web_Application" /> 
    </form> 
</body> 
</html> 
 

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 01 May 2009, 08:14 AM
Hello Johan Pienaar,

I tried to reproduce this problem but to no success.

Please, review the attached sample for comparison with your implementation. In addition, could you try to reproduce the issue with a MS UpdatePanel control and let us know of the result.

Thank you.

Best Regards,
Tsvetoslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Johan Pienaar
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or