DataPager

What is Datapager:
Datapager is asp.net 3.5 control and can be used as paging navigation with others databound controls in asp.net.
Which controls are supported by Datapager:
Datapager supports following components
1. ListView
2. Any Extended databound controls which implements ipageableitemcontainer.
How to use:
DataPager is an independent control that can be placed anywhere on the page. Set the PagedControlId property of [...]


What does DataPager do?

When i first downloaded Visual studio 9, i was little excited about the new tag called <asp:DataPager />,  when i create a new web application.
Here i m trying to describe what datapager actually is and what does it do?
The DataPager is a new ASP.NET control comibined with any  data control (such as a ListView) allows [...]


How to use skin files on asp.net

Steps to create skin files and use on asp.net
1. Go to solution explorer  and right click on the website node.
2. Choose “Add ASP.NET folder” and click  ”Theme”.
3. You will see new folder under the App_Themes folder. You will place all the files for that theme on this folder.
4. Create skin files and dump all css [...]


Sending Email

Configure the web.config file

<mailSettings >
<smtp from=”nratdot4prodotcom”>
<network host=”smtp.dot4pro.com” />
</smtp>
</mailSettings>

Send the mail
Create an instance of SmtpClient object and send mail.

MailMessage message = new MailMessage();
message.From = new MailAddress(“senderatdot4pro.com”);
message.To.Add(new MailAddress(“recipient1atdot4pro.com”));
message.To.Add(new MailAddress(“recipient2atdot4pro.com”));
message.To.Add(new MailAddress(“first1atgmaildotcom”));
message.CC.Add(new MailAddress(“sendtoatgmaildotcom”));
message.Subject = “This is my subject”;
message.Body = “This is the body. can be html body”;
SmtpClient client = new SmtpClient();
client.Send(message);

Hope this helps to [...]


DataPager and ListView

Introduction to DataPager:
Datapager is a new control found on asp.net 3.5.   In the asp.net 2.0 Gridview control has built-in its paging functionalities embedded within the control.  Datapager control is a separate control on asp.net 3.5 to implement paging functionalities for asp.net databound controls.    The DataPager class is used to page data [...]


Exploring new features of ListView

List view is a data bound control new on .net framework 3.5.  In addition to display data on various styles it also supports add,edit,delete and paging functionality.
Requirements:

Visual studio 2008 or Visual web developer 2008

Dotnet framework 3.5

In this article you will be exploring the new features of ListView and Data pager controls of asp.net 3.5.

Open the [...]


Effective Caching techniques

Caching is the technique provided within the asp.net framework to optimize the performance of the web applications with less effort and time.
Your application can be optimized upto 80% more faster with only 20% effort for any type of your asp.net application.
What actually does the Caching:
Caching actually stores the frequently used data on the memory so [...]


Reference control on nested master page

Master page and nested master pages in an ASP.Net 2.0 are great features to make the site maintainable from the design prospective. Its easy to reference controls on the master page directly from the content pages. But if you have used nested master page, the same approach doesn’t works.  Here is [...]


Sitemap and roles

Sitemap are the great features on the asp.net for navigation features (treeview, menus, breadcrumb) on asp.net.  SiteMap datasource can be used to bind sitemap to the navigation controls like (Treeview, Menu, SiteMap Path).
Link roles and sitemap
Site map can be even interesting when used in conjunction with Roles features provided by Asp.net Membership provider. Roles can [...]


Retrieve password using membership provider

Asp.net sqlserver membership provider is the great feature provided within the asp.net framework to configure common features like User registration, Forget password, User login on asp.net enabled application.
How to configure to retrieve password
If you are using membership provider of asp.net, you can customize how the password can be retrieved.
You can also set requiresQuestionAndAnswer=false if [...]


Share to Facebook Share to Twitter Stumble It Share on Tumblr Digg More...