Hi Forum,
We have recently migrated our project from 2.0 to 4.0 .net framework. Earlier we were using UltraWebGrid extensively in our project and we want to continue using that, so we have use infragistics V11.1 and used its ultrawebGrid in 4.0 frameowork. All the places it is supporting UltraWebGrid but many place clientsideevents/javascript function are not getting called not even any exception thrown. Example
<ig:UltraWebGrid runat="server" ID="WebGrid1"................>
<......
<ClientSideEvents ColumnHeaderClickHandler="UltraWebGrid1_ColumnHeaderClickHandler" InitializeLayoutHandler="UltraWebGrid1_InitializeLayoutHandler" />
</ig:UltraWebGrid
now events define as follows:
<script language="javascript" type="text/javascript"> function UltraWebGrid1_ColumnHeaderClickHandler(gridName, columnId, button){ //Add code to handle your event here. var myCol = igtbl_getColumnById(columnId);...........
}
function UltraWebGrid1_InitializeLayoutHandler(gridName)
{
One of your forum I read that we have to add some compatibility tag in web.config file like
<Pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
but this solution is for project upgraded from 3.5 to 4.0, so in my case project is upgraded from 2.0 to 4.0 framework, so please help me out how should I keep calling those clientsideevents.
Regards,
Manoj
Hi Manoj,
Can you let me know the browser and it's version that you are running this project with?
Thanks!
HI,
In project we are using IE8
I can't see why your client-side events would suddenly stop firing. It is possible that something broke as a result of the migration between frameworks?
If you were to create a 'new' basic test project in framework 4.0 and browsing with IE8, do you still find that your client-events don't fire? If you can send me an example that I can build and run, I will take a look for you.
Please note though that 11.1 has now completed its product life cycle, which means that the classic controls are no longer being supported. Should this issue result in a problem within source code, this would not be eligible for a fix. It is highly recommended to re-write your code as part of migrating to the WebDataGrid (or the hierarchal version- WebHierarchicalDataGrid) or even the jQuery igGrid.
I'm still following this thread and wanted to see if you needed any additional assistance regarding this.