Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
WebMenu and MasterPage
posted

I'm trying to incorporate the copyandpaste example on a page with a masterpage, and I'm thinking that is what's giving me all the grief.  I get a message that says "popup menu name is not valid".  I've tried some of the suggestions from this forum within other posts, but to no avail.  I have tried different variations of the menu name and I get compile errors basically stating that the name I'm using doesn't exist.  I did a response.write in the page.init to get the name of the popup menu, and this is what it gave me back   ctl00_ContentPlaceHolder1_CopyPasteMenu 

The masterpage has a contentplaceholder, and in the child page I placed the CopyPasteMenu within that control.  Do I somehow have to reference the parent(masterpage), or should I put the CopyPasteMenu on the masterpage, and reference it that way?  I've pasted my page source below, and if anyone needs more, I can post that as well.

Thanx,
Mike

 

 

 

<%@ Page Language="VB" MasterPageFile="~/MarshfieldMasterPage.master" AutoEventWireup="false" CodeFile="LOLLoad.aspx.vb" Inherits="LOLLoad" title="(ILENS) Interactive List ENtry System" %>

<%@ Register Assembly="Infragistics2.WebUI.WebDataInput.v7.3, Version=7.3.20073.1043, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.WebDataInput" TagPrefix="igtxt" %>

<%@ Register Assembly="Infragistics2.WebUI.WebCombo.v7.3, Version=7.3.20073.1043, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.WebCombo" TagPrefix="igcmbo" %>

<%@ Register Assembly="Infragistics2.WebUI.UltraWebGrid.v7.3, Version=7.3.20073.1043, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.UltraWebGrid" TagPrefix="igtbl" %>

<%@ Register Assembly="Infragistics2.WebUI.UltraWebNavigator.v7.3, Version=7.3.20073.1043, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.UltraWebNavigator" TagPrefix="ignav" %>

<%@ Register Assembly="Infragistics2.WebUI.Misc.v7.3, Version=7.3.20073.1043, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.Misc" TagPrefix="igmisc" %>

<%@ Register Assembly="Infragistics2.WebUI.UltraWebToolbar.v7.3, Version=7.3.20073.1043, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"

Namespace="Infragistics.WebUI.UltraWebToolbar" TagPrefix="igtbar" %>

<%@ Register Src="~/Clipboard/Clipboard.ascx" TagName="Clipboard" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<script type="text/javascript">

function ShowContextMenu(evt){

//Firefox passes event arg as parameter (evt). If that is null, we'll use window.event (Internet Explorer proprietary)

var e=evt?evt:window.event;

 

//Call show menu with menuID

//specify clientX and clientY to get more accurate positioning for this particular layout

// igmenu_showMenu("<%=Me.CopyPasteMenu.ClientID %>",null,(e.clientX+document.documentElement.scrollLeft)+"px",(e.clientY+document.documentElement.scrollTop)+"px");

igmenu_showMenu("<%=me.CopyPasteMenu.ClientID%>",null,(e.clientX+document.documentElement.scrollLeft)+"px",(e.clientY+document.documentElement.scrollTop)+"px");

 

//Firefox (W3C) - cancel event

if(typeof(e.preventDefault)=="function")e.preventDefault();

//InternetExplorer (Proprietary) - cancel event

e.returnValue=false;return false;

}

function GridClick(grid,src,button){

if(button!=2){

//Because the WebGrid consumes all mouse events, we need to add

//a listener to determine when a mouse click has occured so we can

//close the popup menu appropriately

igmenu_getMenuById("<%= Me.CopyPasteMenu.ClientID %>").dismiss();

}

}

//function InsertRow() {

// var grid=igtbl_getGridById("CopyPasteGrid1");

// var row=grid.Rows.getRow(grid.Rows.length-1);

// row.remove();

// grid.Rows.insert(row,0);

//}

function addRow()

{

//Get the activerow

var row=igtbl_getActiveRow("uwgListsEntered"); if(row!=null)

//if activerow exists then add a new row

{igtbl_addNew("uwgListsEntered",0);}

else

{

//if no activerow then set one and add the row to the customers band

igtbl_setActiveRow("uwgListsEntered",igtbl_getElementById("uwgListsEnteredr_0"));igtbl_addNew("uwgListsEntered",0);

}

}

 

function ContextMenuItemClick(menuid,itemid)

{

//Grab a reference to the ContextMenuItem that was clicked on

var item=igmenu_getItemById(itemid); var curGrid=null;

//We need to know which tab we're on, so we can figure out which

//grid we want to perform the copy/paste operation on.

//Notice we use the asp style tag to emit the ClientID of the tab.

//This makes our code more maintainable in the event that the tab

//id changes, the reference will be updated automatically.

// curGrid="<%=Me.uwgListsEntered.ClientID %>";

curGrid=igtbl_getGridById("uwgListsEntered"); if(item!=null){

//We'll use the text from the menuitem to decide which operation to perform

switch(item.getText()){case "Cut":

curGrid.cut();

break;

case "Copy":

curGrid.copy();

break;case "Paste":

curGrid.paste();

break;

case "Insert":

curGrid.insert();

break;

case "Export To Excel":

document.getElementById("ExportToExcelButton").click();break;

}

}

}

</script>

<table id="tblAppLocation" style="width: 100%">

<tr>

<td style="width: 30%; font-weight: bold; color: white; background-image:url(../../Images/tab1024_red.gif); font-family: Tahoma; height: 21px; font-size: 8pt;">

&nbsp;List(s) Entered</td>

<td style="width: 70%; font-weight: bold; color: white; font-family: Tahoma; background-color: transparent; height: 21px; background-image: url(../../Images/tab1024_red.gif); background-repeat: repeat-y; overflow: visible;">

&nbsp;<asp:Label ID="lblProjectDescription" runat="server" Text="Label" BackColor="Transparent" Font-Bold="True" Font-Names="Tahoma" Font-Size="8pt" ForeColor="White"></asp:Label></td>

</tr>

<tr></tr>

</table>

<table id="tblMain" style="width: 100%; height: 100%">

<tr>

<td style="width: 1386px">

<igtbar:ultrawebtoolbar id="uwtoolLOLMaintenance" runat="server" Font-Names="Tahoma" Font-Size="7pt" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes" EnableAppStyling="True" BackgroundImage="" ImageDirectory="" ItemWidthDefault="">

<Items> <igtbar:TBSeparator Key="tbtnSep0" />

<igtbar:TBarButton DisabledImage="" HoverImage="" Image="~/Images/New.bmp" Key="tbtnNewRow"

SelectedImage="" Tag="NewRow" Text="New Row">

<Images>

<DefaultImage Url="~/Images/New.bmp" />

</Images>

</igtbar:TBarButton>

<igtbar:TBarButton DisabledImage="" HoverImage="" Image="~/Images/Save.bmp"

Key="tbtnSave" SelectedImage="" Text="Save" ToolTip="Save Change(s)">

<Images>

<DefaultImage Url="~/Images/Save.bmp" />

</Images>

</igtbar:TBarButton> <igtbar:TBSeparator Key="tbtnSep1" />

<igtbar:TBarButton DisabledImage="" HoverImage="" Image="~/Images/Copy.bmp"

Key="tbtnCopyProject" SelectedImage="" Tag="CopyProject" Text="Copy Project" ToolTip="Copy Entries from Existing Project">

<Images>

<DefaultImage Url="~/Images/Copy.bmp" />

</Images>

</igtbar:TBarButton>

<igtbar:TBarButton DisabledImage="" HoverImage="" Image="~/Images/Mainframe.bmp"

Key="tbtnSubmitLOL" SelectedImage="" Tag="SubmitLOL" Text="Submit LOL" ToolTip="Submit List-Of-List(s) for Processing">

<Images>

<DefaultImage Url="~/Images/Mainframe.bmp" />

</Images>

</igtbar:TBarButton>

<igtbar:TBarButton DisabledImage="" HoverImage="" Image="~/Images/Exit.bmp" Key="tbtnExit"

SelectedImage="" Tag="Exit" Text="Exit to Project(s) Available">

<Images>

<DefaultImage Url="~/Images/Exit.bmp" /> </Images>

</igtbar:TBarButton>

</Items>

</igtbar:ultrawebtoolbar>

</td>

</tr>

<%--Error message area--%>

<tr>

<td style="height: 21px; width: 1386px;">

<asp:Label ID="lblErrorMessage" runat="server" ForeColor="Red"></asp:Label>

</td>

</tr>

<%--Copy From Project--%>

<tr>

<td style="height: 25px; width: 1386px;">

<igmisc:WebGroupBox ID="wgbCopyFromProject" runat="server" EnableAppStyling="True"

Font-Bold="True" Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black" StyleSetName="RadioFlyer"

StyleSetPath="~/App_Themes" Text="Copy From Project:" Width="248px" Height="25px"> <Template>

<igcmbo:WebCombo ID="wcbCopyFromProject" runat="server" BackColor="White" BorderColor="Silver"

BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black"

Height="16px" SelBackColor="192, 0, 0" SelForeColor="White" Version="4.00" Width="240px">

