Welcome Guest Search | Active Topics | Sign In | Register

click button in Grid view show error exception with blank items rows. Options
praphas_jb
Posted: Tuesday, January 10, 2012 10:33:06 PM
Rank: Member
Groups: Member

Joined: 12/6/2011
Posts: 12
Dear Support

I found the problem when it click on button in grid which grid is no rows items follow by the image attached.

eo_support
Posted: Wednesday, January 11, 2012 8:53:42 AM
Rank: Administration
Groups: Administration

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

Please provide a test page that demonstrates the problem. We will be happy to take a look as soon as we have that.

Thanks!
praphas_jb
Posted: Wednesday, January 11, 2012 8:38:51 PM
Rank: Member
Groups: Member

Joined: 12/6/2011
Posts: 12
Dear Sir,

First I cannot attached file into context management .then I will explain your step by step.
1) I create the Grid controls in Web page and set runningmode to server mode.
2) Add the button columns in grid by assigned text "..."
3) After that I run web application , Grid shown the button on last rows for user click .
Then when I click on the button which I not create the new items. It show error page
"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index "
I understood if not have new rows we cannot click on button. For solutions I would like to Grid not show last rows if I don't adsigned new rows. or handle the error when user click on last rows not show error page. How can i do ?


Thank you .
eo_support
Posted: Wednesday, January 11, 2012 9:42:24 PM
Rank: Administration
Groups: Administration

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

We still can not reproduce the problem with the latest version. You may want to try the latest build first, if the problem continues, we will need you to post a test page. You can post your .aspx directly here, not by attachment.

Thanks!
praphas_jb
Posted: Wednesday, January 11, 2012 10:15:56 PM
Rank: Member
Groups: Member

Joined: 12/6/2011
Posts: 12
.aspx Page

<%@ Page Title="::Travel Re-Imbursement" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" EnableEventValidation="false"
CodeFile="TravelReImburseRequestForm.aspx.cs" Inherits="TravelReImburseRequestForm" %>
<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>
<%@ Register src="Wc_TitleBarl.ascx" tagname="Wc_TitleBarl" tagprefix="uc1" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<%@ Register src="Wc_HeaderBar.ascx" tagname="Wc_HeaderBar" tagprefix="uc1" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2 align="right" class="bold" >
Re-Imbursement Request Form </h2>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<hr style="width: 100%" />
<eo:CallbackPanel ID="cbItems" runat="server" LoadingDialogID="dlgLoading"
Triggers="{ControlID:Grid1;Parameter:},{ControlID:tabItems;Parameter:},{ControlID:cmdEmployee;Parameter:},{ControlID:tbMain;Parameter:},{ControlID:ddlCountry;Parameter:},{ControlID:MsgBox1;Parameter:},{ControlID:cmdCurrency;Parameter:}"
Width="98%" ClientSideOnError="&quot;&quot;">
<table width="100%">
<tr align="left">
<td style="width: 473px"> <eo:ToolBar ID="tbMain" runat="server" AutoPostBack="True"
BorderColor="White" BorderStyle="Solid" BorderWidth="1px"
Font-Names="verdana" Font-Size="8pt" TextAlign="Right"
Width="473px" onitemclick="tbMain_ItemClick" BackColor="White">
<Items>
<eo:ToolBarItem CommandName="New" ImageUrl="00101056" Text="New"
ToolTip="New">
</eo:ToolBarItem>
<eo:ToolBarItem CommandName="Edit" ImageUrl="00101046"
Text="Edit" ToolTip="Edit">
</eo:ToolBarItem>
<eo:ToolBarItem ImageUrl="~/Images/DeleteFile.gif" Text="Delete"
ToolTip="Delete" CommandName="Delete">
</eo:ToolBarItem>
<eo:ToolBarItem Type="Separator">
</eo:ToolBarItem>
<eo:ToolBarItem ImageUrl="00101003" Text="Save" ToolTip="Save"
CommandName="Save">
</eo:ToolBarItem>
<eo:ToolBarItem CommandName="Cancel" ImageUrl="~/Images/Delete.gif"
Text="Cancel" ToolTip="Cancel">
</eo:ToolBarItem>
<eo:ToolBarItem Type="Separator">
</eo:ToolBarItem>
<eo:ToolBarItem ImageUrl="00101017" Text="List" ToolTip="List"
CommandName="List">
</eo:ToolBarItem>
<eo:ToolBarItem Type="Separator">
</eo:ToolBarItem>
</Items>
<NormalStyle CssText="PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; MARGIN: 3px 4px; CURSOR: hand; PADDING-TOP: 4px; FONT-FAMILY: Tahoma" />
<HoverStyle CssText="background-color:gray;border-bottom-color:gray;border-bottom-style:solid;border-bottom-width:1px;border-left-color:gray;border-left-style:solid;border-left-width:1px;border-right-color:gray;border-right-style:solid;border-right-width:1px;border-top-color:gray;border-top-style:solid;border-top-width:1px;color:white;cursor:hand;font-family:Tahoma;font-size:12px;margin-bottom:3px;margin-left:4px;margin-right:4px;margin-top:3px;padding-bottom:3px;padding-left:6px;padding-right:6px;padding-top:3px;" />
<DownStyle CssText="background-color:#e0e0e0;border-bottom-color:gray;border-bottom-style:solid;border-bottom-width:1px;border-left-color:gray;border-left-style:solid;border-left-width:1px;border-right-color:gray;border-right-style:solid;border-right-width:1px;border-top-color:gray;border-top-style:solid;border-top-width:1px;cursor:hand;font-family:Tahoma;font-size:12px;margin-bottom:3px;margin-left:4px;margin-right:4px;margin-top:3px;padding-bottom:3px;padding-left:6px;padding-right:6px;padding-top:3px;" />
</eo:ToolBar> </td>
<td style="width: 56px">

