Webgrid 7 ContextMenu problem

14 replies. Last post: September 19, 2010 11:49 PM by Handy Surya
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Rolf ArndtMember

We have just upgraded to Webgrid 7 and ran into a problem with ContextMenu when using XHTML the previous doc type was:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

its now:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


We need to use XHTML on our site and i have read that you should be able to use XHTML with webgrid 7 but the context menu looks odd in internet explorer and are placed wrong in Firefox see also the pics. for better understand the problem.

When using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> the context menu works as it should but as i said we need to use XHTML on out pages to get other controls to work.


Settings:

<iswebgrid:WebGrid ID="WebGrid1" runat="server" DataCacheStorage="Session" DataMember="LPReturOrdreLinieList"
Height="248px" Style="z-index: 100; left: 144px; position: absolute;
top: 348px" TabIndex="20" ViewStateItems="BehaviorAndStyle" ViewStateStorage="Session"
Width="819px" EnableWebResources="Auto">
<RootTable DataKeyField="LinieId" AllowEdit="Yes" Caption="Table1" DataMember="XXXXXXXXXXX"
GroupTotalVisible="True" CellClickAction="CellSelect" PreviewRowVisible="True">
<FormatConditions>
<iswebgrid:WebGridFormatCondition ColumnMember="VareLinieType" ConditionText="0"
Name="FormatCondition0" Operator="GreaterThan">
<FormatStyle ForeColor="Red">
</FormatStyle>
</iswebgrid:WebGridFormatCondition>
</FormatConditions>

........................

<LayoutSettings InProgressUIBehavior="ChangeCursorToHourGlass" ColumnFooters="Yes" PromptBeforeDelete="True" AllowSelectColumns="Yes" AllowSorting="Yes"
AutoHeight="True" RowHeaders="No" VirtualPageSize="10" AllowGrouping="Yes" FilterBarVisible="False"
AllowColumnMove="Yes" AllowFilter="Yes" GridLines="Vertical" AllowExport="Yes"
AutoFitColumns="True" AllowEdit="Yes" AutoWidth="True" UseRelativePositioning="False">
<ClientSideEvents OnEditKeyDown="WebGrid1_OnEditKeyDown"></ClientSideEvents>
</LayoutSettings>
</iswebgrid:WebGrid>


I have been in the Webgrid designer / settings / looking trough the Forums and havent found anyone with the same problem.

Any idees what i am doing wrong?

plZ help


BR Rolf

All times are GMT -5. The time now is 12:42 AM.
Previous Next