Monday, December 27, 2010

Some Links about Word

ASP.Net MVC tips n tricks

Tuesday, December 21, 2010

Working with CollapsiblePanelExtender Ajax

Here is some link about CollapsiblePanelExtender.

Working with MVC

Here is some links about MVC.
==> MVC 1.0
(1) ASP.NET MVC Framework - ScottGu's Blog

(2) ASP.NET MVC Framework (Part 1) - ScottGu's Blog

(3) ASP.NET MVC Framework (Part 2): URL Routing - ScottGu's Blog

(4) ASP.NET MVC Framework (Part 3): Passing ViewData from Controllers to Views - ScottGu's Blog

(5) ASP.NET MVC Framework (Part 4): Handling Form Edit and Post Scenarios - ScottGu's Blog
(6) ASP.NET MVC Framework Road-Map Update
(7) Free ASP.NET MVC “NerdDinner” Tutorial Now in HTML - ScottGu's Blog

(8) ASP.NET MVC 1.0 - ScottGu's Blog

(9) Download details: ASP.NET MVC 1.0

(10) Upgrading an ASP.NET MVC 1.0 Application to ASP.NET MVC 2: The Official Microsoft ASP.NET Site

(11) ASP.NET MVC Source Code Now Available - ScottGu's Blog

==> MVC 2
(1) ASP.NET MVC 2 Released - ScottGu's Blog

(2) ASP.NET MVC 2 - ScottGu's Blog

(3) ASP.NET MVC 2: Strongly Typed Html Helpers - ScottGu's Blog

(4) ASP.NET MVC 2: Model Validation - ScottGu's Blog

(5) What’s New in ASP.NET MVC 2: The Official Microsoft ASP.NET Site

(6) Download details: ASP.NET MVC 2 RC

(7) Localizing ASP.NET MVC Validation

==> MVC 3

(1) Introducing ASP.NET MVC 3 (Preview 1) - ScottGu's Blog

(2) Download details: ASP.NET MVC 3 RC2

(3) Download details: ASP.NET MVC 3 Release Candidate

(4) Brad Wilson: ASP.NET MVC 3 Service Location, Part 1: Introduction

(5) HTML5 Improvements with the ASP.NET MVC 3 Tools Update

(6) EF Code First and Data Scaffolding with the ASP.NET MVC 3 Tools Update

(7) ASP.NET MVC 3 Tools Update
   
     Introducing Razor
     (1) Introducing Razor

     (2) New @model keyword in Razor 

     (3) Layouts with Razor

     (4) Server-Side Comments with Razor

     (5) Razor’s @: and syntax

     (6) Implicit and Explicit code nuggets with Razor

     (7) ASP.NET MVC 3: Layouts and Sections with Razor

     (8) ASP.NET MVC 3 and the @helper syntax within Razor           
     

Friday, November 12, 2010

Some useful jQuery small functions

Here is some small jQuery functions.
(1) ready and load functions
    - ready and load functions
    $(document).ready(function() {
     // executes when HTML-Document is loaded and DOM is ready
     alert("document is ready");
    });
   
    $(window).load(function() {
     // executes when complete page is fully loaded, including all frames, objects and images
     alert("window is loaded");
    });

    - hide the div on ready with the given class name
    jQuery(document).ready(function () {
            jQuery("div[class='class1 class2']").hide();
     });

(2) set the text of the label
jQuery("#Label1").text("Label1");
text


(3) set the attribute(attr())
//set single attribute
jQuery("#img").attr("src", "../images/up.png");

//set multiple attributes at once
$("#img").attr({
  alt: 'This is alt',
  title: 'This is title'
});

attr

(4) set the css for the div
jQuery("#div").css("display") = "none"
css

(5) show the div
jQuery("#div").show();
show

(6) hide the div
jQuery("#div").hide();
hide


(7) addClass/remove class
Hello
and
Goodbye

$("p:last").addClass("selected"); //adds the class to

$('p').removeClass('myClass noClass').addClass('yourClass') //removes class and add new one
addClass

(8) find the length of the  textbox value
var myLength = $("#TextBox1").val().length;
length

(9) Check the browser
- returns true if browser is Internet Explorer
    $.browser.msie
- Check whether the browser if mozilla
   if(
$.browser.msie)
      alert("Do stuff for IE");
   else      alert("Do stuff for firefox");  });

(10) working with substring
- check whether the substring is there or not
$.isSubstring("hello world", "world")); // true;

