File Selector Demo Help

2 posts, 0 answers
  1. bslaght
    bslaght avatar
    184 posts
    Member since:
    Jun 2006

    Posted 23 Apr 2009 Link to this post

    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??
  2. bslaght
    bslaght avatar
    184 posts
    Member since:
    Jun 2006

    Posted 23 Apr 2009 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top