Hi,
I am using ultrawebgrid in which I have put a button in band 0 to add a new row , but it is disabled when I use IE9 with no compatibility though it is working if I checked Compatibility to yes in IE9. I want solution for no compatibility mode. I am using higher version (above v 10.1) of Infragistics.
Hi Rohit_d_t,
I investigated your scenario and the buttons in the button column seem to be rendered OK, however there are some IE9 related specifics.
In order for the button column to be rendered similarly to IE8 I suggest that you try handling the MouseOver client-side event of the grid using the following code:
function UltraWebGrid1_MouseOverHandler(gridName, id, objectType){//Check if the mouse is over a cell from the desired button column if (null!= igtbl_getCellById(id) && (igtbl_getColumnById(id).Index==2)) { igtbl_getCellById(id).beginEdit(); igtbl_getCellById(id).endEdit(); }}
Please tell me if this helps.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://es.infragistics.com/support
Thanks Petar,
Though it is working fine for grid but not working for add new row functionality. I have button in grid as follows. on mouse over ClientSideEvents seems not calling
<
igtbl:UltraGridBand AddButtonCaption="Add New Row" AllowUpdate="Yes" AllowAdd="Yes" CellClickAction="Edit" AllowDelete="No">
Columns>
.....
</
In my project grid had been used in following manner.
<igtbl:ultrawebgrid id="myGrig" runat="server"
Width="100%" Visible="False" Height="200px" >
<DisplayLayout>…………….. </ DisplayLayout>
<Bands>
<igtbl:UltraGridBand AddButtonCaption="Add New Row" AllowUpdate="Yes" AllowAdd="Yes" CellClickAction="Edit" SelectTypeCol="Extended" AllowDelete="No">
<Columns></Columns>
</Bands>
</igtbl:UltraGridBand>
When I set Compatibility flag checked (as below) it is working fine in IE9(Tools=>Compatibility view setting). But when I unchecked the compatibility flag in IE9. The New Add Row button got disabled. I want to enable it in either setting.
ignore "as below" as I tried to put screen shot
My apologies as I have obviously misunderstood your issue.
I am still unable to replicate the behavior however. Please provide the markup for the whole grid as the matter might be related to some other property setting in the display layout or the AddNewBox settings. A whole working sample or a screenshot illustrating the issue will be greatly appreciated.
Please find the attached file for details.
Hi Rohit,
Thank you for the sample.
From what I can see from your same you are only setting the Cursor property in the ButtonStyle for the AddNewBox. In the screenshot, however the adding button seems to be styled differently then the default one. Can you provide the code that you are using for styling it and also some information of where this is happening (i.e. is it serverside).
Please contact me if you have any questions.
Hi Petar
I'm having the same issue using Ultrawebgrid from version 2011.1, when having an Add button it stays disabled using IE9 in native mode.
Were you able to find a solution for this?
Hi Tynch,
I am having similar issue. Did you find the solution. Please provide.
Hi Peter: Can you provide solution for IE9 issue. I am using same DOCTYPE. Though button is disabled. Neither the Tools -> View compatibility settings option working.
Thanks,
Raja
We are currently using that DOCTYPE, however the Add button seems to be disabled and doesn´t work.
Try with change doc type in aspx page as
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
Hi Petar,
Thanks.
Regards.