<eo:ToolBar ID="tbMain0" runat="server" AutoPostBack="true" BackColor="White"
BorderColor="White" BorderStyle="Solid" BorderWidth="1px" Font-Names="verdana"
Font-Size="8pt" onitemclick="tbMain_ItemClick" TextAlign="Right" Width="56px" >
<Items>
<eo:ToolBarItem CommandName="Print" ImageUrl="00101005" Text="Print"
ToolTip="Print">
</eo:ToolBarItem>
</Items>
<NormalStyle CssText="PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; MARGIN: 3px 4px; CURSOR: hand; PADDING-TOP: 4px; FONT-FAMILY: Tahoma" />
<HoverStyle CssText="background-color:gray;border-bottom-color:gray;border-bottom-style:solid;border-bottom-width:1px;border-left-color:gray;border-left-style:solid;border-left-width:1px;border-right-color:gray;border-right-style:solid;border-right-width:1px;border-top-color:gray;border-top-style:solid;border-top-width:1px;color:white;cursor:hand;font-family:Tahoma;font-size:12px;margin-bottom:3px;margin-left:4px;margin-right:4px;margin-top:3px;padding-bottom:3px;padding-left:6px;padding-right:6px;padding-top:3px;" />
<DownStyle CssText="background-color:#e0e0e0;border-bottom-color:gray;border-bottom-style:solid;border-bottom-width:1px;border-left-color:gray;border-left-style:solid;border-left-width:1px;border-right-color:gray;border-right-style:solid;border-right-width:1px;border-top-color:gray;border-top-style:solid;border-top-width:1px;cursor:hand;font-family:Tahoma;font-size:12px;margin-bottom:3px;margin-left:4px;margin-right:4px;margin-top:3px;padding-bottom:3px;padding-left:6px;padding-right:6px;padding-top:3px;" />
</eo:ToolBar>


</td>
<td style="width:100%"> <eo:ToolBar ID="tbMain1" runat="server" AutoPostBack="True" BackColor="White"
BorderColor="White" BorderStyle="Solid" BorderWidth="1px" Font-Names="verdana"
Font-Size="8pt" onitemclick="tbMain_ItemClick" TextAlign="Right" Width="473px">
<Items>
<eo:ToolBarItem Type="Separator">
</eo:ToolBarItem>
<eo:ToolBarItem CommandName="SendApprove" ImageUrl="00101062"
Text="Send to Approved" ToolTip="Send to Approved">
</eo:ToolBarItem>
<eo:ToolBarItem Type="Separator">
</eo:ToolBarItem>
<eo:ToolBarItem CommandName="Exit" ImageUrl="~/Images/close.gif"
Text="Main Menu" ToolTip="Main Menu">
</eo:ToolBarItem>
</Items>
<NormalStyle CssText="PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 12px; PADDING-BOTTOM: 4px; MARGIN: 3px 4px; CURSOR: hand; PADDING-TOP: 4px; FONT-FAMILY: Tahoma" />
<HoverStyle CssText="background-color:gray;border-bottom-color:gray;border-bottom-style:solid;border-bottom-width:1px;border-left-color:gray;border-left-style:solid;border-left-width:1px;border-right-color:gray;border-right-style:solid;border-right-width:1px;border-top-color:gray;border-top-style:solid;border-top-width:1px;color:white;cursor:hand;font-family:Tahoma;font-size:12px;margin-bottom:3px;margin-left:4px;margin-right:4px;margin-top:3px;padding-bottom:3px;padding-left:6px;padding-right:6px;padding-top:3px;" />
<DownStyle CssText="background-color:#e0e0e0;border-bottom-color:gray;border-bottom-style:solid;border-bottom-width:1px;border-left-color:gray;border-left-style:solid;border-left-width:1px;border-right-color:gray;border-right-style:solid;border-right-width:1px;border-top-color:gray;border-top-style:solid;border-top-width:1px;cursor:hand;font-family:Tahoma;font-size:12px;margin-bottom:3px;margin-left:4px;margin-right:4px;margin-top:3px;padding-bottom:3px;padding-left:6px;padding-right:6px;padding-top:3px;" />
</eo:ToolBar> </td>
</tr>
</table>
<hr style="width: 100%" />
<p>
<uc1:Wc_TitleBarl ID="Wc_TitleBarl2" runat="server" />
</p>

