User Profile & Activity

Pierre Belanger Member
Page
of 3
Posted: June 19, 2015 2:49 PM

Hi Yudi,

This is what the 3.5 document says about wgPrepareUpdateRow:

// invokeUpdateRow event at the server side
// and also refresh griddata display at the client side
wgPrepareUpdateRow(grid);

I tried to replace to code with:

var grid = ISGetObject('wgrdABCD');
var row = grid.GetSelectedObject().GetRowObject();
row.Update();

I would assume row.Update() would trigger the server side event

Private Sub wgrdABCD_UpdateRow(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.RowEventArgs) Handles wgrdLHSC.UpdateRow

But UpdateRow is not called.

Any idea?

Thanks


Posted: June 19, 2015 10:43 AM

Hi Yudi,

I was aware of the 2 articles but as you alread know they do not explain what "wgPrepareUpdateRow" is doing or what it should be replaced by.

It is used when the user saves the new row.

This is the javascript function:

function SavePage()
{
var grid = wgGetGridById("wgrdABCD");
if (grid.getSelectedObject() != null)
{
var rowElm = grid.getSelectedObject().getRowElement();
var cell = grid.getActiveEditCell();
wgHighlightEditCell(cell);
cell.cellModified = true;
wgHighlightRow(rowElm);
wgPrepareUpdateRow(grid);
return true;
}
}


Thanks

Posted: November 2, 2012 7:30 AM

Hi,

We have WebGrid 7. Is there any plan to correct the problem in WebGrid 7?

Thanks

Posted: November 1, 2012 4:57 PM

When will the next release be available to correct this problem?

Is a fix available for this problem now?

Hi Handy,

I finally figured it out. It was the GAC on my computer which had the latest DLL and not my Bin folder.

I haver removed the assembly in the GAC and placed it in my Bin folder.

I copied all those DLL's to my deployment environment and the issue is now solved.

Thanks

Hi Handy,

I am not sure what you mean by 'you should not install our product'.

We have a valid runtime licence for ISNet.WebUI.WebGrid.v7_0_7200 which is already installed on our production web server.

I used the Deployment information in the above link but I still have the same problem.

When I use the Update Manager it tells me the  latest WebGrid version is 7.07.7200.403.

The Webgrid fix you provided is version 7.07.7200.406.

I have the same assemblies on my computer as in the deployment server. The fix works fine on my computer when I use it as a Web server but not on the deployment web server.

Should something be included in the GAC on the deployment server?

What should I look for to make it work on the deployment server ?

Thanks

 

Hi Handy,

The fix works correctly when using my local computer.

However I am unable to install it on our development webserver.

I copied the dll's in the bin folder.

Is something else required to deploy the fix? Do I have to modify my web.config file?

Thank

Hi Handy,

I tested the fix and it works great!

Since this is a beta release, I will continue testing and advise you if I find any issue.

Thanks

Posted: October 21, 2010 3:06 PM
Private Sub WebGrid1_InitializeRow(ByVal sender As Object, ByVal e As ISNet.WebUI.WebGrid.RowEventArgs) Handles WebGrid1.InitializeRow
         e.Row.ForceNoEdit = true
        End Sub
    

Hi Handy,

I did NOT modify the cell properties, only the Row.ForceNoEdit.

As an example I used the BasicInteractions.aspx.vb sample code and added the above Sub.

All rows have the Row.ForceNoEdit property set to True.

My question is: should the tab key move to the NEXT row if the next row as the ForceNoEdit set to True?

 

Thanks

 

All times are GMT -5. The time now is 9:37 PM.
Previous Next