|
|
||||||
|
#1
|
|
|
|
|
I searched around but cannot find an answer to this problem, if there
is an answer. I have a DataView and a dropdownlist both on the same page. The dropdown list is a bound list of companies. The DataView shows the company details and you can delete a record, if necessary. If you change the selection on the dropdown list, the DataView is refreshed. This works fine. The problem I am having is that if I delete the record on the Dataview I need to be able to dynamically refresh the dropdown list to show that the deleted record is no longer iin the dropdown. Anyone know how to do this? I currently have a "refresh" button but would like to automatically refresh the list. If this is do-able, is there example code available? Thanks, Steve |
|
|
|
#2
|
|
|
|
|
On Nov 4, 1:19 am, glb...@gmail.com wrote:
> I searched around but cannot find an answer to this problem, if there > is an answer. > > I have a DataView and a dropdownlist both on the same page. The > dropdown list is a bound list of companies. The DataView shows the > company details and you can delete a record, if necessary. If you > change the selection on the dropdown list, the DataView is refreshed. > This works fine. The problem I am having is that if I delete the > record on the Dataview I need to be able to dynamically refresh the > dropdown list to show that the deleted record is no longer iin the > dropdown. > > Anyone know how to do this? I currently have a "refresh" button but > would like to automatically refresh the list. If this is do-able, is > there example code available? > > Thanks, > Steve Hi Steve, Did you tried subscribe the onItemDeleted event of the DetailView. Try Rebind the Dropdown list onItemDeleted event of the DetailView Thanks Masudur |
|
|
| Similar Threads | |
| embeding databound DropDownList in FormView spoils DropDownList ev Hello, I'll try to describe my problem in simplest possible way. I have: - FormView databound via LinqDataSource (linq to sql) - 2 DropDownLists (A, B) inside FormView's... |
|
| When I set the DropDownList.SelectedIndex of ONE DropDownList they ALL change! Hi, I have a list of 6 DropDownList boxes, from DropDownList1 to DropDownList6, and I'm changing the SelectedIndex of each using a foreach loop as... |
|
| DataView Error on Update With DropDownList Hi, ASP.NET 2.0 web app I have a GridView utilizing template columns and bound to an objectdatasource. In the edit template of one column there is a dropdownlist bound to... |
|
| Strongly typed dataset, sorted by dataview, how to get dataset's row index from dataview? Hello everyone, here's my problem! I'm using the .NET framework v1.1... I've created a strongly-typed dataset class (using XML), and I've instantiated it twice. The first... |
|
| Is there an easy way to copy a DataView (or even the DataGrid showing the DataView) to the Clipboard? I simply want to copy the DataView and paste it into an email. What's the best way to accomplish that? I could obviously write the XML to a string and copy the string, but... |
|
|
All times are GMT. The time now is 07:10 AM. | Privacy Policy
|