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

AutoCompleteBox blocks RadNavigation menu

1 Answer 86 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Goran
Top achievements
Rank 1
Goran asked on 06 Jul 2016, 09:31 AM

Hello

On a page I have RadNavigation menu with submenu and a AutoCompleteBox with OnEntryAdded event. If I put the AutoCompleteBox inside the UpdatePanel, after OnEntryAdded is fired, RadNavigation menu does not work anymore - it's blocked, I can't access submenu nodes. There is no javascript errors on the page, so I don't know how to fix this. Can you help me please.

I'm attaching the sample code which you can use to see the issue.

<%@ Page Title="" Language="VB"  AutoEventWireup="false" CodeFile="test1.aspx.vb" Inherits="test1" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>
<html>
    <head>
        <title>Test</title>
    </head>
    <body>
          <form id="form1" enctype="multipart/form-data"  runat="server">

        <telerik:RadScriptManager ID="RadScriptManager1" EnableScriptGlobalization="true"  Runat="server">
        </telerik:RadScriptManager>
               <telerik:RadNavigation ID="radNav"  Skin="MetroTouch" Font-Size="Medium"  runat="server" RenderMode="Auto">
                <Nodes>
                    <telerik:NavigationNode Text="Test">
                        <Nodes>
                        <telerik:NavigationNode NavigateUrl="test1.aspx"  Text="Test 1"></telerik:NavigationNode>
                        <telerik:NavigationNode NavigateUrl="test1.aspx"  Text="Test 2"></telerik:NavigationNode>
                        </Nodes>
                    </telerik:NavigationNode>
                </Nodes>
                </telerik:RadNavigation>

              <asp:UpdatePanel runat="server" ID="up1">
                  <ContentTemplate>
                        <telerik:RadAutoCompleteBox  OnEntryAdded="drpLista_EntryAdded"  ID="RadAutoCompleteBox1" Width="180px"  runat="server" Skin="Bootstrap">
                        </telerik:RadAutoCompleteBox> 
                  </ContentTemplate>
              </asp:UpdatePanel>
                   

              </form>
    </body>
</html>

 

Imports System.Data
Imports System.Data.SqlClient
Imports Telerik.Web.UI

Partial Class test1
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
        BindToArrayList(RadAutoCompleteBox1)
    End Sub 'Page_Load


    Private Sub BindToArrayList(ByVal autoCompleteBox As RadAutoCompleteBox)
        Dim itemsList As New ArrayList()
        itemsList.Add("One")
        itemsList.Add("Two")
        itemsList.Add("Three")
        autoCompleteBox.DataSource = itemsList
    End Sub 'BindToArrayList

    Protected Sub drpLista_EntryAdded(sender As Object, e As AutoCompleteEntryEventArgs)
        
    End Sub


End Class

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 08 Jul 2016, 02:42 PM
Hello,

I am afraid that this is a bug we are aware of and we will try to fix it for one of our future releases. You could track the status in our Ajax Feedback and Ideas Portal

For a temporary workaround you could wrap the Navigation with an update panel.

Regards,
Peter Milchev
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
AutoCompleteBox
Asked by
Goran
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or