CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 5/11/2006 7:42:49 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 43 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
hebbja
Asp.Net User
UserControl events not showing in the deisgner properties window5/11/2006 7:42:49 AM

0/0

I have a very simple test UserControl that exposes a single public property and a single public event (of delegate type EventHandler).

I drop the control onto an aspx page, click the user control and open the properties window (F4). In the properties window I can see the public property listed but no events are available.

My question is: How can I get the event to show up in the properties window? Is this a limitation of VS2005?


James
Mikhail Arkhipo
Asp.Net User
Re: UserControl events not showing in the deisgner properties window5/11/2006 5:22:06 PM

0/0

Unfortunately this is by design. Only base class properties are exposed. See here for more information:

http://blogs.msdn.com/mikhailarkhipov/archive/2005/04/22/410886.aspx


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Microsoft Expression Blend Bible: The Book You Need to Succeed! Authors: Gurdy Leete, Pages: 734, Published: 2007
OOP with Microsoft Visual Basic .NET and Microsoft Visual C# .NET Step by Step: Step by Step Authors: Robin A. Reynolds-Haertle, Pages: 393, Published: 2002
Component-Based Development with Visual C# Authors: Ted Faison, Edmund W. Faison, Pages: 1008, Published: 2002
Programming Business Applications with Microsoft Visual Basic Version 5.0: Version 5.0 Authors: William E. Burrows, Burrows, Joseph D. Langford, Langford, Pages: 669, Published: 1998

Web:
UserControl events not showing in the deisgner properties window ... UserControl events not showing in the deisgner properties window. Last post 05- 11-2006 1:22 PM by Mikhail Arkhipov (MSFT). 1 replies. ...
Custom events not showing up under Properties/Events in Designer ... Answer Re: Custom events not showing up under Properties/Events in Designer? Answer This post has a code sample within it. Was this post helpful ? ...
Designer not showing in derived user control : your, add, components when i double-click on the 2nd, it does not show the designer. ... the Server Explorer or Toolbox and use the Properties window to set their properties. ...
custom web user control properties not acessable through the designer? custom web user control properties not acessable through the designer? I'm sure it's some attribute I have to set but I can't find it. ...
Design Time viewing for User Control events - Stack Overflow User Control Property Designer Properties · User Control created dynamically not able to handle events on PostBack · Submitting a form on a user control by ...
User Control Properties - Visual C# Kicks Net properties. Otherwise you can use this attribute to create property category . ... Not very professional. Telling the designer which event to use is ...
Inside Microsoft: Event Handling between Custom User Controls that ... In the Properties Window change the class name to Default. The Class Explorer should look ... Two custom events were just added to the web user control. ...
UserControl Woes - .NET VB properties for any nested control within a UserControl and not have your program forget any changes made in the Property Designer window ...
Trying to expose an event on a web user control to the designer ... Filed under: User Control events, designer properties panel .... The answer is NO you cannot see the events in your Properties window. ...
.NET Building Blocks: Custom User Control Fundamentals When the designer opens, it automatically selects the entire user control, so you'll see the properties of the control itself in the Properties window. ...




Search This Site:










mylistview control...

not all core modules show in module list

setting output cache for webpart

retrieving roles from authentication ticket

user permissions + sessions

forms authentication

treeview not refreshing on autopostback

would dnn suit a simple but dynamic website?

unable to cast object of type 'system.security.principal.genericidentity' to type 'system.web.security.formsidentity'.

zoom out in html design mode

accessing session variables

whence home?

dnn 2.0 - .dnn file format

do while not rststaff.eof

"move to top pane" etc. links just dont work!

upgrade advice: clean install, maintain users

before i install dotnetnuke

dotnetnuke in subdomain

how to log file downloads and hide source folder

getting value from formview

inheritance problems

getting credentials

create new web site

dnn title

user credit card / payment device module?

how can i get rid of dnn 2.0.4 from page title?

redirection

dnn and asp.net

display username in masterpage after logging

displaying a user's name with windows authentication?

 
All Times Are GMT