5 items found in the HTML Category
How to make an ASP.NET Table row highlight and become clickable
Mikesdotnetting
-
06 May 2007 20:38
For those people who like to output their data to an asp:Table, highlighting the entire row and making it clickable can make it obvious to the user that some action is expected from them. This emulates the behaviour that can be found in some desktop applications. All that's needed for this is a bit of javascript, and the use of AddAttributes() for the table rows. More...
Filed under: C# ASP.NET 2.0 Javascript HTML as Snippet
How to center the content of a web page
Mikesdotnetting
-
05 May 2007 20:48
This question gets asked very often in the forums and newsgroups, and is very easy once you know how. More...
How to force a scrollbar for centered web pages
Mikesdotnetting
-
05 May 2007 20:45
If you have centered web pages, there can be times where the depth of content doesn't reach the bottom of the window browser, so no scroll bar appears. Navigating between long and short pages can give the appearance of the centered content "jumping" from side to side. More...
Include contents of an html page in an aspx page
Mikesdotnetting
-
05 May 2007 20:44
If you are creating a new ASP.NET application, but have a huge collection of existing content in html files, one option is to move all the content into a database and generate pages dynamically. However, migration to a database can be a time-consuming task depending on the volume of content. So wouldn't it be easier to somehow import the relevant parts of the existing html pages into your aspx page? More...
Filed under: ASP.NET 2.0 HTML as Snippet
How to retain carriage returns or line breaks in an ASP.NET web page
Mikesdotnetting
-
06 April 2007 19:55
Many newcomers to web development cannot get their head around why the carriage returns they made in their data on input from a textarea, or from a text file, Excel spreadsheet etc. do not appear when the web page renders. More...
Filed under: C# ASP.NET 2.0 HTML as Snippet

