Dear Sir,
The requirement is that there are s two buttons (Retrieve and Apply) and one updatepanel. When user clicked the "Retrieve" button, the grid will be populated by search filter (No a grid filter). After that user selected those row for "Approval" button. There is working table to generated the record for this page by session id
It is expected that when the "Apply" button is clicked, the working table field -"TICK" to be updated automatically. However, the 'TICK' didn't update. Please help
Best Regards,
Judy Wong
The requirement is that there are s two buttons (Retrieve and Apply) and one updatepanel. When user clicked the "Retrieve" button, the grid will be populated by search filter (No a grid filter). After that user selected those row for "Approval" button. There is working table to generated the record for this page by session id
It is expected that when the "Apply" button is clicked, the working table field -"TICK" to be updated automatically. However, the 'TICK' didn't update. Please help
<
telerik:radgrid
id
=
"rgdApproval"
runat
=
"server"
autogeneratecolumns
=
"False"
cellspacing
=
"0"
cssclass
=
"NoPadding"
gridlines
=
"Vertical"
groupingenabled
=
"False"
height
=
" 200px"
width
=
"98%"
ShowHeader
=
"true"
AllowAutomaticUpdates
=
"True"
onitemcommand
=
"rgdApproval_ItemCommand"
AllowMultiRowSelection
=
"true"
>
<
AlternatingItemStyle
BackColor
=
"#DCE6F1"
Font-Names
=
"Verdana"
Font-Size
=
"9pt"
Height
=
"20px"
/>
<
MasterTableView
AllowMultiColumnSorting
=
"false"
EditMode
=
"Batch"
ClientDataKeyNames
=
"EACCAPV_DOCNO"
Summary
=
"RadGrid table"
TableLayout
=
"Fixed"
Width
=
"100%"
>
<
PagerStyle
AlwaysVisible
=
"true"
/>
<
Columns
>
<
telerik:GridClientSelectColumn
UniqueName
=
"chkTick"
DataType
=
"System.Boolean"
Display
=
"true"
>
<
HeaderStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Middle"
Width
=
"50px"
/>
<
ItemStyle
HorizontalAlign
=
"left"
VerticalAlign
=
"Middle"
Width
=
"50px"
/>
</
telerik:GridClientSelectColumn
>
<
telerik:GridCheckBoxColumn
ReadOnly
=
"true"
HeaderText
=
"Out Pay"
UniqueName
=
"chkOUTPAY"
>
<
HeaderStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Middle"
Width
=
"60px"
/>
<
ItemStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Middle"
Width
=
"60px"
/>
</
telerik:GridCheckBoxColumn
>
<
telerik:GridBoundColumn
ReadOnly
=
"true"
DataField
=
"EACCAPV_OUTSIDEPAY"
Visible
=
"false"
HeaderText
=
""
UniqueName
=
"OUTSIDEPAY"
>
</
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Document No"
UniqueName
=
"grvDocumentNo"
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"LnkEACCAPV_DOCNO"
runat
=
"server"
CommandArgument="<%#Container.ItemIndex%>" CommandName="ViewDocNo"
Text='<%# Bind("EACCAPV_DOCNO") %>'></
asp:LinkButton
>
</
ItemTemplate
>
<
HeaderStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Middle"
Width
=
"135px"
/>
<
ItemStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Top"
Width
=
"135px"
/>
</
telerik:GridTemplateColumn
>
</
Columns
>
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"EACCAPV_CLMCCY"
></
telerik:GridGroupByField
>
</
GroupByFields
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"EACCAPV_CLMCCY"
HeaderText
=
""
></
telerik:GridGroupByField
>
</
SelectFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
</
MasterTableView
>
<
SortingSettings
EnableSkinSortStyles
=
"False"
SortedBackColor
=
"Azure"
/>
<
ClientSettings
EnableRowHoverStyle
=
"true"
>
<
Resizing
AllowColumnResize
=
"True"
AllowRowResize
=
"False"
EnableRealTimeResize
=
"True"
ResizeGridOnColumnResize
=
"False"
/>
<
Selecting
AllowRowSelect
=
"True"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
</
ClientSettings
>
<
PagerStyle
Height
=
"20px"
/>
</
telerik:radgrid
>
<
telerik:radgrid
id
=
"rgdApproval"
runat
=
"server"
autogeneratecolumns
=
"False"
cellspacing
=
"0"
cssclass
=
"NoPadding"
gridlines
=
"Vertical"
groupingenabled
=
"False"
height
=
" 200px"
width
=
"98%"
ShowHeader
=
"true"
AllowAutomaticUpdates
=
"True"
onitemcommand
=
"rgdApproval_ItemCommand"
AllowMultiRowSelection
=
"true"
>
<
AlternatingItemStyle
BackColor
=
"#DCE6F1"
Font-Names
=
"Verdana"
Font-Size
=
"9pt"
Height
=
"20px"
/>
<
MasterTableView
AllowMultiColumnSorting
=
"false"
EditMode
=
"Batch"
ClientDataKeyNames
=
"EACCAPV_DOCNO"
Summary
=
"RadGrid table"
TableLayout
=
"Fixed"
Width
=
"100%"
>
<
PagerStyle
AlwaysVisible
=
"true"
/>
<
Columns
>
<
telerik:GridClientSelectColumn
UniqueName
=
"chkTick"
DataType
=
"System.Boolean"
Display
=
"true"
>
<
HeaderStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Middle"
Width
=
"50px"
/>
<
ItemStyle
HorizontalAlign
=
"left"
VerticalAlign
=
"Middle"
Width
=
"50px"
/>
</
telerik:GridClientSelectColumn
>
<
telerik:GridCheckBoxColumn
ReadOnly
=
"true"
HeaderText
=
"Out Pay"
UniqueName
=
"chkOUTPAY"
>
<
HeaderStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Middle"
Width
=
"60px"
/>
<
ItemStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Middle"
Width
=
"60px"
/>
</
telerik:GridCheckBoxColumn
>
<
telerik:GridBoundColumn
ReadOnly
=
"true"
DataField
=
"EACCAPV_OUTSIDEPAY"
Visible
=
"false"
HeaderText
=
""
UniqueName
=
"OUTSIDEPAY"
>
</
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
HeaderText
=
"Document No"
UniqueName
=
"grvDocumentNo"
>
<
ItemTemplate
>
<
asp:LinkButton
ID
=
"LnkEACCAPV_DOCNO"
runat
=
"server"
CommandArgument="<%#Container.ItemIndex%>" CommandName="ViewDocNo"
Text='<%# Bind("EACCAPV_DOCNO") %>'></
asp:LinkButton
>
</
ItemTemplate
>
<
HeaderStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Middle"
Width
=
"135px"
/>
<
ItemStyle
HorizontalAlign
=
"Left"
VerticalAlign
=
"Top"
Width
=
"135px"
/>
</
telerik:GridTemplateColumn
>
</
Columns
>
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"EACCAPV_CLMCCY"
></
telerik:GridGroupByField
>
</
GroupByFields
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"EACCAPV_CLMCCY"
HeaderText
=
""
></
telerik:GridGroupByField
>
</
SelectFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
</
MasterTableView
>
<
SortingSettings
EnableSkinSortStyles
=
"False"
SortedBackColor
=
"Azure"
/>
<
ClientSettings
EnableRowHoverStyle
=
"true"
>
<
Resizing
AllowColumnResize
=
"True"
AllowRowResize
=
"False"
EnableRealTimeResize
=
"True"
ResizeGridOnColumnResize
=
"False"
/>
<
Selecting
AllowRowSelect
=
"True"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
/>
</
ClientSettings
>
<
PagerStyle
Height
=
"20px"
/>
</
telerik:radgrid
>
Judy Wong