Stories recently tagged with 'Tip'

You can also register your ASP.NET Web User Controls in Web.Config?(blogs.msdn.com)

submitted by crpietschmanncrpietschmann(11.3k) 3 years, 7 months ago

In Tip#8 we saw how to create a Web User control, register a Web User Control and use the Web User control in your page. Note that VS added a @Register directive right at the top of the page on drag drop of the user control on to your page. But in future if you want to move the location of your User controls you will be forced to change the Register directive in multiple places depending on how many pages you have used the User Control. This could be a pain. This can be easily solved by moving the registration of the user control to your Web.config file with the following entry, so that any change in location can be updated only at one place. read more...

add a comment |category: |Views: 14

tags: another

How to add startup JavaScript code from Content Page to Master Page?(aspdotnetfaq.com)

submitted by spavkovspavkov(1718) 3 years, 9 months ago

If you are creating a website that has Master and Content Pages and if you need to add some JavaScript code from your Content pages that should run when the page is loaded you fill find out that its not straightforward. Content page do not have all the elements of HTML page like BODY tag that you could hook up to and add your script code to its onload event... read more...

add a comment |category: |Views: 21

tags: another

How to remove duplicate Whitespace Characters from a string?(aspdotnetfaq.com)

submitted by spavkovspavkov(1718) 4 years, 1 month ago

Luckily for us developers .NET has some very slick string handling routines we can use for this task. Also we have an alternative approach: Regular Expressions. We will cover here both implementations and compare them regarding their efficiency. read more...

add a comment |category: |Views: 176

tags: another

Visual Studio Tip: Kill That Build!(stevenharman.net)

submitted by usshermussherm(5285) 4 years, 4 months ago

Have you ever accidentally started to compile your code and you didn't mean to... so you're stuck waiting for Visual Studio to finish so you can get back to work? Why not just cancel the build with a keystroke? read more...

add a comment |category: |Views: 24

tags: another

Visual Studio Tip of the Day(ifxplus.com)

submitted by m.casatim.casati(600) 4 years, 6 months ago

Sara Ford's WebLog is a great site for finding information on how to get the most out of Visual Studio. read more...

add a comment |category: |Views: 6

tags: another

How To Writer br Without Writing br(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

On using HtmlTextWriter object with HtmlTextWriterTag enumeration and how to writer <br /> without using literal "<br />" string. read more...

add a comment |category: |Views: 2

tags: another

Getting All Controls On The ASP.NET Page(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 4 years, 11 months ago

How to get all controls on a page in a recursive way - FlattenHierarchy method and what you can do with it. read more...

1 comment |category: |Views: 98

tags: another

Three Ways To Display Two Counts From a Table Side By Side(sqlservercode.blogspot.com)

submitted by SQL_MenaceSQL_Menace(4890) 5 years, 4 months ago

How to take 2 counts and display them side by side without using variables in SQL read more...

add a comment |category: |Views: 3

tags: another

Getting The List Of All Pages In The Application(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 5 years, 4 months ago

A short snippet of code that demonstrates how you can get and display a list of all pages in the ASP.NET web application. Such a list can be used during developement to ease navigation. read more...

2 comments |category: |Views: 8

tags: another

Making Your Custom ASP.NET Controls Appear In The Toolbox(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 5 years, 4 months ago

How to make controls defined in a separate assembly to appear in the Visual Studio's Toolbox. The standard way and the better way. read more...

add a comment |category: |Views: 7

tags: another

Use the Database Publishing Wizard to script your table data(weblogs.asp.net)

submitted by HaackedHaacked(5105) 5 years, 4 months ago

Jon Galloway combines the Database Publishing Wizard with PowerSMO to create a powerful means of scripting schema and data so it can be version controlled. read more...

add a comment |category: |Views: 44

tags: another

Using WebServer.WebDev For Unit Tests(haacked.com)

submitted by HaackedHaacked(5105) 5 years, 5 months ago

This post provides an easy to use class you can use with NUnit or MbUnit in order to setup a webserver for a unit test. It makes use of WebServer.WebDev, formerly known as Cassini. read more...

add a comment |category: |Views: 22

tags: another

Two interesting things about C# strings(chrisfulstow.blogspot.com)

submitted by wibblewibble(245) 5 years, 6 months ago

Two useful, and often overlooked, techniques for working with C# strings read more...

4 comments |category: |Views: 13

tags: another

Tip For Working With ASP.NET Web Projects(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 5 years, 6 months ago

A simple tip showing that you don't need to always use Visual Studio to test your sites. read more...

add a comment |category: |Views: 2

tags: another

Remote Desktop On A Non-Standard Port(haacked.com)

submitted by HaackedHaacked(5105) 5 years, 7 months ago

How to setup and use Remote Desktop on a non-standard port. read more...

add a comment |category: |Views: 50

tags: another

Remember To Unhook The Event Handlers(vaultofthoughts.net)

submitted by mikeonmikeon(5200) 5 years, 7 months ago

Article that describes how events are implemented and what happens if you forget to unhook the handlers. read more...

add a comment |category: |Views: 180

tags: another