Hi everybody,
I am trying to display a pager template for my details view control. In design view it is displayed. However, at run time it
is not displayed. Following is the code I used for rendering the control:
<aspetailsView
ID="DetailsView1"
runat="server"
AllowPaging="True"
DataSourceID="ObjectDataSource1" Height="129px" Width="488px">
<PagerTemplate>
<asp:Button
id="btnFirst"
Text="First"
Runat="server" OnClick="btnFirst_Click" />
<asp:Button
id="btnLast"
Text="Last"
Runat="server" OnClick="btnLast_Click" />
</PagerTemplate>
</aspetailsView>
Am I missing something?




etailsView
Reply With Quote