473,396 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

changing imagebutton

hal
I'm trying to change the visibility of an imagebutton on a page after
all the controls have been used. When the page loads it displays a
disabled imagebutton1, but it's visible and imagebutton2 is
invisible. I have three controls a dropdownlist, textbox, and a
checkbox. I can get imagebutton1 to become invisible and imagebutton2
to become visible when the selectedindex changes for the dropdownlist
and checkbox individually. First I need to figure out how to switch
between imagebuttons when the user starts typing text in the textbox.
Then I need to figure out how to only change the image buttons once
all three controls have been used.

Thanks
Mar 19 '08 #1
1 1210
this is all trival javascript/css. pickup any javascript cookbook

-- bruce (sqlwork.com)
"hal" wrote:
I'm trying to change the visibility of an imagebutton on a page after
all the controls have been used. When the page loads it displays a
disabled imagebutton1, but it's visible and imagebutton2 is
invisible. I have three controls a dropdownlist, textbox, and a
checkbox. I can get imagebutton1 to become invisible and imagebutton2
to become visible when the selectedindex changes for the dropdownlist
and checkbox individually. First I need to figure out how to switch
between imagebuttons when the user starts typing text in the textbox.
Then I need to figure out how to only change the image buttons once
all three controls have been used.

Thanks
Mar 19 '08 #2

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

Similar topics

1
by: Henke | last post by:
Hello, I have one ImageButton controls which I initialize in Page_Load and declare on class level. ImageButton save = new ImageButton(); save.ImageUrl = "save.gif" save.Click += new...
2
by: Eirik Eldorsen | last post by:
Is it possible to make the mouseover event of a ImageButton to change the border color? I use this code to change the src: ImageButton.Attributes.Add("onmouseover", "this.src='someImage.jpg'");...
6
by: ruca | last post by:
Hi gurus, I have a imagebutton in my WebForm, and I want that when I click (mouse down) on her the imagebutton change image and when I "unclick" (mouse up) change to the original image. Basically...
1
by: blarfoc | last post by:
I am using the ImageButton to represent tabs on my webform. I have 5 tabs. Each tab can have 2 images. A clicked imaagge and a unclicked image. When I click on a image that is not clicked I...
0
by: Chris | last post by:
Hi I have just started looking at VS 2005 Beta 2 (April CTP) to get up to speed with it before we start writing our next web projects. In particular, I have been playing with the skins and...
3
by: JuniorProgrammer | last post by:
Am trying to add an Image Button into a Datalist at Design time. When I run it it comes up with error: Server tag not well formed. It works perfectly when I add just an Image Control. Please...
1
by: gianfranco dalfiume | last post by:
Hi all! I have a gridview with a templatefield and an imagebutton <asp:TemplateField> <ItemTemplate> <asp:ImageButton ID="Riepilogo" runat="server"...
1
by: ranger979 | last post by:
I am using the emptydatatemplate for a gridview control. I have a detailsview control within the emptydatatemplate. In the detailsview I have another templatefield that contains an imagebutton...
1
by: ranger979 | last post by:
I am using the emptydatatemplate for a gridview control. I have a detailsview control within the emptydatatemplate. In the detailsview I have a templatefield that contains an imagebutton control...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.