Hi All,
Is there any cell click event on server side for ultrawebgrid,if not how can i do this.
Thanks in advance
Hi Peter
i have the same problem , this event in Client side 'CellClickHandler' is not being fired in Chrome.
I need a suggestion ,as it is an important issue .My Client is demanding a solution for this as they mainly use Chrome as their default browser.
Is there any way so that we can cahnge our code , not from clientside but from server side.
Can u give me any sample code for this (to work from server side only) for UserAgent as Chrome ,so that i can overcome this problem.
this event is not being fired in firefox and chrome. Can you please suggest the solution.
All you need to do is goto your server side code and select the object on the left drop down and then select t he event you want on the right drop down for this example it is activecellchange and e.cell will be the ultrawebgridcell
Protected Sub UltraWebGrid1_ActiveCellChange(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.CellEventArgs) Handles
UltraWebGrid1.ActiveCellChange
Response.Write(e.Cell.Value)
End Sub
If you want to do this on the client side then add a client side event to the ultrawebgrid like so...
<displaylayout><ClientSideEvents CellClickHandler="UltraWebGrid1_CellClickHandler" /></displaylayout>
<script type="text/javascript" id="Infragistics">function UltraWebGrid1_CellClickHandler(gridName, cellId, button){//Add code to handle your event here.}</script>
Which you can get to in the designer by clicking on the webgrid then goto properties DisplayLayout->ClientSideEvents
I'm trying to do the same, did you find the solution? or workaround using client-side event?
do you have a good example? with real code?