Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Page 3 of 4 FirstFirst 123 4 LastLast
Results 31 to 45 of 52

Thread: The .NET Knowledge Sharing Thread

  1. #31
    Grandmaster Raithlin's Avatar
    Join Date
    Jan 2005
    Location
    Noordwyk, Midrand
    Posts
    4,126

    Default

    Nice thread. My first contribution, for those ASP.Net developers that want controls AND the jQuery UI...
    Dot Net JQuery
    DNJ is a .NET framework that provide advanced AJAX WebControls and features :

    * JSON-RPC : Call server side .Net functions from Javascript.
    * Ajax extender : Ajaxify your existing .Net controls like the ASP.Net UpdatePanel does, but in a more customisable way
    * Advanced pure AJAX WebControls : DNJ integrates all jQuery UI widgets in Visual studio toolbox and allow you to customise them in VS designer.

    Please visit http://www.codeproject.com/KB/aspnet/dotnetjquery.aspx for quick documentation
    One man’s crappy software is another man’s full time job. Jessica Gaston

  2. #32
    Grandmaster Raithlin's Avatar
    Join Date
    Jan 2005
    Location
    Noordwyk, Midrand
    Posts
    4,126

    Default

    Got Windows 7 and want to know what's new for developers?

    Windows 7 : New Features Explained Using .NET
    New features like Jumplist, Taskbar Progressbar, Tabbed Thumbnail, Icon Overlays, Application Restart Data Recovery, Network Management, Power Management, Task dialog, Sensor API etc explained with simple demo applications
    One man’s crappy software is another man’s full time job. Jessica Gaston

  3. #33

    Default

    Web Development

    Last edited by dequadin; 18-01-2010 at 08:45 PM.
    <sig Type=Disclaimer>UPFRONT DISCLAIMER:(©FarligOpptreden 2009) Don't like my code, speak to them.</sig>
    <sig Type=PimpMySticky>Need help with .NET?</sig>

  4. #34
    Last edited by dequadin; 11-01-2010 at 12:02 PM.
    <sig Type=Disclaimer>UPFRONT DISCLAIMER:(©FarligOpptreden 2009) Don't like my code, speak to them.</sig>
    <sig Type=PimpMySticky>Need help with .NET?</sig>

  5. #35
    Grandmaster Raithlin's Avatar
    Join Date
    Jan 2005
    Location
    Noordwyk, Midrand
    Posts
    4,126

    Default PHP Developers

    ASP.Net for PHP Developers

    This tutorial, for PHP developers, will provide you with an introduction to ASP.NET using the C# language. If you've wondered what ASP.NET is about, this tutorial will strive to answer at least some of your questions. Even if you're an ardent open-source fan, ASP.NET contains some techniques and features that are useful to know about. And, as some might say, it's good to know your enemy!
    One man’s crappy software is another man’s full time job. Jessica Gaston

  6. #36
    Grandmaster Raithlin's Avatar
    Join Date
    Jan 2005
    Location
    Noordwyk, Midrand
    Posts
    4,126

    Default

    Developing Usable .Net Components

    When building an application, developers often face the decision of either writing functionality themselves or look to a third party component to get the job done in a timely manner. In the case of the latter, a well-designed component can greatly enhance a developer's productivity. If you write components, you have an obligation to ensure your components are well-designed, easy to deploy, and above all, easy to use.
    One man’s crappy software is another man’s full time job. Jessica Gaston

  7. #37
    Grandmaster FarligOpptreden's Avatar
    Join Date
    Mar 2007
    Location
    Carlswald, Midrand
    Posts
    4,559

    Default

    Quote Originally Posted by Raithlin View Post
    Quote Originally Posted by Developing Usable .NET Components
    Writing components is a noble undertaking.
    Indeed it is, but I love doing it!
    SCubed: Human Capital Management

    Quote Originally Posted by Crossbearer
    To google metal lyrics is not metal. They have to come straight from the heart.
    UPFRONT DISCLAIMER © 2009 FarligOpptreden

  8. #38
    Grandmaster Raithlin's Avatar
    Join Date
    Jan 2005
    Location
    Noordwyk, Midrand
    Posts
    4,126

    Default

    StateManagement Suggestions : A Beginners View
    There are many ways that we can transfer the values from one page to another. Many beginners do not know about it. So this is the short attempt to give idea about the state management technique to them.
    One man’s crappy software is another man’s full time job. Jessica Gaston

  9. #39
    Grandmaster
    Join Date
    Jul 2007
    Location
    Bryanston
    Posts
    4,517

    Default

    I found this very useful .Net terminology
    i7 2600 | Asus P8H67-M (Rev B3) | Corsair TX650 | CM Scout | Mushkin Silverline BBR3 1333 -2X4GB | DeepCool Tiger Shark | 1TB Samsung | LG DVD-Writer

  10. #40

    Default Extension Methods

    Interesting stuff guys, I'd like to add to this thread a little bit atleast:
    Extension Methods
    Gotta love extension methods, even something as simple as:

    public static class SqlDataReaderExtentensions
    {
    public static object GetNullable(this string input)
    { return string.IsNullOrWhiteSpace(input) ? (object)DBNull.Value : input; }
    }

    Although, just because it's easy to create extension methods doesn't imply that the functionality provided is simplistic as well!

    Here's an extension method I use to perform a deep clone:

    Generic Deep Cloning

    public static T Clone<T>(this T obj)
    {
    BinaryFormatter bf = new BinaryFormatter();
    bf.SurrogateSelector = new DeepCloneSurrogateSelector();
    MemoryStream ms = new MemoryStream();
    bf.Serialize(ms, obj);
    ms.Position = 0;
    return (T)bf.Deserialize(ms);
    }

    PS. Sorry about the bad indentation, but the html indentation from the the wysiwyg editor is creating unneccesary line spacing which makes it annoying to read the code.

    So get going with extension methods if you haven't tried them out yet!

    I might post something later regarding Code Snippets for use with Visual Studio, ADIOS!
    Last edited by Kellros; 14-09-2010 at 10:47 AM.

  11. #41
    Grandmaster Raithlin's Avatar
    Join Date
    Jan 2005
    Location
    Noordwyk, Midrand
    Posts
    4,126

    Default

    With Extension Methods in mind, I have this thread as a favourite on StackOverflow:
    What are your favorite extension methods for C#?

    Some beauts in there.
    One man’s crappy software is another man’s full time job. Jessica Gaston

  12. #42
    Grandmaster SUPERMAN89's Avatar
    Join Date
    Jan 2008
    Location
    Durban | South Africa
    Posts
    1,356
    Blog Entries
    1

    Default

    YOH PEOPLE thank you so much! Really needed information

  13. #43

    Default

    My first share, so be nice

    http://extensionmethod.net/Default.aspx

    lots of extension methods to discover and share.
    Quote Originally Posted by Waaib View Post
    I have trouble listening to cricket commentary being given by a girl. It's just wrong. Like kissing your sister it feels odd.

  14. #44

    Default

    The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

    This error occurs when using javascript to access control with e.g. $find("<%= Control.ClientID %>"), together with RadAjaxPanel, in a Master/Client page setup in asp.net


    One solution is to put the script in a body tag,
    http://www.telerik.com/community/for...i-e-lt-gt.aspx

    BUT
    You cant use body in a Contentplaceholder
    http://www.dotnetspider.com/forum/25...body-tags.aspx



    All the solutions refer to only being able to fix the problem by starting the code block with <%# instead of <%=
    http://leedumond.com/blog/the-contro...s-code-blocks/
    but this does not help if you have $find("<%= Control.ClientID %>") , which refers to a control.
    Also, you can try : in master page load event : Page.Header.DataBind()


    ive also tried to rather user
    var oConatctName = document.getElementById('EtxtContactName').value;
    than
    var oConatctName = document.getElementById('<%#EtxtContactName.Client ID%>').value;
    but it does not work


    turns out i just had to put the javascript into a RadCodeBlock
    http://www.telerik.com/help/aspnet-a...codeblock.html
    Last edited by jxharding; 28-01-2011 at 10:01 AM.

  15. #45

    Default

    when moving crystal reports from e.g. dev environment to deployment environment,
    you need to update the datasource location

    when you create a new connection string, dont ever use SQL NATIVE CLIENT.
    it'll bomb you out like you wont believe

    Use MICROSOFT OLE DB Provider for SQL SERVER

Page 3 of 4 FirstFirst 123 4 LastLast

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •