Click here to Skip to main content
15,895,746 members

Comments by Alireza_1362 (Top 18 by date)

Alireza_1362 21-Aug-13 2:12am View    
The link that you provided was really helpful, and exactly was what I have been looking for ,thanks a lot for helping me.
Alireza_1362 20-Aug-13 4:38am View    
Thanks for the response ,suppose there is a page.aspx with code in page_load event of this page only , the code is responsible for reading data from SQL after certain amount of time and store it in XML file,I want to execute this page periodically ,for example after 15 minutes ,this page doesn't have any interface just including code behind,how can I do that ?
Alireza_1362 20-Aug-13 3:27am View    
no actually ,I want to do that with asp.net code behind ,suppose I want to send request to my generic handler (.ashx) after certain amount of time (every 15 minutes)and get some information ,how can I do that with server side code.
Alireza_1362 31-May-13 4:04am View    
I found the problem ,so with a little changes should be :
if ($('#feedback_text').val() != '') {
var values = { 'message': $("#feedback_text").val() };
$.ajax({
type: "POST",
url: "test2.aspx/ReceiveFeedback",
data: JSON.stringify(values),
contentType: "application/json; charset=utf-8",
dataType: "json",
processData: false,
success: function (data) {
document.write(data);
}
});
}
Alireza_1362 31-May-13 2:13am View    
Thanks for answering ,after change my code according to your code ,I got this error:
{"Message":"InvalidJSONprimitive:object.","StackTrace"