Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
47 views
Folks,

Can any one please let me know the better procedure to add a radcontrol/asp.net control to the advancedform of radscheduler?

Any example would be appreciated...
Kate
Telerik team
 answered on 29 Jul 2013
1 answer
80 views
Hello,

I have issue with Office2007 and Office2010 skins in TabStrip control. When browser is in compatibility view, tabs are only 5px height.
You can see described issue in demo pages (http://demos.telerik.com/aspnet-ajax/tabstrip/examples/appearance/textwithicons/defaultcs.aspx see attachment).

The compact view is automatically sets by default for intranet sites. The workaround is to specify X-UA-Compatible

<httpProtocol>
  <customHeaders>
      <add name="X-UA-Compatible" value="IE=8,9,10" />
  </customHeaders>
</httpProtocol>

I have this issue with newer version of Telerik controls. It works correctly with older versions.

Thanks
Nencho
Telerik team
 answered on 29 Jul 2013
2 answers
220 views
hi all,

How can I remove the Recurrence Option (checkbox) when create new appointment ?

Thanks
Joe
Top achievements
Rank 1
 answered on 29 Jul 2013
3 answers
273 views
I have a rad grid with the following settings:
grid.ExportSettings.FileName = "Export";
grid.ExportSettings.OpenInNewWindow = true;
grid.ExportSettings.ExportOnlyData = false;
grid.ExportSettings.IgnorePaging = true;
grid.ExportSettings.Excel.FileExtension = "xls";
grid.ExportSettings.Excel.Format = GridExcelExportFormat.Html;

The columns of this report are being dynamically generated. When exporting I only get the first column of date, the rest just contain "System.Data.DataRowView".

Here is the code that generates the columns:

{
    //First clear out existing columns
    RadGridSearch.MasterTableView.Columns.Clear();
 
    //Add in name column
    GridBoundColumn col = new GridBoundColumn();
    col.HeaderText="PLC";
    col.DataField="PlcName";
    col.UniqueName="PlcName";
    col.SortExpression="PlcName";
    col.ShowFilterIcon= true;
    col.ItemStyle.Wrap = false;
 
    RadGridSearch.MasterTableView.Columns.Add(col);
 
    StringCollection arList = StringFormatter.DelimitedStringToStringList(RadTextBoxAR.Text, ',');
 
    int year = DateTime.Now.Year;
 
    //StringCollection dataColumns = new StringCollection();
     
    foreach (string ar in arList)
    {
        col = new GridBoundColumn();
        col.HeaderText = string.Format("{0} Sales for {1}", year - 2, ar);
        col.DataField = string.Format("YblSales{0}", ar);
        col.UniqueName = string.Format("YblSales{0}", ar);
        col.SortExpression = string.Format("YblSales{0}", ar);
        col.ShowFilterIcon = true;
        col.ItemStyle.Wrap = false;
        col.ItemStyle.HorizontalAlign = HorizontalAlign.Right;
        col.DataFormatString = "{0:c}";
        col.Aggregate = GridAggregateFunction.Sum;
        RadGridSearch.MasterTableView.Columns.Add(col);
 
        col = new GridBoundColumn();
        col.HeaderText = string.Format("{0} Sales for {1}", year - 1, ar);
        col.DataField = string.Format("LySales{0}", ar);
        col.UniqueName = string.Format("LySales{0}", ar);
        col.SortExpression = string.Format("LySales{0}", ar);
        col.ShowFilterIcon = true;
        col.ItemStyle.Wrap = false;
        col.ItemStyle.HorizontalAlign = HorizontalAlign.Right;
        col.DataFormatString = "{0:c}";
        col.Aggregate = GridAggregateFunction.Sum;
        RadGridSearch.MasterTableView.Columns.Add(col);
 
        col = new GridBoundColumn();
        col.HeaderText = string.Format("{0} Sales for {1}", year, ar);
        col.DataField = string.Format("TyYtdSales{0}", ar);
        col.UniqueName = string.Format("TyYtdSales{0}", ar);
        col.SortExpression = string.Format("TyYtdSales{0}", ar);
        col.ShowFilterIcon = true;
        col.ItemStyle.Wrap = false;
        col.ItemStyle.HorizontalAlign = HorizontalAlign.Right;
        col.DataFormatString = "{0:c}";
        col.Aggregate = GridAggregateFunction.Sum;
        RadGridSearch.MasterTableView.Columns.Add(col);
 
        //dataColumns.Add(string.Format("YblSales{0}", ar));
        //dataColumns.Add(string.Format("LySales{0}", ar));
        //dataColumns.Add(string.Format("TyYtdSales{0}", ar));
    }
 
    col = new GridBoundColumn();
    col.HeaderText = "Total";
    col.DataField = "Total";
    col.UniqueName = "Total";
    col.SortExpression = "Total";
    col.ShowFilterIcon = true;
    col.ItemStyle.Wrap = false;
    col.ItemStyle.HorizontalAlign = HorizontalAlign.Right;
    col.DataFormatString = "{0:c}";
    col.Aggregate = GridAggregateFunction.Sum;
    RadGridSearch.MasterTableView.Columns.Add(col);
 
    //GridCalculatedColumn ccol = new GridCalculatedColumn();
    //ccol.HeaderText = "Total Sales";
    //ccol.UniqueName = "total";
    //ccol.SortExpression = "total";
    //ccol.ShowFilterIcon = true;
    //ccol.ItemStyle.Wrap = false;
    //ccol.ItemStyle.HorizontalAlign = HorizontalAlign.Right;
    //ccol.DataFormatString = "{0:c}";
    //ccol.Aggregate = GridAggregateFunction.Sum;
    //ccol.DataFields = dataColumns.ToArray();
    //ccol.DataType = Type.GetType("System.Double");
 
    //string expression = string.Empty;
 
    //for (int i = 0; i < dataColumns.Count; i++)
    //{
    //  expression += String.Format("({{{0}}} == null ? 0 : {{{0}}})+", IntFormatter.ToString(i));
 
    //}
    //expression = StringFormatter.Left(expression, expression.Length - 1);
    //ccol.Expression = expression;
 
    //RadGridSearch.MasterTableView.Columns.Add(ccol);
 
    //rebind
    RadGridSearch.Rebind();
}
Princy
Top achievements
Rank 2
 answered on 29 Jul 2013
3 answers
79 views
HI I am facing issue with Radgrid edit button click when i click on edit . Grid disappear from screen.

Not able to trace what's the issue.
Princy
Top achievements
Rank 2
 answered on 29 Jul 2013
2 answers
117 views
Hello,

I have a site using Telerik controls and the pages all look fine.

I added a new page and it looked fine. However, I just added the FileExplorer and now my menu style has changed. If I remove the FileExplorer control the menu goes back to normal. 

Any ideas? I have attached a before/after screenshot. 

Update: the issue goes away if I stop using a custom skin on my menu and instead use a built in skin. I have switched to using a built in skin (Silk) for now.

Thank you
Shaw
Top achievements
Rank 1
 answered on 27 Jul 2013
2 answers
110 views
Hi!

We are using a RadGrid to display some elements... In the "ClientSettings" section, we added "<ClientEvents OnRowClick="rowClick" />" to call a JS function when a row is clicked...

In that function, we have some code that checks if the row that the user just clicked was already selected. If it was, it calls the method "set_selected(false)" on the selected element and disable buttons.

This is working perfectly with IE8... But won't work in Chrome, Firefox, or IE10... In those browser, the element is actually unselected, but the selected style stays. So the row looks like it's still selected. I also tried to call "clearSelectedItems()" on the radgrid and i have the same problem... Any workaround / plans to resolve this problem?
Marc-André
Top achievements
Rank 1
 answered on 26 Jul 2013
5 answers
647 views

I am dynamically greating columns and assigning a sequence as their name.  How do I get the columns name of the column I have selected?

        For Each column As DataColumn In odt.Columns

            Dim boundColumn As GridBoundColumn

            boundColumn = New GridBoundColumn()
            dgCompGrid.MasterTableView.Columns.Add(boundColumn)

            With boundColumn
                .DataField = column.ColumnName
                .UniqueName = "dgX" & i
                .Display = True
                .HeaderText = column.ColumnName
                .HeaderStyle.ForeColor = Color.Black
                .HeaderStyle.BackColor = Color.White
                .HeaderStyle.Font.Bold = True
                .ItemStyle.Font.Size = 8
                .ItemStyle.ForeColor = Color.Gray
                .ItemStyle.HorizontalAlign = HorizontalAlign.Left
                .HeaderStyle.Font.Size = 8

            End With
            i = i + 1
        Next 'i




So each column will be named dgX1, dgX2 and so on... I just will never know how many so I need be able to get the columns name depending on the cell I have selected in the grid.  Also I need the row number. 

vb code

Thanks,

Konstantin Dikov
Telerik team
 answered on 26 Jul 2013
3 answers
362 views

First up I know I'm being lazy, but the button is in a user control, and using the request.form is easier than recreating the user control on postback and getting the value.
 
That said how would I get the checked value of a RadButton that is configured as a toggle button to look like a checkbox? The data is in the form :

{"text":"","value":"","checked":true,"target":"","navigateUrl":"","commandName":"","commandArgument":"","autoPostBack":false,"selectedToggleStateIndex":0,"validationGroup":null,"readOnly":false}

 
Its the Checked value I need. .

Andy

Danail Vasilev
Telerik team
 answered on 26 Jul 2013
4 answers
12.7K+ views
Is it possible to place "reportingto" nodes within a group?
Scenario is quite simple really...

You have your Manager
Manager is head of Teams
Within the Teams are groupd of people all reporting to each other.
Also the way to report to different managers within groups in ne area appears to be missing... I can work aroud that though (I think)
Anyway...

Bob is Manager
Web Team is a team
Sinead is Manager
Bill works for Sinead in Web Team

Catch my drift?
John
Top achievements
Rank 1
 answered on 26 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?