Click here to Skip to main content
15,888,610 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionBest Practise Pin
abhi_24311-Feb-14 16:55
professionalabhi_24311-Feb-14 16:55 
AnswerRe: Best Practise Pin
Peter Leow1-Feb-14 17:30
professionalPeter Leow1-Feb-14 17:30 
AnswerRe: Best Practise Pin
Prasad Vj1-Feb-14 22:12
professionalPrasad Vj1-Feb-14 22:12 
QuestionRadiobutton not fire an event.. Pin
Member 1051352931-Jan-14 23:09
Member 1051352931-Jan-14 23:09 
AnswerRe: Radiobutton not fire an event.. Pin
Prasad Vj1-Feb-14 21:50
professionalPrasad Vj1-Feb-14 21:50 
QuestionASP.NET MVC Pin
woopsydoozy31-Jan-14 4:59
woopsydoozy31-Jan-14 4:59 
AnswerRe: ASP.NET MVC Pin
thatraja2-Feb-14 21:20
professionalthatraja2-Feb-14 21:20 
QuestionAJAX/Web Services and GET vs. POST Pin
littleGreenDude30-Jan-14 10:03
littleGreenDude30-Jan-14 10:03 
I'm still trying to wrap my head around this, so I'm not even sure I will be asking the right question...

I have a method that makes a call to a web service to get a result set. That result set is returned to the caller in Json format.

When the method makes the request to the service, is that an HTTPGET or an HTTPPOST request?

If the answer is it depends, is there a way to distinguish between the 2?

How do I know when I need to include the JsonRequestBehavior.AllowGet argument on my Json call?

Confused | :confused:

C#
public virtual ActionResult ListAjax([DataSourceRequest] DataSourceRequest request)
{
    var d = myWebService.GetD(s, c, f);
    var dList = d.Select(x => x.DId).ToList();
    DataSourceResult result = d.ToDataSourceResult(request);
    return Json(result);
}


modified 31-Jan-14 7:15am.

AnswerRe: AJAX/Web Services and GET vs. POST Pin
Gopi Kishan Mariyala31-Jan-14 0:27
Gopi Kishan Mariyala31-Jan-14 0:27 
GeneralRe: AJAX/Web Services and GET vs. POST Pin
littleGreenDude31-Jan-14 1:47
littleGreenDude31-Jan-14 1:47 
GeneralRe: AJAX/Web Services and GET vs. POST Pin
Gopi Kishan Mariyala31-Jan-14 1:50
Gopi Kishan Mariyala31-Jan-14 1:50 
QuestionLoading ascx control Using C# code Pin
Saeed Ansarinejad30-Jan-14 6:48
Saeed Ansarinejad30-Jan-14 6:48 
Questionhow to download xlsx file from sftp & convet into datatable Pin
antony beula30-Jan-14 1:04
antony beula30-Jan-14 1:04 
AnswerRe: how to download xlsx file from sftp & convet into datatable Pin
Richard Deeming30-Jan-14 2:10
mveRichard Deeming30-Jan-14 2:10 
Questionupdate a row in gridview when checkbox is checking (using button) Pin
Member 1036798129-Jan-14 12:12
Member 1036798129-Jan-14 12:12 
AnswerRe: update a row in gridview when checkbox is checking (using button) Pin
Member 1036798129-Jan-14 12:17
Member 1036798129-Jan-14 12:17 
AnswerRe: update a row in gridview when checkbox is checking (using button) Pin
Richard Andrew x6429-Jan-14 14:07
professionalRichard Andrew x6429-Jan-14 14:07 
AnswerRe: update a row in gridview when checkbox is checking (using button) Pin
vishal.gavle29-Jan-14 20:29
vishal.gavle29-Jan-14 20:29 
QuestionMove items between 2 asp listbox with SQL Data Source and double click event Pin
Member 775837529-Jan-14 5:16
Member 775837529-Jan-14 5:16 
AnswerRe: Move items between 2 asp listbox with SQL Data Source and double click event Pin
Kornfeld Eliyahu Peter29-Jan-14 6:19
professionalKornfeld Eliyahu Peter29-Jan-14 6:19 
AnswerRe: Move items between 2 asp listbox with SQL Data Source and double click event Pin
Prasad Vj2-Feb-14 1:47
professionalPrasad Vj2-Feb-14 1:47 
Questionuser role - web api Pin
miss78629-Jan-14 5:03
miss78629-Jan-14 5:03 
AnswerRe: user role - web api Pin
Deflinek30-Jan-14 0:24
Deflinek30-Jan-14 0:24 
GeneralRe: user role - web api Pin
miss78630-Jan-14 0:43
miss78630-Jan-14 0:43 
GeneralRe: user role - web api Pin
Deflinek30-Jan-14 2:27
Deflinek30-Jan-14 2:27 

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.