Search

You searched for the word(s): userid:653016

Matching Posts

  • Re: Multiple updates with Ajax

    Can you post the ASPX, or explain how you have this set up? Are the textboxes inside of the updatepanel? Do you have the textboxes in a separate updatepanel that has a trigger set? Are you updating the textbox values in the page_load event? You should try stepping through your code, and ensure that the code responsible for setting the text in the textboxes is actually being reached. If it is, verify that the textboxes are inside of an update panel. Control outside of the updatepanel can not be udpated
  • Re: Technical XMLHttpRequest question

    It's actually up to the browser to determine when the request gets fired off. By Default, Internet Explorer only allows for 2 concurrent connections, meaning even if you attempt to fire 10 requests at the same time, the browser will initially open 2, and as the responses come back, will allow others to be opened. This is controlled by a registry entry in Internet Explorer, and was initially designed to keep malicous sites from creating DOS attacks. Hope this helps
  • Re: Updating Database using AJAX.

    You'll need to use a bit of client-side scripting. You can attach an onblur event handler to the panel element, and use script to fire off the postback. One of the easiest ways to do that is to use a hidden button inside of the panel, and call button.onclick() from you onblur handler.
    Posted to ASP.NET AJAX UI (Forum) by tony_lombardo on 4/12/2007
  • Re: Calling from client to server directly

    I'd start looking in 2 places. Do you have a script manager on the page? If so, do you have EnablePageMethods=true? The second place you should look is your web.config. Is this a new "AJAX" project, or are you upgrading an older app? The Web.config needs to have certain entries in it to make everything work, including PageMethods. Try creating a new AJAX project and defining and testing a PageMethod there - if that works, you can narrow it down to your app, and likely your config.
  • Re: update panel with dynamic controls

    As a general rule of thumb when adding controls to a page dynamically and especially when attaching event listeners, you should do it during the Init phase. If you take your example and move the code from page_load to an OnInit override, you'll notice everything starts working. The every other postback problem can be attributed to the control (ddl) not being present on the page when it attemps to initialize itself in order to fire the event. Even if the postback occured asynchronously, the issue
    Posted to ASP.NET AJAX UI (Forum) by tony_lombardo on 4/11/2007
  • Re: update panel with dynamic controls

    Can you give more details? Do you have a simple example with an update panel, and perhaps a button that demonstrates the problem?
    Posted to ASP.NET AJAX UI (Forum) by tony_lombardo on 4/11/2007
  • Re: Calling from client to server directly

    Not sure what you mean by only being able to get this to work in the code infront. Are you sure that your page is set up to use the codebehind file? What does your method declaration look like? Is it possible that your code behind file isn't compiling due to an error?
  • Re: does '$' operator has magic power in JS?

    The exact line of code is adding a member function to the object "ns". One of the beauties of javascript is that you can add methods and properties quite easily, by assigning them. In this case ns.getName=function ..... After that code executes, ns will have a method attached to it "getName", which when called, will execute the code seen in ns$getName. hth, -Tony
  • Re: file upload without doing a postback - bugger of a problem !!

    I actually just posted a POC to my blog, which describes this exact technique - using an IFrame as a target for the post. Check it out http://blogs.infragistics.com/blogs/tony_lombardo/archive/2007/04/09/file-uploads-where-s-the-ajax.aspx
    Posted to ASP.NET AJAX Discussion and Suggestions (Forum) by tony_lombardo on 4/10/2007
    Filed under: ajax, upload
  • Re: does '$' operator has magic power in JS?

    It is possible tht the function prototype is modified by ASP.NET Ajax, though I couldn't find any particular information on it. If you are using other Ajax frameworks, they notoriously modify base level object prototypes (object, array, function, etc.) Are you running into a particular problem, or are you just curious about the internal workings?
Page 1 of 13 (121 items) 1 2 3 4 5 Next > ... Last »