Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
144 views
Hi,
I am using the RadEditor control from the RadControls for ASP.NET AJAX suite.
The toolbars for the editor appear in both IE as well as Firefox browsers. However, in case of Safari browser for windows the toolbars are not visible at all. They are hidden under the content section. When I do the view source I do see the html code for all the toolbars which means they are being generated.

Any help will be appreciated.

Thanks
Monica
Georgi Tunev
Telerik team
 answered on 01 Dec 2009
1 answer
134 views
I have put RadEditor control at the top of the form and set toolbar mode = "Floating" then toolbar is not display. Its hide by browser itself. One more thing while toolbar mode="Floating" and Toogle Full screen mode clicked then there is no way to display toolbar again. I am also able to reproduce on telerik demo site 

http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

Is there any workaround for that or is there any way to set the position of floating toolbar?
Rumen
Telerik team
 answered on 01 Dec 2009
2 answers
78 views
I just upgraded my code from a previous version of Telerik to the latest.  When I began testing of previously working code, the following stopped working with 'Object doesn't support this property or method

Here is the exact line:

window["ctl00_ContentPlaceHolder1_BaseGrid_Raw_RadGrid1"].AjaxRequest('ctl00$ContentPlaceHolder1$BaseGridRaw$RadGrid1', 'RebindAndNavigate');


This worked in the previous version (RadWindow version 1.7.2.0) using RadWindow.Net2.dll

What difference are there  now?  The example appears to be the same...

Thanks!

-Don
Tonino
Top achievements
Rank 1
 answered on 01 Dec 2009
1 answer
65 views
Hello,

I have downloaded the Lite version of RadEditor. I am testing it in MOSS 2007.
When I try to work with Image Manager, I cannot add any image.
Is it a limitation of the Lite version?
Thanks
Peppe
Stanimir
Telerik team
 answered on 01 Dec 2009
2 answers
176 views
I typically set the column headers for a grid via the code behind:
this.dgMaster.Columns[COL_CONTRACT_HEADER].HeaderText = ApplicationTerm.GetApplicationTerm(MODULE, "txtContractNumber");

How can I use this same technique to set the headers in the DetailTableView?
If I set them in the bind event for the detail items, it works fine....until I expand another row, at which point the new row is fine but all the headers disappear from the other expanded rows.

Thank you in advance.
Keith Harrison
Top achievements
Rank 1
 answered on 01 Dec 2009
1 answer
103 views
Hi All,

Can we combine child table header with MasterTable header in hierarchy grid.
Princy
Top achievements
Rank 2
 answered on 01 Dec 2009
3 answers
85 views
Hi,

I have two long-loading asp:panels on a page with lots of ajax controls interactions.

When the page load completes I add two ajax requests to the ajaxmanager queue so the user can interact with the page without being held up.

What I want to do is if the user interacts, make their ajax request 'jump the queue' and get processed before the two long-loading ajax requests are complete. Once the user's request is complete, continue with the queue.

Is this possible? I see ClientEvents-OnRequestStart can eventArgs.set_cancel(true), but this will also cancel the user's request so it won't work.

I have lots of controls on this page within grids, treeview, buttons, links, so it isn't practical to have all of these change to call a javascript function that eventArgs.set_cancel(true) and then raises an onclick() or similar.

Do you have a solution?

Thanks, Dan
Daniel Sim
Top achievements
Rank 1
 answered on 01 Dec 2009
3 answers
101 views

Several folks here where I work have issues with content shifting around in Internet Explorer. I have examples of it happening when mousing over elements (like buttons) and when clicking on buttons. I've come up with an example project to show it happening.

