Pages
Pages
Home
Videos
Q & A
My Profile
Category
C#.NET
ASP.NET
ASP.NET MVC
JQUERY
Wednesday, January 2, 2013
Get Current Page Name in ASP.NET
Share !
Tweet this
Share on Facebook
Share on Google plus
Pin this post
Share on Whatsapp
Use below code to get the current page name.
string pageName= Page.GetType().Name;
No comments:
Write comments
Subscribe to:
Post Comments (Atom)
Popular
Recent
Popular Posts
Using grids and guidelines in Crystal Reports
Each section of a report contains a design grid. The grid always exists; however, Crystal Reports allows you to determine if the grid is vis...
Redirect to Custom page on Invalid URL
There are cases where user type an invalid page URL within you'r website. You can provide the user with an custom error page saying that...
Characteristics of report sections in Crystal Reports
In all versions of Crystal Reports, a report consists of several sections such as the Page Header, Group Header, Details, Group Footer and P...
Design considerations in Crystal Reports
Listed below are several design hints for creating reports that will be shared with other people. Correctly spacing text objects Ensure each...
Auto Increment Custom ID (Sequence) in Sql server
In Sql server we can set the property "Auto Identity=true" in a database table so that the integer column will be automatically in...
How Windows programs use printer drivers
All Microsoft Windows programs require the printer driver to paginate a document. Printer drivers measure font information, based on the par...
Enabling Spell-Check in HTML Form
In HTML5 we can use spellcheck attribute in textarea HTML element to enable the spell check ability. By setting it to true it'll enab...
A Simple Encryption and Decryption Technique in C#
public class StringEncryption { private readonly Random random ; private readonly byte [] key ; private readonly ...
Master Pages and Relative Paths in ASP.NET
One quirk that can catch unsuspecting developers is the way that master pages handle relative paths. If all you’re using is static text, th...
Server-Side and Client-Side Validation in ASP.NET
Server-Side Validation You can use the validator controls to verify a page automatically when the user submits it or manually in your cod...
Feedjit Live Blog Stats
Categories
Ajax
(11)
Angular JS
(6)
ASP.NET
(225)
ASP.NET MVC
(41)
ASP.NET MVC 2
(7)
ASP.NET MVC 4
(14)
C#.NET
(138)
Charts
(1)
Classic ASP
(2)
Crystal Reports
(8)
CSS
(8)
Data Mining
(8)
Entity Framework
(1)
Flash
(1)
Frameworks
(10)
General
(29)
GIT Repository
(1)
HTML
(61)
HTML5
(15)
I/O
(5)
IIS
(8)
JavaScript
(83)
Jquery
(68)
Jquery Mobile
(3)
Kendo UI
(3)
Kentico
(2)
LINQ
(8)
Microsoft Windows
(1)
MS Office
(4)
Office 365
(1)
Oracle
(2)
Payment Get-way
(1)
Razor
(1)
Regular Expressions
(4)
Security
(9)
Silverlight
(1)
Sql Server
(52)
Telerik
(10)
Validation
(12)
VB Script
(1)
WCF
(1)
Web Services
(7)
Windows Forms
(26)
XML
(9)
Followers
Subscribe
Posts
Atom
Posts
Comments
Atom
Comments
Recommended Posts
×
−
+
No comments:
Write comments