| private void CreaMenuContextual(string sTipoCompromiso) |
| { |
| StringBuilder sSql = new StringBuilder(); |
| SqlCommand cmd = new SqlCommand(); |
| ClsData ObjData = new ClsData(ConfigurationManager.ConnectionStrings["MyCnnStr"].ConnectionString); |
| MenuCompromisos.DataTextField = "text_field"; |
| MenuCompromisos.DataValueField = "value_field"; |
| sSql.Append(" SELECT text_field, value_field"); |
| sSql.Append(" FROM TABLE"); |
| cmd.CommandText = sSql.ToString(); |
| MenuCompromisos.DataSource = ObjData.GetDataTable(cmd); |
| MenuCompromisos.DataBind(); |
| } |
Look at this code:
<telerik:RadCalendar ID="RadCalendar1" runat="server" Width="280px" NavigationNextText="Next>" NavigationPrevText="<Prev" />
<Prev does not show. I guess "<" is a special char. Could some body show me how to make this work?
Thanks!
Joseph
rgd.ExportSettings.Excel.Format =
GridExcelExportFormat.ExcelML;
rgd.ExportSettings.ExportOnlyData = true;
rgd.ExportSettings.OpenInNewWindow = true;
rgd.MasterTableView.ExportToExcel();
When I set the ExportOnlyData = false, my excel file opens, but nothing appears on the worksheet. If I set OpenInNewWindow = false --> my .aspx page hangs. Nothing happens.
The second issue I have is that I've set the GridExportExcelMLRowCreated and GridExportExcelMLStyleCreated events on my radGrid, but this code is not executed. I've placed a breakpoint, but nothing happens with these events.
Can someone please help me further? A simple export succeeds or when I place the GridExcelExportFormat.HTML as Excel.Format, everything works fine, but I'm not able to place any style on my excel export like in the example of telerik.
Thanks in advance!
Regards,
Tineke
| <Listing> |
| <Customer Name="Browning Bob" CustNumber="345" CustomerID="1" Address="123 Street1, 1 Coast, UK 89869" /> |
| <Customer Name="Williams" CustNumber="235" CustomerID="2" Address="123 Street2, Coast2, UK 89863" /> |
| </Listing> |