Problem in using ?findInPage(str)? method of java script for searching (collapsed situations).

Posted in dotnet, vb, vb.net | No Comments »

Normal
0

false
false
false

MicrosoftInternetExplorer4

I
am using ‘findInPage(str)’ method of java script for searching in my tree view
like application having nodes (collapse/expanded).

The
problem I am facing is  that while
searching and phrase (Find Next), the explorer throws an exception in case,
when ‘findInPage(str)’ method finds a particular string in the collapsed node and
work fine in case of expanded node. The requirement of my application is that I
have to perform searching only on those nodes which are expanded at that time.

For
example if a person has two postal addresses i.e. present and permanent, represented
by two nodes of tree view, then after applying ‘filter’, user can only search
in present postal address of a person node, which is expanded,  but not in permanent postal address node
which is collapsed at that time and vise versa.     

 

Similar:

  1. Expanding a node in ASP.Net TreeView through XML Attribute I have a ASP.Net TreeView control that I am binding to an XML data source. I’m wanting to be able to control which nodes are...
  2. preventing delay from hiding long list of elements with javascript? I am building a sort of tree view in javascript with items that can be expanded and collapsed (with default being collapsed). The problem is...
  3. Treeview with navigateurl and populateondemand does postback first time each node clicked I’ve a treeview control (asp.net 2) which sits in a frame. It’s populated on demand, from client – hence no postbacks for tree population. Each...
  4. Collapsible Panel Extender Collapsed Property Postback I have a set of 7 Collapsible Panel Extender controls on a page that I want to collapse all expand on on a button click...
  5. How to structure this tree of nodes? I’m writing a program in C++ that uses genetic techniques to optimize an expression tree. I’m trying to write a class Tree which has as...

Leave a Reply