Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
Our Application is supporting Multiple Language.
In some reports We have added option for Grid Column Filter.Some Countrie Like Netherlands using Comma(,) as decimal Separator.For the NL the data in the Grid is Translating correctly(means the Decimal separator is changing as (,)Ex the a value in the Grid is coming as 345,56).But When ever user Filtering By a Comma Separated Decimal value(like 345,56),Report Throwing Exception.
Andrey
Telerik team
 answered on 21 May 2012
4 answers
133 views
I have a radtree inside a div and I have two buttons inside that same div:  " Print Report" and Print Detailed Report" . "Print report" will print the div with radtree collapsed and "Print Detailed Report" will print the div with radtree expanded. I am using javascript to do that. Now, everything works fine in IE but in Firefox, I am not able to print the div with radtree expanded. I can see radtree expanding on the webpage but not on the window for printing. It prints that div with radtree collapsed. Here is my javascript:
for Collapsed radtree:

 

 

function PrintMe(node) {

 

 

 

var content = node.innerHTML;

 

 

 

var pwin = window.open('', 'print_content', 'width=800,height=700,scroll=no');

 

pwin.document.open();

pwin.document.write(

 

'<html><body onload="window.print()">' + content + '</body></html>');

 

pwin.document.close();

setTimeout(

 

function () { pwin.close(); }, 1000);

 

}
for Expanded Radtree:

 

 

function printSelection(node) {

 

 

 

var treeView = $find("<%= rdTreeDetails.ClientID %>");

 

 

 

var nodes = treeView.get_allNodes();

 

 

 

for (var i = 0; i < nodes.length; i++) {

 

 

 

if (nodes[i].get_nodes() != null) {

 

 

 

if (nodes[i].get_nodes().get_count() != 0) {

 

nodes[i].expand();

}

}

}

 

 

var content = node.innerHTML;

 

 

 

var pwin = window.open('', 'print_content', 'width=800,height=700,scroll=no');

 

pwin.document.open();

pwin.document.write(

 

'<html><body onload="window.print()">' + content + '</body></html>');

 

pwin.document.close();

 

setTimeout(

 

function () { pwin.close(); }, 1000);

 

 

 

for (var j = 0; j < nodes.length; j++) {

 

 

 

if (nodes[j].get_nodes() != null) {

 

 

 

if (nodes[j].get_nodes().get_count() != 0) {

 

nodes[j].collapse();

}

}

}

}

What can be done to print it expanded in firefox?

Plamen
Telerik team
 answered on 21 May 2012
1 answer
123 views
Hi ,
 I have upgraded the latest of telerik dlls.
I am facing a peculiar problem , my rad windows are opening twice.
my dot net frame work is 4.0
Thanks,
Raghav
rdmptn
Top achievements
Rank 1
 answered on 21 May 2012
1 answer
104 views
Hai there,
     Can anybody suggest a way to change transparency of tooltip with modality.
Thanks
Savyo
Princy
Top achievements
Rank 2
 answered on 21 May 2012
5 answers
97 views
Hi
I have a grid where I set the backcolor under certain situations, but when sorting one column, that formatting dissapears, I do get a GridPagerItem back in ItemDataBound instead of GridDataItem, so how do I ensure that my backcolor gets set no matter what type of column I have?

This is my code in ItemDAtaBound which works fine except when I click on a c0olumn to sort it, then that column does not have the colors anymore

    If e.Item.OwnerTableView.Name = "AlleTilbud" Then
      If TypeOf (e.Item) Is GridDataItem Then
        Dim item As GridDataItem = e.Item
        Dim farve As System.Drawing.Color = item.BackColor
        If item("tilbudtdato").Text = "&nbsp;" Then
          item.BackColor = System.Drawing.Color.Yellow
          item("statustext").Text = "Ikke i tilbud"
        Else
          item.BackColor = farve
          item("statustext").Text = "Tilbud"
        End If
        If item("svarfristdato").Text <> "&nbsp;" Then
          Dim dt As Date = CDate(item("svarfristdato").Text)
          If dt < Now Then
            item.BackColor = System.Drawing.Color.Red
            item("statustext").Text = "Svarfrist overskredet"
          End If
        End If
        If item("kontraktdato").Text <> "&nbsp;" Then
          item.BackColor = farve
          item("statustext").Text = "Kontrakt udskrevet"
        End If
        If item("status").Text.ToUpper() = "S" Then
          If item("indflyttersaldo").Text <> "&nbsp;" Then
            Dim betalt As Decimal = CDec(item("indflyttersaldo").Text)
            If betalt = 0 Then
              item.BackColor = farve
              item("statustext").Text = "Kontrakt betalt"
            End If
          End If
        End If
      End If
    End If


Betina
Top achievements
Rank 1
 answered on 21 May 2012
7 answers
326 views
Hi, I am already using ExternalDialogsPath to callup the imagemanager as standalone.
Just a few questions regarding to customization

1) how to hide treeview and addressbox 
2) When i openup the imageditor, it automatically add _thumb to the filename so when i save it it will be a new file with _thumb, how do i avoid that (I am going to hide both options so user will only edit and cannot "save as")

otherwise it's a great control to use. thanks
Rumen
Telerik team
 answered on 21 May 2012
5 answers
139 views
I read the tutorials... I watched the Video... I still do not know how to add a checkbox and a button to the RadScheduler advanced form.  Not one of those resources tells you where to put a modified AdvancedFormVB.ascx file.  If I do manage to modify it, where does it go? I get it from the samples folder, surely it doesn't stay there.  The video is so confusing -- it's all over the place; it's 1/3 through already when it finally gets to the subject of modifying the advanced form and from there it just gets worse.  The download files are useless because there is no instruction.
Peter
Telerik team
 answered on 21 May 2012
2 answers
133 views
Is there a way to disable the radeditor action that happens when ctrl-enter is pressed?  We have a specific function that's supposed to occur and add text to the editor, but it adds the text, then runs a routine that inserts an empty paragrah.
Javier
Top achievements
Rank 1
 answered on 21 May 2012
2 answers
103 views
I'm using javascript on the page to handle keypresses to use as hotkeys.  So if F8 is pressed the order details page pops up.

However, if the cursor is inside of the radeditor, none of the hotkeys work at all.

Is there anyway to work around this?
Javier
Top achievements
Rank 1
 answered on 21 May 2012
1 answer
154 views
when i  adds new item in a rad grid, it always seen in the last page. pls let me know if der is any alternativs.....
thanxxxxxxxxxx
Shinu
Top achievements
Rank 2
 answered on 21 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?