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

File Selector Demo Help

1 Answer 63 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Brett
Top achievements
Rank 2
Brett asked on 23 Apr 2009, 07:51 PM

I am fllowing the demo for teh filew selector, however I am getting am getting an error from the JS:

Compiler Error Message: BC30451: Name 'ExplorerWindow' is not declared.

Source Error:

Line 83:         function OpenFileExplorerDialog()
Line 84:         {
Line 85: var wnd = $find("<%= ExplorerWindow.ClientID %>");Line 86:             wnd.show();
Line 87:         }



Any ideas??

1 Answer, 1 is accepted

Sort by
0
Brett
Top achievements
Rank 2
answered on 23 Apr 2009, 08:20 PM
Figured it out.  Had an issue as it was buried in a formview...fix it with this:

 

var wnd = $find('<%=fvAddBidDoc.FindControl("ExplorerWindow").ClientID %>');

 



where fvAddBidDoc  is the name of the formview
Tags
FileExplorer
Asked by
Brett
Top achievements
Rank 2
Answers by
Brett
Top achievements
Rank 2
Share this question
or