V
v1nce
Hi
I'm looking for the -correct- (if any) way to pass parameters when invoking a control
some kind o
loadControl(path_of_control,"param1='1' param2='help me'")
I really need this because we used a portal in which we can "plug" controls
I got some "generic controls" and I want to specialize them (no modification of cod
involved only passing of some parameters
Until now I do it that wa
create the generic control "generic.ascx
create specialized control "specific.ascx
in VS I drag'n drop generic.ascx onto specific.ascx and modify the "html"
<%@ Register TagPrefix="uc1" TagName="generic" Src="../generic.ascx" %><uc1:generic id="specific" runat="server" param1="1" param2="elp me"></uc1:generic
This is really dumb (memory usage,end users can't pass parameters so I need to ad
controls at hand,recompilation needed everytime I add a control) so I'm looking for a solution
Can anyone point me to any resources or samples (especially in C#)?
thanks
Please excuse my English (I'm French)
I'm looking for the -correct- (if any) way to pass parameters when invoking a control
some kind o
loadControl(path_of_control,"param1='1' param2='help me'")
I really need this because we used a portal in which we can "plug" controls
I got some "generic controls" and I want to specialize them (no modification of cod
involved only passing of some parameters
Until now I do it that wa
create the generic control "generic.ascx
create specialized control "specific.ascx
in VS I drag'n drop generic.ascx onto specific.ascx and modify the "html"
<%@ Register TagPrefix="uc1" TagName="generic" Src="../generic.ascx" %><uc1:generic id="specific" runat="server" param1="1" param2="elp me"></uc1:generic
This is really dumb (memory usage,end users can't pass parameters so I need to ad
controls at hand,recompilation needed everytime I add a control) so I'm looking for a solution
Can anyone point me to any resources or samples (especially in C#)?
thanks
Please excuse my English (I'm French)