Thursday, February 4, 2010

HOW TO USE CUSTOMIZE COLUMN FIELD IN GRIDVIEW HOW TO USE HIDDEN FIELD

BorderColor="#999999" ForeColor="#FFFFFF" HeaderStyle-HorizontalAlign="Center"
OnRowDataBound="gvAllThreads_RowDataBound">

ItemStyle-ForeColor="#000000" ItemStyle-Width="40px" ItemStyle-HorizontalAlign="Center">

ItemStyle-Width="700px" ItemStyle-HorizontalAlign="Center">

< href="javascript:GetThreadID('<%# DataBinder.Eval(Container.DataItem,"ThreadID")%>')">
<%# DataBinder.Eval(Container.DataItem,"Subject")%>img




ItemStyle-ForeColor="#000000" ItemStyle-Width="150px" ItemStyle-HorizontalAlign="Center">

ItemStyle-ForeColor="#000000" ItemStyle-Width="50px" ItemStyle-HorizontalAlign="Center">

ItemStyle-ForeColor="#000000" ItemStyle-Width="50px" ItemStyle-HorizontalAlign="Center">

ItemStyle-Width="200px" ItemStyle-HorizontalAlign="Center">

< ID="lblLastPostDate" Text='<%#DataBinder.Eval(Container.DataItem,"LastPostedDate")%>'
runat="server">

< ID="lblPostedUserName" Text='<%#DataBinder.Eval(Container.DataItem,"FirstName")%>'
runat="server"> img1



ItemStyle-Width="75px" ItemStyle-HorizontalAlign="Center" Visible="false">

< href="javascript:Get_ThreadID('<%# DataBinder.Eval(Container.DataItem,"ThreadID")%>')">
img


ItemStyle-HorizontalAlign="Center" Visible="false">


onclick="javascript:SelectAll(this);" />


< id="chkAssign" runat='server' type="checkbox" value='<%#

DataBinder.Eval(Container.DataItem,"ThreadID")%>'
onclick="javascript:SelectedChange(this);" name="chkAssign" />





No comments:

Post a Comment