iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi
I have 3 Panes. All of them include a WebGrid with following code (see attached picture).
<ISWebGrid:WebGrid ID="WebGrid2" runat="server" Height="100%" UseDefaultStyle="True" Width="100%"> <LayoutSettings AutoHeight="True" AutoWidth="True"> </LayoutSettings> </ISWebGrid:WebGrid>
It seems that AutoWidth is calculated on the full page width.
How can I fill WebGrid inside Pane?
Regards
Michael
Hi Handy
It works fine with following code:
<script language="javascript" type="text/javascript" id="WebPaneManager1_OnAfterResize"> function WebPaneManager1_OnAfterResize(controlId, pane1, pane2, oldPane1Size, oldPane2Size, newPane1Size, newPane2Size) { window.setTimeout(function() { wgDoResize(true, true); }, 100); return true; } </script>
Only set WebGrid Settings to: Widht="100%", Height="100%", AutoWidht="false" and AutoHeight="false"
Thank you.
Hi,
I am unable to replicate the scrollbar like your screenshots. Maybe we have different pane settings. I attached my simple sample. Hope you find the differences between my sample and yours.
Regards,Handy
I have set LayoutSettings for each WebGrid (see last posting)
<LayoutSettings AutoHeight="True" AutoWidth="True"></LayoutSettings>
If I set AutoWidth/Height = True then fit grids automatically when I change the size of Panes.
If I set AutoWidth/Height = false then doesn't fit grid automatically (please see attached pictures)
It's possible to fit grids after changing panesize (maybe WebPaneManager ClientSideEvent OnAfterResize)? If so, how can I do this?
I applied also those settings. It seems my designer got cached so it didn't applied into html. Btw, i have modified my sample. Sometimes, the layout resize issue happened when placed WebGrid inside WebPane. To avoid this issue your will need to use wgDoResize method. Attached sample will show you how to do it. Please let me know if you still encounter the same issue.
Hi Michael,
Glad to hear that it also worked on you.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname