[CLOSED] Problem working with AjaxEvent

  1. #1

    [CLOSED] Problem working with AjaxEvent


    Hi,
    I cant work with AjaxEvents. whatever I do gives a BADRESPONSE: syntax error!
    for example following code :

    <ext:ScriptManager ID="ScriptManager1" runat="server" />
        <ext:TextField ID="TextField1" runat="server" Width="300px" />
        <br />
        <ext:Button ID="Button1" runat="server" Text="Get Server Date">
            <AjaxEvents>
                <Click OnEvent="Button1_Click">
                </Click>
            </AjaxEvents>
        </ext:Button>
    protected void Button1_Click(object sender, AjaxEventArgs e)
            {
                TextField1.Text = DateTime.Now.ToString();
            }
    when I click on button coolite shows me a window with this info :
    Status code: 200
    Status text: BADRESPONSE: syntax error
    this.TextField1.setValue("10/7/2008 2:33:17 PM");this.TextField1.clearInvalid();

    whats wrong with my code?

    Thanks


  2. #2

    RE: [CLOSED] Problem working with AjaxEvent

    Please ensure that you added AjaxEventModule to the web.config

    http://forums.ext.net/showthread.php...=2542-4-1.aspx

    If the module was registered then could you please to post a full example demonstrating the problem.

  3. #3

    RE: [CLOSED] Problem working with AjaxEvent

    Sorry I didn't know I should register AjaxRequestModule!
    Its OK now.
    Is there going to be any sort of documentation for Coolite?! if yes, when do you think it will be available?

    Thanks alot
  4. #4

    RE: [CLOSED] Problem working with AjaxEvent



    The online API browser is being developed right now and will be available with the next release (v0.7), or maybe sooner.


    Until that time I would recommend taking a quick scan through the README.txt file and the ExtJS online API browser can be a great reference. As well, the Examples Explorer is a good place to browse code samples.


    Inline documentation for many of the properties and methods was added during the v0.6 release and is available within the Visual Studio Intellisense.
    Geoffrey McGill
    Founder

Similar Threads

  1. ajaxevent mask not working?
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Oct 25, 2010, 3:31 PM
  2. AjaxEvent - Response not working
    By Tbaseflug in forum 1.x Help
    Replies: 1
    Last Post: Oct 19, 2010, 7:03 PM
  3. [CLOSED] About Ajax.net 1.0 & Coolite AjaxEvent working together.
    By pumpkin in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Nov 24, 2009, 2:35 PM
  4. Replies: 4
    Last Post: May 07, 2009, 11:21 AM
  5. [FIXED] [V0.6] AjaxEvent not working
    By Jurke in forum Bugs
    Replies: 3
    Last Post: Sep 09, 2008, 11:13 AM

Posting Permissions