Hi,
Does anyone have any idea what could be causing this please?
I have now uploaded it to another server and the error "404 - Control Not Found" is occuring on this site as well.
My dev server is 4.9.5 and the other server is 4.9.0
Please can you take a look at this page and give any suggestions you may have?
http://www.taxiroute.co.uk/Home/Test/tabid/1395/language/en-GB/Default.aspx
As i said above, the strange this is that after a period of about 30 seconds the error seems to disappear and the search box works perfectly. Then it starts erroring again....
Here is the code I have used....
Sub MyDNNTextSuggest_PopulateOnDemand(ByVal source As Object, ByVal e As DotNetNuke.UI.WebControls.DNNTextSuggestEventArgs) Handles MyDNNTextSuggest.PopulateOnDemandEnd SubPrivate Sub PopulateList(ByVal objNodes As DNNNodeCollection, ByVal strText As String)Dim o As DNNNodeDim dt As DataTable = GetData()'strip out troublesome chars for Select below"[", "").Replace("]", "").Replace("'", "''")Me.MyDNNTextSuggest.CaseSensitiveDim drs() As DataRow = dt.Select("name like '%" & strText & "%'")Dim dr As DataRowFor Each dr In drsIf Me.MyDNNTextSuggest.MaxSuggestRows = 0 _OrElse objNodes.Count < (Me.MyDNNTextSuggest.MaxSuggestRows + 1) ThenNew DNNNode(CStr(dr("name")))CStr(dr("id"))End IfNextEnd Sub
Protected
PopulateList(e.Nodes, e.Text)
strText = strText.Replace(
dt.CaseSensitive =
o =
o.ID =
objNodes.Add(o)