Sign up
Submit a Post
Login
Search
Toggle navigation
Search
HOW-TO's
QUESTIONS & ANSWERS
ASK A QUESTION
Sign up
Log in
Submit & Contribute
Follow Us
Facebook Page
Twitter Profile
HOME
HOW-TO's
QUESTIONS & ANSWERS
ASK A QUESTION
TAG
Asp.Net
How to Select TextBox text in GridView and Copy to Clipboard with Javascript
Here's how you can find the text of a particular TextBox witnin an ASP.NET GridView row and then Select and Copy the text to Clipboard with Javascript. First put the following javascript in the HTML of your page (either in HEAD of your html page or...
more »
How to Update an UpdatePanel after AjaxFileUpload UploadCompleteAll (ASP.NET)
The AjaxFileUpload control that's part of the AJAX Control Toolkit, works great for easily uploading multiple files at once. However, it gets a little tricky if you want to update an UpdatePanel after all the files have finished uploading, especially if...
more »
How to Fix Request format is unrecognized for URL unexpectedly ending in '/GetCompletionList'
I recently moved my sites over to a new web server that has "Windows Server 2008 R2" installed. The older server had just been running "Windows Server 2008". After moving my sites over I discovered that my AJAX Toolkit AutoComplete functionality had...
more »
How to Refresh an Image in ASP.NET Automatically
You may need to have an image refreshed automatically on a web page in ASP.NET to get the latest image. One instance where you might want the fresh image is if you upload an image that has the same file name as an already existing image file on the...
more »
How to Access GetRouteUrl in .ashx IHttpHandler's
For a while I wasn't sure how to access GetRouteUrl from an .ashx IHttpHandler page. I wanted to access route url's setup in the Global.asax file to be used in files like rss.ashx, instead of having to hard codes the page URL's in my .ashx pages. Well,...
more »
How to Add "nofollow" to SiteMapProvider Links in Repeater (ASP.NET)
Here's how you can add "nofollow" tags to links generated by a Sitemap file that is bound to an ASP.NET Repeater control using a SiteMapDataSource. I'm currently using this technique for the footer links of GotKnowHow.com, so if you View Source of the...
more »
How to Code a Date & Time Picker Control in ASP.NET
So below I'm going to share with you a fairly easy to use and understand ASP.NET User Control that allows you to pick a Date (with the ajaxToolkit CalenderExtender) and also select the Time of day using a drop down list. I've named the control...
more »
How to UrlEncode Plus Sign "+" in QueryString and UrlDecode Plus Symbol in ASP.NET
Here's how you can UrlEncode the plus sign (+) in a URL querystring in ASP.NET and then retrieve the plus symbol after UrlDecoding the string. In this example, I will do a postback and redirect the Server.UrlEncoded string to another page. First we will...
more »
How to Install IIS7 and Enable ASP.NET on Windows 7 (or Vista)
Here's how to install Internet Information Services (IIS7) on a Windows 7 (or Vista) computer so that ASP.NET websites will run on the IIS7 web server. First, you will want to make sure that you are signed into an account with Administrator access on your...
more »
How to Fix Login failed for user 'IIS APPPOOL\ASP.NET v4.0' error in IIS7
After running a ASP.NET website on IIS 7.5 for the first time on a Windows 7 computer, I was faced with the following error message: Login failed for user 'IIS APPPOOL\ASP.NET v4.0'. Description: An unhandled exception occurred during the execution of the...
more »
How to Fix "PageHandlerFactory-Integrated" bad module "ManagedPipelineHandler in IIS7
After setting up a new Windows 7 computer with IIS 7.5 and Visual Studio 2010, I tried to start my ASP.NET 4.0 website using the Local IIS web server. However, right off the bat I was hit with the following IIS error message: HTTP Error 500.21 - Internal...
more »
How to Fix - Could not load file or assembly 'Elmah' or one of its dependencies
I recently ran into the following error while trying to get Elmah to work / complie with my Web Application Project in Visual Studio 2010: Could not load file or assembly 'file:///C:\Users\DOUGDELL2\Documents\Visual Studio...
more »
How to Get Fully Qualified Route Urls from GetRouteUrl
The new Routing features in ASP.NET 4.0 are pretty awesome. However, one issue I ran into recently was trying to get the fully qualified urls from Page.GetRouteUrl as string urls to be used in emails messages. Unfortunately, I wanted something that worked...
more »
How to Add a CSS Border to an ASP.NET Image Control
Adding a CSS border to an ASP.NET Image control was a mystery to me for the longest time. While you could easily use an html image and add the runat="server" to it and then add CSS, I really wanted to use an asp:Image control along with a CSS border....
more »
How to Fix 'String or binary data would be truncated.'
There's a good chance that if you're database driven application is running into the following sql error message that says "String or binary data would be truncated", that the error is being caused by an issue in a SQL statement or in the SQL code of a...
more »
How to Fix e.CommandArgument 'input string was not in a correct format.' error
Here's one quick fix for the ASP.NET error System.FormatException: Input string was not in a correct format. when you are using a DataList with an asp:Button control and are trying to get the CommandArgument using the DataList_RowCommand. Keep in mind...
more »
How to Fix SSRS IIS7 permissions granted 'NT AUTHORITY\NETWORK SERVICE' are insufficient Error
SQL Server Reporting Services can be a pain in the arse to set up correctly for the first time. Even after you've got things running correctly, you can sometimes run into issues, which is exactly what happened to me recently. I had setup my local...
more »
How to Get Base URL in ASP.NET using C#
If you do any sort of ASP.NET programming there usually comes a time when you need to get a websites Base URL. The following shows two examples, the first example shows how to get the Base Site Url using C#, which can be used for getting both the...
more »
How to Get Rid of Whitespace Gaps between ASP.NET Images & Table Cells in Internet Explorer
This is one of those simple web page design things that can drive a web developer absolutely crazy.
more »
How to create a Regular Expression to Validate a HTTP Image URL
A regular expression for validating a image url.
more »
Ask a Question
Article Categories
Arts & Entertainment
Business
Cars
Computers
Electronics
Fashion & Beauty
Food & Drink
Health & Fitness
Home & Garden
Internet
Love & Relationships
Money & Finance
Other
Pets & Animals
Sports
Travel
Related Tags
windows 7
(24)
sql server
(15)
iis7
(7)
sql
(5)
javascript
(4)
ssrs
(4)
visual studio
(4)
visual studio 2010
(4)
c#
(3)
css
(3)
.net framework
(2)
ajax
(2)
base url
(2)
elmah
(2)
iis
(2)
Follow Us