AI OnAI Off
Another way is to render the pagelist pager into your own streamwriter and display it wherever you want. I think I have som code lying around somewhere I will check.
Something like the below should work. Mycontrol must be replaced with the pagecontrol of the pagelist. Then you could use a literal to display it to the user.
StringBuilder sb = new StringBuilder();
StringWriter sw = new StringWriter(sb);
using (HtmlTextWriter writer = new HtmlTextWriter(sw))
{
myControl.RenderControl(writer);
}
string html = sb.ToString();
Hi!
I initialize paging control for page list in Page_Load:
This code generates paging control only after my page list, but I need to place it after and before my list of page links.
Anybody knows how can I do it?
Thanks!