<Columns>

<igtbl:UltraGridColumn>

<header caption="ProjectNumber" key="ProjectNumber" title="ProjectNumber"></header>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn>

<header caption="ProjectDescription" key="ProjectDescription" title="ProjectDescription">

<RowLayoutColumnInfo OriginX="1"></RowLayoutColumnInfo>

</header>

<footer>

<RowLayoutColumnInfo OriginX="1"></RowLayoutColumnInfo>

</footer>

</igtbl:UltraGridColumn>

</Columns>

<ExpandEffects ShadowColor="LightGray" />

<DropDownLayout BorderCollapse="Separate" RowHeightDefault="18px" Version="4.00">

<HeaderStyle BackColor="LightGray" BorderStyle="Solid">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</HeaderStyle>

<FrameStyle BackColor="Silver" BorderStyle="Ridge" BorderWidth="2px" Cursor="Default"

Font-Names="Tahoma" Font-Size="8pt" Height="130px" Width="325px">

</FrameStyle>

<RowStyle BackColor="White" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px">

<BorderDetails WidthLeft="0px" WidthTop="0px" />

</RowStyle>

<SelectedRowStyle BackColor="#C00000" ForeColor="White" />

</DropDownLayout>

<Rows>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="0142235"></igtbl:UltraGridCell>

<igtbl:UltraGridCell Text="NSP208"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

</Rows>

</igcmbo:WebCombo>

</Template> </igmisc:WebGroupBox>

</td>

</tr>

<%--Column Data fields--%>

<tr>

<td style="width: 1386px;height: 50px;">

<igmisc:WebGroupBox ID="wgbColumnData" runat="server" EnableAppStyling="True"

Font-Bold="True" Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black"

StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes" Text="Column Data To Populate:">

<Template>

<table id="tblColumnDataFields" style="width: 950px; height: 50px">

<tr>

<td style="width: 135px; height: 25px">

<igmisc:WebGroupBox ID="wgbColumn" runat="server" BorderColor="#C00000"

BorderWidth="1px" Font-Bold="False" Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black"

Text="Column:" Width="135px" Height="25px" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes"> <Template>

<igcmbo:WebCombo ID="wcbColumn" runat="server" BackColor="White" BorderColor="Silver"

BorderStyle="Solid" BorderWidth="1px" EnableAppStyling="True" Font-Bold="False" Font-Names="Tahoma"

Font-Size="8pt" ForeColor="Black" SelBackColor="192, 0, 0" SelForeColor="White" StyleSetName="RadioFlyer"

StyleSetPath="~/App_Themes" Version="4.00" Width="125px" Height="16px">

<Columns>

<igtbl:UltraGridColumn AllowGroupBy="No" Case="Upper">

<header caption="Column0"></header>

</igtbl:UltraGridColumn>

</Columns>

<ExpandEffects ShadowColor="LightGray" />

<DropDownLayout BorderCollapse="Separate" RowHeightDefault="18px" Version="4.00" ColHeadersVisible="No">

<HeaderStyle BackColor="LightGray" BorderStyle="Solid">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</HeaderStyle>

<FrameStyle BackColor="Silver" BorderStyle="Ridge" BorderWidth="2px" Cursor="Default"

Font-Names="Tahoma" Font-Size="8pt" Height="130px" Width="325px">

</FrameStyle>

<RowStyle BackColor="White" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" Font-Bold="False" Font-Names="Tahoma" Font-Size="8pt">

<BorderDetails WidthLeft="0px" WidthTop="0px" />

</RowStyle>

<SelectedRowStyle BackColor="#C00000" ForeColor="White" />

</DropDownLayout>

<Rows>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="-ALL COLUMN(S)-

"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="BROKERID

"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="DIVISION"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="DOLLARS"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="FAMILYID"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="FREQUENCY"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="GROUP"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="KEYCODE"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="LISTID"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="MAJORSEGMENT"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="MPCATEGORY"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="PRIORITY"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="QUANTITY"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="RECENCY"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="RECORDSOURCE"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="SEGMENTBREAK"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="SELECT"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="SUB-SEGMENT"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="ZIPSEGMENTHIGH"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

<igtbl:UltraGridRow Height="">

<cells>

<igtbl:UltraGridCell Text="ZIPSEGMENTLOW"></igtbl:UltraGridCell>

</cells>

</igtbl:UltraGridRow>

</Rows> </igcmbo:WebCombo>

</Template>

</igmisc:WebGroupBox>

</td>

<td style="width: 100px; height: 25px">

<igmisc:WebGroupBox ID="wgbCellValue" runat="server" BorderColor="#C00000" BorderWidth="1px"

