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
190
Unable to get grid value in server side
posted

Hi,

I have ultrawebgrid ,Each row  contains one checkbox and one remarks (text box), on click of submit button i need to get all the values which are checked alongwith the remarks on

BtnSubmit_Click event of button but i am unable to find the control .Please guide me where i am going wrong.Please find my code below.

 

 

<igtbl:UltraWebGrid id="UwgEmpDetails" runat="server" Width="100%" OnPageIndexChanged="UwgEmpDetails_PageIndexChanged" OnInitializeDataSource="UwgEmpDetails_InitializeDataSource" __designer:wfdid="w34"><Bands>

<igtbl:UltraGridBand><Columns>

<igtbl:TemplatedColumn Key="1"><HeaderTemplate>

<asp:CheckBox id="chkSelect" onclick="BLOCKED SCRIPTSelectAllCheckboxes(this);" runat="server" __designer:wfdid="w18"></asp:CheckBox>

</HeaderTemplate>

<CellTemplate>

<asp:CheckBox id="ChkConsultant" onclick="BLOCKED SCRIPTSingleCheck(this);" runat="server" __designer:wfdid="w19"></asp:CheckBox>&nbsp;&nbsp; <asp:HiddenField id="HdnJoinersTrainingId" runat="server" __designer:wfdid="w20" Value='<%# Eval("JtrainingId") %>'></asp:HiddenField> <asp:HiddenField id="HdnJoinersId" runat="server" __designer:wfdid="w21" Value='<%# Eval("JoinersID") %>'></asp:HiddenField>

</CellTemplate>

<Header Caption=" Select All"></Header>

</igtbl:TemplatedColumn>

<igtbl:TemplatedColumn Key="2"><CellTemplate>

<asp:LinkButton id="LinkButton1" runat="server" Text='<%# Eval("FirstName") %>' __designer:wfdid="w12"></asp:LinkButton>

</CellTemplate>

<Header Title="Name" Caption="Name">

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

</Header>

<Footer>

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

</Footer>

</igtbl:TemplatedColumn>

<igtbl:TemplatedColumn Key="3"><CellTemplate>

<asp:Label ID="Label1" runat="server" Text='<%# Eval("DateOfJoining") %>'></asp:Label>

 

</CellTemplate>

<Header Caption="Date of Joining">

<RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo>

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="2"></RowLayoutColumnInfo>

</Footer>

</igtbl:TemplatedColumn>

<igtbl:TemplatedColumn Key="4"><CellTemplate>

<asp:Label ID="Label2" runat="server" Text='<%# Eval("Group") %>'></asp:Label>

 

</CellTemplate>

<Header Caption="Group">

<RowLayoutColumnInfo OriginX="3"></RowLayoutColumnInfo>

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="3"></RowLayoutColumnInfo>

</Footer>

</igtbl:TemplatedColumn>

<igtbl:TemplatedColumn Key="5"><CellTemplate>

<igtxt:WebTextEdit ID="WebTextEdit1" runat="server">

</igtxt:WebTextEdit>

 

</CellTemplate>

<Header Caption="Remarks">

<RowLayoutColumnInfo OriginX="4"></RowLayoutColumnInfo>

</Header>

<Footer>

<RowLayoutColumnInfo OriginX="4"></RowLayoutColumnInfo>

</Footer>

</igtbl:TemplatedColumn>

</Columns>

<RowEditTemplate>

<BR /><P align=center><INPUT style="WIDTH: 50px" id="igtbl_reOkBtn" onclick="igtbl_gRowEditButtonClick(event);" type=button value="OK" />&nbsp; <INPUT style="WIDTH: 50px" id="igtbl_reCancelBtn" onclick="igtbl_gRowEditButtonClick(event);" type=button value="Cancel" /></P>

</RowEditTemplate>

<RowTemplateStyle BackColor="#FAFCF1" BorderColor="#FAFCF1" BorderStyle="Ridge">

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

</RowTemplateStyle>

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

</igtbl:UltraGridBand>

</Bands>

<DisplayLayout Version="3.00" SelectTypeRowDefault="Single" Name="ctl15xUwgEmpDetails" AllowRowNumberingDefault="Continuous" AllowColSizingDefault="Free" ColWidthDefault="" TableLayout="Fixed" AllowColumnMovingDefault="NotSet" HeaderClickActionDefault="NotSet" BorderCollapseDefault="Separate" AutoGenerateColumns="False" StationaryMarginsOutlookGroupBy="True">

<FrameStyle BackColor="#FAFCF1" BorderWidth="1px" BorderStyle="Solid" Font-Names="Verdana" Font-Size="8pt" Width="100%"></FrameStyle>

<Pager PageSize="10" AllowPaging="True">

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

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

</PagerStyle>

</Pager>

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

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

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

</FooterStyleDefault>

<HeaderStyleDefault HorizontalAlign="Center" BackColor="#CBD6A6" BorderStyle="Solid" ForeColor="Black">

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

</HeaderStyleDefault>

<RowStyleDefault BackColor="Window" BorderColor="#AAB883" BorderWidth="1px" BorderStyle="Solid" Font-Names="Verdana" Font-Size="8pt">

<Padding Left="3px"></Padding>

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

</RowStyleDefault>

<SelectedRowStyleDefault BackColor="#BECA98"></SelectedRowStyleDefault>

<AddNewBox>

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

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

</BoxStyle>

</AddNewBox>

<ActivationObject BorderColor="170, 184, 131" BorderWidth=""></ActivationObject>

<FilterOptionsDefault AllowRowFiltering="OnClient">

<FilterDropDownStyle CustomRules="overflow:auto;" BackColor="White" BorderColor="Silver" BorderWidth="1px" BorderStyle="Solid" Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px" Width="200px">

<Padding Left="2px"></Padding>

</FilterDropDownStyle>

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

<FilterOperandDropDownStyle CustomRules="overflow:auto;" BackColor="White" BorderColor="Silver" BorderWidth="1px" BorderStyle="Solid" Font-Names="Verdana,Arial,Helvetica,sans-serif" Font-Size="11px">

<Padding Left="2px"></Padding>

</FilterOperandDropDownStyle>

</FilterOptionsDefault>

</DisplayLayout>

</igtbl:UltraWebGrid>

 

 

Parents
No Data
Reply Children
No Data