- gets the substring from o start position to 40 end position
$("#TextBox1").val().substring(0, 40);

(11) string uppercase & lowercase
//Lowercase
$("#TextBox1").val().toLowerCase();
//Uppercase
$("#TextBox1").val().toUpperCase();

(12) split the word
var element = $("#TextBox1").text().split(" ");
alert(element);
text

(13) Create new element
//append some text to the p element
$("p").append("Hello");

//to append new element to div main

$('My Anchor').appendTo('div#main');

//Crteate an element
$("").appendTo('body'); //This will append div to body
appendTo

(14) create clone of the element
a paragraph

$("p").clone().add("Again").appendTo(document.body);
clone

(15) Replacing using jQuery
replaceWith

(16) s ways to remove all of the information bound to an elemtnt
$("div").removeData(); 
removeData
$("div").remove();
remove

(17) to remove the attribute
jQuery("#" + "<%=TextBox1.ClientID %>").removeAttr("disabled");
removeAttr

(18) trim string using jQuery
var myString = " an example of a string ";
myString = jQuery.trim(myString);
trim

(19) //Determinig the width
- find the width of the element
$("#main").innerWidth();
innerWidth

- find the width of the window
$(window).width();
width

(20) binding the click event
$('#table td ').click(function() {
   alert("The TD you clicked contains '" + $(this).text() + "'");
});
$('#table td ').bind('click', function() {
  alert("The TD you clicked contains '"+$(this).text()+"'");
});
click 

(21) check all checkbox using jQuery

Where
(1) "selectAll" is button on click of the checkboxes should be checked
(2) on click of the button it will loop through the all the checkbox items and check one by one
SelectAll CheckBox

(22) how to fill full calender using the jQuery

(23) check whether the checkboxes provided are checked or not, if not then prompt message for the same
$("#<%= Button1.ClientID %>").click(function () {
            var n = $("input:checked").length;
            if (n > 0)
                return true;
            else {
                alert('Please select checkboxes.');
                return false;
            }
        });

(24) confirming the gridview onclick of the remove
$(document).ready(function() {
            //To remove the row on click on click of the row
            $("#<%=grdStudent.ClientID%> tr").click(function() {
                //Get confirmation from the user
                var answer = confirm('Are you sure you want to delete->' + $(this).find("td:first").html());
                //if answer is true remove the row(here you can remove row from database)
                if (answer) {
                    //Change the backgroupd color while removing the GridView row and fade out feel to the user
                    $(this).css("background-color", "green");
                    $(this).fadeOut(500, function() {
                        $(this).remove();
                    });
                }
            });
        });

GridView and jQuery Confirm

(25) Validate inputboxes using jQuery 

(26) Load Page Content
ASP.NET MVC Loading a page content into a div using JQuery 

load 

(27) validation method required
Plugins/Validation/Methods/required 

(28) scroll webpage to top of the page
Go to top of the page using jQuery
How do I scroll to the top of the page with jQuery?
Scroll to the top of a webpage with jQuerySmooth Page Scroll to Top with jQueryScrolling to the Top and Bottom with jQuery       
              

Thursday, October 14, 2010

Some Links about Excel


Here is some links about various topics in excel.

- Named Range and Data Validations

TFS Tips n Tricks


Here is some links of Tips n Tricks of TFS.
(1) An Overview of Source Control in Visual Studio Team System

(2) TFS 2008 Tips and Tricks: Enable Get Latest on Check Out « Sushantp’s Weblog

(3) Prabir's Blog | Save Team Foundation Server Password

(4) Visual Studio Team Foundation Server-Use of Annotate Feature

(5) Tips and Tricks, Visual Studio ALM, and Team System by Neno Loje

(6) INDC Talk: Top Ten Tips for Team Foundation Server

(7) Sept 2010 TFS Power Tools Release Available's WebLog - Site Home - MSDN Blogs

(8) A Developer's Life: Visual Studio 2010/TFS 2010 Utility Roundup

(9) Connect to Tfs with defferent credentials

- Connect to TFS with different user credentials - Stack Overflow

- TFS Top Tip #2: Changing the Logged In User 

(10) TFS 2008 Web Access Report View Missing data

(11) TFS 2008 Web Access Report 100 record limitation

(12) Enable Visual Studio 2010 Online Template/Extension usage         

Unit Test With Visual Studio

Here is some link about Creating Unit Test with Visual Studio.

Wednesday, October 13, 2010

