We can retrieve data from URL to controller action method by two methods in asp.net mvc such as parameter of action method function and Query string. We can get Query string value just like web forms as Request.QueryString.
The function is expecting an id parameter it was not supplied. Otherwise we need to change the parameter function as optional like below function; it will not throw an error.
In this example I will show you how to bind viewbag value to an html control using jQuery in mvc.
In this example I will show you how to bind data in asp.net vb gridview using JQuery. I used Html table structure to populate data to gridview.
Radio button allows user to select one option from series of choices. In this example I will show you how to generate a radiobuttonlist in mvc using Html.RadioButtonFor.
When I was trying to run the application I had faced this problem. I resolved by selecting the complete object that result will consists of complete customer objects. But before I selected a subset of the customer objects, just two members.
In this example I will show you how to reverse the order of the array element using c# Linq. I stored list of numbers in an integer array in a variable. I need to include namespace System.Linq and used reverse extension method. The result will be element of arrays in the opposite direction.
In this example I will show you how to pass integer array from controller to a view. I stored list of numbers in an integer array and index function will return that in a view.
Tabs are horizontally displaying like menu tab, jQuery ui widget is used to toggle the visibility of the elements. Other than active panel the contents of all section is set to display: none. We can also customize the css effects, events as our wish. This example you will learn briefly about how to implement jQuery menu tab.
In this example I will show you how to pass string to view mvc in application. The appropriate way to you must cast in to an object and return as view. In view model you must define the object type and write the string in required place.