Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have a need for radiobuttons. Now i have three radiobuttins like this:

C#
@using (Html.BeginForm())
{ @Html.RadioButtonFor(model => model.PriceLimit, new { id = 0 })
@Html.Label("All")

@Html.RadioButtonFor(model => model.PriceLimit, new { id = 1 })
@Html.Label("Price Above 500")

@Html.RadioButtonFor(model => model.PriceLimit, new { id = 2 })
@Html.Label("Price Below 500")
}



when i click on first radiobutton all items should be listed in the webgrid. when clicked on second radiobutton only items above price 500 should be listed and when click on third items with price less than 500 should be listed.

what i should do? Please anyone help i am new to MVC4.

Thanks in Advance.
Posted
Comments
Jameel VM 15-Jul-13 3:14am    
can you post the actionResult for loading the webgrid

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900