473,473 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ascx webpart - custom verbs

Hello all,

Can I add custom verbs to ascx webparts? I have seen good examples
where the webpart is a custom control thingy that inherits from
System.Web.UI.WebControls.WebParts, then overrides the verbs property,
but not how to do it with ascx webparts.

Any ideas are greatly appreciated,
Ryan

p.s. if the answer is yes, i can ad custom verbs how is it done?
Thanks again!

May 4 '06 #1
2 1453
DWS
Ryan,
Hey I'm working on a custom verb project too and I found this helpful.
http://msdn2.microsoft.com/en-us/lib...ctionable.aspx

To add custom verbs to a server control that does not inherit from the
WebPart class, the server control must implement the IWebActionable interface
and override its Verbs property.

Good Luck
DWS

"ry*********@gmail.com" wrote:
Hello all,

Can I add custom verbs to ascx webparts? I have seen good examples
where the webpart is a custom control thingy that inherits from
System.Web.UI.WebControls.WebParts, then overrides the verbs property,
but not how to do it with ascx webparts.

Any ideas are greatly appreciated,
Ryan

p.s. if the answer is yes, i can ad custom verbs how is it done?
Thanks again!

May 5 '06 #2
DWS . . . you are awesome! Now my co-workers can give me my shoelaces
back . . .

Thank you! Have a great weekend.

May 5 '06 #3

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

Similar topics

1
by: ALI-R | last post by:
I'm writing a webpart which is supposed to connect to a Webserice in our interanet.I am using "RSService.Credentials = System.Net.CredentialCache.DefaultCredentials;"to Authenticate to the...
7
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
0
by: J. Jespersen | last post by:
Hi people, I fiddling with webparts, and have created my own custom webpart from scratch. The webpart itself is contained in a myPart.dll I have two different sites. SiteA and SiteB. Both are...
0
by: Christer Feldeus | last post by:
I’m running VS 2005 Prof. and trying to use webparts but it isn’t working. The webpart shows nicely in the developer environment. But as soon as I start debug and want to se my page running in...
1
by: Jesper Stocholm | last post by:
I would like to be able to load a Control (ASCX) that is placed in a folder outside webscope - but with read/write ability for IUSR/ASPNET-process. I usually use Page.LoadControl() to load my...
11
by: Pete Kane | last post by:
Hi All, does anyone know how to add TabPages of ones own classes at design time ? ideally when adding a new TabControl it would contain tab pages of my own classes, I know you can achieve this with...
0
by: Franck | last post by:
Hi, I just coded my first custom webpart for WSS 2.0. (List sites and sub sites) I installed it through stsadm successfully. Anyway, when I'm tryin to add the webpart from the list, FrontPage...
1
by: =?Utf-8?B?QXJubw==?= | last post by:
I have create a webpart portal with a custom catalogpart that can instanciate a webpart from a dll. The webpart.DLL is a dll library with a classed inherited from...
4
by: Don | last post by:
I am creating my first WebPart and I’m having trouble figuring out how everything works together. How do I configure a WebPart with settings that will be the same for all users? For example,...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
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,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.