Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" GridLines="None" CellPadding="4" ForeColor="#333333" onrowcommand="GridView1_RowCommand" Style=" top: 90px; width: 750px;" OnRowDeleting="OnRowDeleting" AllowPaging="True" PageSize="5" OnPageIndexChanging="gridView_PageIndexChanging" >
  2. <AlternatingRowStyle BackColor="White" />
  3. <Columns>
  4. <asp:TemplateField HeaderText="Ticket No" HeaderStyle-HorizontalAlign="Left" HeaderStyle-Width="12%">
  5. <ItemTemplate>
  6. <asp:LinkButton ID="LinkButton1" OnClick="LinkButton1_Click"
  7. Text='<%#Eval("TICKETNO") %>' runat="server"></asp:LinkButton>
  8. </ItemTemplate>
  9. </asp:TemplateField>
  10. <asp:BoundField DataField="REPORTDATE" HeaderText="Reported Date" >
  11. <HeaderStyle Width="17%" HorizontalAlign="Left" />
  12. </asp:BoundField>
  13. <asp:BoundField DataField="STATUS" HeaderText="Status" >
  14. <HeaderStyle Width="11%" HorizontalAlign="Left" />
  15. </asp:BoundField>
  16. <asp:BoundField DataField="SEVERITY" HeaderText="Severity" >
  17. <HeaderStyle Width="12%" HorizontalAlign="Left" />
  18. </asp:BoundField>
  19. <asp:BoundField DataField="INCIDENTDESC" HeaderText="Incident Ddescription" >
  20. <HeaderStyle Width="32%" HorizontalAlign="Left" />
  21. </asp:BoundField>
  22. <asp:BoundField DataField="INCIDENTTYPE" HeaderText="Type" >
  23. <HeaderStyle Width="10%" HorizontalAlign="Left" />
  24. </asp:BoundField>
  25. <asp:ButtonField ButtonType="Image" CommandName="Review" HeaderText="Preview" ImageUrl="Image/review.PNG" ControlStyle-Height="20px" ControlStyle-Width="50px" >
  26. <HeaderStyle Width="10%" HorizontalAlign="Left" />
  27. </asp:ButtonField>
  28. <asp:CommandField ShowDeleteButton="true" ButtonType="Image" DeleteImageUrl="Image/delete.JPG" ControlStyle-Height="20px" ControlStyle-Width="50px" HeaderText="Delete">
  29. <HeaderStyle Width="10%" HorizontalAlign="Left" />
  30. </asp:CommandField>
  31. </Columns>
  32. <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
  33. <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
  34. <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
  35. <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
  36. <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
  37. <SortedAscendingCellStyle BackColor="#FDF5AC" />
  38. <SortedAscendingHeaderStyle BackColor="#4D0000" />
  39. <SortedDescendingCellStyle BackColor="#FCF6C0" />
  40. <SortedDescendingHeaderStyle BackColor="#820000" />
  41.  
  42. <PagerSettings Mode="NextPreviousFirstLast" FirstPageText="<--" PreviousPageText="<" NextPageText=">" LastPageText="-->" />
  43. <PagerStyle HorizontalAlign="Center" BackColor="White" />
  44. </asp:GridView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement