Search

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

Matching Posts

  • Re: Repeater, UpdatePanel and a delayed update - two questions

    BTW, the questions written in the first post still remain unanswered. Any pointers appreciated. Thanks, Miha.
    Posted to ASP.NET AJAX UI (Forum) by mihav on 5/5/2007
  • Re: Repeater, UpdatePanel and a delayed update - two questions [Solution]

    Remember: I had many UpdatePanels and wanted to refresh one as a consequence of refreshing the first. With a delay. I fixed this somehow, with a workarround. In the code that renderes the UpdatePanel that I want to refresh after a delay, I added a client side script block like this: 1 < script language= "javascript" > 2 function refreshThis() { 3 __doPostBack('< %=refreshUpdatePanel.ClientID%',''); 4 } 5 In the update panels that update themselves and which are supposed to update this one
    Posted to ASP.NET AJAX UI (Forum) by mihav on 5/5/2007
    Filed under: Refresh, Update Panel, Javascript
  • Re: AJAX Behaviours -- documentation

    3 months later, and out of AJAX RC, the solution to this problem was this: Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded( function() { Sys.WebForms.PageRequestManager.getInstance()._asyncPostBackControlClientIDs.push( "txt" );} ); Thanks again, Miha.
  • Repeater, UpdatePanel and a delayed update - two questions

    Hi! First off, let me explain some background: I have a master/content page situation, where the content page includes a repeater control. This repeater control renders some updatepanels, which in turn have a asp:HiddenField, asp:TextBox and an asp:ImageButton controls in them. The asynchronous stuff works pretty well. So where is the problem? In addition to triggering server-side operation with ImageButton, I would like to update another update-panel (in another ContentPlaceHolder). So I started
    Posted to ASP.NET AJAX UI (Forum) by mihav on 5/4/2007
    Filed under: Repeater update panel client javascript
  • Re: AJAX Behaviours -- documentation

    Luis, this is excellent. It works. I'll see what changes I have to make to make my example work and I'll post the solution to my problem (should someone else have the same problem). Tnx, Miha.
  • Re: AJAX Behaviours -- documentation

    Sorry. I'm a bit rusty with javascript. So, I added it to the array. If I remove the trigger <asp:AsyncPostBackTrigger ControlID="SearchBoxx" EventName="TextChanged" /> from the <triggers> in aspx, the array size decreases to 0, and is 1 after I add the 'SearchBox' HTML control to it. It still does not work, because it now refreshes the whole page again. There is something missing to this story. Something to tell the pagerequest manager to only update the updatepanel? The markup generated
  • Re: TextBox and change events within UpdatePanel

    Nilesh, I found it. Well, almost. Please watch this topic for solution: http://forums.asp.net/thread/1532495.aspx
    Posted to ASP.NET AJAX UI (Forum) by mihav on 1/16/2007
  • Re: AJAX Behaviours -- documentation

    Luis, can you please help me with _asyncPostbackControlsIds collection? Where do I find it? The PageRequestManager does not seem to have it. I've put a script block at the end of the aspx file and I got an undefined value for _asyncPostbackControlsIds. Aha, I found out it is a typo. But nontheless, the code doesn't work. There must be another way to register this HTML control with pagerequest manager object. The code I tried is: var prm = Sys.WebForms.PageRequestManager.getInstance(); prm._asyncPostBackControlIDs
  • Re: AJAX Behaviours -- documentation

    Thanks. I pretty much solved the problem with "ordinary" input type=textbox field and a javascript event handler. I did find out, though, that if I remove the <asp:TextBox> from the page (although I am not using it) the __doPostback updates the whole page, not just the UpdatePanel content. To explain better: Page has an ordinary text box and asp:TextBox on it. Both text boxes are outside of the update panel. Within an Update panel, there is a AsyncPostBackTrigger, referring to asp:TextBox control
  • Re: AJAX Behaviours -- documentation

    Thanks. The Garbin's post looks helpful -- the Behaviour class documentation is useless (I found that before) in helping understand what Behavirours are all about. I'd like to change the the onkeypress event handling of the TextBox control to do a postback on every keypress... I hope behaviours are the right direction to go to? Thanks, Miha.
Page 1 of 2 (13 items) 1 2 Next >