• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

Ajax Paging Bulleted List Extender

Paging Bulleted List Extender

This control is used to apply paging for bulleted list control. This control has only one important property Target controls. Bulleted list control to extend using the paging Bulleted List Extender.

Example

The following example demonstrates how to use the paging Bulleted ListExtender control

Add a page to the website and then take a ToolkitScriptManager and a BulletedList control and set ID of the BulletedList control as B2.

Within the page load event write the following code to get employees names from the table Emp and display them in BulletedList control

PageLoad :

{

sqlconnection cn = new sqlconnection(“server=Nikhil;database=Mydb;UserId=sa;password=123”);

sqlDataAdapter Da= new sqlDataAdapter(“select Ename from EMP order by Ename”,cn);

Dataset DS= new Dataset();

Da.fill(Ds,”Emp”);

BL.Datasource=DS.Table[“EMP”];

BL.DataTextfiled=”Ename”;

BL.DataBind();

}}

Within HTML source of the page Drag & Drop a paging Bulleted listExtender and set its TargetControlID property to the ID of Bulleted list that is BL.

At runtime employees name are displayed in BulletedList by dividing them into pages based on Alphabets with which the employee name starts.

Summary
Review Date
Reviewed Item
Ajax Paging Bulleted List Extender
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on Ajax Paging Bulleted List Extender"

    Leave a Message

    Your email address will not be published. Required fields are marked *

    Site Disclaimer, Copyright © 2016 - All Rights Reserved.

    Support


    Please leave a message and we'll get back to you soon.

    I agree to be contacted via e-mail.