.NET

Facebook Twitter

Calling a button click from JavaScript in ASP.NET. ASP.NET web forms page have a JavaScript method for handling PostBacks called “__doPostBack”. This function is used to submit button clicks back to the server.

Calling a button click from JavaScript in ASP.NET

The cool thing is that you can take advantage of the same methods that the framework uses to generate javascript for button clicks. Use the following in your code file to generate the JavaScript that performs the PostBack. Using this method will ensure that the proper ClientID for the control is used. Silverlight and JavaScript Interop Basics.

I've been looking into Silverlight in my spare time a bit, to see what it has to offer, and the JavaScript "Interop" is actually pretty neat and simple to use.

Silverlight and JavaScript Interop Basics

About three months ago I wrote a post titled "Working with HTML DOM in Silverlight using the Bridge Pattern"; so I think this time I'll go over some of the basics involved with communicating back and forth between Silverlight and JavaScript. This article is written by referencing Silverlight 2 Beta 2, but should still hold relevent in the final release of Silverlight 2. 4 Simple Steps to Consume WCF Service using Silverlight. Update: SilverLight FAQ's - Part 3 link added to this article. 4 Simple Steps to Consume WCF Service using Silverlight Introduction This article will talk about 4 simple steps which will assist you to consume WCF service in a Silverlight application.

4 Simple Steps to Consume WCF Service using Silverlight

It also has a simple sample source code which demonstrates all the 4 steps practically. I have collected around 400 FAQ questions and answers in WCF, WPF, WWF, SharePoint, design patterns, UML, etc. GridView Archives. Ejemplos - Windows Live. Multilevel Nested Master/Detail Data Display Using GridView. Download source - 4.43 Kb Introduction This article presents how the GridView control can be nested to show master/detail relationships for multilevel hierarchal data.

Multilevel Nested Master/Detail Data Display Using GridView

In this article, I have implemented it for three levels, and it can be implemented for n levels quite easily, by maintaining the information about the edit index of the parent GridView controls. This article provides a simple, easy, and clean solution for displaying data with multilevel master/detail relationships. This article also shows how the GridView can be used effectively by using its template fields, and how controls inside template fields are accessed and bound. CompleteGridView. GridView Examples for ASP.NET 2.0: Paging and Sorting the GridView's Data.

Click here to return to the TOC.

GridView Examples for ASP.NET 2.0: Paging and Sorting the GridView's Data

When displaying large amounts of data it's often best to only display a portion of the data, allowing the user to step through the data ten or so records at a time. Additionally, the end user's experience can be enhanced if they are able to sort the data by one of the columns. GridView Custom Paging. Introduction The GridView control provides you with an easy way to display the number of items on a page without taking much space, with the help of paging.

GridView Custom Paging

You can enable the paging feature in the GridView control in seconds. The built-in paging is pretty good if you are fetching less than 100 items. ASP.NET GridView Themes. Control Explorer. Articles on .NET Technologies. VB.Net - Exportar DataGridView a Excel. Procesos en segundo plano - El Bruno. DataTable.Compute - the filter parameter - ShowUsYour<Blog> Following on from my original posting about using the Compute method of the DataTable to execute aggregate queries, I should add that, the 2nd argument is mandatory as per the docco here: The filter parameter is the equivalent to a WHERE clause that you can use to limit the number of records that are returned to the aggregate expression.

DataTable.Compute - the filter parameter - ShowUsYour<Blog>

The example I gave in my previous posting was a good example of this where I used a LIKE expression in the filter parameter to get a count of persons whose name met a given criteria: int countOfName = (int) dt.Compute("Count(Name)", "Name Like '" + entryTextBox.Text + "*'") ; Fish's dotNET - Make your life easier! Download LINQPad. CodeCharge Studio for Rapid Web Application Development and Visual Web Reporting; DemoCharge Screen Recorder. Features Visual IDE and Code Generator Rapidly build web applications by generating robust, scalable programming code in ASP.NET (C#), ASP, PHP, Java Servlets, JSP, ColdFusion and Perl.

CodeCharge Studio for Rapid Web Application Development and Visual Web Reporting; DemoCharge Screen Recorder

