Click here to Skip to main content
15,900,906 members
Home / Discussions / C#
   

C#

 
GeneralRe: XSL to get only elements which have no childs Pin
MrKBA19-Sep-17 0:26
MrKBA19-Sep-17 0:26 
Questioni need Visual Studio .NET 2002 prerequisites cd Pin
michael nabil18-Sep-17 23:05
michael nabil18-Sep-17 23:05 
AnswerRe: i need Visual Studio .NET 2002 prerequisites cd Pin
OriginalGriff18-Sep-17 23:14
mveOriginalGriff18-Sep-17 23:14 
QuestionMessage Closed Pin
16-Sep-17 18:15
professionalHardevsinh Mori16-Sep-17 18:15 
AnswerRe: SQLTransaction Pin
OriginalGriff16-Sep-17 19:57
mveOriginalGriff16-Sep-17 19:57 
GeneralRe: SQLTransaction Pin
Hardevsinh Mori16-Sep-17 20:24
professionalHardevsinh Mori16-Sep-17 20:24 
GeneralRe: SQLTransaction Pin
Hardevsinh Mori16-Sep-17 20:26
professionalHardevsinh Mori16-Sep-17 20:26 
GeneralRe: SQLTransaction Pin
OriginalGriff16-Sep-17 21:44
mveOriginalGriff16-Sep-17 21:44 
GeneralRe: SQLTransaction Pin
Hardevsinh Mori16-Sep-17 21:47
professionalHardevsinh Mori16-Sep-17 21:47 
GeneralRe: SQLTransaction Pin
OriginalGriff16-Sep-17 21:49
mveOriginalGriff16-Sep-17 21:49 
GeneralRe: SQLTransaction Pin
Hardevsinh Mori16-Sep-17 21:51
professionalHardevsinh Mori16-Sep-17 21:51 
GeneralRe: SQLTransaction Pin
OriginalGriff16-Sep-17 21:58
mveOriginalGriff16-Sep-17 21:58 
Questionc# project Pin
Member 1341347616-Sep-17 11:26
Member 1341347616-Sep-17 11:26 
AnswerRe: c# project Pin
Afzaal Ahmad Zeeshan16-Sep-17 11:57
professionalAfzaal Ahmad Zeeshan16-Sep-17 11:57 
AnswerRe: c# project Pin
Mycroft Holmes16-Sep-17 20:50
professionalMycroft Holmes16-Sep-17 20:50 
QuestionRefresh Partial View Pin
sunsher15-Sep-17 22:57
sunsher15-Sep-17 22:57 
Hi,

I am developing a Web Application with Asp.NET MVC5. As I dont have much experience, I am stuck with a functionality using JQuery and Partial View.

I have a Side Menu as a partial view in a page. This partial view contains a DropdownList which is populated from model, and it works fine. However, I want to display a list of items from the db when the dropdown is selected, based on the selection, which is not working.

Partial View (_UserPartialView)
$('#dropdown').change(function(){
var item = $(this).val(); 
$.get("/Controller/GetItems/" +  item, function(data)
{
   ('#target').html(data); 
}); 
 
Controller 
 
public ActionResult (int id)
{
   var test = db.Users.Where(e => e.cId = id);
 
   return PartialView(" _UserPartialView", test);
} 

Please help.

Thanks
AnswerRe: Refresh Partial View Pin
Richard MacCutchan15-Sep-17 23:45
mveRichard MacCutchan15-Sep-17 23:45 
Questionhow add video support in my application? Pin
Le@rner15-Sep-17 19:19
Le@rner15-Sep-17 19:19 
AnswerRe: how add video support in my application? Pin
Richard MacCutchan15-Sep-17 22:05
mveRichard MacCutchan15-Sep-17 22:05 
AnswerRe: how add video support in my application? Pin
jschell18-Sep-17 12:39
jschell18-Sep-17 12:39 
QuestionC# Dropdown to populate Relationship Tables Pin
Member 1341198315-Sep-17 4:56
Member 1341198315-Sep-17 4:56 
AnswerRe: C# Dropdown to populate Relationship Tables Pin
OriginalGriff15-Sep-17 5:28
mveOriginalGriff15-Sep-17 5:28 
Questionhow to encrypting and decryption pixel of image in C# Pin
WI54M13-Sep-17 23:18
WI54M13-Sep-17 23:18 
AnswerRe: how to encrypting and decryption pixel of image in C# Pin
OriginalGriff13-Sep-17 23:23
mveOriginalGriff13-Sep-17 23:23 
GeneralRe: how to encrypting and decryption pixel of image in C# Pin
WI54M13-Sep-17 23:47
WI54M13-Sep-17 23:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.