Font-Bold="False" Width="100px" Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black" StyleSetName="RadioFlyer"

StyleSetPath="~/App_Themes" Text="Value:">

<Template>

<igtxt:WebTextEdit ID="wteValue" runat="server" EnableAppStyling="True" Font-Bold="False"

Font-Names="Tahoma" Font-Size="8pt" MaxLength="255" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes" Width="95px" SelectionOnFocus="SelectAll">

</igtxt:WebTextEdit>

</Template>

</igmisc:WebGroupBox>

</td>

<td style="width: 65px; height: 25px">

<igmisc:WebGroupBox ID="wgbStartRow" runat="server" BorderColor="#C00000" BorderWidth="1px"

Font-Bold="False" Font-Names="Tahoma" ForeColor="Black" StyleSetName="RadioFlyer"

StyleSetPath="~/App_Themes" Text="Start Row:" Width="65px"> <Template>

<igtxt:WebTextEdit ID="wteStartRow" runat="server" EnableAppStyling="True" MaxLength="7"

SelectionOnFocus="SelectAll" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes"

Width="60px"> </igtxt:WebTextEdit>

</Template>

</igmisc:WebGroupBox>

</td>

<td style="width: 100px; height: 25px">

<igmisc:WebGroupBox ID="wgbNumberOfRows" runat="server" BorderColor="#C00000" BorderWidth="1px" Font-Bold="False" Font-Names="Tahoma" ForeColor="Black" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes" Text="# of Row(s):" Width="100px">

<Template>

<table id="tblNumberOfRows" style="width:95px;height: 25px;">

<tr>

<td style="width: 40px; height: 25px;">

<igtxt:WebTextEdit ID="wteNumberOfRows" runat="server" EnableAppStyling="True" MaxLength="7"

SelectionOnFocus="SelectAll" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes"

Width="40px">

</igtxt:WebTextEdit>

</td> <td style="width: 55px; height: 25px;">

<asp:CheckBox ID="chkAllRows" runat="server" Font-Bold="False" Font-Names="Tahoma"

Font-Size="8pt" Text="All" /></td>

</tr>

</table>

</Template>

</igmisc:WebGroupBox>

</td>

<td style="width: 200px; height: 25px;">

<igmisc:WebGroupBox ID="wgbIncrementDecrementBy" runat="server" BorderColor="#C00000"

BorderWidth="1px" Font-Bold="False" Font-Names="Tahoma" Font-Size="8pt" ForeColor="Black"

StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes" Text="Increment/Decrement By:"

Width="200px">

<Template>

<table id="tblIncrementDecrement" style="width: 185px; height: 20px;">

<tr>

<td style="width: 45px; height: 25px;">

<igtxt:WebTextEdit ID="wteIncrementDecrementBy" runat="server" Width="45px" EnableAppStyling="True" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes">

</igtxt:WebTextEdit>

</td>

<td style="width: 155px; height: 25px;">

<asp:RadioButtonList ID="rblIncrementDecrement" runat="server" Font-Names="Tahoma"

Font-Size="8pt" Font-Bold="False" RepeatDirection="Horizontal" Width="155px">

<asp:ListItem>Increment</asp:ListItem>

<asp:ListItem>Decrement</asp:ListItem>

</asp:RadioButtonList>

</td>

</tr>

</table>

</Template>

</igmisc:WebGroupBox>

</td>

<td style="width: 175px; height: 25px">

<igtbar:UltraWebToolbar ID="uwtoolOKCancel" runat="server" BackgroundImage="" EnableAppStyling="True"

ImageDirectory="" ItemWidthDefault="" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes">

<Items>

<igtbar:TBSeparator />

<igtbar:TBarButton DisabledImage="" HoverImage="" Image="~/Images/Checkmark-Green.bmp"

Key="OK" SelectedImage="" Tag="OK" Text="OK">

<Images>

<DefaultImage Url="~/Images/Checkmark-Green.bmp" />

</Images>

</igtbar:TBarButton>

<igtbar:TBSeparator />

<igtbar:TBarButton DisabledImage="" HoverImage="" Image="~/Images/CancelX.bmp" Key="Cancel"

SelectedImage="" Tag="Cancel" Text="Cancel">

<Images>

<DefaultImage Url="~/Images/CancelX.bmp" />

</Images>

</igtbar:TBarButton>

</Items>

</igtbar:UltraWebToolbar>

</td>

</tr>

</table> <table id="tblResultsToWorkPad" style="width: 950px;height:10px;">

<tr>

<td style="width:160px; height:10px">

