Solve user control path problems

xiaoxiao2021-03-06  66

problem:

The directory structure is as follows:

Wwwroot / caol

----- images

| --------------- Test.gif

---- UserCtrl

| -------------- Ctrl.ascx

---- Dir1

| -------------- Test1.aspx

------- Test2.aspx

Quote Test.gif in Ctrl.ascx

Test1.aspx in DIR1 uses user controls normally

Unable to display images in Test2.aspx

Changed the Ctrl.ascx reference TEST.GIF code

Response.write (""

转载请注明原文地址:https://www.9cbs.com/read-89774.html

New Post(0)