Welcome Guest Search | Active Topics | Sign In | Register

'this.abp[...]' is null or not an object In IE7 Options
Nrd
Posted: Monday, July 25, 2011 6:50:55 AM
Rank: Newbie
Groups: Member

Joined: 2/27/2011
Posts: 8
Hi ,
I am getting error when i delete any row from eo: grid. Please help me asp. This error comes only in IE7.

Quote:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; GTB7.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Mon, 25 Jul 2011 10:45:08 UTC


Message: 'this.abp[...]' is null or not an object
Line: 6
Char: 9258
Code: 0
URI: http://localhost/PROJECTNAME/eo_web.ashx?id=c55c351c-7ba6-4f56-917e-8f5121c895e4


Message: Object doesn't support this property or method
Line: 6
Char: 31784
Code: 0
URI: http://localhost/PROJECTNAME/eo_web.ashx?id=a6e8f99b-fbee-4972-bda9-fb19bc41f796


Thank in Advanced

NRD
Software Engineer
eo_support
Posted: Monday, July 25, 2011 7:39:22 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,200
Nrd
Posted: Friday, July 29, 2011 6:32:57 AM
Rank: Newbie
Groups: Member

Joined: 2/27/2011
Posts: 8
Thanks for remind me.
But i am stuck with this Error when i run Application on IE7

See Here is the architecture of Page .

<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>


<eo:CallbackPanel runat="server" ID="CBPGridAcqConstruction" AutoDisableContents="True"
LoadingHTML='<div style="padding-right:50px" class="fieldheading">Please Wait...</div>'
BorderWidth="0" Width="100%" TabIndex="69" Triggers="{ControlID:btnNewConstStipulation;Parameter:}"
GroupName="ConstStipulations" ClientSideOnError="CBP_error_handler">
<div style="width: 100%">
<eo:Grid runat="server" ID="GridAcqConstruction" BorderColor="#828790" BorderWidth="0px"
LoadingHTML="Loading Wait..." GridLines="Both" FixedColumnCount="0" ColumnHeaderDescImage="00050205"
GridLineColor="240, 240, 240" ColumnHeaderAscImage="00050204" ColumnHeaderHeight="20"
Font-Size="10pt" Font-Names="Tahoma" EnableTheming="true" EnableKeyboardNavigation="True"
Height="150" ScrollBars="both" Width="100%" FullRowMode="true" AllowColumnReorder="False"
ItemHeight="22" IsCallbackByMe="False" RunningMode="client" ClientSideOnContextMenu="ShowContextMenuStip"
ColumnHeaderDividerImage="00050103">
<ItemStyles>
<eo:GridItemStyleSet>
<ItemHoverStyle CssText="background-color:ThreeDLighShadow"></ItemHoverStyle>
<SelectedStyle CssText="background-color: lightblue;"></SelectedStyle>
<CellStyle CssText="padding-left:2px;padding-top:2px;"></CellStyle>
<ItemStyle CssText="background-color: white;"></ItemStyle>
</eo:GridItemStyleSet>
</ItemStyles>
<ContentPaneStyle CssText="border-bottom-color:#7f9db9;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#7f9db9;border-left-style:solid;border-left-width:1px;border-right-color:#7f9db9;border-right-style:solid;border-right-width:1px;border-top-color:#7f9db9;border-top-style:solid;border-top-width:1px;">
</ContentPaneStyle>
<ColumnHeaderStyle CssText="background-color:#FFF0BA"></ColumnHeaderStyle>
<ColumnTemplates>
</ColumnTemplates>
<Columns>
<eo:RowNumberColumn AllowResize="False" AllowSort="True" HeaderText="" Width="20"
DataField="">
</eo:RowNumberColumn>
<eo:StaticColumn AllowResize="False" AllowSort="True" HeaderText="ID" Width="0" DataField="ID">
</eo:StaticColumn>
<eo:StaticColumn AllowResize="False" AllowSort="True" HeaderText="ID1"
Width="0" DataField="ROWNA_PERMIT_ID">
</eo:StaticColumn>
.
.
.
.
.
</Columns>
</eo:Grid>
</div>
<asp:Label runat="server" ID="lblConstAlert" Width="0"></asp:Label>
</eo:CallbackPanel>
<eo:ContextMenu ID="ContextMenuStip" Width="144px" runat="server" ControlSkinID="None"
ClientSideOnItemClick="OnContextMenuStipItemClicked">
<TopGroup Style-CssText="background-color:#3169A5;font:11 normal;color:#FFEBE7;
border-top: Silver 1px solid;border-left: Silver 1px solid;border-bottom: Silver 1px solid;border-right: Silver 1px solid">
<Items>
<eo:MenuItem Text-Html="Edit">
</eo:MenuItem>
<eo:MenuItem Text-Html="Delete">
</eo:MenuItem>
</Items>
</TopGroup>
<LookItems>
<eo:MenuItem IsSeparator="True" ItemID="_Separator" NormalStyle-CssText="width: 1px; height: 1px; background-color: #cb3e00">
</eo:MenuItem>
<eo:MenuItem HoverStyle-CssText="color:#F7B00A;padding-left:5px;padding-right:5px;"
ItemID="_Default" NormalStyle-CssText="padding-left:5px;padding-right:5px;">
<SubMenu ItemSpacing="10" OffsetX="-3" OffsetY="3" ShadowDepth="0" Style-CssText="border-right: #e0e0e0 1px solid; padding-right: 3px; border-top: #e0e0e0 1px solid;
padding-left: 3px; font-size: 12px; padding-bottom: 3px; border-left: #e0e0e0 1px solid; cursor: hand;
color: #FFEBE7; padding-top: 3px; border-bottom: #e0e0e0 1px solid; font-family: arial; background-color: #3169A5">
</SubMenu>
</eo:MenuItem>
</LookItems>
</eo:ContextMenu>

