Home / ASP.NET Weblogs

Browse by Tags

Related Posts

  • GridView RowDataBound Alternating Row RowState issue

    This was pissing me off for a good hour: RowDataBound event after you call edit on a row, I was checking for this row's state like this: e.Row.RowState == DataControlRowState .Edit this worked fine with rows No 1, 3, 5... (non-alternating rows), however with alternating rows of same GridView it did NOT...
    Posted to Object reference not set to an instance of an object (Weblog) by funky_rus on 10-27-2008, 12:00 AM
    Filed under: ASP.NET, ASP .NET, GridView, C#, .NET, e.Row.RowState, DataControlRowState, RowState
  • AJAX AutoComplete with DataSet

    /// <summary> /// This webservice is used with AJAX AutoComplete Extender /// to populate possible car makes for textbox on Sell Your Car form /// </summary> [ ScriptService ()] [ WebService (Namespace = "http://tempuri.org/" )] [ WebServiceBinding (ConformsTo = WsiProfiles .BasicProfile1_1...
    Posted to Object reference not set to an instance of an object (Weblog) by funky_rus on 02-25-2008, 12:00 AM
    Filed under: ASP .NET, C#, .NET, SQL, AutoCompleteExtender, DataSet
  • Report in formatted Excel file

    #region GenerateExcel private void Generate_Excel_Report() { //update month var to prev month Prev_rMonth = rMonth - 1; Prev_rYear = rYear; if ( Prev_rMonth == 0 ) { Prev_rMonth = 12; Prev_rYear = rYear - 1; } string fileName = System.IO. Path .GetFileNameWithoutExtension(System.IO. Path .GetTempFileName...
    Posted to Object reference not set to an instance of an object (Weblog) by funky_rus on 02-19-2008, 12:00 AM
    Filed under: ASP .NET, C#, Visual Studio, .NET, Report, Excel
  • CSV to TextReader

    /// <summary> /// Take a file path and return a TextReader /// </summary> /// <param name="file_path"></param> /// <returns></returns> private TextReader OpenFile ( string file_path) { try { // Read the CSV file in to a TextReader TextReader _rdr = File .OpenText(file_path...
    Posted to Object reference not set to an instance of an object (Weblog) by funky_rus on 02-19-2008, 12:00 AM
    Filed under: ASP.NET, ASP .NET, C#, Visual Studio, .NET, CSV, System.IO, TextReader
  • Fun with snippets: Quote blocks in your blog posts

    Friday and screencast time again! This time on a feature some have talked about before. Dave Burke has some excellent tips for using them here , Adonis Bitar talks about how he uses them . I am talking about Text Parts, or as they seems to be called now, "Snippets". If I would give a quick...
    Posted to J-O Eriksson (Weblog) by joeriksson on 07-21-2006, 12:00 AM
    Filed under: .NET, Community Server, ASP .NET
  • CS2: CSModules: CSModule implementation of Lightbox JS

    A CSModule that I've used myself on a couple of sites, but haven't seen much written about is Ken Robertson's CSModule implementation of the Lightbox JS image overlay scripts. This module enables you to insert thumbnails of your pictures in for example your blog posts by a specific text part...
    Posted to J-O Eriksson (Weblog) by joeriksson on 07-12-2006, 12:00 AM
    Filed under: .NET, Community Server, ASP .NET, CSModules
  • CS2: Screencast: Embedding a video in a forum post

    On wednesday I talked about post attachements, and referred to a post by Keyvan Nayyeri on how to do attachements programatically. Today I thought I'd talk about attaching a video to your forum posts, which can be played right in the post itself. It's not really attaching a video to a post, it's more...
    Posted to J-O Eriksson (Weblog) by joeriksson on 07-07-2006, 12:00 AM
    Filed under: .NET, Community Server, ASP .NET
  • CS2: Good articles: Creating attachements to CS posts programatically

    Some time ago I got a coffe mug as a present from a friend of mine. It's a black coffe mug which has the word 'Geek' written on it in white. Don't know why my friend thought it would fit me. :-) I wonder, am I a geek if I sometimes get inspired by code? Probably, right? When I read a code article that...
    Posted to J-O Eriksson (Weblog) by joeriksson on 07-05-2006, 12:00 AM
    Filed under: .NET, Web Services, Community Server, ASP .NET
  • A CSMVP developing project has started!

    About a week ago, I initiated a new developing project together with some of the CS MVPs. What we want to do is a package of different CSModules to be used both as an example of programming CSModules, but also as a package of free Add-ons for Community Server . So far we are (besides me) Keyvan Nayyeri...
    Posted to J-O Eriksson (Weblog) by joeriksson on 07-03-2006, 12:00 AM
    Filed under: .NET, Community Server, ASP .NET, CSModules
  • CS2: Screencast: Creating polls

    Today a topic that most of you already might know how to do. How to create a poll in Community Server 2.0. But still, evey now and then the question pops up in the forums. So I thought I'll do a post on it. Another reason for doing this post, was to examine if I could post screencasts here at weblogs...
    Posted to J-O Eriksson (Weblog) by joeriksson on 06-30-2006, 12:00 AM
    Filed under: .NET, Community Server, ASP .NET
Page 1 of 4 (35 items) 1 2 3 4 Next >