E
Ernest Morariu
Hi All !
aspnet 2005; C#
I created a control deriving from System.Web.UI.WebControls.ImageButton.
Besides the control itself the project contains also some aspx pages.
The onclick event of this control is executed on client side(JavaScript).
The code in the onclick, opens a new window with showModalDialog() calling
one of the aspx pages inside my project.
This control should be used in many other applications here in my company.
My question is: where I should place my control on the webserver to be
easly used by the other applications ? as a new app on the root ? as a
subweb of each application ?
Is there any possibility to know(inside my control) wich is the virtual path
of my control relative to the virtual path of the application that uses my
control ? I need to know this as my control calls aspx pages that reside
under the folder of my control and this path could be different from the
application path(the app that uses my control).
Any help will be really appreciated.
Ernest Morariu
aspnet 2005; C#
I created a control deriving from System.Web.UI.WebControls.ImageButton.
Besides the control itself the project contains also some aspx pages.
The onclick event of this control is executed on client side(JavaScript).
The code in the onclick, opens a new window with showModalDialog() calling
one of the aspx pages inside my project.
This control should be used in many other applications here in my company.
My question is: where I should place my control on the webserver to be
easly used by the other applications ? as a new app on the root ? as a
subweb of each application ?
Is there any possibility to know(inside my control) wich is the virtual path
of my control relative to the virtual path of the application that uses my
control ? I need to know this as my control calls aspx pages that reside
under the folder of my control and this path could be different from the
application path(the app that uses my control).
Any help will be really appreciated.
Ernest Morariu