Articles - Microsoft.net

0

Like

The controller gets the first hit and loads the model. Most of the time we would like to pass the model to the view for display purpose.

As an ASP.NET developer your choice would be to use session variables, view state or some other ASP.NET session management object.

The problem with using ASP.NET session or view state object is the scope. ASP.NET session objects have session scope and view state has page scope. For MVC we would like to see scope limited to controller and the view. In other words we would like to maintain data when the hit comes to controller and reaches the view and a ...Read more
Posted by: Michael
On 20 Sep 2011 | Views: 841 | Categories: MVC
0

Like

The goal of this tutorial is to explain how you can pass data from a controller to a view master page. We examine two strategies for passing data to a view master page. First, we discuss an easy solution that results in an application that is difficult to maintain. Next, we examine a much better solution that requires a little more initial work but results in a much more maintainable application. ...Read more
Posted by: Michael
On 20 Sep 2011 | Views: 737 | Categories: MVC
0

Like

The ASP.NET MVC framework provides page-level containers that can pass data between controllers and views. This topic explains how to pass both weakly typed and strongly typed data in an MVC application. It also explains how to pass temporary state data between action methods. ...Read more
Posted by: Michael
On 20 Sep 2011 | Views: 757 | Categories: MVC
0

Like

The ASP.NET MVC framework provides page-level containers that can pass data between controllers and views. This topic

explains how to pass both weakly typed and strongly typed data in an MVC application. It also explains how to pass

temporary state data between action methods

Passing Data Between a Controller and a View
To render a view, you call the View method of the controller. To pass data to the view, you use the ViewData property of ...Read more
Posted by: Michael
On 20 Sep 2011 | Views: 760 | Categories: MVC
0

Like

This article focuses on how to bind ASP.NET GridView using WCF Service and Client Scripting to avoid page postback and provide more performance to our ASP.NET pages.

Background

I will describe all the details of the project including the small details to provide more experience to all developers, but still you can modify the code as per your need so you can (for example) retrieve the List of data from database because in this article. I use static data from my code to avoid you working with attached database and connections and to keep you from forgetting the main idea of our article. ...Read more
Posted by: Teena
On 17 Sep 2011 | Views: 957 | Categories: WCF, AJAX
0

Like

What we want to achieve is to dynamicly insert TabItems, with dynamic header. Plus at any one time there may only be one TabItem, so we need to check if the tabControl contains the tabItem before creating. MainWindow.xaml ...Read more
Posted by: Teena
On 17 Sep 2011 | Views: 1444 | Categories: WPF
0

Like

Howto use the ribbon:RibbonCombobox:
The main question is how do I retreave the selectedItem from the ribbonComboBox The answer is in the "naming" of the xaml elements and using the correct element-properties.

Step 1) Mainwindow.xaml ...Read more
Posted by: Teena
On 17 Sep 2011 | Views: 1356 | Categories: WPF
0

Like

The .NET Page class contains two methods ResolveUrl and ResolveClientUrl which are at first glance looks same. They both took same relative URL and returns browser friendly URl. So why 2 function to do the same job? Though their functionality is same but their way of returning client brower relative url makes the huge difference.ResolveClientUrl returns a path relative to the current page which user currently browsing, and ResolveUrl returns a path relative to the site root that is configured as root in IIS. ...Read more
Posted by: Teena
On 17 Sep 2011 | Views: 514 | Categories: ASP.NET
0

Like

Pinging a network IP or Hostname is not available in Silverlight. But you can do this using WCF service. In this post I am going to implement the same thing for you. I am using Silverlight 4 here. But this can also be possible in Silverlight 3.

Code of use:
Create a Silverlight application with Silverlight hosting website as "ASP.NET Web Site": ...Read more
Posted by: Teena
On 17 Sep 2011 | Views: 1565 | Categories: Silverlight, ASP.NET
2

Like

Datasets store a copy of data from the database tables. However, Datasets can not directly retrieve data from Databases. DataAdapters are used to link Databases with DataSets. If we see diagrammatically,

DataSets ----- DataAdapters ----- DataProviders ----- Databases

DataSets and DataAdapters are used to display and manipulate data from databases. ...Read more
Posted by: Michael
On 15 Sep 2011 | Views: 2903 | Categories: ASP.NET, ADO.NET
Page 90 of 95
Other lins

.Net Techies
Other lins