Search results for query: *

  1. P

    SmartNavigation and keeping pages on top

    Thanks for the prompt response. Unfortunately the project is already late and over budget (my fault) so upgrading to VS2005 is not an option at this point. There are a number of other things that don't translate easily from VS2003 to VS2005 and I just have to get the project finished. I'll try...
  2. P

    SmartNavigation and keeping pages on top

    One more thing ... If I remove the SmartNavigation tag from the Page directive, the new window opens on top but I then lose control of the page position on postback. I've been struggling with this forever:mad:
  3. P

    SmartNavigation and keeping pages on top

    I have a web application written in VS2003 (VB.NET) and use SmartNavigation to stop long data entry pages from scrolling on postback, i.e. if I refresh the page based on something a user selects, the page position is maintained. When I pop up a report or help page in a new window, the new page...
  4. P

    Saving Files to a Local Drive from ASP.NET

    I'm getting closer but ... Thanks for that John. I've changed my code as follows but now get an error about an invalid URI. Here's the code: Response.Clear() Dim Pagename As String = "FileCCN" Dim FileName As String =...
  5. P

    Saving Files to a Local Drive from ASP.NET

    Not quite what I'm asking ... First, thanks to everyone for posting replies promptly however they aren't answering my question which I therefore haven't asked correctly. 1. This is a production application and I don't have any issues distinguishing between localhost and the production server...
  6. P

    Saving Files to a Local Drive from ASP.NET

    Only the simple things are hard! It's been a while since I looked at this but no matter what I've tried I get the following error: Access to the path "c:\inetpub\wwwroot\ScottQualityControl" is denied. The aspnet account does have read/write access to this directory. This occurs on the...
  7. P

    Saving Files to a Local Drive from ASP.NET

    That looks promising Thanks, I'll give that a try. I auto-generate the filename so that won't be an issue.
  8. P

    Saving Files to a Local Drive from ASP.NET

    My ASP.NET application (VS 2003 and VB.NET) has the ability to export files in csv format and I can auto-save them to the web server but what I really want to do is use the HTMLInputFile control to allow the user to enter a new filename and directory on their local hard disk. When I click the...
  9. P

    Passing a web page as a parameter

    I need to dynamically search a web page and locate imagebuttons without showing the page. The routine that performs the search is in a shared class. Other code in the same shared class works correctly but the difference is that I'm trying to pass the web page as a parameter to the second...
  10. P

    SmartNavigation

    I have an ASP.NET (1.1) application with long data entry forms. To avoid postbacks going to the top of the page I have invoked the 'SmartNavigation' option in the page properties however when I then open a new window to display a dynamically-generated pdf file, the new page stays in the...
  11. P

    Opening a New Browser Window

    Thanks for the prompt feedback. I've already tried that and it didn't work either. I know how to use the function (page.registerstartupscript) because I've used it successfully to force the cursor into the first field on an aspx page. Everything you're suggesting is consistent with everything...
  12. P

    Opening a New Browser Window

    Thanks for the feedback however it works when I hard-code the page name but NOT when I replace it with the parameter name. I've stepped through the code debugger and the parameter definitely contains the correct page name. When I use the parameter name the page doesn't display at all, the...
  13. P

    Launching Applications from ASP.NET

    First Problem Solved Doh! Forward slashes ("/") work a whole lot better than backslashes ("\") in URLs so that part of the problem has been resolved. I can now successfully open PDFs, DOCs, Text files and, of course, redirect to other aspx pages. I am only running this application as an...
  14. P

    Opening a New Browser Window

    I'm trying to open a new browser window whenever the user selects a document from a list. The list is correctly populated but to demonstrate the problem I've hard-coded the file name in the following example: PrivateSub DisplayPageInNewWindow(ByVal PageName As String) 'Response.Write("<script...
  15. P

    Launching Applications from ASP.NET

    I can launch an application from VB.NET (VS2003) but the same code merely refreshes the browser window in ASP.NET, for example: Process.Start ("C:\Inetpub\wwwroot\ScottQualityControl\QP_050_files\ArtefactionCorporateProfile.pdf") NB: This is all on a single line in the application The file...
  16. P

    Restricting Drag Drop Functionality

    Thanks but I'm trying to ensure OO-Compliance which negates the use of global variables wherever possible. Thanks anyway!
  17. P

    Restricting Drag Drop Functionality

    Problem Solved The simple task of writing down the problem made it easier to resolve. I now simply test for the name of the trreview being used, i.e. Dim x As TreeNode If (e.Data.GetDataPresent("System.Windows.Forms.TreeNode")) Then x = e.Data.GetData("System.Windows.Forms.TreeNode") If...
  18. P

    Restricting Drag Drop Functionality

    I have successfully implemented Drag Drop from a VB.NET Treeview Control onto a textbox but need to stop the user from dragging the wrong value into the right textbox, i.e. I have 3 treeview controls and corresponding textboxes but I don't want the user to drag from treeview1 to textbox2 or...
Back
Top