User Profile & Activity

John Bonin Member
Page
of 18
Posted: December 10, 2012 8:35 AM

Hi Bernard,

 

  Adding the RederingMode="XHMTL" fixes this particular problem.

 

Thanks

Posted: December 6, 2012 9:37 AM

I'm still having problems with the LoadPreviewRow, If I set CellClickAction="CellSelect", the Preview Row is NOT expanded in Firefox or IE 8.  I am using Webgrid 8.0.7200 build 200.  Attached is a sample that shows the problem, at least on my computer.

 

The screenshot shows the row selected but not expanded.

Posted: December 6, 2012 6:49 AM

Bernard,

 

   Your earlier attachment was corrupt and I couldn't extract the files.  Today's attahcment worked and it fixed this issue in the context menu. 

Still having problems with the Preview Row and restoring layouts, I'm working up a sample that shows the problems.

 

thanks for your help

Posted: December 5, 2012 6:54 AM

Unable to extract your sample.  I use 7zip and it reports an unsupported compression routine.

 

Attached is a screenshot of one of the issues.

 

Posted: December 4, 2012 7:23 AM

Hi Bernard,

 

   Thank you for your response.  The difference between using the <HeaderStyle in the RootTable or <LayoutSettings is when used in the <RootTable, wrapping works no need to add breaks.  But when you save the layout, the styles are not saved when used in the <RootTable.

As for your code, it does work and the headers maintain the breaks, but this only fixes one issue.  The next big issue is save the and restoring the layout.  I'll have to work up a sample for you but will take awhile.  In short, saveing the layout has no probelm but when I restore some of the problems are 1) Preview row doesn't work unless I sort a colum first 2) any column the is modified via the InitialzeRow event doesn't work, 3) if I hide a column and show a column that is hidden in the definition, that column is not shown.

Another issue using the breaks, look at the Select Columns context menu and you will see that your Customer ID column is shown as Customer<br />ID.

Thanks

 

Posted: December 3, 2012 9:54 AM

Hi Bernard,

  Sorry it took so long, many releases are going on.  Although your code does work it is not a viable solution.  If a user moves or hides a column it breaks. 

When adding the <HeaderStyle to the <RootTable, the wrapping of column headers and restoring of the header works correctly and when it is added to the <Layout section is does not work, why not just fix the problem so that the <Headerstyle works the same no matter where the <Headerstyle is located?

These problems all came up when trying to Save and Restore a layout.  This is a very important function that we need but can't use it as it doesn't work in our situation as there are way to many problems.  Maybe this can be brought to the Project Managers and they can take a closer look at this functionality. 

Sorry but wasted way to much time on trying to get this to work properly.

I do appreciate your effort if helping us try to resolve these problems.

 

 

Posted: November 14, 2012 7:36 AM

Spoke to soon!  Yes turning off Enable508Standards helps with the Column headers and sorting, but messes up again if you remove a column.

Using FirstExperience, (attached) run the sample, notice that Customer ID is on 2 lines, sort and all is well, now Right click on a column and click and Select Columns ( notice that Customer Id is listed as Customer<br />Id), remove a column.  Notice that Customer ID is now Customer<br />ID and runs into the header of the second column.  Screenshot attached.

 

 

Posted: November 14, 2012 6:57 AM

Yes setting EnableSection508Standards to False correcst the problems, BUT we need to have EnableSection508Standards to True, we are required to following 508 standards.   So this is a bug in webGrid?

Posted: November 13, 2012 7:28 AM

Thanks Hans, I wasn't aware of the Custom columntype. 

Posted: November 13, 2012 7:10 AM

Hi,

 

Attached is a screen shot after I sorted a column.    To see the problem change the DOC type to XHTML.  If using the FirstExperience sample, use the DefaultMasterXHTML.  You will then see the problem.

The versions I am using is:

framework 3.0.5000.850

webGrid 8.0.7200.200.

 

 Just found the problem, set to True  EnableSection508Standards.  When I set it to False the Column Headers with <br /> work.  setting it to True doesn't.

 

 

All times are GMT -5. The time now is 10:28 AM.
Previous Next