Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by SFDWeb

  1. SFDWeb

    Server Side Include Problem

    Well in legacy ASP I could build pages in an html editor so the editor didn't care where the include file lived so when I put the page on the server it would find the file with no problem. None of that is true in ASP.NET because it has to be compiled so it definately cares whether or not it can...
  2. SFDWeb

    Server Side Include Problem

    In legacy ASP I call the file like this: <tr> <td><!-- #include virtual="/somefile.inc" --></td> </tr> In ASP.NET if I place the include in the table cell I get the following runtime error: "Could not find file "c:\inetpub\wwwroot\somefile.inc". The error prevents me from testing the...
  3. SFDWeb

    Server Side Include Problem

    You said -- "If you want to use ASP.NET correctly then 1) Replace the use of include files with User Controls and Classes (like I demonstrated). 2) Move the javascript from you include file into a .js file. 3) Create a css file and make your tables us this file 4) Replace the "calls to more...
  4. SFDWeb

    Server Side Include Problem

    Sorry ca8msm, I still don't see how that solves the problem. The include file needs to be displayed within a specific table cell and the include file I need to display contains graphics, javascript and calls to more includes so I still don't understand how creating a class with a function in...
  5. SFDWeb

    Server Side Include Problem

    Thanx for the reply ca8msm but I'm still stumped. Even if I create a class I still would have to make a call to the include file to get it to appear in the page. How do I get it to appear if I'm not supposed to use <!-- #include file="somefile.inc" --> ?? I guess I'm not understanding how...
  6. SFDWeb

    Server Side Include Problem

    Hello, I'm very new to ASP.NET I am developing an application that uses a couple SSI's. The problem is, the files reside on a web server and I cannot download them to my local drive and add them to my project. Everything I've tried this far to include them has failed and I end up with runtime...
  7. SFDWeb

    Compare 2 Control Values??

    I'm new to .NET (only two weeks!) and I have an ASP.NET application I'm working on and I can't find a solution to my problem so here I am asking for help! I have a radio button group and a textbox on a form. The radio button group does not have a preselected value and the textbox has no...

Part and Inventory Search

Back
Top