Discussion:
Javascript CallBack
Brady Kelly
2008-01-24 16:44:38 UTC
Permalink
I have a list screen that opens a detail screen for editing. I would like
to signal the list screen to refresh itself when the detail screen closes.
What are my options?


===================================
This list is hosted by DevelopMentor� http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Shawn Wildermuth
2008-01-24 17:04:28 UTC
Permalink
Does "screen" == Web dialog?

Thanks,

Shawn Wildermuth
http://adoguy.com
http://wildermuthconsulting.com
Microsoft MVP (C#), MCSD.NET, Author and Speaker

The Silverlight Tour is coming to a city near you!


-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:DOTNET-***@DISCUSS.DEVELOP.COM] On Behalf Of Brady Kelly
Sent: Thursday, January 24, 2008 11:45 AM
To: DOTNET-***@DISCUSS.DEVELOP.COM
Subject: [DOTNET-WEB] Javascript CallBack

I have a list screen that opens a detail screen for editing. I would like
to signal the list screen to refresh itself when the detail screen closes.
What are my options?


===================================
This list is hosted by DevelopMentor. http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor� http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Brady Kelly
2008-01-24 17:24:21 UTC
Permalink
Hmm, Shaun, I've just discovered that under the covers there's all kinds of
sneaky magic. The popup screen is a div, which sometimes may host an IFrame
and sometimes not. It's not opened directly but through call to our nav
framework, but it's all sorted, thanks anyway.
Post by Shawn Wildermuth
Does "screen" == Web dialog?
Thanks,
Shawn Wildermuth
http://adoguy.com
http://wildermuthconsulting.com
Microsoft MVP (C#), MCSD.NET, Author and Speaker
The Silverlight Tour is coming to a city near you!
-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
Sent: Thursday, January 24, 2008 11:45 AM
Subject: [DOTNET-WEB] Javascript CallBack
I have a list screen that opens a detail screen for editing. I would like
to signal the list screen to refresh itself when the detail screen closes.
What are my options?
===================================
This list is hosted by DevelopMentor� http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Ben Joyce
2008-01-24 21:04:07 UTC
Permalink
Damn, I was about to suggest some stuff... now I feel my chance to
really excel in life has passed.

Damn (again).

Ben
Post by Brady Kelly
Hmm, Shaun, I've just discovered that under the covers there's all kinds of
sneaky magic. The popup screen is a div, which sometimes may host an IFrame
and sometimes not. It's not opened directly but through call to our nav
framework, but it's all sorted, thanks anyway.
Post by Shawn Wildermuth
Does "screen" == Web dialog?
Thanks,
Shawn Wildermuth
http://adoguy.com
http://wildermuthconsulting.com
Microsoft MVP (C#), MCSD.NET, Author and Speaker
The Silverlight Tour is coming to a city near you!
-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
Sent: Thursday, January 24, 2008 11:45 AM
Subject: [DOTNET-WEB] Javascript CallBack
I have a list screen that opens a detail screen for editing. I would like
to signal the list screen to refresh itself when the detail screen closes.
What are my options?
===================================
This list is hosted by DevelopMentor(R) http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
--
http://www.flickr.com/photos/benbenbenbenben

===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Brady Kelly
2008-01-24 21:42:10 UTC
Permalink
For those who have expressed interest and made suggestions, thank you. The
long and the short of my expedition into DHTML tonight is that from the
detail screen, which is in an IFrame, I call a new function,
'refreshContent' in the main page (hosting explorer and content IFrames)
that sets the src attribute of the content frame, the page I want to
refresh, to it's own URL with a timestamp parameter to avoid caching. I
then use an internal page method to emit a client script calling this
'top.refreshContent' on rendering it's response.

===================================
This list is hosted by DevelopMentor� http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Christopher
2008-01-24 22:56:46 UTC
Permalink
Don't worry, Ben. There's still the chance to *kind of* excel. Maybe. :P

--
-Christopher
| AspInsider
http://bluefenix.net
Post by Ben Joyce
Damn, I was about to suggest some stuff... now I feel my chance to
really excel in life has passed.
Damn (again).
Ben
Post by Brady Kelly
Hmm, Shaun, I've just discovered that under the covers there's all kinds of
sneaky magic. The popup screen is a div, which sometimes may host an IFrame
and sometimes not. It's not opened directly but through call to our nav
framework, but it's all sorted, thanks anyway.
Post by Shawn Wildermuth
Does "screen" == Web dialog?
Thanks,
Shawn Wildermuth
http://adoguy.com
http://wildermuthconsulting.com
Microsoft MVP (C#), MCSD.NET, Author and Speaker
The Silverlight Tour is coming to a city near you!
-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
Sent: Thursday, January 24, 2008 11:45 AM
Subject: [DOTNET-WEB] Javascript CallBack
I have a list screen that opens a detail screen for editing. I
would
like
to signal the list screen to refresh itself when the detail screen closes.
What are my options?
===================================
This list is hosted by DevelopMentor(R) http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
--
http://www.flickr.com/photos/benbenbenbenben
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com
===================================
This list is hosted by DevelopMentor® http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
Continue reading on narkive:
Loading...