ASP.NET Web Development Server


Here is some links that shows about ASP.NET Web Development Server

What is Visual Web Developer?

How to start ASP.NET Development Server from command prompt


OOPS/C# Related Links


Here is some links for the OOPS concepts.
(1) ASP.NET article index from 4guysfromrolla.com

(2) Using Object-Orientation in ASP.NET : Overview

(3) 4GuysFromRolla.com-Orientation in ASP.NET : Encapsulation

(4) Understanding Interfaces and Their Usefulness

(5) Using Object-Orientation in ASP.NET: Inheritance

(6) 4GuysFromRolla.com-Orientation in ASP.NET: Polymorphism

(7) Abstract classes & methods

(8) Abstract Class versus Interface

(9) Method overloading# Tutorial

(10) Method Overriding in C#

(11) const, static and readonly at C# Online.NET (CSharp-Online.NET)

Difference between a constant and readonly variables/fields : (constant vs readonly)'s den...

(12) Generics in .NET 2.0

(13) System.Collections.Generic Namespace

An Introduction to C# Generics

Generic HashTable in C#.NET Forums


(14) The "Using" Statement in C#

C# Code Review# Using Statement - Try / Finally - IDisposable - Dispose() - SqlConnection - SqlCommand

Which is better, and when: using statement or calling Dispose() on an IDisposable in C#?

(15) var vs dynamic keyword in C# 4.0

C# 4.0-Dynamic Data Type, Difference between var and dynamic

(16) Indexer class in C#

(17) Yield statement in C#

(18) Partial Types, Class and Method in C#.NET 3.0/2.0

(19) DataSet Vs Datareader

(20) What is the difference between User Control and Custom Control

(21) The C# ?? null coalescing operator (and using it with LINQ)'s Blog

(22) Authentication and authorization in asp.net

(23) Application vs. AppDomain - Scott Forsyth's Blog
Enter the .Net AppDomain

(24) Understanding ASP.NET View State
What's better, a hidden form field or viewstate?

(25) Kodyaz Development Resources - Page.IsValid cannot be called before validation has taken place. It should be queried in the event handler for a control that has CausesValidation=True and initiated the postback, or after a call to Page.Validate.
Page.IsValid cannot be called before validation has taken place. It should be queried in the event handler for a control that has CausesValidation

(26) Regular Expression in C#
Regular Expressions Example

C# Regular Expression Recipes—Using Common Patterns at C# Online.NET (CSharp-Online.NET)

Regular Expressions Usage in C#

(27) An Intro to Constructors in C# - CodeProject

- Tips n Tricks for C#
(1) ASP.NET 2.0 Tips, Tricks, Recipes and Gotchas - ScottGu's Blog

(2) Simple ASP.NET 2.0 Tips and Tricks that You May (or may not) have Heard About - Dan Wahlin's WebLog

(3) Hidden Features of C#? - Stack Overflow

(4) C# 2010 - A look

(5) Simple Delegate Example ...

(6) Hidden Features of C#? - Stack Overflow

(7) C# 3.0/4.0 in a Nutshell - PredicateBuilder 

Saturday, June 12, 2010

Working with Themes & Skins

Here is some link that shows working with Themes and skins in .net.
(1) Themes and skins in ASP.NET 2.0

(2) ASP.NET Themes and Skins Overview

(3) Themes In ASP.NET 2.0

Working on Authorize.Net


Here is some link that shows how to work/implement with Authorize.Net.

Open new window using window.open

Here is some link that shows how to open new window using javascript.

Working with RadWindow

Here is some link that shows working with Telerik RadWindow.
(1) RadWindowManager Client API

(2) Telerik RadWindow for ASP.NET AJAX.com ASP.NET Resource Directory
 
- Rad Window Change Behaviour
(1) Controlling RadWindow's behavior

(2) ASP.NET Window Demo - What's new - Behaviors

(3) ASP.NET Window Demo - Functionality - Automatically Change Size

- Rad Window Returning value on close
(1) ASP.NET Window Demo - Returning Values from a Dialog

(2) closing rad window - Window Forum - ASP.NET Classic Controls

(3) Passing more than one return value from a rad window using close(args) - Window Forum - ASP.NET Controls

(4) Close Rad Window after ajax calls - Window Forum - ASP.NET Controls

Monday, January 25, 2010

Working with jQuery


Here is some links that shows how to working with jQuery.
- jQuery Introduction
(1) An Introduction to jQuery - Part 1: The Client Side


