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

Hello,

I would like to assign the Floating Toolbar with a behavior similar to the PageTop mode: will open on the top of the page, floating (pinned) by default, but will allow unpin and user reposition as option.
I set the Toolbar Mode to "Floating" and added the following code in
OnClientLoad:

function OnClientLoad(editor, args) {

 

// Pin the Floating Toolbar

var wnd = editor.get_toolAdapter().get_window();

wnd.add_show(function () {wnd.togglePin();});

// Activate The Toolbar

editor.get_toolAdapter()._showToolbarHolder(true);

// Set Focus to the Editor

editor.setFocus()

// Move the Floating Toolbar to the Top

editor.get_toolAdapter().get_window().moveTo(0, 0);

}
 

However, it seems togglePin() function prevents the reposition of the Toolbar (Toolbar reposition works fine when togglePin() is commented out), can I integrate both functionalities?

Also (very different issue), is there a way to make the editor inherit all styles from the location it is opened (assuming div content area is used)? I know I can assign a class that includes all required styles but I would like the styles to be automatically inherited in the editor content area.

Thanks in advance!

Rumen
Telerik team
 answered on 19 Apr 2012
5 answers
646 views
How to make accept radcombobox input in Upper Case Letter
Ivan Zhekov
Telerik team
 answered on 19 Apr 2012
1 answer
82 views
Hello All,
       I am working this timezone ((UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi), but i am set the radscheduler time zone in eastern time (US & Canada) through radscheduler.timezoneoffset. i created one appointment with start date is 4/17/2012 12:00 AM and end date is 4/18/2012 12:00 AM. this is one day only, but in radscheduler it's showing two days in month view. could you tell me how to resolve this please.

Thanks.
Achutha Sundar
Genady Sergeev
Telerik team
 answered on 19 Apr 2012
1 answer
160 views
I am trying to Ajaxify RadGrid control and label in code behind. Here is my code. But it doesn't work. Could you please let me know what could be the problem. I am trying to refresh the Label control when RadGrid changed.

Thank you for any help.

                        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                            <AjaxSettings>
                                <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                                    <UpdatedControls>
                                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                                    </UpdatedControls>
                                </telerik:AjaxSetting>
                            </AjaxSettings>
                        </telerik:RadAjaxManager>
  
                        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
                            <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false">
                                <MasterTableView>
                                    <Columns>
                                    </Columns>
                                </MasterTableView>
                            </telerik:RadGrid>
                        </telerik:RadAjaxPanel>
            <div id="div1" runat="server">
                <table id="table1" runat="server" >
                    <tr>
                        <td align="center">
                            <asp:Label ID="lblName" runat="server" Font-Bold="true"> </asp:Label>
                        </td>
                    </tr>
                </table>
            </div>
  
Code behind.
  
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                if (!Page.IsPostBack)
                {
                   RadAjaxManager1.AjaxSettings.AddAjaxSetting(RadGrid1, lblName, null);
                }
            }
        }
Pavlina
Telerik team
 answered on 19 Apr 2012
2 answers
100 views
How can I disable the focus being set in a timeslot when clicked? It is mighty slow even on IE9, and I don't need it.
When having a few dozens appointment in the control, it could take several seconds for the control to set the focus with the style, then raise the OnClientTImeSlotClick event.

I just need the event OnClientTimeSlotClick to be raised, but with no change in the style of the time slot.
Changing the style itself, will not help, because still will be applied by the browser, I will like to remove the application of the style all together while leaving the raising of the event OnClientTimeSlotClick intact.
Plamen
Telerik team
 answered on 19 Apr 2012
2 answers
109 views
Can someone tell me how to get rid of this UL bullet that comes with the AsyncUpload control?! It seems that the Telerik embedded stylesheet is overriding any css I apply to remove it:

http://goo.gl/IPGAR
Ivan Zhekov
Telerik team
 answered on 19 Apr 2012
2 answers
224 views
Is it possible to show a progress bar while exporting is going?
Iliya
Top achievements
Rank 1
 answered on 19 Apr 2012
2 answers
144 views
I'm having trouble with the Input Mode=TextArea
When you place a value eg "test <br />"
It is the javascript error: 

POST http://localhost/Page.aspx 500 (Internal Server Error) Telerik.Web.UI.WebResource.axd:3
Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 Telerik.Web.UI.WebResource.axd:9

Putting the value "test", the postback happens normally. 

Please check.
Thank you. 
Vasil
Telerik team
 answered on 19 Apr 2012
3 answers
240 views
Hi,
 im using asp .net ajax.
im having a problem while tring to export my grid to word/excel.
i used your demo (export on server side). the senario is the following:

1. i have a "command templat" in my grid, that there i put rad tool bad, and add a button of my own, of "Export to Execl", with commandName="MyExportExcel"
2. when the button is pressed  it goes to the "OnButtomClick" method of the radToolBar on the server.
3. there i compare - if this is the commant of "MyExportExcel   
 MyGrid.ExportSettings.ExportOnlyData = true; 
MyGrid.ExportSettings.IgnorePaging= true;  
MyGrid.ExportSettings.OpenInNewWindow= true;   
MyGrid.MasterTableView.ExportToExcel();

after it, the client is still stucked on the loading panel (its like continue thinking and loading) and not stoping... 
so the export not working...

how can i fix it?

and another question - if it wont work it there any way to get the byte[] of the export file, and ill make sure to bring the client a download link with the byte[] data?


 
Tsvetina
Telerik team
 answered on 19 Apr 2012
2 answers
112 views
Hi
How to add required filed validator during inplace editing? Please give an example.
Thanks in advance.
Janaki
Top achievements
Rank 1
 answered on 19 Apr 2012
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?