PC Review


Reply
Thread Tools Rate Thread

Custom WebParts as UserControls

 
 
shane.niebergall@lmco.com
Guest
Posts: n/a
 
      14th Jan 2008
Hi - I've been able to create my own webparts as a custom control, by
compiling as a class library and then importing the dll on my asp.net
page. However, I do appreciate the convenience of the html support
that a user control (instead of a custom control) provides (design and
codebehind). Is there a way to make a user control web part that
allows me to override functionality of the WebPart class? Or is the
only way to derive from the WebPart class to make a custom control?

I've seen how to wrap user controls in a generic web part, but i'm
interested in making my own custom verbs and other functionality. I'm
using .NET 3.5, VS 2008.

Thanks in advance for the help!

Shane Niebergall
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Subscribing to custom events from dynamically created UserControls TJ Microsoft ASP .NET 1 2nd May 2008 05:11 AM
WebParts: Nested UserControls Aaron C. Roberts Microsoft ASP .NET 0 22nd Jun 2006 07:18 PM
Siziing UserControls via a custom ControlDesigner dei Microsoft Dot NET Framework Forms 4 14th Jul 2005 05:43 PM
Theming custom created WebParts in ASP.NET 2.0 =?Utf-8?B?Q2hyaXN0b3BoZXIgS2ltYmVsbA==?= Microsoft ASP .NET 5 30th Jun 2005 02:44 PM
custom properties , usercontrols 2G Microsoft C# .NET 1 23rd May 2004 02:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:05 AM.