</ContentTemplate>
</asp:UpdatePanel>

<script type="text/javascript" language="javascript">

var g_itemIndex = -1;
var g_cellIndex = -1;
function ShowContextMenuStip(e, grid, item, cell) {
//Save the target cell index
g_itemIndex = item.getIndex();
g_cellIndex = cell.getColIndex();

grid.selectItem(g_itemIndex);

//Show the context menu
var menu = eo_GetObject("<%=ContextMenuStip.ClientID%>");
eo_ShowContextMenu(e, "<%=ContextMenuStip.ClientID%>");

//Return true to indicate that we have
//displayed a context menu
return true;
}

function OnContextMenuStipItemClicked(e, eventInfo) {
var grid = eo_GetObject("<%=GridAcqConstruction.ClientID%>");
var permitname = document.getElementById('<%=txtPermitType.ClientID%>').value;
var vparentid = document.getElementById("<%=lblid.ClientID%>").innerHTML;

var item = eventInfo.getItem();
var gridItem = grid.getItem(g_itemIndex);

if (item.getText() == "Edit") {

window.open('test.aspx?id=' + gridItem.getCell(1).getValue() + '&ParentId=' + vparentid + '&PermitTermName=' + permitname + '&Stip_Desc=', 'Update_Const_Stip_Lookup', 'menubar=no,scrollbars=no,resizable=no,left=20,height=410,top=10,width=800');
}
else {
if (window.confirm("Are you sure you want to delete this record ?") == true) {
eo_Callback('CBPGridAcqConstruction', item.getText() + "$" + gridItem.getCell(1).getValue());
}
}

}

</script>



NRD
Software Engineer
eo_support
Posted: Friday, July 29, 2011 7:25:25 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,200
Hi,

You need to provide a full test page that demonstrates the problem. We will take the page, run it here, reproduce the problem and then look further. So your code must run. Also make sure your code only contains code needed to reproduce the problem.

Thanks



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.