CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 11/1/2005 6:10:05 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 20 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
bmains
Asp.Net User
Button property11/1/2005 6:10:05 PM

0/0

Hello,

I want to have a ButtonType property, like the controls that use the ButtonType enumeration, where you can specify the type of button you want: link, image, button.  How do you handle that in the control?  Has anybody worked with this?  I have ideas, but I was curious if somebody knew a good way to do it.

Thanks.
Brian

"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
AndrewSeven
Asp.Net User
Re: Button property11/1/2005 9:40:36 PM

0/0

Do you really need all in one?
Link and image (not submit) can both be handled with a hyperlink, "input" is a button or a sumit image.

They don't feel like a good fit for composition, but thats the first thing I would try.

You could build the control based on WebControl, override TagName and AddAttributesToRender.

http://msdn2.microsoft.com/en-us/library/k1x24e42(en-us,VS.80).aspx

bmains
Asp.Net User
Re: Button property11/2/2005 3:52:37 PM

0/0

After I thought about it, I did indeed decide to abandon this and just use a linkbutton; however, I was still curious of a good way to implement because several of the .NET standard controls have it and it does seem like a neat feature.

Thanks.
Brian

"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
JavaScript: The Definitive Guide Authors: David Flanagan, Pages: 994, Published: 2006
JavaScript & DHTML Cookbook Authors: Danny Goodman, Pages: 582, Published: 2007
JavaScript Bible Authors: Danny Goodman, Michael Morrison, Pages: 1236, Published: 2004
Beginning JavaScript Authors: Paul Wilton, Jeremy McPeak, Pages: 767, Published: 2007
Dreamweaver 8: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 936, Published: 2006
Dreamweaver 8: The Missing Manual Authors: David Sawyer McFarland, David Pogue, Pages: 936, Published: 2006
The Complete HyperCard Handbook: Handbook Authors: Danny Goodman, Pages: 720, Published: 1987
Sams Teach Yourself Javascript in 24 Hours Authors: Michael Moncur, Pages: 442, Published: 2006
Microsoft Office Access 2003 Inside Out Authors: John Viescas, Pages: 1298, Published: 2003
Pro C# 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1370, Published: 2007

Web:
button Property (event) button Property. Sets or retrieves the mouse button pressed by the user. ... The property is read-only in Microsoft Internet Explorer 4.0, and read/write in ...
ToolBarButtonClickEventArgs.Button Property (System.Windows.Forms) Add(toolBar1) End Sub Private Sub toolBar1_ButtonClick(ByVal sender As Object, _ ByVal e As ToolBarButtonClickEventArgs) ' Evaluate the Button property to ...
Button property in MouseUpEvent - MapPoint Forums Can someone confirm for me whether the button property always returns a value of zero (0) in the MouseUpEvent, no matter which button is causing the event?
button property onclick - Dev Shed button property onclick- Delphi Programming. Visit Dev Shed to discuss button property onclick.
Qt-interest Archive - Urgent-How to change the Button's property ... Subject: Re: Urgent-How to change the Button's property at Inactive state? From: Santiago Capel ; Date: Wed, ...
close button, property sheet in vc+ - Computing.Net hey! I have a program containing a main dialog window, from which the user can open subwindows (modeless). My problem comes from the Close ...
where is link's target in a button property? - ASP.NET Forums I do not find a property for the button that is equivalent to thelink's Target. I realize the default behavior of the button is _self, so this button would ...
Default Button Property If this property is set to 'Yes' then hitting the Enter key while on the page will be equivalent to clicking on this button. ...
access: Command button property - MS Access access: Command button property. Get answers to your questions in our MS Access forum.
Care2 - Photos - Button Property Search Button Local Info 26, Rider For Sale 27, Rider Sold 28, Button Property Search 29, Jennifer Martin 30. Album Slideshow. Photo Owner ...

Videos:
Simon's Town Neighbourhood Watch Community Button SimonsTown Property owners us the eblockwatch community button to connect, protect and depower the unlawful and criminal minority Simon's Town Neighb...
Modest Mouse - Beach Side Property Probably Modest Mouse's most underrated album, Interstate 8 features one of my favorite Modest Mouse songs, Buttons to Push the Buttons, a song that ...
045-FORMS Hands-On #9 (Oracle Training) In this hands-on, you will learn how to: create and use PRE-QUERY trigger, set dynamically block property on a table's data block and execute the qu...
Button (Eagle?) dig at plantation property Dug this button today. Possible Eagle?
039-FORMS Hands-On #4 (Oracle Training) In this Hands-On, you will learn how to: add and use Radio Buttons, use tab canvas, use object navigator, use Data Blocks, use Layout Editor, use Pr...
ActionScript 3.0 Communicating with Buttons & Linking-Flash In this video we will learn how to communicate with and use buttons in Flash CS3 using Actionscript 3.0. There have been some significant changes to ...
Belly Button Buddies "Unplug Your Children" The Belly Button Buddy wants you to unplug your children. There's lots for kids to do without plugging into the cyber world. The Belly Button Buddie...
Alan "Impeachment" McConnell Gets Busted in Kensington Watch 74 year old Alan McConnell stand up and then lay down for his country before being busted at the Farmer's Market in historic Kensington, Maryla...
Property Poachers Button factories, artists' studios and music workshops... All this isn't the main attraction for property poachers. They seize buildings only because...
PropertyPreviews.com-Create free videos & distribute videos PropertyPreviews.com is the premier destination for real estate professionals, photographers and home sellers that need a quick and easy way to creat...




Search This Site:










trying to serve a page with no .aspx (and going mad!)

custom mobile validation

dropdownlist issue, first item (selection) works, second not?!!

what does return false mean in this code?

adding current datetime to sql server 2000 database

html tags is not working in textarea in asp.net

displaying data from database in graphical form

i want to send gridveiw in mail

date validation dd/mm/yyyy

form validation with javascript

how to retrieve image one by one in asp.net(vb language) from sql server 2000

validate another checkbox

using form authentication without showing "returnurl"??

firing an event on close of window

dropdownlist problem

export and update pdf file

textbox and datagrid controls are not displayed.

why use the get/set methods

adding hyperlink to retrieved texts

how to made the effect like this!!???

bc30451 error with inline code

help..

dynamic dropdownlist issue

object reference not set to an instance of an object

write to excel from vb.net web app

acess the value of dynamically generated textbox in c# on click of a asp button

code behind page

asp.net conversion to standalone application

hosting application of webserver for supplier

asphttp

  Privacy | Contact Us
All Times Are GMT