Ask a Question related to ASP.NET Building Controls, Design and Development.
-
Martin #1
Inherit from Wizard control
Hi,
I want to inherit from the Wizard control in ASP.Net 2.0, to add some
properties, events and modify/replace the default template for navigation.
I've started with a very simple class:
public class SequencedWizard:Wizard
{
public SequencedWizard()
{
//
// TODO: Add constructor logic here
//
}
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
// modify default templates here
}
}
When I use this control in an aspx page using
<%@ Register Assembly="WebControlsLib" Namespace="WebControlsLib"
TagPrefix="cc1" %>
and
<cc1:SequencedWizard ID="SequencedWizard1"
runat="server"></cc1:SequencedWizard>
I get the message "Unknown server tag 'cc1:SequencedWizard'
How should I trouble shoot this?
I'm not expecting to write any Designer controls - hoping I get the Wizard
designer controls "for free". Is that right?
Are there any articles describing how to extend the Wizard control like
this?
Thanks
Martin
Martin Guest
-
How to inherit a web user control
Hi, I have create a web user control, which named base.ascx. I put three text box and a datagrid in this user control. How do I inherit this user... -
Setting values for custom control inherit from DataGrid
Hi, I am doing a simple custom datagrid inheriting from DataGrid class. I would like to set some of the values to something else so that when... -
Inherit from a Web User Control
Hi, Is it possible to inherit from a web user control (*.ascx) created in a separate class-assembly to a local specialized control that can be... -
Wizard Control for ASP.NET 1.1
No unfortunately that is impossible! I have found a fairly decent example of how you would go about creating a wizard control using ASP.NET 1.1... -
Custom Control - inherit child properties?
Hey All, I'm building a custom control that contains a System.Web.UI.WebControls.Calendar object and am wondering about how to make the calendar's... -
Martin #2
Re: Inherit from Wizard control
Durrr
Mix up over namespaces
"Martin" <x@y.z> wrote in message
news:uCwBoW8iGHA.4344@TK2MSFTNGP05.phx.gbl...> Hi,
>
> I want to inherit from the Wizard control in ASP.Net 2.0, to add some
> properties, events and modify/replace the default template for navigation.
>
> I've started with a very simple class:
> public class SequencedWizard:Wizard
> {
> public SequencedWizard()
> {
> //
> // TODO: Add constructor logic here
> //
> }
> protected override void OnInit(EventArgs e)
> {
> base.OnInit(e);
> // modify default templates here
> }
> }
>
> When I use this control in an aspx page using
> <%@ Register Assembly="WebControlsLib" Namespace="WebControlsLib"
> TagPrefix="cc1" %>
>
> and
>
> <cc1:SequencedWizard ID="SequencedWizard1"
> runat="server"></cc1:SequencedWizard>
>
> I get the message "Unknown server tag 'cc1:SequencedWizard'
>
> How should I trouble shoot this?
> I'm not expecting to write any Designer controls - hoping I get the Wizard
> designer controls "for free". Is that right?
>
> Are there any articles describing how to extend the Wizard control like
> this?
>
> Thanks
> Martin
>
>
>
>
Martin Guest



Reply With Quote