<eo:TabStrip ID="tabItems" runat="server" ControlSkinID="None"
MultiPageID="MultiPage2" Width="100%"
RaisesServerEvent="True" >
<topgroup Style-CssText="border-bottom-color:#999999;border-left-color:#999999;border-right-color:#999999;border-top-color:#999999;">
<Items>
<eo:TabItem Text-Html="General">
</eo:TabItem>
<eo:TabItem Text-Html="Payment Method">
</eo:TabItem>
</Items>
</topgroup>
<lookitems>
<eo:TabItem Height="20" ItemID="_Default" LeftIcon-Url=""
NormalStyle-CssText="background-image:url('00020005');background-repeat:repeat-x;border-bottom-color:#B0B0B0;border-bottom-style:solid;border-bottom-width:1px;border-left-color:#B0B0B0;border-left-style:solid;border-left-width:1px;border-right-color:#B0B0B0;border-right-style:solid;border-right-width:1px;border-top-color:#B0B0B0;border-top-style:solid;border-top-width:1px;color:Gray;font-weight:normal;padding-left:5px;padding-right:5px;"
RightIcon-Url=""
SelectedStyle-CssText="background-image:url('00020005');background-repeat:repeat-x;border-bottom-color:#b0b0b0;border-bottom-style:none;border-bottom-width:1px;border-left-color:#b0b0b0;border-left-style:solid;border-left-width:1px;border-right-color:#b0b0b0;border-right-style:solid;border-right-width:1px;border-top-color:#b0b0b0;border-top-style:solid;border-top-width:1px;color:Black;padding-left:5px;padding-right:5px;"
Text-Padding-Bottom="2" Text-Padding-Top="1">
<subgroup itemspacing="1"
style-csstext="background-image:url(00010601);background-position-y:bottom;background-repeat:repeat-x;color:black;cursor:hand;font-family:Verdana;font-size:11px;">
</subgroup>
</eo:TabItem>
</lookitems>
</eo:TabStrip>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div style="BORDER-RIGHT:#b0b0b0 1px solid; BORDER-LEFT:#b0b0b0 1px solid; BORDER-BOTTOM:#b0b0b0 1px solid; padding: 5px 5px 5px 5px; width:100%;">
<eo:MultiPage ID="MultiPage2" runat="server" Height="200px" Width="98%">
<eo:PageView ID="pageGeneral" runat="server" Width="100%">
<table border="0" cellpadding="0" cellspacing="0" frame="below"
style="width:100%; ">
<tr>
<td class="TextHeaderBold" colspan="2">
Employee Information :</td>
<td class="style12">
&nbsp;</td>
<td class="labelCol">
Country ID :</td>
<td class="style32">
<asp:DropDownList ID="ddlCountry" runat="server" Width="156px"
AutoPostBack="True" onselectedindexchanged="ddlCountry_SelectedIndexChanged"
>
</asp:DropDownList>
</td>
<td class="style30">
&nbsp;</td>
</tr>
<tr>
<td class="labelCol">
Employee No :</td>
<td class="style32">
<asp:TextBox ID="txtEmployeeID" runat="server" Height="24px" Width="184px"
onfocus ="Change(this, event)" onblur ="Change(this, event)"></asp:TextBox>
&nbsp;<asp:Button ID="cmdEmployee" runat="server"
Text="..." CssClass="Findbutton" CommandName="txtEmployeeID"
onclick="FindBution_Click" />
</td>
<td class="style12">
&nbsp;</td>
<td class="labelCol">
Entity ID :</td>
<td class="style32">
<asp:DropDownList ID="ddlEntity" runat="server" Width="156px">
</asp:DropDownList>
</td>
<td class="style30">
&nbsp;</td>
</tr>
<tr>
<td class="labelCol">
Employee Name :</td>
<td class="style32">
<asp:TextBox ID="txtEmployeeName" runat="server" CssClass="Text"
onblur="Change(this, event)" onfocus="Change(this, event)" Width="367px"></asp:TextBox>
</td>
<td class="style12">
&nbsp;</td>
<td class="labelCol">
Status :</td>
<td class="style32">
<asp:TextBox ID="txtStatus" runat="server" CssClass="Text"
onblur="Change(this, event)" onfocus="Change(this, event)" ReadOnly="True"
Width="154px">OPEN</asp:TextBox>
</td>
<td class="style30">
&nbsp;</td>
</tr>
<tr>
<td class="labelCol">
Department No. :</td>
<td class="style32">
<asp:TextBox ID="txtDepartmentNo" runat="server" Width="367px" CssClass="Text"
onfocus ="Change(this, event)" onblur ="Change(this, event)"></asp:TextBox>
</td>
<td class="style12">
&nbsp;</td>
<td class="labelCol">
Document No. :</td>
<td class="style32">
<asp:TextBox ID="txtDocumentNo" runat="server" AutoPostBack="True"
Width="154px" Height="22px"
CssClass="Text" ReadOnly="True" onfocus ="Change(this, event)"
onblur ="Change(this, event)"></asp:TextBox>
</td>
<td class="style30">
&nbsp;</td>
</tr>
<tr>
<td class="labelCol">
Department Name :</td>
<td class="style32">
<asp:TextBox ID="txtDeptName" runat="server" Height="21px" Width="366px"
CssClass="Text" onfocus ="Change(this, event)"
onblur ="Change(this, event)"></asp:TextBox>
</td>
<td class="style12">
</td>
<td class="labelCol">
Document Date :</td>
<td class="style32">
<eo:DatePicker ID="dpDocumentDate" runat="server" ControlSkinID="None"
DayCellHeight="16" DayCellWidth="19" DayHeaderFormat="FirstLetter"
DisabledDates="" OtherMonthDayVisible="True" SelectedDates=""
TitleLeftArrowImageUrl="DefaultSubMenuIconRTL"
TitleRightArrowImageUrl="DefaultSubMenuIcon" VisibleDate="2011-10-01">
<PickerStyle CssText="font-family:Courier New; padding-left:5px; padding-right: 5px;" />
<CalendarStyle CssText="background-color: white; border-right: #7f9db9 1px solid; padding-right: 4px; border-top: #7f9db9 1px solid; padding-left: 4px; font-size: 9px; padding-bottom: 4px; border-left: #7f9db9 1px solid; padding-top: 4px; border-bottom: #7f9db9 1px solid; font-family: tahoma" />
<TitleStyle CssText="background-color:#9ebef5;font-family:Tahoma;font-size:12px;padding-bottom:2px;padding-left:6px;padding-right:6px;padding-top:2px;" />
<TitleArrowStyle CssText="cursor:hand" />
<MonthStyle CssText="font-family: tahoma; font-size: 12px; margin-left: 14px; cursor: hand; margin-right: 14px" />
<DayHeaderStyle CssText="font-family: tahoma; font-size: 12px; border-bottom: #aca899 1px solid" />
<DayStyle CssText="font-family: tahoma; font-size: 12px; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
<DayHoverStyle CssText="font-family: tahoma; font-size: 12px; border-right: #fbe694 1px solid; border-top: #fbe694 1px solid; border-left: #fbe694 1px solid; border-bottom: #fbe694 1px solid" />
<TodayStyle CssText="font-family: tahoma; font-size: 12px; border-right: #bb5503 1px solid; border-top: #bb5503 1px solid; border-left: #bb5503 1px solid; border-bottom: #bb5503 1px solid" />
<SelectedDayStyle CssText="font-family: tahoma; font-size: 12px; background-color: #fbe694; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
<DisabledDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
<OtherMonthDayStyle CssText="font-family: tahoma; font-size: 12px; color: gray; border-right: white 1px solid; border-top: white 1px solid; border-left: white 1px solid; border-bottom: white 1px solid" />
</eo:DatePicker>
</td>
<td class="style30">
</td>
</tr>
<tr>
<td class="labelCol">
&nbsp;</td>
<td class="style32">
&nbsp;</td>
<td class="style12">
&nbsp;</td>
<td class="labelCol">
Currency :</td>
<td class="style32">
<asp:TextBox ID="txtCurrency" runat="server" AutoPostBack="True"
CssClass="Text" Height="22px" onblur="Change(this, event)"
onfocus="Change(this, event)" ReadOnly="True" Width="154px"></asp:TextBox>
&nbsp;<asp:Button ID="cmdCurrency" runat="server" CommandName="txtCurrency"
CssClass="Findbutton" onclick="FindBution_Click" Text="..." />
</td>
<td class="style30">
&nbsp;</td>
</tr>
<tr>
<td class="labelCol">
Remark :</td>
<td class="style25" colspan="3">
<asp:TextBox ID="txtRemark1" runat="server" Height="54px" Width="550px"
TextMode="MultiLine" CssClass="Text" onfocus ="Change(this, event)"
onblur ="Change(this, event)"></asp:TextBox>
</td>
<td class="style25">
&nbsp;</td>
<td class="style26">
</td>
</tr>
<tr>
<td >
<asp:Image ID="Image2" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" Width="192px" />
</td>
<td class="style21">
<asp:Image ID="Image37" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" Width="399px" />
</td>
<td class="style12">
<asp:Image ID="Image7" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" Width="67px" />
</td>
<td >
<asp:Image ID="Image8" runat="server" Height="19px"
ImageUrl="~/Images/space.gif" Width="209px" />
</td>
<td class="style21">
<asp:Image ID="Image3" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" Width="190px" />
</td>
<td class="style23">
</td>
</tr>
</table>
</eo:PageView>
<eo:PageView ID="pagePayment" runat="server" Width="100%">