Database-to-Web Converter Convert any database into a Web application in just a few minutes. Web Reports, Calendars, Galleries, Charts, Ajax and more... NUnit V2 Test Framework in Launchpad. The latest version 2 code (NUnit 2.6.3) is available here and at NUnit is a test framework for all .Net languages, running on Microsoft .NET and Mono.

NUnit V2 Test Framework in Launchpad

NUnit is written in C# but can run tests written in any language that generates managed code. Initially ported from JUnit, it has been completely redesigned to take advantage of the features of the common language runtime, such as custom attributes, generics and lambda expressions. CodePlex - Open Source Project Hosting. Code Contracts. Sign in to write a review Sort by: Build performance degradation kills all the good things in this solution.

Code Contracts

GoDiagram for Microsoft .NET graphics. Now available: version 5.1 with Visual Studio 2012 and 2013Support GoDiagram has been designed and implemented to take advantage of the many new features that Microsoft .NET provides. GoDiagram is implemented entirely in managed code. GoDiagram is just what you need to bring your application to life, quickly and easily. Productivity Tools for Visual Studio® - Coding Assistance and Refactoring Add-ins. Application Architecture Guide, 2nd Edition. Patterns & practices Developer Center October 2009 This guide is available online here in the MSDN Library and as a Microsoft Press book, ISBN# 9780735627109, that you can purchase through local and online booksellers such as Amazon, Barnes & Noble and BORDERS.

The guide is intended to help developers and solution architects design and build effective, high quality applications using the Microsoft platform and the .NET Framework more quickly and with less risk; it provides guidance for using architecture principles, design principles, and patterns that are tried and trusted. The guidance is presented in sections that correspond to major architecture and design focus points. It is designed to be used as a reference resource or to be read from beginning to end.

ADO.NET EF

Data Developer Center. Visual Studio Magazine Home. Patterns & practices: Developer Center Home. Página de ejemplos de Visual Studio 2008. Microsoft Virtual Academy. Web Platform – Start Building Better Websites. MVC 3. (includes April 2011 Tools Update) ASP.NET MVC 3 is a framework for building scalable, standards-based web applications using well-established design patterns and the power of ASP.NET and the .NET Framework.

It installs side-by-side with ASP.NET MVC 2, so get started using it today! The Dynamic Programmer - Hernan Garcia. Gitscc - Release: V 0.6.0. Please donate to support the project. For VS 2010/2012/2013 users, it is recommanded to install it within Visual Studio by selecting Tools | Extension Manager. Run Visual Studio. Directorio de productos de Microsoft que aceptan errores y sugerencias. WPF FlowChart Component, WPF Diagram Control, .NET FlowChart Control, ActiveX Flowchart Control, Diagramming Component ActiveX, Reporting Control, Java Class Library, Silverlight FlowChart Control, Schedule Component, Calendar Control, Chart Control, Pack.

NodeXL: Network Overview, Discovery and Exploration for Excel. ICEdotNet - Release: ICE 1.0.3. In This Build ICE Starter Kit 1.0.3 -- updated ICE.XAP file to correct issue of nodes not showing up the first time, when more than one starting nodes was used.ICE - IconLibrary Sources.zip (Default Theme - Sources) -- tools.cs modified to fix a bug with color not using the correct namespace, so colors couldn't be easily applied to objects.ICE - Getting Started Tutorial.doc -- modifications include: - links to live demos for step 4, step 5 and step 8- documentation of the GRAVITY option (can be negative or positive gravity)- correction of namespace in XML setting files (we now use defaultTemplate rather than defaultDrawingInformation)- addition of source code for a completely new example of node customization, which also explains how to differentiate selected nodes from unselected nodes (which leads to some cool creativity) ICE Starter Kit.zip -- Contains all the files you need to add in your project (ICE Silverlight XAP file, XSD file, IconLibrary.dll).

NDepend Home Page.

Remoting

3.5. Asp.net. Planet .NET. RichTextBox. Double.ToString Method (String) (System) Design Guidelines for Developing Class Libraries. Project Directory. Decimal vs. Double - difference?