<asp:CheckBox ID="chkDataToWorkSpace" runat="server" Font-Bold="True" Font-Names="Tahoma"

Font-Size="8pt" Text="Copy Data To WorkSpace" Width="184px" /></td>

</tr>

</table>

</template>

</igmisc:WebGroupBox> </td>

</tr>

<%--WorkSpace--%>

<tr>

<td style="width:1386px; height: 10px;">

<igmisc:WebPanel ID="wpanWorkSpace" runat="server" EnableAppStyling="True" Expanded="False"

ExpandEffect="None" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes">

<PanelStyle Font-Names="Tahoma" Font-Size="8pt">

</PanelStyle>

<Header Text="WorkSpace">

</Header>

<Template>

<igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" Height="200px" Width="325px">

<Bands>

<igtbl:UltraGridBand>

<AddNewRow View="NotSet" Visible="NotSet">

</AddNewRow>

</igtbl:UltraGridBand>

</Bands>

<DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" AllowDeleteDefault="Yes"

AllowSortingDefault="OnClient" AllowUpdateDefault="Yes" BorderCollapseDefault="Separate"

HeaderClickActionDefault="SortMulti" Name="UltraWebGrid1" RowHeightDefault="20px"

RowSelectorsDefault="No" SelectTypeRowDefault="Extended" StationaryMargins="Header"

StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed" Version="4.00" ViewType="OutlookGroupBy">

<GroupByBox>

<BoxStyle BackColor="ActiveBorder" BorderColor="Window">

</BoxStyle>

</GroupByBox>

<GroupByRowStyleDefault BackColor="Control" BorderColor="Window">

</GroupByRowStyleDefault>

<ActivationObject BorderColor="" BorderWidth="">

</ActivationObject>

<FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" /> </FooterStyleDefault>

<RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

Font-Names="Microsoft Sans Serif" Font-Size="8.25pt">

<BorderDetails ColorLeft="Window" ColorTop="Window" />

<Padding Left="3px" />

</RowStyleDefault>

<FilterOptionsDefault>

<FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid"

BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

Font-Size="11px">

<Padding Left="2px" />

</FilterOperandDropDownStyle>

<FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">

</FilterHighlightRowStyle>

<FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px"

Height="300px" Width="200px">

<Padding Left="2px" />

</FilterDropDownStyle>

</FilterOptionsDefault>

<HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" HorizontalAlign="Left">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</HeaderStyleDefault>

<EditCellStyleDefault BorderStyle="None" BorderWidth="0px">

</EditCellStyleDefault>

<FrameStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid"

BorderWidth="1px" Font-Names="Microsoft Sans Serif" Font-Size="8.25pt" Height="200px"

Width="325px">

</FrameStyle>

<Pager MinimumPagesForDisplay="2">

<PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</PagerStyle>

</Pager>

<AddNewBox Hidden="False">

<BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</BoxStyle>

</AddNewBox>

</DisplayLayout>

</igtbl:UltraWebGrid>

</Template> </igmisc:WebPanel>

</td>

</tr>

<%--List(s) Entered--%>

<tr>

<td style="width: 1386px; height: 375px;">

<div class="view" oncontextmenu="BLOCKED SCRIPTShowContextMenu(event)" style="left: 0px; top: 0px">

<igtbl:UltraWebGrid ID="uwgListsEntered" runat="server" EnableAppStyling="True" StyleSetName="RadioFlyer" StyleSetPath="~/App_Themes" Width="100%" Height="384px">

<Bands>

<igtbl:UltraGridBand AllowRowNumbering="Continuous">

<Columns>

<igtbl:UltraGridColumn Key="ListID">

<Header Caption="ListID" Title="ListID">

</Header>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Key="FamilyID">

<Header Caption="FamilyID" Title="FamilyID">

<RowLayoutColumnInfo OriginX="1" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="1" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="Priority">

<Header Caption="Priority" Title="Priority">

<RowLayoutColumnInfo OriginX="2" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="2" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="MajorSegment">

<Header Caption="MajorSegment" Title="MajorSegment">

<RowLayoutColumnInfo OriginX="3" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="3" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="Sub-Segment">

<Header Caption="Sub-Segment" Title="Sub-Segment">

<RowLayoutColumnInfo OriginX="4" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="4" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="Group">

<Header Caption="Group" Title="Group">

<RowLayoutColumnInfo OriginX="5" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="5" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="Keycode">

<Header Caption="Keycode" Title="Keycode">

<RowLayoutColumnInfo OriginX="6" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="6" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="Division">

<Header Caption="Division" Title="Division">

<RowLayoutColumnInfo OriginX="7" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="7" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="Recency">

