-
August 30th, 2010, 07:55 PM
#1
Using DataPager for Datalist ?
Can we use a DataPager for a DataList?
I've done it but the following exception has occurred !!!
PHP Code:
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: Control 'DataList1' does not implement IPageableItemContainer.] System.Web.UI.WebControls.DataPager.FindPageableItemContainer() +500609 System.Web.UI.WebControls.DataPager.OnInit(EventArgs e) +33 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|