Modify the layout of DataPager

6 posts, 0 answers
  1. Tri Nguyen
    Tri Nguyen avatar
    40 posts
    Member since:
    Feb 2004

    Posted 08 Jun 2011 Link to this post

    Hello,

    Is there a way to shrink the gaps between the buttons (first, prev, next, last) and the numbers of the DataPager? I've looked at the DataPage.xxxx.css file, but couldn't figure out how to achieve that. Any help would be greatly appreciated.

    Tri.
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 14 Jun 2011 Link to this post

    Hello Tri,

    Try using the Css code snippet below and let me know if helps to achieve your goal:

    <style type="text/css">
           div.RadDataPager .rdpWrap
           {
               padding-left: 0px;
               padding-right: 0px;
           }
       </style>

    I hope this helps.

    Kind regards,
    Pavlina
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tri Nguyen
    Tri Nguyen avatar
    40 posts
    Member since:
    Feb 2004

    Posted 23 Jun 2011 Link to this post

    Hi, Pavlina

    Thanks for providing a solution for this. Unfortunately, it doesn't work in all scenerio. Sometimes, all the navigation buttons (first, prev, next, last) just disappear totally. Take a look at the attachments. Hopefully, you'll have another modification for me. Thanks.

    Tri.
  5. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 29 Jun 2011 Link to this post

    Hello Tri,

    It is hard to say what is causing the described issue without having a running application where we can reproduce the problem. Could you please send us a simple runnable example via support ticket, which demonstrating the unwanted behavior? Thus we will be able to gather more details about your scenario and provide a solution.

    Additionally, I suppose the information from this blog post can help.

    All the best,
    Pavlina
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  6. Tri Nguyen
    Tri Nguyen avatar
    40 posts
    Member since:
    Feb 2004

    Posted 29 Jun 2011 Link to this post

    Hello, Pavlina
    Again, thanks for your response with the solution. I finally gave up with the DataPager. After I took it out of the page, and replaced it with the MS datapager, everything is normal. I don't know what got conflicted with other stuffs on my page, but I couldn't figure it out after several days. For now, the MS datapager is good enough for what we need. Since my app is for internal usage, and it's fairly complex, I can't provide the layout & code to reproduce it.
    Thanks for the link to the blog about IE issues. It's good to know about those limitations.

    Tri
  7. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 04 Jul 2011 Link to this post

    Hello Tri Nguyen,

    If you want to investigate the problem further, you can isolate the issue in a sample project following the steps provided in the link below :

    http://blogs.telerik.com/blogs/posts/10-09-29/isolating_a_problem_in_a_sample_project.aspx

    and send it to us via support ticket.

    Regards,
    Pavlina
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017