Home / ASP.NET Weblogs

Browse by Tags

Related Posts

  • Asp.net Unhandled Exception (Elmah)

    My client asked to handle all unhandled exception and log then in sql database. Beside that they want to log handled exception too. So after some googling i found an open source project for exception handling, ELMAH (Error Logging Modules and Handlers) . I found it very easy to configure Elmah to the...
    Posted to Muhanad YOUNIS (Weblog) by mohi88 on 09-12-2008, 12:00 AM
    Filed under: .NET 2.0, Web.Config, ASP.NET, global exception handling, Elmah, exception handling
  • Regex to find URL within text and make them as link

    Some time back on the form somebody was looking for some help in searching URL within text and make those URLs as link. Me and that guy tried various regex but the one that worked out I thought to put it on the blog so that it can help me and others later. Regex itself is: -------- In VB.Net -------...
    Posted to Faraz Shah Khan (Weblog) by farazsk11 on 08-09-2008, 12:00 AM
    Filed under: C#.Net, .Net 2.0, VB.Net, ASP.Net, Link, Regex, URL
  • Reading file content from different webserver using HttpWebRequest

    I was replying to one of the post on the ASP.Net forum in which the requirement was like reading txt file contents from different webservers. When he got satisfied with the solution then I thought to put the piece of code in my blog as well for others and my future reference. --- .vb file if VB.Net is...
    Posted to Faraz Shah Khan (Weblog) by farazsk11 on 02-16-2008, 12:00 AM
    Filed under: Webserver, File, C#.Net, .Net 2.0, VB.Net, ASP.Net, StreamReader, HttpWebRequest
  • Passing value from popup window to parent form's TextBox

    Once again seen lot of questions on the forum related to passing values from popup window to the parent form textbox. Specially when they have some GridView type control in the popup. In the following example I will be using two forms, parent form will be parent.aspx and popup will be popup.aspx. Also...
    Posted to Faraz Shah Khan (Weblog) by farazsk11 on 02-16-2008, 12:00 AM
    Filed under: javascript, C#.Net, .Net 2.0, VB.Net, ASP.Net, Popup
  • Javascript to display time on Web page

    Javascript to display continuous time on the Web page. By continuous it means that it will be displayed second by second. <script type="text/javascript"> function ShowTime() { var dt = new Date(); document.getElementById("<%= TextBox1.ClientID %>").value = dt.toLocaleTimeString(); window...
    Posted to Faraz Shah Khan (Weblog) by farazsk11 on 02-13-2008, 12:00 AM
    Filed under: javascript, .Net 2.0, ASP.Net
  • Check/Uncheck checkboxes in GridView using javascript

    Seen a lot of questions regarding how to check/uncheck CheckBoxes within a GridView control using JavaScript. So I thought to put it on my blog for quick reference for others and for myself. Following is the code: ------------------------------------------- .aspx code -------------------------------...
    Posted to Faraz Shah Khan (Weblog) by farazsk11 on 02-13-2008, 12:00 AM
    Filed under: javascript, Check/Uncheck, C#.Net, Checkbox, .Net 2.0, Select All, GridView, VB.Net, ASP.Net
  • HDC07 - A big success!

    What a great time to be had a development conferences. Putting that many smart people in one room should be illegal honestly. Two solid days of .NET energy (and one adobe flex talk, ...<blink>) - Culminated with a 4 hour presentation by Scott Guthrie on the new Visual Studios 2008 / .NET 3.0 and...
    Posted to Bryan Sampica (Weblog) by Freakyuno on 10-21-2007, 12:00 AM
    Filed under: .NET, ASP.NET, Ajax, .NET 2.0, .NET 3.0, Microsoft
  • Ajax Service Methods: Returning Strong types or lists.

    In all the examples we've seen so far, we've returned simple strings, integers, or a standard type / value. That's all fine and good, until we have something a little more complex to return, or need to return a list or array of something, or a list of type. In the following example I'll demonstrate through...
    Posted to Bryan Sampica (Weblog) by Freakyuno on 10-15-2007, 12:00 AM
    Filed under: .NET, ASP.NET, Ajax, .NET 2.0
  • Creating an Efficient UI in ASP.NET. Part 2

    In the first installment of this series, we discussed the reasons for creating a clean and efficient UI, and some of the methods behind it. If you haven't read the first part I suggest you do so here . In this article we are going to go over some of the basics in getting setup to provide a streamlined...
    Posted to Bryan Sampica (Weblog) by Freakyuno on 09-22-2007, 12:00 AM
    Filed under: .NET, Weblogs, ASP.NET, Ajax, .NET 2.0, Microsoft
  • Creating a Who's Online usercontrol with .NET 2.0's membership provider

    David Yancey over at his Geebs blog has created a slick little bit of code to allow users to put a "Who's online" type of control on their sites by querying the membership provider. It appears it also allows for anonymous users as well. Check it out http://geebs.proessent.com/post/Create-a-Who's-Online...
    Posted to Bryan Sampica (Weblog) by Freakyuno on 09-15-2007, 12:00 AM
    Filed under: .NET, ASP.NET, .NET 2.0
Page 1 of 3 (29 items) 1 2 3 Next >