Developer forum

Forum » Development » list control

Reply

im having trouble with the dynamicweb list control. im trying to make a multiselect list using this control but i am having trouble filling it with data. how do i put text into the rows?

myList.AllowMultiSelect =

Dynamicweb.Controls.

true;ListRow row = new Dynamicweb.Controls.ListRow();

row.ContextMenuID =

"0";
row.ItemID =
"0";
row.RowID = 0;
myList.AddRow(row);
myList.DataBind();

 

 

Replies

 
Reply
Hi there,

Check out the section "The List Control" of this article: http://devierkoeden.com/articles/building-dynamicweb-module-admin-interfaces-5-miscellaneous-controls.aspx

Hope this helps,

Imar
 
Reply

thx. exactly what i needed :)

 

You must be logged in to post in the forum