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
  • File Upload control AJAX effect

    Since long I was wondering on how I will be able to use FileUpload control inside UpdatePanel and I am sure there will be lot of other people who were expecting the same to be working. I found an intersting video article by Joe Stagner in which he described how to use the FileUpload control inside iframe...
    Posted to Faraz Shah Khan (Weblog) by farazsk11 on 08-03-2008, 12:00 AM
    Filed under: javascript, .Net 2.0, ASP.NET 2.0, FileUpload, UpdatePanel, AJAX
  • Mutually exclusive checkbox in GridView using Javascript

    I response to one of my blog post entry I received few queries regarding mutually exclusive checkbox within GirdView, meaning if there are two checkboxes in a row only one can be selected at a time. If checkbox1 is selected and you select checkbox2 then checkbox1 should be deselected. Following javascript...
    Posted to Faraz Shah Khan (Weblog) by farazsk11 on 08-02-2008, 12:00 AM
    Filed under: javascript, Checkbox, .Net 2.0, GridView, ASP.NET 2.0, mutually exclusive
  • Register User Web Controls (ascx) Globally

    One of the most impotent OPP principles is encapsulation!. We do encapsulate anything or code that varies. So what about the user interface (aspx pages I mean) are we able to encapsulate some lines that varies between pages? Actually; YES! But not for everything, here I want to show you a way to encapsulate...
    Posted to Muhanad YOUNIS (Weblog) by mohi88 on 07-29-2008, 12:00 AM
    Filed under: .NET 2.0, Web.Config
  • Login through cookies

    Different forums are filled with the questions regarding how to manually implement cookies for login or in other words how to implement "Remeber me" option. Following is the code that will give the idea of how to achieve this task. Controls used 1. TextBox, ID = TbUserName 2. TextBox, ID = TbPassword...
    Posted to Faraz Shah Khan (Weblog) by farazsk11 on 03-23-2008, 12:00 AM
    Filed under: C#.Net, .Net 2.0, VB.Net, ASP.NET 2.0, cookies, Remember Me
  • Javascript to add bookmark option on your website

    If you want to add an option that users can click a button on your website and it will open up bookmark option. Following is the code that will perform this task. <html> <body> <SCRIPT LANGUAGE="JavaScript"> function bookmark(url, description) { if (navigator.appName=='Microsoft Internet...
    Posted to Faraz Shah Khan (Weblog) by farazsk11 on 03-13-2008, 12:00 AM
    Filed under: javascript, .Net 2.0, ASP.NET 2.0, bookmark
  • .NET 2.0 upgrade to 3.5 bug with LINQ

    Mark Richman has found a solution to a bug when upgrading a .NET 2.0 Compiled site to .NET 3.5 and using LINQ. Check it out http://markrichman.com/post/Visual-Studio-2008-Bug-Upgrading-web-site-from-Visual-Studio-2005-compiler-error-CS1519.aspx Enjoy
    Posted to David Yancey (aka Geebs) (Weblog) by Diamsorn on 02-21-2008, 12:00 AM
    Filed under: LINQ, .NET 3.5, .NET 2.0
  • 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
Page 1 of 13 (122 items) 1 2 3 4 5 Next > ... Last ยป