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

how to bind the values to rad grid-view from variable in silver light ?

0 Answers 68 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Aravind
Top achievements
Rank 1
Aravind asked on 07 Dec 2012, 04:36 AM
hi
i came across this problem in my project,how to bind the values to radgridview in silverlight (xaml page) without get,set property.

i my project i get file name from radupload and i want to bind that name to radgridview and show in radwindow .


below is my code

Private Sub client_DownloadStringCompleted(ByVal sender As Object, ByVal e As DownloadStringCompletedEventArgs)
If e.Error Is Nothing AndAlso e.Result.Contains("False") Then
Return
        Else
           
            Dim win As New RadWindow()
            Dim content As New SilverlightApplication2.SilverlightControl1()
            Dim renameBox As TextBox = TryCast(content.FindName("renameBox"), TextBox)
            renameBox.Text = selectedFile.Name
            win.Content = content
            AddHandler win.Closed, AddressOf win_Closed
            win.ShowDialog()
  End If
End Sub

the above code for pass the file name to  renameBox.Text and show in radwidow. this will be work for only one name.
but in that i get more than  one file so that i want use radgridview or datagridview to bind file name.

 renameBox.Text is run time created textbox.like this i want create run time rad gridview or rad datagrid and bind the file name in silver light
 

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Aravind
Top achievements
Rank 1
Share this question
or