<table border="0" cellpadding="0" cellspacing="0" frame="below"
style="width:100%; ">
<tr>
<td class="TextHeaderBold" colspan="2">
Cash Advance Payment :</td>
<td class="style12">
<asp:Image ID="Image39" runat="server" Height="27px"
ImageUrl="~/Images/space.gif" Width="47px" />
</td>
<td class="TextHeaderBold" colspan="2">
Petty Cash Payment :</td>
<td class="style30">
&nbsp;</td>
</tr>
<tr>
<td class="labelCol">
Amount :</td>
<td class="style32">
<asp:TextBox ID="txtPaidCash" runat="server" Width="216px"
CssClass="labelColRight">0.00</asp:TextBox>
</td>
<td class="style12">
&nbsp;</td>
<td class="labelCol">
Amount :</td>
<td class="style32">
<asp:TextBox ID="txtPaidPettyCash" runat="server" Width="216px"
CssClass="labelColRight">0.00</asp:TextBox>
</td>
<td class="style30">
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td class="style32">
&nbsp;</td>
<td class="style12">
<asp:Image ID="Image38" runat="server" Height="27px"
ImageUrl="~/Images/space.gif" Width="47px" />
</td>
<td class="labelCol">
Petty Cash Account. :</td>
<td class="style32">
<asp:DropDownList ID="DropDownList6" runat="server" Width="156px">
</asp:DropDownList>
</td>
<td class="style30">
</td>
</tr>
<tr>
<td>
<asp:Image ID="Image43" runat="server" Height="19px"
ImageUrl="~/Images/space.gif" Width="209px" />
</td>
<td class="style25">
<asp:Image ID="Image44" runat="server" Height="19px"
ImageUrl="~/Images/space.gif" Width="209px" />
</td>
<td class="style12">
<asp:Image ID="Image41" runat="server" Height="27px"
ImageUrl="~/Images/space.gif" Width="47px" />
</td>
<td>
<asp:Image ID="Image42" runat="server" Height="19px"
ImageUrl="~/Images/space.gif" Width="209px" />
</td>
<td class="style25">
<asp:Image ID="Image45" runat="server" Height="19px"
ImageUrl="~/Images/space.gif" Width="209px" />
</td>
<td class="style26">
&nbsp;</td>
</tr>
</table>
</eo:PageView>
</eo:MultiPage>
</div>


