button

ASP.NET C#: Enabling / Disabling all ASP Controls in Table / Placeholder

Hello guys, How do I disable for example all button controls in a certain placeholder? The plot: I am coding an application for web that uses some buttons which get disabled after you click them. Now when I click the "New Game" button, all previously disabled buttons should be enabled again. Any help is very appreciated! ...

Use right-click with Windows Forms Button

I am writing an app where the user should be able to alter the action of a button. The user should right-click a button, and choose an option from a pop-up context menu. Once the choice has been made the button will perform a different action when the user uses a normal click. I've already gotten the "Click" event working for a normal...

android button text and html

how do I use html in an android widget Button? ...

Custom button on a row in UITableView?

I would like to add a custom button (checked/unchecked) to each row of the UITableView. Should I use UITableViewCell for this purpose? Also, if I want the same look and feel for each UITableViewCell, should I create multiple cells and apply the same properties to each cell or is there any trick to repeat the process? I will be using IB...

WatiN Button click Http 500 Internal Server Error

Has anyone ever encountered a HTTP 500 internal server error when clicking a button with WatiN? I have tried Click(); ClickNoWait(); FireEvent("blah"); and all of them bring me to a 500 error page. If you click the button normally with a mouse it works as intended. I have seen WatiN work randomly for this button and I think it might b...

When to add "..." to the end of buttons?

I've noticed that many Microsoft applications will name some buttons with "..." at the end. These buttons always seem to open up a new dialog. There are some buttons, however, that don't have "...", but do open up new dialog. For example, in Windows XP, when I open a folder's "Properties" dialog from Windows Explorer, there is an "Adv...

Is it possible to set a command button to have a 3D disabled graphic in Visual Studio 2008?

I've recently started a WinForms project in Visual Studio 2008 and I notice that when I disable a command button, it flattens out the button and leave the text black. This is quite an unexpected change from my experiences in VB6 and VS2005 where the button simply grays itself out. Is there a setting that would allow me to make the disab...

Confirm alert box in javascript and ASP.net like Hotmail

Hello friends i am trying to create a confirm box similar to Hotmail's Confirm box when we click on the Empty Folder in the Junk Mail folder. but i am unable to figure it's working and the logic behind it. i am using ASP.Net 2 in VS 2005 Pro. is there any special logic which goes behind the working of the confirm box like the one use...

IPhone UIToolBar UiBarButtonItem Transition problem

Hi, i have a UIView with a UIToolBar with a button "Back" when i start a transition(UIViewAnimationTransitionFlipFromLeft) from a UiView to this view the button appears only at the end of the transition Why ? Pls Help me Thanks Code: [UIView beginAnimations:@"View Flip" context:nil]; [UIView setAnimationDuration:0.90]; [UIView setAni...

How to make groupbox invisble on select of a radiobutton

Hi, I am doing an Windows Application using XAML ,WPF in C#. I have 2 radio buttons called "WriteData" and "ReadData". when writeData is selected, I need groupbox with a textbox and browse button inside it to be displayed at a particular location, (this i have already designed in UI..) <GroupBox Header="Browse Data" Name="grpBrowseDa...

How is possible to javascript so that instead of having a drop-down-menu there are buttons for each of the values?

I would like help to manipulate to following javascript code so that there are buttons instead of the first drop-down-menu have buttons to choose the values of the next set of values for the drop-down-menus. The code is: <html> <head><title>JS example</title></head> <body> <script type="text/javascript"><!-- // var opt_one = new A...

Flash xml fed scroller - controling right left arrows issues

Hello guys, i need some hands on controlling scrolling text with 2 buttons left and right data fed by xml . my file structure is like this: main file: bg.swf ticker file : tikcer.swf buttons file: scrolling.swf ActionScript file: xml_ticker.as bg.swf is calling ticker on 0 level and scrolling buttons on level 1 ....

Choose button while pressing enter button

I have a submit button and back button in my asp.net webform. I need to use the submit button when pressing enter, but it's going to the back button instead. Please help... ...

how to capture the "Menu Item 1" text in the dropdown button and assign to textbox

Hi , I am using a code snippet from codeproject of dropdown button. < m:SplitButton Content="TWB" Name="btnSearch" Grid.Row="0" Grid.Column="0" Style="{StaticResource aeroNormalColorSplitButtonStyle}" Click="btnSearch_Click" Widt...

iPhone app: SDK 3.0 : Button Selected State: Can't get working!!!

Trying to do simple button functionality. Button A. It has 3 states: default, highlighted, selected. Should UNSELECT when clicked again. For the life of me, I can't even get a simple 3 state functionality established. Highlight (on press) appears built in (goes to "stock" blue). I"ve used Button Attributes to load in image for select...

SWT update / redraw / layout problem

Hello, I know many people experience this problem, but the solutions I found online do not seem to solve mine. I have a composite that has three buttons. What I want is the following : When I click one button, I want some other button to be grayed out ( setEnabled(false) ) and after a while (after a method execution), I want the button ...

Conflicting startDrags

Flash CS4, AS2 I'm making a tour with a map. I'm using this startDrag code to move the map around: menu.onPress = function() { this.startDrag(); }; menu.onRelease = function() { stopDrag(); }; This works perfectly. However, inside the "menu" movieclip I am using a hover tag startDrag code: EllisIsland._visible=false;{} Ell...

MFC: retrieve button ID programmatically

I have a CButton object called mouseCtrl, and in the DoDataExchange function, I have the following: DDX_Control(pDX, IDC_MCCHECK, mouseMode); Somewhere else in my program, I would like to be able to call a function/method of mouseMode so that I can retrieve the IDC_MCCCHECK id macro properly. Is there a function in MFC that can allow ...

c# Dotnet 2.0 CustomColumnStyle : putting a winforms panel inside a datagrid cell

All, I realize that CustomColumnStyle is the way to customize columns of cells in a DataGrid. How would I use this to make each cell a Panel. I would like each cell in a column to be a Panel, so I can add controls to it, like multiple buttons etc. Thanks in advance for code. -Jeremy ...

Position HTML button dynamically in C#

I know this should be real simple, but I have googled this problem and I do not see the same available properties for my button. What I have googled says I should be able to change an HTML button's location with the Location property. However, this is not an option for me. How do I change the button's location dynamically in C#? Here ...