UpdatePanel
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
««123»»
UpdatePanel
Subscribe
Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 9/26/2008 2:43:00 PM

Group: Core Development Team

I have been unable to find a workaround to automatically handle our control re-creation when the wrapping <asp:UpdatePanel> has it's .Update() Method explicitly called in code-behind.

So, I had to add a new .AddUpdatePanelToRefresh() Method on the <ext:ScriptManager> which needs to be called when an UpdatePanel's .Update() Method is called. The AddUpdatePanelToRefresh Method must be passed a reference to the "updating" UpdatePanel.

The following code sample demonstrates.

Example

<script runat="server">
    protected void Button1_Click(object sender, EventArgs e)
    {
        this.UpdatePanel1.Update();
        this.ScriptManager1.AddUpdatePanelToRefresh(this.UpdatePanel1);
    }
</script>

The <ext:ScriptManager> AddUpdatePanelToRefresh Method must be called if the UpdatePanel contains any Coolite Toolkit controls or the controls will not render during the response.

As a general rule, just make a call to .AddUpdatePanelToRefresh() immediately after .Update().

I hope this simple method call is an acceptable solution.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 10/2/2008 9:53:29 AM

Group: Core Development Team

Version 0.6 has been released which includes better support the <asp:UpdatePanel>.

There may still be some lurking issues when using adding AsyncPostBackTrigger. Please let us know if you run into any weirdness. We are continuing to work on the UpdatePanel logic within the Toolkit.

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 10/2/2008 11:02:08 AM

Group: Coolite Premium Member & Early Adopter
OK, I'll give it a go and see what I come up with.

My setup works similar to how Dave.Sanders has discussed here, I've done this before (without ExtJS) and I've never had memory consumption issues.

p.s your ninja avatar was better

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 10/3/2008 4:32:40 AM

Group: Core Development Team

I'm moving this thread to the "Open Discussions" forum.

I might ever be able to mark this one as [SOLVED]. <-- Note to self: implement [sarcasm] tag. 

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 10/3/2008 5:36:49 AM

Group: Coolite Premium Member & Early Adopter
geoffrey.mcgill (10/3/2008)

I'm moving this thread to the "Open Discussions" forum.

I might ever be able to mark this one as [SOLVED]. <-- Note to self: implement [sarcasm] tag. 



The time will one day come where I will stop bugging you about the UpdatePanel

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 11/20/2008 2:43:52 PM
Posts: 6,
Posted 11/19/2008 3:48:21 PM

Group: Coolite Early Adopter
Looking at the history on this discussion it appears this is a very involved request, but I thought I'd add my vote for the functionality as well.

I'm doing a Border Layout and want to replace my main content area with various screens, but certainly don't want to have all the logic in one page.  And I get grief from my friends when I start to suggest IFrames.  "That is SO 90's" they say.  I guess I could just ignore them, but does seem like IFrame use has diminished in preference to replacing divs.

So, anyway, I'm interested too when it becomes available.  (Dang!  Maybe I _should_ have gotten the premium support package!  I'm sure this will only be in SVN at first.)

Aaron
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 11/20/2008 4:11:33 AM

Group: Coolite Premium Member & Early Adopter
Hello, I'm also against iframes but I've come up with a good solution form my project to use the Ext:Panel AutoLoadIFrame to load an internal page that feeds my content in the center region.  And no complaints, using ManagedIFrames from ExtJS user extensions has made it easy to communicate back and forth

ExtJS and Coolite handle IFrames quite well.

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 2/5/2010 7:05:49 PM

Group: Core Development Team
If anyone finds this thread, you might also be interested in the following, see http://www.coolite.com/forums/Topic27096-4-1.aspx

--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
Last Login: 7/14/2010 5:04:03 PM
Posts: 717,
Posted 2/10/2010 8:46:53 AM

Group: Coolite Premium Member & Early Adopter
Jumping into the iframe discussion...

While I also dislike iframes, wrapping a huge portion of the page in an UpdatePanel is even worst.  UpdatePanel is just evil to begin with, and I dislike that even more than iframes.
Last Login: 6/17/2010 4:30:38 PM
Posts: 1,239,
Posted 2/10/2010 1:33:12 PM

Group: Coolite Premium Member & Early Adopter
jchau (2/10/2010)
Jumping into the iframe discussion...

While I also dislike iframes, wrapping a huge portion of the page in an UpdatePanel is even worst.  UpdatePanel is just evil to begin with, and I dislike that even more than iframes.

Once the MVC functionality is prime time in Ext.Net good bye iframe and Microsoft Ajax

Cheers,
Timothy


----
Timothy Grant Vogelsang
tvogelsang [at] esolutionsgroup [dot] ca
Project Manager / Senior Software Developer
Microsoft .NET Framework 3.5
Coolite Toolkit 1.0

« Prev Topic | Next Topic »
««123»»
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 4:45pm