<Header Caption="Recency" Title="Recency">

<RowLayoutColumnInfo OriginX="8" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="8" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="Select">

<Header Caption="Select" Title="Select">

<RowLayoutColumnInfo OriginX="9" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="9" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="Frequency">

<Header Caption="Frequency" Title="Frequency">

<RowLayoutColumnInfo OriginX="10" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="10" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="Dollars">

<Header Caption="Dollars" Title="Dollars">

<RowLayoutColumnInfo OriginX="11" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="11" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="SegmentBreak">

<Header Caption="SegmentBreak" Title="SegmentBreak">

<RowLayoutColumnInfo OriginX="12" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="12" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="RecordSource">

<Header Caption="RecordSource" Title="RecordSource">

<RowLayoutColumnInfo OriginX="13" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="13" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="BrokerID">

<Header Caption="BrokerID" Title="BrokerID">

<RowLayoutColumnInfo OriginX="14" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="14" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Key="Quantity">

<Header Caption="Quantity" Title="Quantity">

<RowLayoutColumnInfo OriginX="15" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="15" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="ZipSegmentLow">

<Header Caption="ZipSegmentLow" Title="ZipSegmentLow">

<RowLayoutColumnInfo OriginX="16" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="16" />

</Footer>

</igtbl:UltraGridColumn>

<igtbl:UltraGridColumn Case="Upper" Key="ZipSegmentHigh">

<Header Caption="ZipSegmentHigh" Title="ZipSegmentHigh">

<RowLayoutColumnInfo OriginX="17" />

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="17" />

</Footer>

</igtbl:UltraGridColumn>

</Columns>

<RowEditTemplate>

<table id="reMajorSegment" style="width: 275px; height: 25px;">

<tr>

<td style="width:100px">

<asp:Label ID="lblMajorSegment" runat="server" Text="MajorSegment"></asp:Label></td>

<td style="width:160px;">

<igcmbo:WebCombo ID="WebCombo1" runat="server" BackColor="White" BorderColor="Silver"

BorderStyle="Solid" BorderWidth="1px" ForeColor="Black" SelBackColor="DarkBlue" SelForeColor="White"

Version="4.00" Width="152px">

<Columns>

<igtbl:UltraGridColumn>

<header caption="Column0"></header>

</igtbl:UltraGridColumn>

</Columns>

<ExpandEffects ShadowColor="LightGray" />

<DropDownLayout BorderCollapse="Separate" RowHeightDefault="15px" Version="4.00">

<HeaderStyle BackColor="LightGray" BorderStyle="Solid">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</HeaderStyle>

<FrameStyle BackColor="Silver" BorderStyle="Ridge" BorderWidth="2px" Cursor="Default"

Font-Names="Tahoma" Font-Size="8pt" Height="130px" Width="75px">

</FrameStyle>

<RowStyle BackColor="White" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px">

<BorderDetails WidthLeft="0px" WidthTop="0px" />

</RowStyle>

<SelectedRowStyle BackColor="#C00000" ForeColor="White" />

</DropDownLayout>

</igcmbo:WebCombo>

</td>

</tr> </table>

<p align="right">

ListID

<input id="igtbl_TextBox_0_1" columnkey="ListID" style="width: 150px" type="text" /><br />

FamilyID

<input id="igtbl_TextBox_0_2" columnkey="FamilyID" style="width: 150px" type="text" /><br />

Priority

<input id="igtbl_TextBox_0_3" columnkey="Priority" style="width: 150px" type="text" /><br />

MajorSegment

<input id="igtbl_TextBox_0_4" columnkey="MajorSegment" style="width: 150px" type="text" /><br />

Sub-Segment

<input id="igtbl_TextBox_0_5" columnkey="SubSegment" style="width: 150px" type="text" /><br />

Group

<input id="igtbl_TextBox_0_6" columnkey="Group" style="width: 150px" type="text" /><br />

Keycode

<input id="igtbl_TextBox_0_7" columnkey="Keycode" style="width: 150px" type="text" /><br />

Division

<input id="igtbl_TextBox_0_8" columnkey="Division" style="width: 150px" type="text" /><br />

Recency

<input id="igtbl_TextBox_0_9" columnkey="Recency" style="width: 150px" type="text" /><br />

Select

<input id="igtbl_TextBox_0_10" columnkey="Select" style="width: 150px" type="text" /><br />

Frequency

<input id="igtbl_TextBox_0_11" columnkey="Frequency" style="width: 150px" type="text" /><br />

Dollars

<input id="igtbl_TextBox_0_12" columnkey="Dollars" style="width: 150px" type="text" /><br />

