Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
AnswerRe: download webpage Complete Pin
Richard MacCutchan10-Aug-14 1:51
mveRichard MacCutchan10-Aug-14 1:51 
QuestionRe: download webpage Complete Pin
Member 947380910-Aug-14 4:07
Member 947380910-Aug-14 4:07 
AnswerRe: download webpage Complete Pin
Richard MacCutchan10-Aug-14 6:09
mveRichard MacCutchan10-Aug-14 6:09 
AnswerRe: download webpage Complete Pin
Kornfeld Eliyahu Peter10-Aug-14 6:28
professionalKornfeld Eliyahu Peter10-Aug-14 6:28 
GeneralRe: download webpage Complete Pin
Member 947380910-Aug-14 18:32
Member 947380910-Aug-14 18:32 
QuestionRe: download webpage Complete Pin
Member 947380911-Aug-14 5:42
Member 947380911-Aug-14 5:42 
AnswerRe: download webpage Complete Pin
Eddy Vluggen11-Aug-14 7:06
professionalEddy Vluggen11-Aug-14 7:06 
QuestionRe: download webpage Complete Pin
Member 947380911-Aug-14 21:33
Member 947380911-Aug-14 21:33 
I am using this code in ASP.net :

 <script type="text/javascript">
       function getDataS() {
           var dd = '{"jsonrpc":"2.0","method":"getPostList","id":1,"params":[1,[["place2",0,[1,1]]],173099135176724],"hash":"decfe7c9183f16efa1291f5131902f7d4ef4ff14"}';
           $.ajax({
               type: "POST",
               //type: "GET",
               url: "http://tehran.divar.ir/browse/json/?tm=1407824648578",
               // url: 'http://tehran.divar.ir/browse/',
               //url: "http://tehran.divar.ir/",
               contentType: "application/json; charset=utf-8",
               // contentType:"application/x-www-form-urlencoded; charset=UTF-8",
               dataType: "json",
               async: true,
               crossDomain: true,
               data: '{"jsonrpc":"2.0","method":"getPostList","id":1,"params":[1,[["place2",0,[1,1]]],173199866315710],"hash":"13210760e20de99b8218be5cc465851fcb6aa74a"}',
               //data: "{'jsonrpc':'2.0','method':'getPostList','id':1,'params':[1,[['place2',0,[1,1]]],173099135176724],'hash':'decfe7c9183f16efa1291f5131902f7d4ef4ff14'}",
               cache: false,
               processData: false,
               success: function(msg) {
                   if (msg.d != "")
                       alert('salam');

               },
               error: function(xhr, errorType, exception) { //Triggered if an error communicating with server
                   var errorMessage = exception || xhr.statusText; //If exception null, then default to xhr.statusText

                   alert("There was an error creating your contact: " + errorMessage);
               }
           });
       }
</script>



I get this error now :
There was an error creating your contact: NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://tehran.divar.ir/'.
AnswerRe: download webpage Complete Pin
thatraja11-Aug-14 23:15
professionalthatraja11-Aug-14 23:15 
QuestionHow to process data asynchronous when (socket ) recieving data high frequently Pin
Peng20139-Aug-14 6:53
Peng20139-Aug-14 6:53 
AnswerRe: How to process data asynchronous when (socket ) recieving data high frequently Pin
Eddy Vluggen11-Aug-14 7:08
professionalEddy Vluggen11-Aug-14 7:08 
Questionngen in windows applications c# Pin
Zeyad Jalil9-Aug-14 2:03
professionalZeyad Jalil9-Aug-14 2:03 
AnswerRe: ngen in windows applications c# Pin
Dave Kreskowiak9-Aug-14 4:25
mveDave Kreskowiak9-Aug-14 4:25 
GeneralRe: ngen in windows applications c# Pin
Zeyad Jalil9-Aug-14 19:27
professionalZeyad Jalil9-Aug-14 19:27 
GeneralRe: ngen in windows applications c# Pin
Dave Kreskowiak10-Aug-14 4:45
mveDave Kreskowiak10-Aug-14 4:45 
AnswerRe: ngen in windows applications c# Pin
V.10-Aug-14 7:20
professionalV.10-Aug-14 7:20 
QuestionMulti-label Classifiers based Associative Classification (MCAC) algorithm Pin
sadish67-Aug-14 17:03
sadish67-Aug-14 17:03 
AnswerRe: Multi-label Classifiers based Associative Classification (MCAC) algorithm Pin
Mycroft Holmes7-Aug-14 18:02
professionalMycroft Holmes7-Aug-14 18:02 
AnswerRe: Multi-label Classifiers based Associative Classification (MCAC) algorithm Pin
OriginalGriff7-Aug-14 21:30
mveOriginalGriff7-Aug-14 21:30 
QuestionDotNetBar (DevComponents) DockingContainer Pin
HobbyProggy7-Aug-14 1:53
professionalHobbyProggy7-Aug-14 1:53 
AnswerRe: DotNetBar (DevComponents) DockingContainer Pin
Eddy Vluggen7-Aug-14 23:24
professionalEddy Vluggen7-Aug-14 23:24 
Questionassign the filed for XtraReport of Devexpress ? Pin
Member 24584677-Aug-14 0:01
Member 24584677-Aug-14 0:01 
Question.net Query Pin
Member 109952356-Aug-14 22:26
Member 109952356-Aug-14 22:26 
AnswerRe: .net Query Pin
Richard MacCutchan6-Aug-14 22:40
mveRichard MacCutchan6-Aug-14 22:40 
AnswerRe: .net Query Pin
Keith Barrow7-Aug-14 1:45
professionalKeith Barrow7-Aug-14 1:45 

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.