Click here to Skip to main content
16,018,949 members

Comments by Member 8454063 (Top 18 by date)

Member 8454063 28-Dec-13 23:18pm View    
"ICollection<httppostedfilebase> FileUpload900 " get some images . i want to check every item is image or not . my first code works for " HttpPostedFileBase File128 " correctly . but dose not work for "ICollection<httppostedfilebase>" . i don't know how can i browse it's items and check them .
Member 8454063 28-Dec-13 11:48am View    
no , i trace my code . it gets image . _value is not null . but _value as HttpPostedFileBase is null . why?
Member 8454063 26-Sep-13 14:23pm View    
i wanna news
Member 8454063 12-Sep-13 10:33am View    
no it dose not work . i changed all code . put just one field . alert(xhr.status); is executed and shows 0 . so i changed code to below. now, althoghe dose not show Error and 0, but wil pass username null to controller like before .

function saveMyModel() {
var url = '@Url.Action("Save", "Home")';
$.post(url, {
username: ‘jack’
}, function (data) {
if (data)
alert("ok");
else
alert("Error ");

});
}
Member 8454063 12-Sep-13 7:16am View    
Pooja Dhanani thanks , is it possible you see my updated question?