(2) Downloading jQuery - jQuery JavaScript Library

- Popup window

Calling Server side function using Ajax

Here is some links that shows working with call server side function using Ajax.


AutoComplete using Ajax

Here is some links that shows working with autocomplete using Ajax.








Remove html element using Javascript


Here is some links that shows how to remove html element.

Wednesday, January 13, 2010

LINQ


Here is some links about LINQ.
- LINQ Introduction
(1) Using LINQ with ASP.NET (Part 1) - ScottGu's Blog
(2) Introduction to LINQ
- LINQ with DataSet
(1) LINQ to DataSet Overview
(2) CodeProject: Usage of LINQ and Datasets in Compact Framework 3.5. Free source code and programming help
(3) ASP.NET Wiki: Data Access: LINQ: LINQ to DataSets
- LINQ with OrderBy
(1) Programmatically set the orderby and ascending/descending clause in a Linq statement - ASP.NET Forums
(2) Dynamic LINQ OrderBy - Stack Overflow
(3) Dynamic LINQ (Part 1: Using the LINQ Dynamic Query Library) - ScottGu's Blog
(4) Marco Russo : Use of Distinct and OrderBy in LINQ
- LINQ with Distinct
(1) Use Linq Distinct to get the distinct value in an array : Distinct « LINQ « C# / C Sharp
(2) Select distinct values in all nested collections using LINQ to objects? - Stack Overflow
(3) nested linq queries, how to get distinct values? - Stack Overflow
-
LINQ with CASE Statement
(1) LINQ To SQL - CASE Statements
(2) LINQ & CASE | Tech Off | Channel 9
- LINQ with SingleResult
(1) Unable to cast object of type 'SingleResult to datalist : asp.net, vb.net, datalist, linq, sql, cast
(2) Problem by calling stored procedure using LINQ
(3) Linq - Unable to cast object of type 'SingleResult`1[GetAdByIdResult]' to type 'GetAdByIdResult' - ASP.NET Forums
(4) Craig Stuntz’s Weblog : In LINQ, Don’t Use Count() When You Mean Any()
- LINQ Operations
(1) Generic Collections(T) Operations using C# 2.0 and VB.NET
(2) Rajan's Blog
(3) Add, Retrieve, and Remove items from Generic List | C# Collections and Generics | w3mentor
- LINQ with Contains
(1) Linq to SQL how to do "where [column] in (list of values)"
- Samples N Examples
(1) 101 LINQ Samples
(2) ASP.NET - How to loop through items in a CheckBoxList using LINQ and C#, ASP.NET & Web Development, C#,VB.NET,XAML,.NET
(3) Using let in LINQ to Objects – Performance killer if used wrong way
(4) Grouping with joins in a LINQ - ASP.NET Forums
(5) Ben Hall's Blog: Linq to SQL Stored procedure vs Functions
(6) Query Examples (LINQ to SQL)
(7) How to: Formulate Joins and Cross-Product Queries (LINQ to SQL)
(8) Hello - ASP.NET Forums
(9) Building LINQ Queries at Runtime in C# | Blog | TomasP.Net
(10) Calling functions in LINQ queries | Blog | TomasP.Net

Thursday, January 7, 2010

Working with DateTime using Asp.Net & Sql Server


Telerik Rad Upload

Here is some links about RadUploader.

Custom Paging (with asp.net)


Here is some links which is examples how to perform custom paging.
(1) GridView Control PagerTemplate in C# and ASP.NET

(2) GridView.PagerTemplate Property (System.Web.UI.WebControls)

(3) Asp.Net GridView Control Custom Sorting and Paging with Image Indicator - GridView Sorting in TemplateFiled - HeaderTemplate Section

(4) Custom Paging for GridView — CodeGuru.com

(5) ASP.NET GridView with Custom Paging UI

(6) CodeProject: GridView Custom Paging. Free source code and programming help

(7) Mahesh’s Blog: How to implement Custom paging Using ASP.NET Data Grid

(8) Using the Repeater Control with PagedDataSource in C#

(9) ASP.NET Library- Add paging to a repeater

(10) ASP.NET.4GuysFromRolla.com: Adding Paging Support to the Repeater or DataList with the PagedDataSource Class

(11) CodeProject: Paging using PagedDataSource class. Free source code and programming help

- PagedDataSource
(1) PagedDataSource Class (System.Web.UI.WebControls)

(2) PagedDataSource Class