|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Help on rendering a control from page ???I get a control named CTRLA in an Assembly. the name space in the assembly is "Test" . my control is defined as follow in my page : <%@ Tagprefix="MycontrolLib" namesapce="Test" Assembly="myAssembly" What is the correct way to render that control on my page : <MycontrolLib:CTRLA id="control1" runat="server"> or should it be <test:CTRLA id="control1" runat="server"> I am confused? Thanks to help me clarify regards serge Hi serge,
Just drag your control from the toolbox onto a page. Look in the source (code-behind) what VS made of it. Show quoteHide quote "serge calderara" <sergecalder***@discussions.microsoft.com> schreef in bericht news:74AEAC04-D601-46E0-A96E-0D111DB78900@microsoft.com... > Dear all, > I get a control named CTRLA in an Assembly. the name space in the assembly > is "Test" . > > my control is defined as follow in my page : > <%@ Tagprefix="MycontrolLib" namesapce="Test" Assembly="myAssembly" > > What is the correct way to render that control on my page : > <MycontrolLib:CTRLA id="control1" runat="server"> > > or should it be > > <test:CTRLA id="control1" runat="server"> > > I am confused? > > Thanks to help me clarify > > regards > serge >
custom control client values gone with postback
Server Control - object not saved when button clicked Setting focus to TextBox Problems with Custom Web Controls in VS 2005 Mouseover, mouseout, click etc on datagrid. DataList Issue DropDownList Value Maintaining "id" attribute value in server controls What is the Equivalent of the CurrentRowIndex Property for a DataGrid Web Control? Mailto Link in Gridview |
|||||||||||||||||||||||