<p>
<uc1:Wc_TitleBarl ID="Wc_TitleBarl_Item" runat="server" />
</p>

<eo:Grid ID="Grid1" runat="server" AllowNewItem="True"
BorderColor="#828790" BorderWidth="1px" ColumnHeaderAscImage="00050204"
ColumnHeaderDescImage="00050205" ColumnHeaderDividerImage="00050203"
Font-Bold="False" Font-Italic="False" EnableKeyboardNavigation="True"
Font-Names="Tahoma" Font-Overline="False" Font-Size="8.75pt"
Font-Strikeout="False" Font-Underline="False" FullRowMode="False"
GridLineColor="240, 240, 240" GridLines="Both"
Height="200px" IsCallbackByMe="False" ItemHeight="23"
Width="100%" ColumnHeaderHeight="25" FixedColumnCount="1"
CssClass="GridItems" RunningMode="Server"
onitemcommand="FindButton_ItemCommand">
<ItemStyles>
<eo:GridItemStyleSet>
<ItemStyle CssText="background-color: white" />
<AlternatingItemStyle CssText="background-color: #E5E5E5" />
<ItemHoverStyle CssText="background-image: url(00050206); background-repeat: repeat-x" />
<SelectedStyle CssText="background-image: url(00050207); background-repeat: repeat-x" />
<CellStyle CssText="padding-left:8px;padding-top:2px;white-space:nowrap;" />
</eo:GridItemStyleSet>
</ItemStyles>
<ColumnHeaderStyle CssText="background-image:url('00050201');padding-left:8px;padding-top:4px;" />
<ColumnHeaderHoverStyle CssText="background-image:url('00050202');padding-left:8px;padding-top:4px;" />
<Columns>
<eo:DeleteCommandColumn Width="60">
</eo:DeleteCommandColumn>
<eo:StaticColumn HeaderText="Expense Type" Name="GLAccount" Width="120">
</eo:StaticColumn>
<eo:ButtonColumn ButtonText="..." CommandName="FindGL" Name="FindGL" Width="30">
</eo:ButtonColumn>
<eo:TextBoxColumn DataField="Description" HeaderText="Description"
Name="Description" Width="300">
</eo:TextBoxColumn>
<eo:CustomColumn ClientSideBeginEdit="onBeginTextBoxEdit"
ClientSideEndEdit="onEndTextBoxEdit" DataType="Float" HeaderText="Amount"
Name="Amount">
<EditorTemplate>
<asp:TextBox ID="Amount" runat="server" AutoPostBack="true"
CssClass="TextRight" OnTextChanged="Calculate" Width="95px"></asp:TextBox>
</EditorTemplate>
<CellStyle CssClass="TextRight" />
</eo:CustomColumn>
<eo:StaticColumn HeaderText="TravelApp. No." Name="TravelAppNo" ReadOnly="True"
Width="120">
</eo:StaticColumn>
<eo:ButtonColumn ButtonText="..." CommandName="FindTA" Name="FindTA" Width="30">
</eo:ButtonColumn>
<eo:TextBoxColumn DataType="String" HeaderText="Remark" Name="Remark"
Width="300">
</eo:TextBoxColumn>
</Columns>
<FooterStyle CssText="padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;" />
</eo:Grid>
<p>
<uc1:Wc_TitleBarl ID="Wc_TitleBarl1" runat="server" />
</p>
<p>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
<td class="TextHeaderBold" colspan="2">
&nbsp;</td>
<td class="style9">
&nbsp;</td>
<td class="TextHeaderBold">
Total Amount :</td>
<td class="labelColRight">
<asp:Label ID="lblSubTotal" runat="server" CssClass="labelColRight" Text="0.00"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Image ID="Image28" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" Width="164px" />
</td>
<td class="style8">
<asp:Image ID="Image29" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" Width="216px" />
</td>
<td class="style9">
<asp:Image ID="Image32" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" Width="162px" />
</td>
<td>
<asp:Image ID="Image1" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" Width="129px" />
</td>
<td>
<asp:Image ID="Image31" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" Width="313px" />
</td>
</tr>
</table>
</p>
</ContentTemplate>
</asp:UpdatePanel>



