User Profile & Activity

Alan Tran Member
Posted: May 17, 2016 3:29 AM
Intersoft,When is this going to be fixed? Please give me a date because I need to inform my management. This issue was first reported back in August 2015, and here it is, May 2016, and it's not fixed yet. I'm currently using WebGrid 8.0.7200.260, and WebUI version 3.0.5000.974. (The latest versions currently avaible for download). Please fix this. Jim

In fact, I reported this issue from June 2015. But it still couldn't be fixed until now. Please notify me when it fixed, too.

Posted: June 26, 2015 9:29 AM
Hi Handy,
I found the problem when text show 'null' instead of "There are no rows in this view". This happens when you set StatusBarVisible to False and binding no data in web grid.
The problem stay in your WebGrid_UI.js method ShowNoDataBox.
try{f=c.GetString("CommonText/NoData")}catch(b){setTimeout(...)}...
You try to get text from method GetString. and want it raise exception when message not found. But method GetString only return null text with no exception. Hence you set text equal to null.
We can fix it easily by this:
try{f=c.GetString("CommonText/NoData");if (f == null) throw new Error("Whatever ...");}catch(b){...}
Can you confirm this bug with your dev and fix it in next release?

Regards

Hi Yudi,
You can reproduce this issue with SelfReferencingGrid.aspx. I tried it in intersoft local sample and it shows the same with my problem.
Hi Judi,
Is this the issue of Webgrid or Is this by designed?
Because I have to manually add/remove columns in PrepareDataBinding method. So if do like your suggestion, I'll have to duplicate code in PrepareDataBinding to Webgrid_Load. And this is not the best practice (duplicate code everywhere). Otherwise I have a hundreds of forms need to migrate and because of this issue I'll have much work to do.
Beside in your proposal here, I can see the flow that client side binding call initalizadatasource -> preparedatabinding. But in fact, your webgrid didn't call preparedatabinding when turn on client side "ServerDataSource" mode. I think this is your webgrid bug and if it is, please add it to your issues and tell me about the hotfix that fixed this bug.

Regards
All times are GMT -5. The time now is 3:33 AM.
Previous Next