Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
211 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
663 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
51 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
56 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.3K+ 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
63 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
149 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
322 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
191 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
1 answer
206 views
There is a radtextbox and a radsearchbox in my aspx page. The Javascript in this page has a getOrder() in which I want to access the width of the textbox and set it to searchbox using style.width. The width of searchbox increases to the stipulated width but the lens symbol position remains unchanged. If I set width in markup it works, but not in JavaScript.
Shinu
Top achievements
Rank 2
 answered on 06 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?