473,508 Members | 2,744 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help to disable an ImageButton?

I am trying to set the Enabled property of an ImageButton on a web form. I
would like to programmatically Enable and disable the image Button from code
behind using C#.
Nov 22 '05 #1
2 2491
You could just make it invisible or visible with the visible property.

"Nate" <Na**@discussions.microsoft.com> wrote in message
news:7A**********************************@microsof t.com...
I am trying to set the Enabled property of an ImageButton on a web form. I
would like to programmatically Enable and disable the image Button from
code
behind using C#.

Nov 22 '05 #2
I need to keep the image visable and set its enabled property to false somehow.

"Scott M." wrote:
You could just make it invisible or visible with the visible property.

"Nate" <Na**@discussions.microsoft.com> wrote in message
news:7A**********************************@microsof t.com...
I am trying to set the Enabled property of an ImageButton on a web form. I
would like to programmatically Enable and disable the image Button from
code
behind using C#.


Nov 22 '05 #3

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

Similar topics

2
374
by: Nate | last post by:
I am trying to set the Enabled property of an ImageButton on a web form. I would like to programmatically Enable and disable the image Button from code behind using C#.
0
1530
by: Kent P. Iler | last post by:
Hi, I have a data repeater that is returning a list of events. One of the things I want to do is give the user a way to edit or delete an event. My plan was to use an Imagebutton that would...
13
7411
by: tperri | last post by:
I have an HTML table with several fields like this: <A href="Savings.aspx?category=Food"><asp:imagebutton id="imgFood" ImageUrl="images\buttons\btn-food-i.gif"...
1
1117
by: Miguel Dias Moura | last post by:
Hi Cor and everybody else, i created a page with 5 panels and 5 buttons which control them acording to Cor's help. After this i used 5 image buttons instead of standard buttons. When i run...
3
1555
by: Aaron | last post by:
Why do my session values return to nothing on post back? I want to click a button and have the row, as in: dataset.table(0).rows(THIS ROW NUMBER IS WHAT I AM TALKING ABOUT), either increment or...
8
9960
by: GS | last post by:
Hi, This is probably known solution but I have not found it in minimum amount of code. I'd like to disable button on client-side after clicking on it. Just disabling it in javascript do not...
1
1489
by: serge calderara | last post by:
Dear all, I gave a datagrid object wich has a template column define as follow : <asp:TemplateColumn HeaderText="Evt"> <ItemTemplate> <asp:ImageButton id="ImageButton2" ImageAlign=Middle...
0
1087
by: msch-prv | last post by:
I have a gridview with an icon. Clicking on the icon via the OnCommand event causes a pop up form to appear. This however generates an 'Invalid postback or callback argument' at run time. To...
0
2437
by: joe | last post by:
How to disable imagebutton postback when i enter "enter" i just want postback when click mouse
0
2365
by: DJOuk | last post by:
Posted this on Asp.Net, seems to be a hard problem, I still can't work it out I have a edit button, this works fine, until I add the code that prevents the edit button from being seen by users who...
0
7128
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
7393
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...
1
7058
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
7502
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
5635
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,...
0
4715
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3206
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
1565
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 ...
1
769
muto222
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.