Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:702112
More Search Options
RSS Available
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.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
mihav
on 5/4/2007
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.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
mihav
on 1/16/2007
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
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
mihav
on 1/16/2007
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
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
mihav
on 1/16/2007
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
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
mihav
on 1/16/2007
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.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
mihav
on 1/15/2007
Page 1 of 2 (13 items) 1
2
Next >
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online