Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
82 views
Does anyone know how to put the design, html, and preview tabs at the top of the editor? Also, how do you get the text to display instead of the icons (pencile, brackets, etc)?
Rumen
Telerik team
 answered on 19 Mar 2009
1 answer
137 views
You can only have 1 RadAjaxManager on a page.

When you use the RadAjaxManager to make asyc calls there's only 1 Event handler (because there is only 1 RadAjaxManager).

However, that means that whenever you use the AjaxRequest event it's going to try to update the 

AjaxUpdatedControl

 

associated to the RadAjaxManager.

This isn't working for me because the panel being updated is located in a asp:Wizard page that is not currently visible.

Any thoughts?  I basically want to make different AjaxRequests on the same page and only update certain panels when certain requests are executed.

Can I manually tell a panel to "update"?  This would probably solve the problem since I could take out the HTML block that wires up the automatic update.

Thanks,
Kevin

Iana Tsolova
Telerik team
 answered on 19 Mar 2009
1 answer
77 views
Hi, im experiencing that my css-file that im using on my page is also used in my editor automaticly even though im using the contentareacssfile-property to add a totaly different css-file. Its very disturbing and i cant get it to work. Ive been trying for days, please help me.

This is what my aspx-file looks like:

 

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Editor.aspx.cs" Inherits="TestWebApplication.Editor" %>  
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>  
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
 
<html xmlns="http://www.w3.org/1999/xhtml" >  
<head runat="server">  
    <title></title>  
    <link href="Stylesheet1.css" rel="stylesheet" type="text/css" />  
</head>  
<body>  
    <form id="form1" runat="server">  
        <div>  
 
            <asp:ScriptManager ID="ScriptManager1" runat="server">  
            </asp:ScriptManager>  
              
            <telerik:RadEditor ID="RadEditor1" Runat="server" ContentAreaCssFile="Stylesheet2.css">  
            </telerik:RadEditor>  
 
        </div>  
    </form>  
</body>  
</html> 
Georgi Tunev
Telerik team
 answered on 19 Mar 2009
1 answer
105 views
Hi All,

I am having a problem with latest version of Rad editor.

I am using rad editor to send html email. But when i paste data from word document( eg: Bulleted/Numbered components ), there appears large number of hyphen after the numbering like

1. - - - - - - - - Test subject.

The text i actually put into the rad is
1. Test subject.

Can anybody help me to resolve this issue. This is wroking in the previous version of Rad. Also i am using IE7. Firefox doesn't seems to have this issue.

FYI:When i searched the forum, i found one link which will remove the symbols and wingdings using javascript, but it dosn't work for me.

Thanks in advance
Tiju Joseph
Rumen
Telerik team
 answered on 19 Mar 2009
2 answers
169 views
Hi

Does anyone know if its possible to display a modal window with the height dependant on its contents?

I have a table which gets data from a database, however, if a field contains too much text, scrollbars appear which ruins the effect and layout of the page. I would rather be able to display the window with all its contents (as long as it remains in screen bounds of course) without the need to scroll.

Does anyone know if this is possible?

Many thanks in advance.

Steve :o)
Steve Humby
Top achievements
Rank 1
 answered on 19 Mar 2009
1 answer
323 views

Hi,

    In a page i have a imagebutton and a grid, on clicking the button a popupwindow comes, in the codebehing(server side) of radwindow i want get the reference of the grid object .

Please help me in this regard...

regards
sathies
Svetlina Anati
Telerik team
 answered on 19 Mar 2009
1 answer
114 views
We purchased RAD Controls.  But I found in the GAC, Baboo solution has already installed the following controls.  Will my installation of RAD Controls conflict with the previous installed controls?


RadGrid.Net2.dll

Assembly

Web Part assembly installed in the GAC

RadChart.Net2.dll

Assembly

Web Part assembly installed in the GAC

RadAjax.Net2.dll



Paul
Telerik team
 answered on 19 Mar 2009
1 answer
142 views
I have downloaded a trial version of Telerik Controls. I am not able to get intellisence for the telerik controls on the code behind files. Is that because it is on trial version, or is it something else? Please let me know.
Thanks
Paul
Telerik team
 answered on 19 Mar 2009
3 answers
272 views
I am new to the Rad controls.  I am using VS2008 and .Net Framework 3.5 with Rad Controls 2008.3.1125.35.  I have a RadGrid with a MasterTableView and a GridDetailView.  In the code behind, I have the following:

 

protected void G_DetailTableDataBind(object source, Telerik.Web.UI.GridDetailTableDataBindEventArgs e)

 

{

 

    GridDataItem parentItem = e.DetailTableView.ParentItem as GridDataItem;

 

    ParentID =

Convert.ToInt32(parentItem.Cells["PEIRS_IncidentID].Text);

 

 


    switch
(e.DetailTableView.DataMember)

 

    {

 

        case "IncidentSupps":

 

 

        // get the data and set the datasource

 

        e.DetailTableView.DataSource = BLL.

Supplement.GetSupplements(ParentID);

 

 

        break;

 

 

        case "IncidentSubjects":

 

 

        // get the data and set the datasource

 

        e.DetailTableView.DataSource = BLL.

Supplement.GetSubjects(ParentID);

 

 

        break;

 

    }

}

I am trying to pull the value of the PEIRS_IncidentID column from the MasterTableView so I can retrieve only those records with a matching PEIRS_IncidentID in the table bound to the GridDetailView.

When I debug and set a breakpoint at the ParentID = ... statment, parentItem.Cells["PEIRS_IncidentID].Text is always an empty string.  When I enter ? parentItem.DataItem in the command window, it shows me all of the bound columns and values in those columns, and none are empty.

Why can I see the data in the command window, but cannot seem to access it in the parentItem variable in the code?


Thanks,
Jack

Daniel
Telerik team
 answered on 19 Mar 2009
5 answers
159 views
Hi,
I use a dock with a set of custom commands and I use the radconfirm function on one of the command. When calling dock.set_close(true) in the callback of radconfirm the dock is closed in the browser but when I make a post back, the dock is not closed on the server. If i don't use a callback everything is fine.
Here is a test page with this scenario:

Docks.aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Docks.aspx.cs" Inherits="Docks" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
        <script type="text/javascript"
            function closeDock(dock, args){ 
                setTimeout( function(){ dock.set_closed(true);}, 100); 
            } 
        </script> 
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 
        <telerik:RadDock ID="dock1" runat="server"
            <Commands> 
                <telerik:DockCommand Name="close" Text="close" OnClientCommand="closeDock" /> 
            </Commands> 
        </telerik:RadDock> 
        <br /> 
        <br /> 
        <br /> 
        <br /> 
        <asp:Button ID="btn1" runat="server" Text="Post back"/> 
        <asp:Label ID="result" runat="server"></asp:Label> 
    </div> 
    </form> 
</body> 
</html> 


Docks.aspx.cs:

using System; 
 
public partial class Docks : System.Web.UI.Page 
    protected void Page_Load(object sender, EventArgs e) 
    { 
        result.Text = string.Empty; 
        btn1.Click += new EventHandler(btn1_Click); 
    } 
 
    void btn1_Click(object sender, EventArgs e) 
    { 
        result.Text = dock1.Closed.ToString(); 
    } 
 

When I closed the dock and click the button the Closed property is still false. If the js function is changed to this:

function closeDock(dock, args){ 
    dock.set_closed(true); 
 

everything is ok. What I want is that the Closed property is true even if I use a callback. Any help would be appreciated.
Thank you,
Ivan Pelovski









Petio Petkov
Telerik team
 answered on 19 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?