Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Refresh ENtityDatasource programatically

Posted on 2010-11-12
1
Medium Priority
?
1,924 Views
Last Modified: 2012-05-10
Hi

I have a combobox databinded to a EntityDataSource.

Somewhere else in the code I update the database, I want the the combobox to register this change.
After the update is made I do combobox.DataBind() but the combobox doesnt update until I refresh the whole page.
Both the combox and datasource are located in the same UpdatePanel.
Is there something Im not doing right?
0
Comment
Question by:o3h
1 Comment
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 total points
ID: 34130892
If the combobox is in it's own UpdatePanel, then you will need to call Update() on the updatepanel as well, otherwise it won't reflect the changes.
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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

916 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