<p>
<eo:Dialog ID="Dialog1" runat="server" Height="355px" CloseButtonUrl="00020312"
HeaderHtml="Dialog Title" BackColor="White"
TopMost="True" BackShadeColor="Black"
BackShadeOpacity="10" AllowResize="True" ControlSkinID="None"
CssClass="gridList" Width="800px">
<contentstyleactive csstext="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<footerstyleactive csstext="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<HeaderStyleActive CssText="background-image:url('00020311');color:black;font-family:'trebuchet ms';font-size:10pt;font-weight:bold;padding-bottom:5px;padding-left:8px;padding-right:3px;padding-top:0px;height:18px;" />
<ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma"></ContentStyleActive>
<ContentTemplate>
<uc1:Wc_HeaderBar ID="Wc_HeaderBar1" runat="server" />
<asp:UpdatePanel ID="updPanelDialog" runat="server">
<ContentTemplate>
<table width="100%" style="height: 23px">
<tr>
<td class="labelCol">
Fields No. :
</td>
<td>
<asp:DropDownList ID="ddlFieldNo" runat="server" Width="180px">
</asp:DropDownList>
</td>
<td class="labelCol">
Key Values :</td>
<td>
<asp:TextBox ID="txtKeyValue" runat="server" AutoCompleteType="Search"
Width="153px"></asp:TextBox>
</td>
<td>
<asp:Button ID="cmdSearch" runat="server" Text="Search"
onclick="cmdSearch_Click" />
</td>
</tr>
<tr>
<td class="style5">

