Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
95 views
please i have a problem and wish someone can help me out.
How can i loop through a grid view and get all the rows and transfer the data into another page to print a receipt.
Thanks in advance
Eyup
Telerik team
 answered on 29 Jul 2013
1 answer
146 views
  Last week I updated my Rad Controls asp.net from 2013.1.417.35 to 2013.2.611.35 with this I have a couple of questions.

1: When opening a Visual Studio I usually get the notification of any Telerik Updates and select the Get it Now option. This is what I did on the last go around and updated that way. I noticed that doing so it installed the update in the C:\User\AppData\Roaming\Telerik\Updates\Telerik.Web.UI_2013_2_611_Dev_hotfix folder.  Is this the best way, preferred way or the not correct way to update Telerik Controls. I like to keep my controls up to date,

2: After updating the controls, I continued to work on my project and once finished I moved over to our production server my changes plus the updated DLL's to the bin folder. Everything seemed to work fine until I came to any of the Rad Grids that had significant customizations that I made in which selecting a record caused the loss of all my Session Variables. After a little process of elimination, I found that pulling out the earlier Rad Grid and adding a new one to the page with some changes to how I made those previous customizations solved the problem. Is this error on my part of improper modifications or something I will have to do to all of the Rad Grids that I customized using the older version of the controls. Putting back the older version of the DLL's did not work, but adding an entirely new Rad Grid was my only option. Any suggestions.

Thanks John.

 

Andrey
Telerik team
 answered on 29 Jul 2013
7 answers
731 views
Hi guys.

Is it possible to call a javascript function in itemcommand event fires?

How can I achieve this?
Eyup
Telerik team
 answered on 29 Jul 2013
1 answer
110 views
Am new to telerik radcontrols. I have been having issues with the controls. they appear well in visual studio but they don't display well during runtime. Please i need help.
Plamen
Telerik team
 answered on 29 Jul 2013
2 answers
55 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
89 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
231 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
308 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
98 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
134 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?