CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Grid and Tabs problem with latest 2.1

General discussion

by ozelaya » 13 May 2014 18:17

Hi,

I'm moving a project from estable version 2.0 to latest development version 2.1 and I'm having a issue with a grid inside a tab. The grid doesnt display the toolbar until I manually resize the browser. On 2.0 works with no problems.

Thanks in advance,

Omar Zelaya
You do not have the required permissions to view the files attached to this post.
ozelaya
 
Posts: 193
Joined: 05 Apr 2013 21:06

by Alexander Bulei » 13 May 2014 18:25

Hi Omar Zelaya,

Do you use AjaxReRender or RegionRenderAsync?

Checked here and works as expected.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by ozelaya » 13 May 2014 18:41

Hi,

On a button click I use
RenderRegionAsync(IWCGJQRegion2,false,true);
where Form->IWFrameRegion->IWCGJQRegion2->IWCGJQTabs1->IWCGTab2->gridDocumentos

Thanks in Advance,

Omar Zelaya
ozelaya
 
Posts: 193
Joined: 05 Apr 2013 21:06

by ozelaya » 13 May 2014 18:50

Hi,

Forgot to mention that I'm using IW14.0.30.

Thanks in Advance,

Omar Zelaya
ozelaya
 
Posts: 193
Joined: 05 Apr 2013 21:06

by Jorge Sousa » 14 May 2014 09:50

Hello

do you have any code after

RenderRegionAsync(IWCGJQRegion2,false,true);

In 2.1 we're introducing a new and faster method for async render, you can use the old method, passing rramLazyLoadMethod (unit IWCGAsyncRender), in one of the overloads of RenderRegionAsync / AjaxReRender
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by ozelaya » 14 May 2014 12:28

Hi,

After renderRegion all the code is a except block.

using RenderRegionAsync(IWCGJQRegion2,false,false); /// ABrowserResize = false

I got the toolbar partially displayed and the grid is not aligned to alclient and the browser display scrollbars.

Thanks in advance,

Omar Zelaya
You do not have the required permissions to view the files attached to this post.
ozelaya
 
Posts: 193
Joined: 05 Apr 2013 21:06

by ozelaya » 14 May 2014 12:42

Hi,

I got the same results with ABrowserResize=false using RenderRegionAsync(IWCGJQRegion2,rramLazyLoadMethod) //same with rramOldMethod
Using RenderRegionAsync(IWCGJQRegion2,rramLazyLoadMethod,true); grid is aligned to alclient but no toolbar is displayed until I manulaly resize the browser.


BTW, The first time the form is displayed the toolbar is shown ok with the grid empty(No data is loaded the first time) , once I click on the "Buscar" button(And the data is loaded into the form) and call RenderRegionAsync inside the form, I get the unexpected results.

Thanks in advance,

Omar Zelaya
ozelaya
 
Posts: 193
Joined: 05 Apr 2013 21:06

by Jorge Sousa » 14 May 2014 14:36

Hi

Ok, are you sure this wasnt happening before?
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by ozelaya » 14 May 2014 14:47

Hi,

Yes..pretty sure...

It works with no problems under 2.0 release.

Thanks in advance,

Omar Zelaya
ozelaya
 
Posts: 193
Joined: 05 Apr 2013 21:06

by Jorge Sousa » 14 May 2014 15:32

we've to show us that, if isn't for the ajax render, only seeing.

can you run in browser with debug on, to check if is there any js errors in the process please?
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

Next

Return to General - Archive

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.