<asp:Image ID="Image6" runat="server" Height="1px"
ImageUrl="~/Images/space.gif" Width="130px" />
</td>
<td class="style5">
<asp:Image ID="Image9" runat="server" Height="1px"
ImageUrl="~/Images/space.gif" Width="174px" />
</td>
<td class="style5">
<asp:Image ID="Image10" runat="server" Height="1px"
ImageUrl="~/Images/space.gif" Width="174px" />
</td>
<td class="style5">
<asp:Image ID="Image11" runat="server" Height="1px"
ImageUrl="~/Images/space.gif" Width="132px" />
</td>
<td class="style5">
<asp:Image ID="Image12" runat="server" Height="1px"
ImageUrl="~/Images/space.gif" Width="111px" />
</td>
</tr>
</table>
<asp:GridView ID="gvLists" runat="server" AllowPaging="True" BackColor="White"
BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3"
CellSpacing="1" ForeColor="#333333" GridLines="None"
HeaderStyle-CssClass="GridHeader"
onselectedindexchanged="gvLists_SelectedIndexChanged"
Width="100%" onrowdatabound="gvLists_RowDataBound"
onpageindexchanging="gvLists_PageIndexChanging">
<AlternatingRowStyle BackColor="#C0C0C0" CssClass="GridItems" />
<Columns>
<asp:CommandField ShowSelectButton="True" />
</Columns>
<FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#C0C0C0" Font-Bold="True" ForeColor="black" />
<PagerStyle BackColor="#666666" CssClass="labelText" ForeColor="White"
HorizontalAlign="Center" />
<RowStyle BackColor="White" CssClass="GridItems" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#FDF5AC" />
<SortedAscendingHeaderStyle BackColor="#4D0000" />
<SortedDescendingCellStyle BackColor="#FCF6C0" />
<SortedDescendingHeaderStyle BackColor="#820000" />
</asp:GridView>
</ContentTemplate>

<Triggers>
<asp:AsyncPostBackTrigger ControlID="gvLists"
EventName="SelectedIndexChanged" />
</Triggers>

</asp:UpdatePanel>
</ContentTemplate>
<FooterTemplate>
<asp:Image ID="Image36" runat="server" Height="16px"
ImageUrl="~/Images/space.gif" />
</FooterTemplate>
<footerstyleactive csstext="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<BorderImages BottomBorder="00020305" BottomLeftCorner="00020304"
BottomRightCorner="00020306" LeftBorder="00020303" RightBorder="00020307"
TopBorder="00020310" TopLeftCorner="00020301" TopLeftCornerBottom="00020302"
TopRightCorner="00020309" TopRightCornerBottom="00020308" />
</eo:Dialog>
<eo:MsgBox ID="MsgBox1" runat="server" BackColor="White"
CloseButtonUrl="00020312" ControlSkinID="None" HeaderHtml="Dialog Title"
Height="101px" OnButtonClick="MsgBox1_ButtonClick" Width="457px">
<FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<HeaderStyleActive CssText="background-image:url('00020311');color:black;font-family:'trebuchet ms';font-size:10pt;font-weight:bold;padding-bottom:5px;padding-left:8px;padding-right:3px;padding-top:0px;height:18px;" />
<ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<BorderImages BottomBorder="00020305" BottomLeftCorner="00020304"
BottomRightCorner="00020306" LeftBorder="00020303" RightBorder="00020307"
TopBorder="00020310" TopLeftCorner="00020301" TopLeftCornerBottom="00020302"
TopRightCorner="00020309" TopRightCornerBottom="00020308" />
</eo:MsgBox>
</p>

</eo:CallbackPanel>
<eo:Dialog ID="dlgPrint" runat="server" AllowResize="True" BackColor="White"
BackShadeColor="Black" BackShadeOpacity="10" CloseButtonUrl="00020312"
ControlSkinID="None" HeaderHtml="Report Printing.." Height="216px"
Width="881px">
<HeaderStyleActive CssText="background-image:url('00020311');color:black;font-family:'trebuchet ms';font-size:10pt;font-weight:bold;padding-bottom:5px;padding-left:8px;padding-right:3px;padding-top:0px;height:18px;" />
<ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
<BorderImages BottomBorder="00020305" BottomLeftCorner="00020304"
BottomRightCorner="00020306" LeftBorder="00020303" RightBorder="00020307"
TopBorder="00020310" TopLeftCorner="00020301" TopLeftCornerBottom="00020302"
TopRightCorner="00020309" TopRightCornerBottom="00020308" />
<ContentTemplate>
<div>
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"
Font-Size="8pt" InteractiveDeviceInfos="(Collection)"
WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%">
<LocalReport ReportPath="Reports\ReimbursementForm.rdlc">
<DataSources>
<rsweb:ReportDataSource DataSourceId="ObjectDataSource2"
Name="Reimbursement_Header" />
<rsweb:ReportDataSource DataSourceId="ObjectDataSource2"
Name="Reimbursement_Line" />
</DataSources>
</LocalReport>
</rsweb:ReportViewer>
<asp:ObjectDataSource ID="ObjectDataSource2" runat="server"
SelectMethod="GetData"
TypeName="RPHL_DS.RPT_PURCHASEDataTable">
</asp:ObjectDataSource>
</div>
</ContentTemplate>
</eo:Dialog>
<eo:Dialog runat="server" ID="dlgLoading" BackShadeColor="Black" BackShadeOpacity="25">
<ContentTemplate>
<table style="border: 1px solid #666666">
<tr>
<td align="center" style="background-color: #FFFFFF; width: 500px; height: 30px;" >
<img src='<%=ResolveClientUrl("~/Images/loading.gif")%>' />
</td>
</tr>
<tr>
<td align="center" nowrap="true" style="background-color: #FFFFFF; width: 500px; height: 30px; font-family: Verdana; font-size: 12px; font-weight: bold;">
Please wait data loading...</td>
</tr>
</table>
</ContentTemplate>
</eo:Dialog>
</asp:Content>


