D
DotNetWorks
Does anyone know of a way to insert a directeve from the
code behind?
Background:
I an creating a custom web control that wraps the IE Web
control tab strip.
The tab strip will still use the IE web control tab items
but the tab strip container will be custom. So I will
need 2 directives inserted when I drop the control on the
form:
<!-- one for ie web controls -->
<%@ Register TagPrefix="iewc"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<!-- one for my custom wrapper -->
<%@ Register TagPrefix="mcwc"
Namespace="MyCompany.CustomWebControls"
Assembly="MyCompany.CustomWebControls" %>
If anyone could give me some insight that would be great.
Thanks, Dan
code behind?
Background:
I an creating a custom web control that wraps the IE Web
control tab strip.
The tab strip will still use the IE web control tab items
but the tab strip container will be custom. So I will
need 2 directives inserted when I drop the control on the
form:
<!-- one for ie web controls -->
<%@ Register TagPrefix="iewc"
Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<!-- one for my custom wrapper -->
<%@ Register TagPrefix="mcwc"
Namespace="MyCompany.CustomWebControls"
Assembly="MyCompany.CustomWebControls" %>
If anyone could give me some insight that would be great.
Thanks, Dan