Imports System |
Imports System.Data |
Imports System.Configuration |
Imports System.Data.SqlClient |
Imports System.Data.CommandType |
Public Class Form_Donations |
Private Sub Form_Donations_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
Dim Conn As SqlConnection = New SqlConnection(ConnStr) |
Dim sqlcmd As SqlCommand = New SqlCommand("npoGetHousehold_NameID", Conn) |
sqlcmd.CommandType = StoredProcedure |
Conn.Open() |
Dim rs As SqlClient.SqlDataReader |
rs = sqlcmd.ExecuteReader() |
If rs.HasRows Then |
Try |
RadComboBox2.DataSource = rs |
RadComboBox2.DisplayMember = "Name" |
RadComboBox2.ValueMember = "ID" |
Catch ex As Exception |
End Try |
Conn.Close() |
Conn.Dispose() |
End If |
End Sub |
Support:
I was using trial version of Rad control and created few test screens and everything went on well except the popup.
I recently bought RadControlsWinforms_Q3_2007_SP1_dev_setup.exe .
When I installed the version I get the following error on the screen using panel.
Telerik.WinControls.Design.RadObjectCustomPropertyDescriptor.SetValue(Object component, Object value)
When I checked your VB.NET sample ,panelbar-First Look>Form1.vb throws the same exception.The trial version I tried before the purchase is
RadControlsWinforms_Q3_2007_trial_setup.exe
I'm really struck now,the main page of my application is using the Panel and I can rul the apps ;-).
Not sure whether the trial version got messed up with the actual?
Appreciate if you can help me to save me from redevloping the screen due to some control problem.
Regards,
Ganeshram.M
Hello,
The DockingSmartPartInfo is somehow being applyed too late (after the view is visible), making the view being shown on a small size and after loading it's shown with the Fill option as i ddi Dockposition.Fill.
It would had been nice to be able to use an interface like IDockingSmartPartInfo on the View itself.
DockingSmartPartInfo ovzRelatieInfo = new DockingSmartPartInfo();
ovzRelatieInfo.Title = "Overzicht relaties";
ovzRelatieInfo.TabStripVisible = false;
ovzRelatieInfo.Width = 700;
ovzRelatieInfo.Height = 500;
ovzRelatieInfo.DockPosition = Telerik.WinControls.Docking.DockPosition.Fill;
this.ShowViewInWorkspace<OvzRelatieView>("OvzRelatie", WorkspaceNames.DockableWorkspace, ovzRelatieInfo);
hi Telerik
this is very first simple problem with Radgridview control.
i am using winform Q3 2007.
i want to add row to GridView programattically.
in your sample code you using DB(which i dont wanna to use)
and in your Help, you suggest to use
radGridView.Rows.Add(new string() {"asdas","asdas","asdasdaasd"}); like statement.
but this statement throws error
")" expected "; expected" like error.
//////////////
my sample code is
radGridView1.MasterGridViewTemplate.Columns.Add(new GridViewTextBoxColumn("Image "));
radGridView1.MasterGridViewTemplate.Columns.Add(new GridViewTextBoxColumn("Name "));
radGridView1.MasterGridViewTemplate.Columns.Add(new GridViewTextBoxColumn("Role "));
radGridView1.MasterGridViewTemplate.Columns.Add(new GridViewTextBoxColumn("Permission "));
radGridView1.MasterGridViewTemplate.Columns.Add(new GridViewTextBoxColumn("Operation "));
//image
GridViewImageColumn imgCol = new GridViewImageColumn("D:\\kumar\\security-lab\\RandD - code\\Sample-RadControl\\add_reviewer.gif");
imgCol.UniqueName = "Img";
imgCol.HeaderText = "img";
radGridView1.MasterGridViewTemplate.Columns.Add(imgCol);
//data
radGridView1.Rows.Add(new String() {"c:\\image\\myimage.jpg","sdfS","ABC","Admin","read","delete"});
/////////////////
and i need to add first coloumn as a image column.
i didnt find this simple adding example in your forum, tutorials, so requestiing for the same
Please help me.
thanks,
Santosh kumar