button

ASP.NET GridView Button Event

Hi, I'm trying to trigger a button event in a gridview. I created a gridview with the following code: <asp:GridView id="ItemsGrid2" BorderColor="black" CellPadding="3" BorderWidth="1" HeaderStyle-BackColor="DarkSlateGray" HeaderStyle-ForeColor="White" AutoGenerateColumns="false" AllowSorting="true" OnSortCom...

Making Textbox type into a textbox?

Hi, I'm a noob to VB.NET and I was wondering how to make something you type into a textbox on the application type that text into a website textbox and submit whats in the textbox by pressing a button? I am using visual studio 2008. ...

Best Practices for Suspending Buttons in Actionscript 3

Ok, so my first question here was so well answered I figure I'd try my luck at this little query. Is there a better way to set up a flash project with lots of navigation than having to do this?: bottomNav.contact_btn.addEventListener(MouseEvent.CLICK, changeContent); bottomNav.portfolio_btn.addEventListener(MouseEvent.CLICK, changeCont...

Html how to make a part on iframe, unvisible and unclickable externally? (my idea)

I have a page (A) including a BUTTON with a function close_window() , however when I embed A to my main page (B) using iframe, the close_window() can't work as expected since there is no more window anymore, and I am not able to remove the button from the iframe since A is on another domain (Security issues prevents). What I want to d...

iphone sdk- UIAlertView button with image

hello, can you please tell me if it is possible to use an uiimage view as uialertview button "text"? i was unable to find the answer googling.. thanks a lot ...

JQuery enable button based on select

Hi, I have a page that contains a collection of select's that are used to identify the columns in a text file. Each time a user identifies a column the selected option is removed from the other selects on the page. When the user has identified all columns the "submit" input needs to be activated so the user can move to the next step. I ...

Set value of PayPal Buy Now Button

I am setting up a simple shopping cart type system, and i was wondering how i set the value of a paypal button? Whats the best way to do this? ...

iPhone SDK System Provided Buttons and Icons

Where can the System-Provided Buttons and Icons mentioned in the following link to the iPhone Developer Human Interface Guidelines be found in the SDK? http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/SystemProvided/SystemProvided.html I expected them to show up in Interface Builder somewhere,...

Button in UpdatePanel requires two clicks to fire

Hi, I am using VB.NET and Webforms with MS AJAX. I have a button in an MS AJAX Update Panel. When the page is loaded the button's visibility is set to 'false' declaratively. After the user has checked a check box (also in the UpdatePanel), I set the button's visiblity to true and it becomes visible as expected. However, the user has ...

Android: combining text & image on a Button or ImageButton

I'm trying to have an image (as the background) on a button and add dynamically, depending on what's happening during run-time, some text above/over the image. If I use ImageButton I don't even have the possibility to add text. If I use Button I can add text but only define an image with android:drawableBottom and similar XML attributes...

Inline stretchy button with CSS background image

Anyone know if there's a bullet-proof (standards-compliant to XHTML1.1 strict, cross-browser, non-javascript) way to use CSS and background images to turn an inline link into a visual button that will stretch to accommodate different amounts of text (or text resizing)? I'm thinking I need to use background images as the designer's butt...

How can i know which button is clicked? Objective C

I am doing Presence1 in Assignment which require me builds a multiple screens application. I have two ViewController, vc1 and vc2. In vc1, i have two buttons. I use a same method for them and the title of them are same. My question is How can i know which button is clicked in vc1 when i change to vc2? There are a topic show me that I ...

How to add a new button to PrintPreviewDialog in C#?

I have a program where I can switch between different layouts in my print doument (a4, a5 or a6 sized graphics drawings and whatnot. Print document is always a4 sized). I can show this document in a PrintPreviewDialog but I have to manually specify in the code before hand which layout I want to see. I want a new button added to the Prin...

asp.net Gridview: buttons accessing data for each row

I'm trying to code a Gridview that has a button on each row that when clicked will expose that particular rows data for use, but I'm not sure how the data would be passed. The Gridview: <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="SqlDataSource2"> <Columns> <asp...

Turn Image into a Button Image: Remove borders

Hello all, I have this link with the following css. <a href="step1.php">Buy Now</a> //css #buy a { background:transparent url(signup_bt.gif) repeat scroll 0 0; color:#FFFFFF; display:block; font-size:14px; font-weight:bold; height:37px; line-height:38px; text-align:center; text-decorati...

JQuery scrolling issue when submiting a form

I'm building an ASP.NET website and I'm puzzled with the behavior of one page, I've got a long form and a submit button, I've got the piece of javascript below in the page to handle scrolling the page back up upon submiting the form, the first time I click the submit button it works all the sequent clicks don't work at all, any idea why?...

Download file when user clicks dialog button

I have a dialog box open when a user clicks on a url. In that dialog box, I have two buttons, "OK" (which closes the dialog box) and "download file" (which, I would like to have the file I just created via PHP be downloaded when clicked). How can I achieve that functionality with the "download file" button? I tried $.get but that only r...

how to show contextmenustrip when a button is clicked in the right position

i want to click on a button and have it show a contextmenustrip right below the button. it keeps showing up in the left hand side of the screen when i try pointtoacreen and top and left coordinates. any suggestions ...

button question

I have recently started on android. i have written this piece of code import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class ArrangeMe extends Activity { private Button button1; /** Called when the activity is first c...

mvc and the back button

I'm new to mvc so I don't know if there is a trick to this or not. When a user runs a search on a site I'm building and I take them to the results page, if I click the back button the search form is empty. Is there some way to keep the form fields populated as they were when going back (without resorting to session)? Thanks. ...