ASP.NET Interview questions


Total available count: 47
Subject - Microsoft Technologies
Subsubject - ASP.NET

ASP.NET Event bubbling?

The GridView control can be configured to add a column of buttons, hyperlinks and etc. By adding a Button Column, whenever one of the GridView's buttons in the column is clicked, the Web page posts back and the GridView's ItemCommand event fires.
 
Example:
<asp:GridView ID="gvSlightbook" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:BoundField />
<asp:ButtonField Text="Button" />
</Columns>
<EditRowStyle BackColor="#7C6F57" />
<FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
<RowStyle BackColor="#E3EAEB" />
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#F8FAFA" />
<SortedAscendingHeaderStyle BackColor="#246B61" />
<SortedDescendingCellStyle BackColor="#D4DFE1" />
<SortedDescendingHeaderStyle BackColor="#15524A"
</asp:GridView>

 

 
 



Next 4 interview question(s)

1
AutoEventWireUp property?
2
Explain about page life cycle?
3
Explain about ASP.NET life cycle?
4
Features of ASP.NET 4.0?