[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Databind a SQLDataSource on a Parent page from a Child Popup page?

Posted on 2012-03-09
2
Medium Priority
?
444 Views
Last Modified: 2012-03-12
Is is possible to call a Databind from a child popup page (using C#).  I need to repopulate a dropdown on a parent page without refreshing the whole page.
0
Comment
Question by:rmosher315
2 Comments
 
LVL 41

Accepted Solution

by:
Kyle Abrahams earned 2000 total points
ID: 37703354
Are you using ajax at all?

If so just put the dropdown in it's own update panel (can be nested)

And call the update for that update panel.

http://www.codeproject.com/Articles/29617/Partial-update-of-parent-page-via-AJAX-ASP-NET-2-0


and


http://www.codeproject.com/Articles/36458/ASP-NET-parent-page-partial-refresh-after-closing
0
 

Author Closing Comment

by:rmosher315
ID: 37711999
Worked like a charm!  I had thought of doing something similar but wasn't quite sure how to implement it.  Thanks!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Screencast - Getting to Know the Pipeline
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question