Thank you for you support
eo_support
Posted: Thursday, January 12, 2012 9:16:12 AM
Rank: Administration
Groups: Administration

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

You will need to create a separate test page to demonstrate the problem with all the extra code removed. We need the page so that we can run it here to reproduce the problem. We won't take a page straight out of your project and analyze it for you.

Thanks!
praphas_jb
Posted: Thursday, January 12, 2012 9:19:24 PM
Rank: Member
Groups: Member

Joined: 12/6/2011
Posts: 12

ASPX Page

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

<eo:Grid ID="Grid1" runat="server" AllowNewItem="True" BorderColor="#828790"
BorderWidth="1px" ColumnHeaderAscImage="00050204"
ColumnHeaderDescImage="00050205" ColumnHeaderDividerImage="00050203"
ColumnHeaderHeight="25" CssClass="GridItems" EnableKeyboardNavigation="True"
FixedColumnCount="1" Font-Bold="False" Font-Italic="False" Font-Names="Tahoma"
Font-Overline="False" Font-Size="8.75pt" Font-Strikeout="False"
Font-Underline="False" FullRowMode="False" GridLineColor="240, 240, 240"
GridLines="Both" Height="200px" IsCallbackByMe="False" ItemHeight="23"
RunningMode="Server" Width="100%" onitemcommand="Grid1_ItemCommand">
<ItemStyles>
<eo:GridItemStyleSet>
<ItemStyle CssText="background-color: white" />
<AlternatingItemStyle CssText="background-color: #E5E5E5" />
<ItemHoverStyle CssText="background-image: url(00050206); background-repeat: repeat-x" />
<SelectedStyle CssText="background-image: url(00050207); background-repeat: repeat-x" />
<CellStyle CssText="padding-left:8px;padding-top:2px;white-space:nowrap;" />
</eo:GridItemStyleSet>
</ItemStyles>
<ColumnHeaderStyle CssText="background-image:url('00050201');padding-left:8px;padding-top:4px;" />
<ColumnHeaderHoverStyle CssText="background-image:url('00050202');padding-left:8px;padding-top:4px;" />
<Columns>
<eo:DeleteCommandColumn Width="60">
</eo:DeleteCommandColumn>
<eo:StaticColumn HeaderText="Expense Type" Name="GLAccount" Width="120">
</eo:StaticColumn>
<eo:ButtonColumn ButtonText="..." CommandName="FindGL" Name="FindGL" Width="30">
</eo:ButtonColumn>
<eo:TextBoxColumn DataField="Description" HeaderText="Description"
Name="Description" Width="300">
</eo:TextBoxColumn>
<eo:CustomColumn ClientSideBeginEdit="onBeginTextBoxEdit"
ClientSideEndEdit="onEndTextBoxEdit" DataType="Float" HeaderText="Amount"
Name="Amount">
<EditorTemplate>
<asp:TextBox ID="Amount" runat="server" AutoPostBack="true"
CssClass="TextRight" Width="95px"></asp:TextBox>
</EditorTemplate>
<CellStyle CssClass="TextRight" />
</eo:CustomColumn>
<eo:StaticColumn HeaderText="TravelApp. No." Name="TravelAppNo" ReadOnly="True"
Width="120">
</eo:StaticColumn>
<eo:ButtonColumn ButtonText="..." CommandName="FindTA" Name="FindTA" Width="30">
</eo:ButtonColumn>
<eo:TextBoxColumn DataType="String" HeaderText="Remark" Name="Remark"
Width="300">
</eo:TextBoxColumn>
</Columns>
<FooterStyle CssText="padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;" />
</eo:Grid>

</div>
</form>
</body>
</html>


Code Behild

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Grid1_ItemCommand(object sender, EO.Web.GridCommandEventArgs e)
{

}
}
eo_support
Posted: Thursday, January 12, 2012 9:55:39 PM
Rank: Administration
Groups: Administration

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

Thanks for the sample code. We are able to reproduce the problem. We will fix it as soon as possible and provide you a new build.

Thanks!
eo_support
Posted: Wednesday, January 18, 2012 2:54:30 PM
Rank: Administration
Groups: Administration

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

We have posted a new build that should fix this problem. Please see your private message for the download location.

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.