Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
127 views
Hello All,

I need to have a radeditor set to readonly with a toggle for full screen.  Full screen should also be readonly.
I have a radeditor set to height=100px and editmodes=Preview.  The following works but not in full screen.

**Once I toggle from full screen back, the editor is no longer readonly.

<telerik:RadEditor Skin="Default" ID="RadEditor1" EditModes="Preview" OnClientModeChange="OnClientModeChange" Enabled="true" runat="server" Width="100%" Height="150px" ToolsFile="~/includes/NoTools.xml">
</telerik:RadEditor>

function OnClientModeChange(editor, args) {
                var mode = editor.get_mode();
                switch (mode) {
                    case 1:
                        //alert( "We are in Design mode");
                        //do something
                        break;
                    case 2:
                        //alert("We are in HTML mode");
                        break;
                    case 4:
                        setTimeout(function () {
                            var tool = editor.getToolByName("ToggleScreenMode");
                            tool.setState(0);
                        }, 0);
                        //alert( "We are in Preview mode");
                        //do something
                        break;
                }
            }

Khanh
Top achievements
Rank 1
 answered on 04 Jan 2013
2 answers
97 views
Help.

My boss caught a glimpse of the RadGrid with no skin assigned and liked it, mainly because of the compactness of the display.  On top of that, he wants row borders.

Now I'm trying to customize it and I'm getting nowhere.

It looks to me like having a null skin setting also eliminates the ability to center a radgrid within a div.  (I've been using this to center the grid:  div.RadGrid { margin-left: auto !important; margin-right: auto !important;}.

Is any of this even possible?
Boris
Top achievements
Rank 1
 answered on 04 Jan 2013
2 answers
87 views
Hi.

i have treeview that has onnodeclick event. and i want to add tooltip (text:this node has child) on treeview.selectednode if node has child.

serverside or clientside, i dont know which way the best for this scenerio. i tried server side but i didnt get result.

i read a few forum post and demos but i am a bit  confused. Could someone give me sample for this.

thanks.


Cuneyt
Top achievements
Rank 1
 answered on 04 Jan 2013
1 answer
156 views
How can i remove the border in the radlistview?
Princy
Top achievements
Rank 2
 answered on 04 Jan 2013
1 answer
119 views
I see examples on how to export to PDF on the ASP.NET Ajax RadGrid - does the SPRadGrid Web Part support exporting to PDF?  

I assume I could do this with a custom application page, but I'm trying to find a setting in the SPRadGrid Designer or a way to do it in the web part itself (no app dev).

Thank you!
Michael
Tsvetoslav
Telerik team
 answered on 04 Jan 2013
1 answer
97 views
hii,
I have a radcombobox with 2 items. How can i restrict the user from selecting the second item?

Thanks
Princy
Top achievements
Rank 2
 answered on 04 Jan 2013
1 answer
75 views
How can i get the uniquename of all the columns in the radtreelist?
Princy
Top achievements
Rank 2
 answered on 04 Jan 2013
12 answers
413 views
I have a radwindow with 2 text boxes, when the submit button is clicked i notice neither of the textboxes on this page show the values that have been entered.

both show as empty.

how do i get these values?

it works when the form is within a normal asp.net page so its presumably due to the radwindow scenario.
Mark
Top achievements
Rank 1
 answered on 04 Jan 2013
0 answers
108 views
Dear All!

i am working on a simple school fee management application . i am developing it in extjs. I am stuck in following case .

case: There are many students are there in a grid. i want to print fee for all students . In my database i have a table named as feeSlip . that table has slipId. each student has unique slipid. so if there are 100 students are there then there are 100 slipids are there. Now here is a problem.
I want to print my report in a loop against each slip id. 

i want to know how i can do this. i mean how i can print my report more then once by using single command.

Best  Regards
Waqas
Top achievements
Rank 1
 asked on 04 Jan 2013
3 answers
288 views

I am trying to rebind my RadGrid after I have performd some actions below is my ajax code that does some operations in server side:

var id = $(this).find("input[name$=hiddenID]").val();

                 $.ajax({
                    type: "POST",
                    url: "Details.aspx/DoStuff",
                    data: "{'id': '" + id + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",

                    success: function (msg) {
                        if (msg.d == 'Sent') {
                            $.colorbox({ href: '/view.aspx?Id=' + id, iframe: true,});
                           GridRebind();
                        }
                    }

                });

To rebind on success I have got this javascript code:

function GridRebind() {
                        var masterTable = $find("<%= gd.ClientID %>").get_masterTableView();
                        masterTable.rebind();
                    }

But everytime I get $find(..)is null on var masterTable = $find("<%= gd.ClientID %>").get_masterTableView(); and it doesn't rebind the grid.

When researching I found out you need to put the following in Grid and set Grid datasource to something on page Init but still not working :

 <ClientSettings>
      <ClientEvents OnCommand="function(){}"  />
 </ClientSettings>
Kostadin
Telerik team
 answered on 04 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?