473,508 Members | 2,255 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Custom event in design-time Events tab for a Web user control

Folks,

I am implementing a WebUserControl, which will have its own custom event
StateChanged. Now, I want to add this event to the Events tab in the control
properties, so that the users of my control can set the event handler from
this tab. However, I can't see my custom StateChanged event over there and I
don't know what is the reason. Setting BrowsableAttribute to the public
event property doesn't solve the problem. Any other ideas?

Regards,
George Jordanov Ivanov
Mar 29 '06 #1
3 7778
Hi George,

Thank you for posting.

As for the custom web user control, do you mean the ascx user control? If
this is the case, I'm afraid so far there has limited design-time support
for UserControl. Those design-time property grid or any other design-time
services are designed for custom web server controls. For webserver
control, it can utilize full set of the VS IDE's design-time services and
features.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 30 '06 #2
Thanks Steve! I really know that it has a "limited" design time support, but
still I haven't found it written clearly that it is not possible to have
custom events displayed on the Events tab for .ascx files. I could actually
have properties displayed in the Properties window. However, thank you
again - your reply was exactly what I was looking for! :)

George Jordanov Ivanov
www.givanov.net/blog

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:3f*************@TK2MSFTNGXA01.phx.gbl...
Hi George,

Thank you for posting.

As for the custom web user control, do you mean the ascx user control? If
this is the case, I'm afraid so far there has limited design-time support
for UserControl. Those design-time property grid or any other design-time
services are designed for custom web server controls. For webserver
control, it can utilize full set of the VS IDE's design-time services and
features.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 30 '06 #3
My pleasure :)

Please always feel free to post here when there is anything we can help.

Regards,

Steven Cheng
Microsoft Online Community Support
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Mar 30 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4067
by: T | last post by:
I have a web site i want to deploy using a VS.NEt set up project. I have no problems with that, that is fine and works no problem. But the web application uses a custom event log to log...
7
1925
by: Luc Tremblay | last post by:
Given the typical following code: void Listener::HandleEvent(const Event& event) { // handling code } In a "clean" fashion, how is it possible to add custom data (to be subsequently...
0
1125
by: rokotov | last post by:
I am creating an application with custom designer. I've successfully implemented DesignSurface, PropertyGrid and ToolBox. But I do not know how to prevent designer to create a default event on...
2
1854
by: trialproduct2004 | last post by:
Hi all, I am having application in whihc i am inserting menuitem dynamically. When i add menuitem to mainmenu, i want to pass extra parameter to eventargs. So what i did is derived class from...
3
5306
by: =?Utf-8?B?YXdhaG9v?= | last post by:
Please forgive the re-post. I did not have a no-spam alias defined the first time I tried and that kept this message from appearing in the database. I am developing a diagramming project within...
0
7229
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7129
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5637
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.