Solved

Refresh ENtityDatasource programatically

Posted on 2010-11-12
1
1,869 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 500 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

808 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