Here's the .aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager AsyncPostBackTimeout="36000" ID="scriptManager1" runat="server" 
        EnableTheming="True">  
    </telerik:RadScriptManager> 
    <telerik:RadFormDecorator ID="changeCheckboxes" runat="server" DecoratedControls="CheckBoxes,RadioButtons, Buttons" /> 
    <div> 
        <asp:UpdatePanel runat="server" ID="UpdatePanel" UpdateMode="Conditional">  
            <ContentTemplate> 
                <div style="margin: 10px;">  
                    <span>Choose one of these</span> 
                    <asp:Table ID="userTable" runat="server" CellPadding="3" CellSpacing="0" Width="700px" 
                        BackColor="White" GridLines="Vertical" BorderStyle="Solid" BorderColor="#6693CF" 
                        BorderWidth="1">  
                        <asp:TableRow ID="facilityRow" runat="server">  
                            <asp:TableCell Width="150px">blah*</asp:TableCell> 
                            <asp:TableCell Width="450px">  
                                <telerik:RadComboBox ID="facilityRadComboBox" runat="server" Width="250px" Height="150px">  
                                    <Items> 
                                        <telerik:RadComboBoxItem Text="Select One" Value="" /> 
                                        <telerik:RadComboBoxItem Text="red" Value="1" /> 
                                        <telerik:RadComboBoxItem Text="thursday" Value="2" /> 
                                        <telerik:RadComboBoxItem Text="grizzly" Value="3" /> 
                                        <telerik:RadComboBoxItem Text="sad" Value="4" /> 
                                    </Items> 
                                </telerik:RadComboBox> 
                                <asp:RequiredFieldValidator ID="facilityRequiredFieldValidator" runat="server" ControlToValidate="facilityRadComboBox" 
                                    Display="Dynamic" ErrorMessage="<br />This field is required" InitialValue="Select One" /> 
                            </asp:TableCell></asp:TableRow> 
                    </asp:Table> 
                </div> 
                <div style="margin: 10px;">  
                    <span>Now choose one of these</span> 
                    <asp:Table ID="Table1" runat="server" CellPadding="3" CellSpacing="0" Width="700px" 
                        BackColor="White" GridLines="Vertical" BorderStyle="Solid" BorderColor="#6693CF" 
                        BorderWidth="1">  
                        <asp:TableRow ID="TableRow1" runat="server">  
                            <asp:TableCell Width="150px">duh*</asp:TableCell> 
                            <asp:TableCell Width="450px">  
                                <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="250px" AutoPostBack="true" 
                                  
                        Height="150px" onselectedindexchanged="RadComboBox1_SelectedIndexChanged">  
                                    <Items> 
                                        <telerik:RadComboBoxItem Text="Select One" Value="" /> 
                                        <telerik:RadComboBoxItem Text="november" Value="1" /> 
                                        <telerik:RadComboBoxItem Text="farkle" Value="2" /> 
                                        <telerik:RadComboBoxItem Text="verdant" Value="3" /> 
                                        <telerik:RadComboBoxItem Text="carp" Value="4" /> 
                                    </Items> 
                                </telerik:RadComboBox> 
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="RadComboBox1" 
                                    Display="Dynamic" ErrorMessage="<br />This field is required" InitialValue="Select One"/>  
                            </asp:TableCell></asp:TableRow> 
                    </asp:Table> 
                </div>     
                <div style="margin: 10px;">  
                    <span>You Picked</span> 
                    <asp:TextBox ID="first" runat="server" /> 
                    <asp:TextBox ID="second" runat="server" /> 
                    <asp:Button ID="Button1" runat="server" onclick="Button1_Click"   
                        Text="Click Me" /> 
                </div>               
            </ContentTemplate> 
        </asp:UpdatePanel> 
    </div> 
    </form> 
</body> 
</html> 
 

And here's the codebehind

using System;  
using System.Collections.Generic;  
using System.Linq;  
using System.Web;  
using System.Web.UI;  
using System.Web.UI.WebControls;  
 
public partial class _Default : System.Web.UI.Page   
{  
    protected void Page_Load(object sender, EventArgs e)  
    {  
 
    }  
    protected void RadComboBox1_SelectedIndexChanged(object o, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)  
    {  
 
    }  
    protected void Button1_Click(object sender, EventArgs e)  
    {  
        first.Text = facilityRadComboBox.SelectedItem.Text;  
        second.Text = RadComboBox1.SelectedItem.Text;  
    }  
}  
 



choose options in the two drop down lists and then click the button.  You'll see the entire page contents shift downward in IE but not in Firefox.

The actual example in my real code shifts when I mouse over the button..

thanks...

--Matt

Dimo
Telerik team
 answered on 01 Dec 2009
1 answer
143 views
Is there a way to get the same functionality using code behind instead of clientside javascript.
For example the following code used in online demo .../liveDemos/Windows/Examples/RestrictionZone/Defaultcs.aspx
goes as follows:

function OnClientNodeClickingTreeview(sender, eventArgs)
{
var oManager = GetRadWindowManager();
//get the clicked node
var Url = eventArgs.get_node(sender, eventArgs).get_value();
//get the active RadWindow
var oWnd = GetRadWindowManager().getActiveWindow();
//now we need to open a new RadWindow and ensure that
//such RadWindow has not been already opened.
var windows = oManager.get_windows();
for (var i=0;i<windows.length;i++)
{
var wnd = windows[i];
//check if an already created window has that Url
if (wnd.get_navigateUrl() == Url)
{
//if so - activate that window
wnd.setActive(true);
return;
}
}
//else open a new window
radopen(Url,null);
}
I have been trying not to use javascript but instead to implement the above in codebehind. Where can I get info to assist me in the above endeavour?
Georgi Tunev
Telerik team
 answered on 01 Dec 2009
1 answer
85 views
I have downloaded the trial version of the RadControls for ASP.NET Ajax, and can't get the skins to work correctly.

In the web.config

<add key="Telerik.EnableEmbeddedSkins" value="false">
<add key="Telerik.Skin" value="HRP">

I have also created a "Skins" directory at the root of my app, and copied in the Default skin files from the Telerik directory.

I have created a sample test page that has:

RadScriptManager
RadFormDeocrator

Two RadTextboxes
Two RadComboboxes
Two DatePickers

I have set enableembeddedstyles to false, but yet In Firebug, I can clearly see that Webresources are still being downloaded.

Can you point me to a sure fire way to use a custom skin?  The embedded ones seem to keep getting in my way.

Thanks.
Bill.

Dimo
Telerik team
 answered on 01 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?