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,
Thank you for letting me know in another thread. I could also see the issue you mentioned. FYI, our WebGrid column is not designed with % size. That's why your issue might be showed. If you want to customize the size with %, the total of columns size should be 100%.
E.g i have 4 columns
each of them should be have 25% or the amount of total columns should be 100% ( also using AutoFitColumns).
Please let me know your response.
Regards,Handy
Unfortunately that doesnt fit to our scenario. For most of the columns there are fixed pixel width and are related to real world objects So those columns cant be altered to give percentage width. And i am only using autofitcolumns just for the support of firefox. Otherwise i would put that false and in IE it will render correctly with autofitcolumns=false. In short i cant apply full percentage width. I need a different workaround.
I tested using percentage widths that sum upto 100. Sorry it is not working either. In fact the cutoff is solved, but another problem still persist. That is when scrollbar comes in, it covers say a atleast 3letters. In fact scrollbar comes on top of the multiline column(it is my last column) and thereby hiding a minmum of 3 letters in each row of the column. And for dynamic build webgrid the solution is not working at all.
Yes, i also tested it. I have reported XHTML layout issue to our developer. But for real, our WebGridColumn width is not designed with '%' size. Just for notes, the total must be 100% and use AutoFitColumns.
Am waiting for a reply. Is that fixed?
I am sorry for not being detail at the last post. My suggestion is not using '%' because not designed that way. If you still insist, the sum total of column should be 100% and also using AutoFitColumns. But in fact, i could not see any issues about scrollbar that you mentioned before. Please see my simple sample. I also tried to make it as last columns. Could let me also let me know in detail such in screenshot. Once again, I am very sorry.
Find the screenshots below. First one is the Grid with 16px right padding applied. Second one is with 2px padding applied. See how the text is gone disappeared behind the scrollbar. See the layout below. And pls inform me as soon as the issue is sorted out. As told earlier, fixed pixel width is not applicable for me. Both pixel and percentage will come as width.
<ISWebGrid:WebGridColumn AllowMultiLine="True" Caption="EXECUTE1" DataMember="EXECUTE1" Name="EXECUTE1" Width="200px"> <CellStyle HorizontalAlign="Justify" VerticalAlign="top"> </CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn AllowMultiLine="True" Caption="EXECUTE2" DataMember="EXECUTE2" Name="EXECUTE2" Width="200px"> <CellStyle HorizontalAlign="Justify" VerticalAlign="top"> </CellStyle> </ISWebGrid:WebGridColumn> <%--*** modified by riju on 07-10-09 --%> <ISWebGrid:WebGridColumn AllowMultiLine="True" Caption="EXECUTE3" DataMember="EXECUTE3" Width="410px" Name="EXECUTE3"> <CellStyle HorizontalAlign="Justify" VerticalAlign="top"> </CellStyle> </ISWebGrid:WebGridColumn> </Columns> </RootTable> <LayoutSettings RowHeaders="No" AllowDefaultStyleMerging="true" AllowSelectColumns="No" AllowColumnSizing="No" StatusBarVisible="false" PagingMode="VirtualLoad" GridLines="None" AlwaysShowHelpButton="False" AllowFilter="Yes" RowHeightDefault="-1" AllowGrouping="no" VirtualLoadMode="Default" AllowSorting="Yes" HeaderClickAction="SortMulti" FilterBarVisible="False" AutoFitColumns="true"> <ClientSideEvents OnCellDblClick="gotoEdit();" OnRowContextMenu="HandleRowContextMenu" OnInitialize="WG_Init" /> <HeaderStyle Font-Names="sans-serif" Font-Size="8" Height="0px" Padding-Left="2"></HeaderStyle> <RowStyle Cursor="Hand" Font-Names="sans-serif" Font-Size="8" CustomRules="padding-right:2px!important;padding-left:2px!important" /> <AlternatingRowStyle Cursor="Hand" Font-Names="sans-serif" Font-Size="8" Padding-Left="2" CustomRules="padding-right:2px!important;padding-left:2px!important"/> <TextSettings Language="UseCulture" UseWebResources="false"> </TextSettings> </LayoutSettings>
I could not replicate your issue in here. But i tried to create a simple sample based on your screenshot. Please look into my sample and database. If it is possible, please tried to modify my sample and database so it can replicate the issue. You also didn;t give me a complete structure of your WebGrid settings such as your WebGrid width and what did you do in client side event, etc. Maybe i was missing something from there.
Hello Xedem,
Yes, it is fully XHTML support but as i remembered, your issue is not able to be replicated in here. Did you see my last reply? We need able to replicate it first.
I thought you replicated my issue...ok..i will modify your sample according to mine and reply today itself..
@Handy Surya
Check your first reply where you said I could also see the issue you mentioned So i thought the problem with percentages is gonna be rectified in R2. And about the example you have given, I modified the mdb file and successfully replicated the issue. I am putting the screenshot here along with the code in the attachment. Hope you get the same result. Reply ASAP.
Thank you for the sample. I am checking it right now (but the file is corrupted, could you reattach again?). I think you were missunderstanding. What i said about i could see the issue, meant that the layout issue when width used '%' (not anything about multiline). I also did not say that our developer would enhance '%' to be supported width. (maybe you assumed that we would).
Our developer has their own consideration to design like that. So, I am not sure if our developer teams would change the behaviour just like that. That's why i suggested you not to use '%'.
ok..am reattaching it here. And about your points, as am being a developer i dont think the developers would ever design such a control without the option of percentage width. Also for specific design patterns, that fixed width pattern wont work. And am not suggesting to change the behaviour as i dont think its a facility needed to be added, instead its a facility already should have in products like webgrid. Anyway its only my point(Especially IE is superflexible in these scenarios. As the need for a common design to both firefox and IE arise the problem comes). Anyway one more thing, please modify the sample to allow a fixed width in pixels and put autowidth as true only for that column(or say first column=20px 2nd column=200px and 3rd column=200px). What i thought was the 3rd column will stretch and occupy the remaining width of the td. Instead it assumed th full width of td. So the original problem of invisible words comes. See the screenshot am attaching here. I dragged the 3rd column visually to make my point clear so that you can see the column actually assumed full width. I dont know if that is the same behaviour expected. Or am i missing something? ...I attached two copies of the sample. Hope this time you will get it as healthy :).
Hello Vinayan,
I am missing a mater page on your sample (hope it has no effect). So, i am modifying and throwing into a simple aspx page. In fact, the right side of WebGrid is not cutting the text. Perhaps because I am using R2 version. Please go to this link which i uploaded the hotfixes and try to apply them or use R2 version. Please let me know if the issue still occurs or not. If the issue still occurs, please send me your master page or other styles information that you used. I think some styles you used can affect the layout.
I was in a hurry to post, so i forgot to change the masterpage to back. Anyway that wont affect at all. In that case the problem as you said may not be occuring in R2. So i should update it.Ok. Anyway did u modify each column width to pixels and put isautowidth=true for last column? In that case u should get similar to the screenshot i send. Or are u saying that that problem of cutting say a 30% of total line in each row is also not reproduced with R2(means the screenshot problem is not reproduced there.) ?
Hi Vinayan,
I found something which i were missing. All the issue happened, when you used IsAutoWidth=true property in last column. In fact, you should not use this properties anymore because, you already used AutoFitColumns. The initialize size has been handled automatically by AutoFitColumns. Using IsAutoFits would cut the content which is not recommended.
I tried that as well.See the screenshot and compare with the code below. Multiline works in this case. But the assigned widths are not taken.See for eg: if a field is for date then i dont want it to go beyond 70px. How would i do that? But if i put isautowidth=true only for last column, the problem of assuming full width of the webgrid by the given column comes and thereby problems in multiline. So what is is the purpose of isautowidth property?
One more thing, With isautowidth=true for last column and all other columns with fixed width in pixels, webgrid works Fine in IE. The problem comes with only Mozilla. With mozilla a lot of space is seen vacant. So its a bug.
The issue has been forwarded into our developer teams. I will let you know when the result is out.
I didnt get any reply from you. Is that fixed?
Hello Vinayan,,
We are very sorry for the late reply. Our internet connection was broken since several days ago until today. That's why we could not online today.
Unfortunately, the issue has not been fixed yet. Our developer teams are still working on it and also having some works to do. Please let me know if you have a deadline ( maybe in middle of release your project) so i can try to push our developer teams to fix the issue asap.
Yes the requirement is immediate. And we are on a deadline. Please do it ASAP.
Ok. If you don't mind, could you please let me know when is your deadline actually?.
Ah i thought i actually send the date..my mistake..The deadline is February 10th.
One more thing...there s a problem with the submission of posts. It shows error at times. I thought i send the date and last day and just now saw that there came a error in submitting the post. Its now occuring frequently. This time too i needed to try 3 times before the post actually getting posted.
Ok, i have let our developer teams know about the date. For community issues you reported, would you mind to help us? Please let us know how to replicate the issue ( such as in recording,etc). Please also send us the other details such as browser or screenshots.
Well its difficult to say when s the error occuring. At one time when i clicked the 'submit' button the post s directly saved, but for the another time it shown an error message after a 30 sec delay that post couldnt be submitted and contact the technical term or something like that. If i could replicated it i will send the screenshot to you guys.
Ok, thank you for your help.
I got a response from our developer teams.
Comment this line
grid.HidePadColumn = true;
Everything will work fine.
The above code is only recommended if the Grid has no vertical scrollbar. In most common cases, it should not be used.
Did i miss something? I am not using HidePadColumn in the code at all...Check the last sample i attached(Which in fact is the modified one of your sample) Do modify the last column to fixed width say 200px, and run it and see the difference in both Firefox and IE. I repeat there is no problem with IE. But all comes with Firefox.
Hi Xedem,
You used HidePadColumn in Initialize clientside event. If the code is removed, the right space would be showed up. FYI, I tried to test with another with again now, and can replicate the issue. I will let you know after I discussed with our developer.
OK...
Please apply the latest hotfix by referring into this thread. Please also not use HidePadColumn code in your sample. Attached sample is my modified sample. Hope this can also work on you.
Good but not fine...See now there is some space between the scrollbar and last column ...And this happens only in Firefox...The solution is perfect with IE. Now there is a common problem too..RowHeightDefault="-1" makes the header height too small in both browsers. This is a must property to make multiline possible in IE. So what should I do?
Actually, it is the behaviour from Mozila itself. Each browsers have their own behaviour in rendering. At least, we can try to make the layout similars with the default one.
About RowHeightDefault=-1, it's true that this is needed for Multiline scenario. The header height can be customized by defining Css style.
Regards,HAndy
1.In fact problems are more...with the current changes all Grids are having an extra reserved for the scrollbar. As we had an earlier released version which was optimised for IE, this wont be accepted. Thats where, i think the hidePadColumn comes, but unfortunately which means which would hide 4 or 5 words behind the scrollbar.
2. Now could you explain how i could apply custom style to the webgrid header, so that i could make the Grid bothe multiline and set the height as default 19px as well.
As far I seen in the sample which you modified, the space is not much different in IE. Maybe if you can show me (replicate in a simple sample), I can discuss this issue to our developer.
Btw, for WebGrid header, you can set in Headerstyle properties. Unfortunately, It seems you could not see the different with 19px because the default is almost at that size. Please try to set 25px or 30px and you will see the header will get larger.
Hi Vinayan,We have recently released WebUI Studio 2009 R2 Service Pack 1 which includes the fix for this issue (WebGrid 7.0.7200.401).Please click here to read the official press release.
You could also read which fix or enchancement included in the latest build by visiting the support page and clicking the control name located on the Right Pane "Latest Builds".
i was sick, so couldnt check the thread. I will be sending the modified sample shortly. And one more doubt; Is the script WebUIValidation.js is currently using? I couldnt find such a script file included in the hotfix.
Let me discuss with our developer teams and see if there is something we can do about this.
Our developer said that you can use HidePad method although it is not recommended to use. To avoid the right side to be cut, you will need validate the code in two conditions:
1.If the records are many.2.If browser get resized.
On that conditions, HidePad should not be used because WebGrid needs scrollbar.
Well, as i said with firefox, the padding space is double that of IE. Hence HodePad method will do it fine with IE while half the space remain with Firefox.
Now about the validation, how would i exactly validate the conditions. How would i know that there is a scrollbar shown in webgrid, so that now i dont have to use the option hidePadColumn, and when scrollbar is not appearing in webgrid, to use the option. I dont think i could fix the records size as the application runs from a minum 1024 resolution to a higher wide screen resolution.
To satisfy those 2 conditions, i exactly need to know when the records are more than the height of webgrid(concidering the resolution), meaning the scrollbar is appeared on webgrid. How would i do that?
As with my colleague, I could not duplicate the double margin issue in the Mozilla browser, tested using FireFox 3.6 and latest build of WebGrid 7 and WebUI Framework 3, build 401 and build 751 respectively.
You could determine if the scrollbar is present by comparing the scroll height and client height element. We could use this technique in the WebGrid Initialize client side event handler to determine whether the HidePad should be set to True or False. Here is the snippet:
function WG_Init(controlId) { var grid = ISGetObject(controlId); setTimeout(function() { var contentElem = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLDIV); if (contentElem.clientHeight < contentElem.scrollHeight) grid.HidePadColumn = false; else grid.HidePadColumn = true; grid.RefreshAll(); }, 10);}
Ok. Do one thing run my sample with grid.HidePadColumn=true. There you would find a 5px space in firefox. And in IE u wont find any space, but seems to be the end thickened a bit. I am using the same testing environment of yours. Please reply ASAP.
Attached is the modified sample with the workaround implemented. I did not encounter the issue you mention. In order to show WebGrid without the scollbar, I modify the select statement so it will only retrieve a single row.
I also modify the conditional, instead of comparing to the ClientHeight, it will now check against the WebGrid frame height. Since the original check is causing issue in Mozilla, the clientHeight will always has the same value as scrollHeight during WebGrid OnInitialize client side event handler.
In the original sample, it seems you are using master page in your environment, if possible perhaps you could create a simple master page that replicate the HTML structure in order to determine the issue.
It is better to paste the code.
<script type="text/javascript"> function WG_Init(controlId) { var grid = ISGetObject(controlId); setTimeout(function() { var contentElem = grid.RootTable.GetElement(WG40.BODY, WG40.HTMLDIV); if (grid.GetFrameElement().offsetHeight < contentElem.scrollHeight) grid.HidePadColumn = false; else grid.HidePadColumn = true; alert(contentElem.scrollHeight); grid.RefreshAll(); }, 10); } </script></head><body id="Body1" runat="server" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" style="overflow: hidden;"> <form id="form1" runat="server"> <table cellpadding="0" cellspacing="0" class="wrapper" style="height: 100%; table-layout: fixed;" id="Tab2" runat="server"> <tr> <td class="content_area"> <ISWebGrid:WebGrid ID="WebGrid1" runat="server" DataSourceID="AccessDataSource1" Height="100%" UseDefaultStyle="True" DefaultStyleMode="Elegant" Width="100%"> <RootTable DataKeyField="ID"> <Columns> <ISWebGrid:WebGridColumn Caption="ID" DataMember="ID" Name="ID" Width="20px" IsAutoWidth="false"> <CellStyle HorizontalAlign="Justify" VerticalAlign="top"> </CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Multiline1" DataMember="Multiline1" Name="Multiline1" Width="150px" AllowMultiLine="True" IsAutoWidth="false"> <CellStyle HorizontalAlign="Justify" VerticalAlign="top"> </CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Multiline3" DataMember="Multiline3" Name="Multiline3" AllowMultiLine="True" Width="100%" IsAutoWidth="true"> <CellStyle HorizontalAlign="Justify" VerticalAlign="top"> </CellStyle> </ISWebGrid:WebGridColumn> </Columns> </RootTable> <LayoutSettings AllowDefaultStyleMerging="true" GridLines="None" AlwaysShowHelpButton="False" AutoFitColumns="true" FilterBarVisible="false" AllowSorting="Yes" AllowColumnSizing="No" RowHeaders="No" AllowFilter="Yes" AllowGrouping="Yes" AutoFilterSuggestion="True" HideColumnsWhenGrouped="No" ShowRefreshButton="false" RowHeightDefault="-1"> <ClientSideEvents OnInitialize="WG_Init" /> <HeaderStyle Font-Names="sans-serif" Font-Size="8" Height="20px" Width="1px"></HeaderStyle> <RowStyle Cursor="Hand" Font-Names="sans-serif" Font-Size="8" /> <AlternatingRowStyle Cursor="Hand" Font-Names="sans-serif" Font-Size="8" /> <TextSettings Language="UseCulture" UseWebResources="false"> </TextSettings> </LayoutSettings> </ISWebGrid:WebGrid> <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/MultilineDataBaseSample.mdb" DeleteCommand="DELETE FROM [Table1] WHERE (([ID] = ?) OR ([ID] IS NULL AND ? IS NULL))" InsertCommand="INSERT INTO [Table1] ([ID], [Multiline1], [Multiline2], [Multiline3]) VALUES (?, ?, ?, ?)" SelectCommand="SELECT * FROM [Table1]" UpdateCommand="UPDATE [Table1] SET [Multiline1] = ?, [Multiline2] = ?, [Multiline3] = ? WHERE (([ID] = ?) OR ([ID] IS NULL AND ? IS NULL))"> <DeleteParameters> <asp:Parameter Name="ID" Type="String" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Name="Multiline1" Type="String" /> <asp:Parameter Name="Multiline2" Type="String" /> <asp:Parameter Name="Multiline3" Type="String" /> <asp:Parameter Name="ID" Type="String" /> </UpdateParameters> <InsertParameters> <asp:Parameter Name="ID" Type="String" /> <asp:Parameter Name="Multiline1" Type="String" /> <asp:Parameter Name="Multiline2" Type="String" /> <asp:Parameter Name="Multiline3" Type="String" /> </InsertParameters> </asp:AccessDataSource> </td> </tr> </table> </form></body> I avoided themasterpage completely. With the WebGrid7 build401, UI build 751, I am unable todo client Refresh at all. What am i missing. The above code is similar to theone you have send the only difference was the masterpage. Which also i removedto make it a standalone html page. No use at all, am still getting the grid.GetFrameElement().offsetHeightas zero and the other value too. This happens in both the browsers. And refreshis not working with no webgrids in my solution after the new HotFix. Onemore thing the forum posting nowdays seem to be ridiculous. By the time amwriting this i have clicked submit button more than 10 times to get the postsubmitted and still dont know how many times i have to click. There is noparticular scenario. Its just not submitting and saying 'An error has occured when trying to post your reply. Pleasecontact our support at technical@intersoftpt.com for further assistance.'
I avoided themasterpage completely. With the WebGrid7 build401, UI build 751, I am unable todo client Refresh at all. What am i missing. The above code is similar to theone you have send the only difference was the masterpage. Which also i removedto make it a standalone html page. No use at all, am still getting the grid.GetFrameElement().offsetHeightas zero and the other value too. This happens in both the browsers. And refreshis not working with no webgrids in my solution after the new HotFix. Onemore thing the forum posting nowdays seem to be ridiculous. By the time amwriting this i have clicked submit button more than 10 times to get the postsubmitted and still dont know how many times i have to click. There is noparticular scenario. Its just not submitting and saying 'An error has occured when trying to post your reply. Pleasecontact our support at technical@intersoftpt.com for further assistance.'
Sorry for the large font size, am not all being able to edit the above post....
I tested your HTML structure with Glenn sample and found the reason why the offSetHeight is always 0.Each browser has their own behaviour when rendering WebGrid. I have points about the issue below.
1. You snippet a table.As far I know, some browser render table differently. E.g Here is the condifiton to replicate offSetHeight 0
-Put a table-Set WebGrid height into 100%. (in Glenn sample it is 840px)
2. Due to different behaviour in rendering, we need also to customize the stucture of page.
E.g Based on point 1, you will need to set timeout more. It should be about 550 (10 not enough).Mozila takes a little time to render. If you larger the timeout, offSetHeight will not zero.
ok...the increase is right...now the offset is working...i will reply as soon as i test the javascript fully...
Hi i couldnt test it completely as i cant make the latest dll work well...In fact i cant do refresh on any webgrid using new dll..I have posted the complaint in a new thread. Seems like something really wrong. You can see the thread here
After putting new dll into the solution it seems like both FF and IE are working similar. But both are doing it wrong. The following is the code.. The similar one as above.
<ISWebGrid:WebGrid ID="WebGrid1" runat="server" DataSourceID="AccessDataSource1" Height="360px" UseDefaultStyle="True" DefaultStyleMode="Elegant" Width="100%"> <RootTable DataKeyField="ID"> <Columns> <ISWebGrid:WebGridColumn Caption="ID" DataMember="ID" Name="ID" Width="25px" IsAutoWidth="false"> <CellStyle HorizontalAlign="Justify" VerticalAlign="top"> </CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Multiline1" DataMember="Multiline1" Name="Multiline1" Width="150px" AllowMultiLine="True" IsAutoWidth="false"> <CellStyle HorizontalAlign="Justify" VerticalAlign="top"> </CellStyle> </ISWebGrid:WebGridColumn> <ISWebGrid:WebGridColumn Caption="Multiline3" DataMember="Multiline3" Name="Multiline3" AllowMultiLine="True" IsAutoWidth="true"> <CellStyle HorizontalAlign="Justify" VerticalAlign="top"> </CellStyle> </ISWebGrid:WebGridColumn> </Columns> </RootTable> <LayoutSettings AllowDefaultStyleMerging="true" GridLines="None" AlwaysShowHelpButton="False" AutoFitColumns="true" FilterBarVisible="false" AllowSorting="Yes" AllowColumnSizing="No" RowHeaders="No" AllowFilter="Yes" AllowGrouping="Yes" AutoFilterSuggestion="True" HideColumnsWhenGrouped="No" ShowRefreshButton="false" RowHeightDefault="-1"> <ClientSideEvents OnInitialize="WG_Init"/> <HeaderStyle Font-Names="sans-serif" Font-Size="8" Height="19px" > </HeaderStyle> <RowStyle Cursor="Hand" Font-Names="sans-serif" Font-Size="8" /> <AlternatingRowStyle Cursor="Hand" Font-Names="sans-serif" Font-Size="8" /> </LayoutSettings></ISWebGrid:WebGrid>
It is found that now each browser is clipping of the last column. Here a 175px length of each sentence (total width of first column + second column) is clipped from the rows. That means with new dll, our project will collapse all the way!. And am not using any hidepadcolumn option.
Could you show me more detail about what your current result issue? I have applied your WebGrid structure but I could not find anything wrong. So, please be more detail about "It is found that now each browser is clipping of the last column. Here a 175px length of each sentence (total width of first column + second column) is clipped from the rows"
Sorry for being non descriptive. We have already talked about the multiline issue in firefox. That some part of the sentense is clipped from(or say, not visible in the cell) each row of the last column. Please check the previous posts in case if you have forgotten. Now after the dll update, what i see is that, the issue started happening in IE7 too. There was no problem with IE7 previously. Hope u got what am saying...
Yes I know what's the meaning of clipping. I only thought that the result is different. Please see my screenshots, it is rendered well in IE and Moz. Please be more detail such as in screenshot or something to let me know the update. FYI, I have used the structure at your last posted.
I didnt mean that u dont know that, though writing that way confuses...:)...Anyway i checked my code again and with no use. So here am attaching the test project alongwith the dll and the 2 screenshots i obtained running in both FF and IE8. Both are clipping the sentence in each row of the last column. Each second and 3rd column having the same content as input. So u can compare the data from column 3 against the data from the second column.
I tried 4 times and couldnt attach my zip file which has a size of 2.7mb. So i think the size is doing something. Now am attaching the 7zip version(As its .5mb lesser , it attached on the first time itself). So please Test Project.zip to Test Project.7zip and open with WinRar or 7Zip utility.Hope this sample is good one from my part :)...
Your sample works well in here. Mozila is a little bit tight at the end, but they are not getting clipped. Please see my screenshots. Btw, we just released new hotfix yesterday, you can also try to see the new result. Please let me know if the issue still persists or not.
Hi, i cant try with the latest fix as its causing errors here. I have been posting the complaints regarding that on another thread. May be after fixing that it may work similarly as yours...
Ok. I am sure, Andi will help you to solve the error. When the fix is ready, we will try your multiline scenario.
Now that it seems like my problems due to update into new dll files are fixed, i would like to comment on the multiline problem. Its like still mozilla and firefox are doing it differently. The design of webgrid in mozilla is not good. See in mozilla, webgrid tries to clip half of a word at the extreme right. Thats not good for customers. And in non multiline scenario as well, there seem to be an extra small space left unoccupied in mozilla(perfect in IE). So the extra space should be avoided in mozilla. Am using all the latest hotfixes...
One more thing, You have given me the following code in a previous post above, as follows
Of which i replaced RefreshAll() with Refresh() and no further changes. Now the problem is that if any user tries to navigate away from the page just on the moment as the page is loaded, then the webgrid will popup an error, for say more than 1 second, then the second page loads. Means within the unloading time of the first page the error is shown. The error will occur to all the pages where the above fix is applied. This is is due to the fact that within a timeout the grid is refreshed and before all the process is completed, the user is moving away from the page and thus webgrid wont complete the process and throws an error. In short using grid.Refresh()(or grid.RefreshAll()) within a settimeout function is not at all good. Or is there any other event than Init of webgrid to apply the function. Or any other fix, so that i dont need to display the vacant space reserved for the scrollbar. Please reply ASAP.
My colleague, Handy, is not available at this moment. Regarding your issue, may I know what was the message of the error ? Could you also send me your sample where the error is persisted and it would be much better if you also include the step on how to reproduce the error.
Thank you and have a nice day.
Best Regards,
Andi Santoso
Do we still talk the same issue or you have did some modifications on our last sample. If that so, would you mind be more detail such as in screenshots result and the modified sample or even step to reproduce? We need to see the same issue in here before can fix or suggest you something.
Something happened and there was no internet connectivity yesterday. Thats why i couldnt reply yet. Now am doing a repair on my system, so i would suggest you to do as follows to get the exact error. Before that the error is webgrid produced error. See its the same error produced by webgrid covering the whole webgrid...you know that type of error...Now in any of your multiline sample put the above code and then within the webpage direct to another page(say clicking a link in the same page redirect to another page in the solution). This should be done fastly, say in firefox, just after the webgrid is loaded in the first page click any link to move to another page. The webgrid will surely pop the error for 1 sec minimum then the second page will come...And one more i dont like the solution at all as a developer. Coz after the full webgrid load the grid is refreshed. Say if there are 6 webgrids in the webpage, all are refreshed asynchronously delaying the total time...
FYI, in your last sample in this thread work well. The end line of last column did not get cut. That's why I am asking about more detail again such as if you have ever modified the sample again or not and your currect screenshots result. I am sorry if there is some missunderstanding in your issue but did I miss something on this scenario?
With our sample, we dont get any error. And as discussed, i needed to put hidePadColumn option based on whether the webgrid has a scrollbar or not. You remember that right? Now for our sample, there is no error. As i said to reproduce the error i have to move from one webgrid page to another by clicking a button, then webgrid will produce an error page(this error page is a common error page shown by webgrid when some error occurs inside webgrid). I cant do a sample for you right now, however i can send u a sample may be day after tomorrow(as i cant access my sample that i ve created right now). However u can do a sample by just adding another webpage to our sample and then add a button to first page to redirect into second page. However to get the error, the clicking should be done fastly, so that the refresh wont be completed within that time, and webgrid will pop up some error!...Hope this would help...
Hello,
I still could not see the error. I used Link button to navigate into the other page. Maybe with in my data, the RefreshAll process is faster than expected. Anyway, I will wait your update. Thanks for your assistance.
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