SegmentBreak

<input id="igtbl_TextBox_0_13" columnkey="SegmentBreak" style="width: 150px" type="text" /><br />

RecordSource

<input id="igtbl_TextBox_0_14" columnkey="RecordSource" style="width: 150px" type="text" /><br />

BrokerID

<input id="igtbl_TextBox_0_15" columnkey="BrokerID" style="width: 150px" type="text" /><br />

Quantity

<input id="igtbl_TextBox_0_16" columnkey="Quantity" style="width: 150px" type="text" /><br />

ZipSegmentLow

<input id="igtbl_TextBox_0_17" columnkey="ZipSegmentLow" style="width: 150px" type="text" /><br />

ZipSegmentHigh

<input id="igtbl_TextBox_0_18" columnkey="ZipSegmentHigh" style="width: 150px" type="text" /><br />

</p>

<br /> <p align="center">

<input id="igtbl_reOkBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px"

type="button" value="OK" />&nbsp;

<input id="igtbl_reCancelBtn" onclick="igtbl_gRowEditButtonClick(event);" style="width: 50px"

type="button" value="Cancel" /></p>

</RowEditTemplate>

<RowTemplateStyle BackColor="Window" BorderColor="Window" BorderStyle="Ridge" Font-Names="Tahoma">

<BorderDetails WidthBottom="3px" WidthLeft="3px" WidthRight="3px" WidthTop="3px" />

</RowTemplateStyle>

<AddNewRow View="NotSet" Visible="NotSet">

</AddNewRow>

</igtbl:UltraGridBand>

</Bands>

<DisplayLayout AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer" AllowDeleteDefault="Yes"

AllowSortingDefault="OnClient" AllowUpdateDefault="Yes" BorderCollapseDefault="Separate"

HeaderClickActionDefault="SortMulti" Name="uwgListsEntered" RowHeightDefault="20px" SelectTypeRowDefault="Extended"

StationaryMarginsOutlookGroupBy="True" Version="4.00" SelectTypeCellDefault="Extended" AllowRowNumberingDefault="Continuous" TableLayout="Fixed" AllowAddNewDefault="Yes">

<GroupByBox>

<BoxStyle BackColor="ActiveBorder" BorderColor="Window">

</BoxStyle>

</GroupByBox>

<GroupByRowStyleDefault BackColor="Control" BorderColor="Window">

</GroupByRowStyleDefault>

<ActivationObject BorderColor="" BorderWidth="">

</ActivationObject>

<FooterStyleDefault BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" /> </FooterStyleDefault>

<RowStyleDefault BackColor="Window" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

Font-Names="Tahoma" Font-Size="8pt">

<BorderDetails ColorLeft="Window" ColorTop="Window" />

<Padding Left="3px" />

</RowStyleDefault>

<FilterOptionsDefault AllowRowFiltering="OnClient">

<FilterOperandDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid"

BorderWidth="1px" CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif"

Font-Size="11px">

<Padding Left="2px" />

</FilterOperandDropDownStyle>

<FilterHighlightRowStyle BackColor="#151C55" ForeColor="White">

</FilterHighlightRowStyle>

<FilterDropDownStyle BackColor="White" BorderColor="Silver" BorderStyle="Solid" BorderWidth="1px"

CustomRules="overflow:auto;" Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px"

Height="300px" Width="200px">

<Padding Left="2px" />

</FilterDropDownStyle>

</FilterOptionsDefault>

<HeaderStyleDefault BackColor="LightGray" BorderStyle="Solid" HorizontalAlign="Left">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</HeaderStyleDefault>

<EditCellStyleDefault BorderStyle="None" BorderWidth="0px">

</EditCellStyleDefault>

<FrameStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid"

BorderWidth="1px" Font-Names="Tahoma" Font-Size="8.25pt" Height="384px"

Width="100%" Font-Bold="False">

</FrameStyle>

<Pager MinimumPagesForDisplay="2">

<PagerStyle BackColor="LightGray" BorderStyle="Solid" BorderWidth="1px">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</PagerStyle>

</Pager>

<AddNewBox Hidden="False">

<BoxStyle BackColor="Window" BorderColor="InactiveCaption" BorderStyle="Solid" BorderWidth="1px" Font-Names="Tahoma" Font-Size="8pt">

<BorderDetails ColorLeft="White" ColorTop="White" WidthLeft="1px" WidthTop="1px" />

</BoxStyle>

<ButtonStyle Font-Names="Tahoma" Font-Size="8pt">

</ButtonStyle>

</AddNewBox>

<AddNewRowDefault Visible="Yes">

