Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Corporate Footer Control

Reply
Thread Tools

Corporate Footer Control

 
 
bspann
Guest
Posts: n/a
 
      11-05-2003
I have a custom control that I have written for our companies footer. The
old footer was an include file that used div tags. In my control, my class
inherited from the base(HtmlTextWriterTag.Div). This works as long as I
manually place the tag on the ASP.NET page. I am not able to drag and drop
the control on the page. After I added the tag to the page, in design mode
the page I get an "Error Creating Control".

Should I inherit from another control or tag? Some direction would be
great.

Thanks,

Brian


 
Reply With Quote
 
 
 
 
Jim
Guest
Posts: n/a
 
      11-05-2003
Did you create a Web User Control (.ascx)?

>-----Original Message-----
>I have a custom control that I have written for our

companies footer. The
>old footer was an include file that used div tags. In my

control, my class
>inherited from the base(HtmlTextWriterTag.Div). This

works as long as I
>manually place the tag on the ASP.NET page. I am not

able to drag and drop
>the control on the page. After I added the tag to the

page, in design mode
>the page I get an "Error Creating Control".
>
>Should I inherit from another control or tag? Some

direction would be
>great.
>
>Thanks,
>
>Brian
>
>
>.
>

 
Reply With Quote
 
 
 
 
bspann
Guest
Posts: n/a
 
      11-05-2003
No, it is a Custom Control. Because Corporate Headers and Footers can span
across multiple applications. So I don't use that approach.


"Jim" <> wrote in message
news:028401c3a3c0$1853f6b0$...
> Did you create a Web User Control (.ascx)?
>
> >-----Original Message-----
> >I have a custom control that I have written for our

> companies footer. The
> >old footer was an include file that used div tags. In my

> control, my class
> >inherited from the base(HtmlTextWriterTag.Div). This

> works as long as I
> >manually place the tag on the ASP.NET page. I am not

> able to drag and drop
> >the control on the page. After I added the tag to the

> page, in design mode
> >the page I get an "Error Creating Control".
> >
> >Should I inherit from another control or tag? Some

> direction would be
> >great.
> >
> >Thanks,
> >
> >Brian
> >
> >
> >.
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to reorder how a datagrid is drawn (header/footer/items vs.header/items/footer)? Henrik ASP .Net Datagrid Control 1 07-06-2006 12:23 AM
DataGrid and footer control validation Sebastian ASP .Net 2 04-19-2004 09:59 PM
Header/Footer Block Control Idea, but not Templated Control John Crowley ASP .Net 2 02-06-2004 03:36 PM
ASP.NET User control in Datagrid Footer Chamindu R Munasinghe ASP .Net 5 01-10-2004 09:11 PM
remove a control from a datagrid footer Darren Spooner ASP .Net 1 10-15-2003 01:13 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57