473,323 Members | 1,547 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,323 software developers and data experts.

Datagrid/Mozilla

I have datagrid with button column on my web page.
I use ItemDataBound to disable some buttons on evaluation.

Everything works OK in IE.
In Mozilla Firefox buttons are not disabled.

Any suggestions?

Thanks for help!

Simon
Nov 19 '05 #1
2 898

Can you show us some of the code you used to disable the button column?

And can you also show us the client HTML where the button column is disabled?

thanx
"Simon Abolnar" wrote:
I have datagrid with button column on my web page.
I use ItemDataBound to disable some buttons on evaluation.

Everything works OK in IE.
In Mozilla Firefox buttons are not disabled.

Any suggestions?

Thanks for help!

Simon

Nov 19 '05 #2
Private Sub dgrIzpitniRoki_ItemDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.DataGridItemEventArgs) Handles
dgrIzpitniRoki.ItemDataBound

e.Item.Cells(0).Enabled = False

End Sub

HTML Source code:

<td disabled="disabled">
<input type="submit" name="dgrGrid:_ctl2:Button1" value="Submit"
id="dgrGrid__ctl2_Button1" style="height:22px;width:51px;" />

I think the problem is with <td disabled="disabled"> that works with IE, but
not with Mozilla. Is it any way to solve this?

Thanks for help,

Simon Abolnar
"Jportelas" <Jp*******@discussions.microsoft.com> wrote in message
news:0F**********************************@microsof t.com...

Can you show us some of the code you used to disable the button column?

And can you also show us the client HTML where the button column is
disabled?

thanx
"Simon Abolnar" wrote:
I have datagrid with button column on my web page.
I use ItemDataBound to disable some buttons on evaluation.

Everything works OK in IE.
In Mozilla Firefox buttons are not disabled.

Any suggestions?

Thanks for help!

Simon

Nov 19 '05 #3

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

Similar topics

1
by: Stanley Alex | last post by:
I am having a problem with the way my DataGrid displays when a column header is clicked on to sort the records (AllowSorting="True"). When the column name is clicked, a white background appears...
7
by: Matthew Wieder | last post by:
Hi - I have a datagrid that has a black header and the rows alternate white and gray. The problem is that until items are added to the grid, the grid appears as a large black rectangle, which is...
2
by: Bruce W.1 | last post by:
There's something I can't figure out. I added some javascript behavior to my datagrid, just like in this article, except in C# instead of VB: ...
2
by: BCM | last post by:
I cant' believe I have to ask this, but... How do you adjust the font size in a DataGrid? I know about the FONT property of the DataGrid proper, and the FONT property of the ITEMSTYLE, and I can...
4
by: tshad | last post by:
I am having trouble with links in my DataGrid. I have Links all over my page set to smaller and they are consistant all over the page in both Mozilla and IE, except for the DataGrid. Here is a...
4
by: John Dalberg | last post by:
I have a weird problem. I have a webpage that displays a datagrid with data but when I use IE to view the html representation, the source has no table source for the datagrid. I used Opera, Mozilla...
5
by: tshad | last post by:
I have been trying to figure out what the Datagrid is doing to create its formatting. I found that some of my Datagrids have a 3D type of border and sometime it has a straight line. I finally...
2
by: tshad | last post by:
Trying to get a Datagrid to format correctly to work on multiple browsers is nuts I have the following partial datagrid: <asp:DataGrid Visible=true AllowSorting="false"...
1
by: gellert | last post by:
Hello guys, I have a Datagrid and .AllowPaging=true.... it is working well but I'd like to page automatically after some seconds. So the whole solution is a screen in our company showing some...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.