dynamic content in user control
-
Hi! I have the situation that I have an user control and some aspx sites which host this control. Now I would like to say that if the site a.aspx has embedded the control the control shall view the image a.jpeg, if the site b.aspx has embedded the control it should view b.jpeg and so on. Any ideas?
-
Hi! I have the situation that I have an user control and some aspx sites which host this control. Now I would like to say that if the site a.aspx has embedded the control the control shall view the image a.jpeg, if the site b.aspx has embedded the control it should view b.jpeg and so on. Any ideas?
so basicaly you want to figure out details (e.g path) about page in which is your usercontrol embedded? David Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy -
so basicaly you want to figure out details (e.g path) about page in which is your usercontrol embedded? David Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy -
I think you can simply use Control.Page[^], no? "This property's value reflects the name of the .aspx file that contains the server control." David Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy -
I think you can simply use Control.Page[^], no? "This property's value reflects the name of the .aspx file that contains the server control." David Never forget: "Stay kul and happy" (I.A.)
David's thoughts / dnhsoftware.org / MyHTMLTidy