How can i fill a bulk of data in a dropdown list in ultrawebgrid.i want to fill it from my database table using sqldatasource. when iam trying to fill it my grid is not working .i cant do anything inside it .i want to fill the name of countries in my dropdownlist.
This is way too late for you but maybe it helps someone else.
Apparently ther is no DIRECT way to fill a dropdownlist in an UltraWebGrid from an SQLDataSource. You can fill it with a little code..
Assume I have a column with Key= "Answer_ID" which will hold a code. I want my dropdown to display the associated description for that code. The code and description are in an SQL table. My SQLDataSource1 pulls the appropriate rows and columns.
(make sure you import Ultrawebgrid..)
Imports
Infragistics.WebUI.UltraWebGrid
Then in page load..
AnswervalueList.ValueListItems.Add(Answers.Table.Rows(rowcounter)(0), Answers.Table.Rows(rowcounter)(1))
Next
AnswerValueList.DisplayStyle = ValueListDisplayStyle.DisplayText