What is the best why to Refresh the parent Page of a Sub page in ASP.NET C#?

csharp

(isoftech) #1

I have a Child page loaded inside a parent page, in an ASP.NET project (using C# programming language).

What would i do to refresh the parent page from within the child page, taking into account that the parent page can be completely unknown to the child page at compile time (means it’s dynamically created and loaded)?

thanks for any assistance.


(It Soft) #2

the best trick i can think of is to redirect to the parent page using the Response.Redirect Method.

you can get the Parent page URL somehow.