</AddNewRowDefault>

<RowSelectorStyleDefault Font-Names="Tahoma" ForeColor="Black"> </RowSelectorStyleDefault>

<SelectedRowStyleDefault BackColor="LightGray" BorderColor="Transparent" BorderStyle="None"

Font-Bold="True" Font-Names="Tahoma" ForeColor="Black">

</SelectedRowStyleDefault>

<ClientSideEvents ClipboardError="Grid_OnClipboardError" MouseUpHandler="GridClick" /> </DisplayLayout>

</igtbl:UltraWebGrid>

</div>

</td>

</tr>

</table>

<ignav:UltraWebMenu TopItemSpacing="Compact" ID="CopyPasteMenu" runat="server" WebMenuStyle="XPClient" WebMenuTarget="PopupMenu" CssClass="ContextMenu" EnableViewState="False" JavaScriptFilename="" JavaScriptFileNameCommon="" LeafItemImageUrl="" ParentItemImageUrl="" StyleSetName=""> <IslandStyle BackColor="LightGray" BorderStyle="Outset" BorderWidth="1px" Cursor="Default">

</IslandStyle>

<HoverItemStyle CssClass="ContextMenuItemHover" />

<Images>

<SubMenuImage Url="./ig_menuTri.gif" />

</Images>

<ItemStyle CssClass="ContextMenuItem" />

<Items>

<ignav:Item HoverImageUrl="./cut_over.gif" ImageUrl="./cut.gif"

Text="Cut">

<Images>

<DefaultImage AlternateText="Cut" Url="./cut.gif" />

<HoverImage Url="./cut_over.gif" />

</Images> </ignav:Item>

<ignav:Item HoverImageUrl="./copy_over.gif" ImageUrl="./copy.gif"

Text="Copy">

<Images>

<DefaultImage AlternateText="copy" Url="./copy.gif" />

<HoverImage Url="./copy_over.gif" />

</Images> </ignav:Item>

<ignav:Item HoverImageUrl="./paste_over.gif" ImageUrl="./paste.gif"

Text="Paste">

<Images>

<DefaultImage AlternateText="paste" Url="./paste.gif" />

<HoverImage Url="./paste_over.gif" />

</Images>

</ignav:Item>

<ignav:Item ImageUrl="./insertrowabove.gif" Text="Insert">

<Images>

<DefaultImage Url="./insertrowabove.gif" />

</Images>

</ignav:Item>

<ignav:Item Separator="True">

</ignav:Item>

<ignav:Item ImageUrl="./excelIcon.gif" Text="Export To Excel">

<Images>

<DefaultImage AlternateText="Export To Excel" Url="./excelIcon.gif" />

</Images>

</ignav:Item>

</Items>

<DisabledStyle Font-Names="MS Sans Serif" Font-Size="8pt" ForeColor="Gray">

</DisabledStyle>

<Levels>

<ignav:Level Index="0" />

</Levels>

<SeparatorStyle CustomRules="background-repeat:repeat-x;" BackgroundImage="~/ig_res/radioflyer/images/ig_menuTri.gif" />

<ExpandEffects ShadowColor="LightGray" />

<MenuClientSideEvents ItemClick="ContextMenuItemClick" InitializeMenu="" ItemChecked="" ItemHover="" SubMenuDisplay="" />

</ignav:UltraWebMenu>

<asp:Button ID="ExportToExcelButton" runat="server" Text="Button" />

<uc1:Clipboard ID="Clipboard1" runat="server" />

</asp:Content>

Parents
  • 20
    posted

    Hi,

    I'm also encountered the same problem, but I guess this problem occurred during the rendering of clientscript to initialize the webmenu control. This is what I found by compared original page (without master page) html source with the content page html source. Found that the root cause is on following generated client script.

    igmenu_initMenu('ctl00ContentPlaceHolder1CopyPasteMenu').

    Even your menu client name is ctl00_ContentPlaceHolder1_CopyPasteMenu but during rendering it gives other name, try to change following line in ShowContentMenu function, by replace the following line with

    igmenu_showMenu("<%=me.CopyPasteMenu.ClientID%>",null,(e.clientX+document.documentElement.scrollLeft)+"px",(e.clientY+document.documentElement.scrollTop)+"px");

    To

    igmenu_showMenu("Parameter value name in igmenu_initMenu() in your source page",null,(e.clientX+document.documentElement.scrollLeft)+"px",(e.clientY+document.documentElement.scrollTop)+"px");  It should working fine but this is not a full solution, I hope the infragistic team can help to solve this problem.

    From

    AvaSenoko.

     

Reply Children
No Data