| Dim newdock As RadDock = CreateRadDock("Personal Info") |
| newdock.Tag = "~/UserControls/EditContact/PersonalInfo.ascx" |
| LoadWidget(newdock) |
| Me.rdzEditContact.Controls.Add(newdock) |
| newdock = CreateRadDock("Custom Fields") |
| newdock.Tag = "~/UserControls/EditContact/CustomFields.ascx" |
| LoadWidget(newdock) |
| Me.rdzEditContact.Controls.Add(newdock) |
I am dynamicly creating foo columns to be added to the grid
I do it like this in Page_Load:
foreach (Artikli artikal in a)
{
GridNumericColumn gridColumn = new GridNumericColumn();
this.RadGrid1.MasterTableView.Columns.Add(gridColumn);
gridColumn.DataField = "blank";
gridColumn.HeaderText = artikal.Naziv;
gridColumn.UniqueName = artikal.Id.ToString() + "_blank";
// gridColumn.Expression = " ";
}
Export in Excel (ML) will export existing columns and only first added column.
Excel html export exports all columns, but xls file looks better in excel.
If I try to create GridCalculatedColumn instead of GridBoudCollumn, I rececive this error:
GridException: Cannot create column with the specified type name: GridCalculatedColumn]
Telerik.Web.UI.GridColumnCollection.CreateColumnFromTypeName(String columnTypeName) +1013
...
Any help?
Week numbers
Is there any build-in soltuion for adding week numbers as part of the month view
Start week
Is it possible to start the month view with with the current week at top
<
telerik:GridDropDownColumn HeaderText="Client" UniqueName="Budget_Client" DataSourceID="SrcForClient" DataField="Budget_Client" ListTextField="ClientName" ListValueField="ClientName"></telerik:GridDropDownColumn>
On the above code, I am binding a dropdown list to a object datasource. The problem is if DataField does not match item in the field, it display blank in the grid column. Ideally I would to have user see the original value (Data Field) before going to edit mode for selecting item in the dropdown list...
Any suggestion would be appreciated.
Thanks.
Milan G