All Questions
Tagged with imageurl imagebutton
7 questions
0
votes
1
answer
2k
views
How to change the Image URL of an ImageButton after clicking them based on conditions?
I am working on seating layout for a bus booking system using ASP.NET (C#). I want to allow user to select only one seat in a session.
I have a list of Image buttons. I want that when I click a ...
1
vote
1
answer
1k
views
Uncaught TypeError: Cannot set property 'src' of null for ImageButton
I've searched through similar questions but I didn't find something to work for me.
I want to change the ImageURL of an ImageButton on a certain condition (t>80), but what I get is Uncaught ...
0
votes
0
answers
384
views
Object or String does not contain definition for Imagebutton
Im trying to put my ImageButton ID in front of Imageurl. So it places the correct image at the correct button. I've saved the ImageButton ID in my database.
Now my problem;
When Im trying to read it ...
0
votes
1
answer
625
views
Reset ImageButton ImageUrl to default URL
I've an ImageButton into a Repeater.
My ASP.NET code is:
<asp:Repeater ID="rpt" runat="server">
<ItemTemplate>
<asp:ImageButton ID="img_sport" runat="server" CommandName='<%# ...
1
vote
1
answer
539
views
ASP.net Image buttons, Changing ImageUrl of iImage buttons
i have nearly 100 image buttons in a page, which calls a common function
protected void img_clock(object sender,ImageClickEventArgs e)
(which is in c#)
how can i set a common image using ImageUrl ...
1
vote
3
answers
3k
views
Use of ImageButton without ImageURL to display the image
I need to use the asp control "ImageButton" in order to have access to the properties "OnClick" and "OnClientClick"
The problem is i cannot give any ImageURL since my Image is in Database.
I used ...
1
vote
3
answers
3k
views
ASP.NET - Converting Text to an Image and Displaying on an ImageButton
I'm creating ImageButtons on an asp.net website. Sometimes, however, an image doesn't exist for the given text and in those cases, rather than display a 'broken image', I want to simply convert the ...