This is a migrated thread and some comments may be shown as answers.

User Control Edit Form with two listboxes

2 Answers 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Catalina
Top achievements
Rank 1
Catalina asked on 02 May 2012, 06:36 AM
I have an "User Control Edit Form " (http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx), consider that EmployeeDetailsCS.ascx contains two list boxes with server side events (something like that: http://demos.telerik.com/aspnet-ajax/listbox/examples/serverside/serverevents/defaultcs.aspx). List boxes have have as a datasouce two list (let's say "employeeTasks" and "allTasks"), and every time i transferr an item those lists are updated and the database is updated too. I can't make a refresh to this "user control edit form" every time an item is transfered, to be able to see the new "content" of two lists. Any ideea how to do this?

2 Answers, 1 is accepted

Sort by
0
Catalina
Top achievements
Rank 1
answered on 02 May 2012, 07:04 AM
I forgot to say that the lists are updated, but but nothing happens visually on the page (on the user control edit form), even if i do this : "RadListBox.Datasource = ...... ; RadListBox.DataBind();"

"employeeTasks" and "allTasks" are updated every time an intem is transferred, but saving informations on database only happends when user press "update" button
0
Pavlina
Telerik team
answered on 07 May 2012, 05:33 PM
Hello Catalina,

I believe that the forum thread below which elaborates on this subject will help you to achieve the desired functionality:
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgirs-with-editable-user-control-question.aspx

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Catalina
Top achievements
Rank 1
Answers by
Catalina
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or