Response.write is not working in ajax event.

  1. #1

    Response.write is not working in ajax event.

    Hi all,

    In Ajaxevent method i am trying write response.write(xml) which is not working.

    [AjaxMethod]
        public void AnalyzeMessage(string id)
        {
            Response.write(xml);
        }
    Can you please help.
  2. #2
    Well, it is working, it's just not rendering anything after a successful Response from the AjaxMethod.

    If you're not updating an Ext.NET Component, everything else is pretty much ignored.

    A Response.Write would only be rendered if the whole Page was re-rendered, something like a full Page Post_Back.

    If you want to render a message in the browser, upon a successful Response, maybe the MessageBox class would be an option.

    Hope this helps.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] directEvent and Response.Write issue
    By digitek in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 29, 2011, 9:10 AM
  2. Ajax Event not working
    By vickygajula in forum 1.x Help
    Replies: 3
    Last Post: Dec 09, 2010, 5:19 PM
  3. Response.Write & Bind
    By Dominik in forum 1.x Help
    Replies: 0
    Last Post: Jul 22, 2010, 12:44 PM
  4. Window1.AutoLoad.Url in Ajax Event - not working?
    By Tbaseflug in forum 1.x Help
    Replies: 0
    Last Post: Apr 16, 2010, 5:26 PM
  5. Replies: 2
    Last Post: Feb 14, 2009, 2:50 AM

Tags for this Thread

Posting Permissions