Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
136 views

Hi:

I am trying to emulate a given Excel pivot table with the
RadPivotGrid control. This pivot table has a calculated field used on the ‘∑ Values’ section with a ‘SUM’ aggregate function. I haven’t found a way to correctly set the PivotGridAggregateField tag. The formula for the calculated field is to divide other two fields, ex. field1/field2. What happens is that for each row Excel do: sum(field1) / sum(field2).

I am using ASP.NET 4.5, Windows 8, Internet Explorer 10.0.9200.16721, Telerik v.2013.2.717.45, C#.

The provided help will be appreciated.

Thanks!

Jose

 

 

 

Antonio Stoilkov
Telerik team
 answered on 06 Nov 2013
4 answers
278 views
Hello,

There is an issue with Radgrid excel exporting.

I have followed this example exactly http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/excelmlexport/defaultcs.aspx
except i make a call to the database on the code-behind rather than using a sqldatasource.

but on ExcelMLExportRowCreated i try to get a CellElement by cell name but it always comes back as null. i disabled autocreating columns because i create my own on the aspx page and i set a HeaderText, DataField, and UniqueName for each one. The datafield and UniqueName are the same and i use that when i call GetCellByName. Why is this not working?
What am i missing?

Please reply/fix asap.

Thanks.
Kostadin
Telerik team
 answered on 06 Nov 2013
5 answers
753 views
I have scenarios like : 
function hello() {
if(confirm("hello"))
alert("yes");
else
alert("no");
}

I wanted to confirm this confirm to radconfirm. so I wrote a code like : 
function hello(){
     showconfirm();
      if (test) {
       alert("yes");//Here I might use some local variables
      }
      else
        alert("Cancelled");//Here I might use some local variables
    }
 
  function showconfirm() {
    radconfirm("Hello", confirmCallbackFunction);
  }
  function confirmCallbackFunction(arg) {
    test = arg;
  }

As radconfirm is non-blocking so an alert with "Cancelled" is always prompted without waiting for the value set from the radconfirm.. I can't do all the works in confirmCallbackFunction function because I will have some local variables in hello() function. In this case how can I use blocking radcofirm ?

I mean , I want to block the further code processing until a button is clicked from the confirm. I want the further codes to be processed after clicking one button in confirm. Thanks in advance for your help.
Shinu
Top achievements
Rank 2
 answered on 06 Nov 2013
9 answers
81 views
When inserting flash or media in IE8, its adding two attributes (i.e. originalAttribute and originalPath) twice into the embed element, which is creating problem in rending the content. This error will occur when disabling EditorFilters.ConvertToXhtml filter. Is there any workaround for this problem?

FYI here is the generated markup:

<OBJECT classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width=150 height=150>

<param name="Movie" value="/admin/static/qa3/usermedia/FrogLifeCycle.swf"/>
<param name="play" value="true"/>
<param name="quality" value="high"/>
<param name="wmode" value="transparent"/>
<param name="loop" value="false"/>
<param name="menu" value="false"/><embed src="/usermedia/FrogLifeCycle.swf" originalAttribute="src" originalPath="/usermedia/FrogLifeCycle.swf" originalAttribute="src" originalPath="/usermedia/FrogLifeCycle.swf" width="150" height="150" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" wmode="transparent" loop="false" menu="false"></embed></OBJECT>


Thanks
Ianko
Telerik team
 answered on 06 Nov 2013
1 answer
80 views
Hello,

I saw that in Radcontrols for Winforms there is something called "Excel-like filtering". I really like it and I was wondering if it is possible to create filtering similar to "Excel-like filtering" in web application using existing components or maybe telerik is planning to create component like that. 

Regards,
Kuba.
Princy
Top achievements
Rank 2
 answered on 06 Nov 2013
17 answers
1.4K+ views
When using the GridExcelBuilder to add and format a new row when exporting from the RadGrid, is there a way to set a cell within the row to wrap text? This would give the same effect as if you invoked the "Alignment > Text Control > Wrap Text" option in the Format Cells property sheet in Excel. Hopefully the code snippet below will give an idea of what I'm trying to do.

protected void Grid_ExcelMLExportRowCreated ( object source, Telerik.Web.UI.GridExcelBuilder.GridExportExcelMLRowCreatedArgs e ) 
{ 
    if ( e.RowType == GridExportExcelMLRowType.HeaderRow ) 
    { 
        RowElement myNewRow = new RowElement(); 
        CellElement myNewCell = new CellElement(); 
        myNewCell.StyleValue = "myNewStyle"; 
        myNewCell.MergeAcross = e.Row.Cells.Count - 1; 
        //now call the hypothetical property which doesn't seem to exist... 
        myNewCell.WrapText = true; 
        //etc... 
    } 
} 

Thanks,

Keith

Kostadin
Telerik team
 answered on 06 Nov 2013
1 answer
101 views
Hallo Telerik Team

I am using two radtextboxes in my login.aspx  with password strength checking enabled for the second textbox. I am following this http://www.telerik.com/help/aspnet-ajax/input-textbox-pasword-strength-checker.html tutorial. The issue is that if the user enter coma it is treated as a usual letter instead of a special character. Is this intended or some inadvertent pitfall in the control?
Shinu
Top achievements
Rank 2
 answered on 06 Nov 2013
1 answer
188 views
Its name is clear. But when I run the following in the developer tools' console:
setTimeout(function(){
console.log($find("ctl00_MainContent_gv").get_batchEditingManager().get_currentlyEditedCell());
},5000);
Then get the focus to a grid cell open for editing, I get null logged after the 5 seconds elapse.

I'm creating a new functionality that requires getting the current edited cell at a keyup event handler. How to achieve this?
أشرف
Top achievements
Rank 1
 answered on 06 Nov 2013
3 answers
389 views
I have recently upgraded a project to Telerik.Web.UI.dll 2013.3.1015.40.  Our RadWindows are opened through a common handler function which calls set_visibleStatusbar(false), this no longer works if I set RenderMode to auto in web.config and view in a modern browser.  I have verified by manually getting a reference to the window in the browser console and calling the method directly, the status bar does not disappear.

The status bar does disappear if I set the RenderMode to classic in web.config or set VisibleStatusbar="false" in the aspx.

This seems like a bug to me, anything I might have overlooked?
Marin Bratanov
Telerik team
 answered on 06 Nov 2013
6 answers
235 views
Hello,
I have a problem with control panel. When I'm trying to get into settings panel (to set up "Keep older versions") the app is getting error "System.InvalidOperationException: Password decryption failed." (more in the attached screenshot). I tried to reinstall that, with no result. It's showing every time im clicking on settings icon.

Cezary
Top achievements
Rank 1
 answered on 06 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?