Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
108 views
I have some data that I am displaying in a child detail grid.  The data in one column is encrypted in the database.  I need to decrypt the data using a method in my code for display in the grid.  How can I accomplish this?
Shinu
Top achievements
Rank 2
 answered on 03 Oct 2008
3 answers
155 views
Hello,

We can increse Editor Text area by dragging corner in right bottom.
I dont want to expost this feature to my users..so how can I disable this?

Thank you
Sree
Rumen
Telerik team
 answered on 03 Oct 2008
1 answer
113 views
Hello,

Could you please tell me, the setting where you turn off the auto TBODY adding tag to the html.

For all Table tags ... Editor is adding, TBODY tags automatically, Is there any way to turn off this feature? not to append TBODY tag.

Regards,
Sree
Rumen
Telerik team
 answered on 03 Oct 2008
3 answers
164 views
Hi,

We recently purchased Rad editor and have implemented it in our sharepoint farm to allow firefox and opera users to have rich text editing in the publishing pages.

All was working untill a user noticed while creating a link, he would highlight the text and hit the link button.  This brings up the standard sharepoint edit hyperlink button.  The user can browse the sharepoint pages and documents as normal, but when they hit ok, it won't copy it to the "Selected URL field.  This field will always remain blank.  Even if they type the link in manually, it won't register even after they hit ok.  This is working fine in IE however, it appears to only be an issue with firefox.

Please help.

Thanks,

Bryan
Lini
Telerik team
 answered on 03 Oct 2008
4 answers
173 views
Hi,

We are currently using RadEditor in one of our applications in house.  The app is being used on mobile devices with touch screen.  The users require that the font sizes on the AJAX Rad Spell popup dialog be increased.  Can someone please provide me with some pointers or a sample CSS that I could implement to customize the appearance of the Spell Check Dialog Box (AJAX).  I am using Q2 2008 release of Rad Editor.

Thanks,
Mansoor.
Rumen
Telerik team
 answered on 03 Oct 2008
7 answers
295 views
I'm using formedit templates how can I use the 'built-in'
insert. update, cancel buttons and functions
thanks
Sebastian
Telerik team
 answered on 03 Oct 2008
1 answer
195 views
I am trying to develop a page with a rad tree within the left pane of a splitter and when a node is clicked I want to add a control (ascx) programatically to the right pane. It works, but when the edit button is clicked in the right pane's control, the postback happens, but the dynamically loaded control that was in the right pane does not get the postback.

The enable view state is set to true in the splitter, but nothing happens. I have examined the controls collection on the post back in question and the control I am loading dynamically is not there.

Here is the page with the splitter:

public partial class components_NorViewer : System.Web.UI.UserControl  
{  
    protected void Page_Load(object sender, EventArgs e)  
    {  
        if (!Page.IsPostBack)  
        {  
            string rootFolder = Server.MapPath("~/NORs");  
 
            RadTreeNode rootNode = new RadTreeNode(Path.GetFileName(rootFolder));  
            rootNode.ImageUrl = "~/images/folder.gif";  
            rootNode.Expanded = true;  
            RadTreeView1.Nodes.Add(rootNode);  
            BindTreeToDirectory(rootFolder, rootNode);  
        }         
    }  
    private void BindTreeToDirectory(string dirPath, RadTreeNode parentNode)  
    {  
        string[] directories = Directory.GetDirectories(dirPath);  
        foreach (string directory in directories)  
        {  
            RadTreeNode node = new RadTreeNode(Path.GetFileName(directory));  
            node.ImageUrl = "~/images/folder.gif";  
            parentNode.Nodes.Add(node);  
            BindTreeToDirectory(directory, node);  
        }  
 
        string[] files = Directory.GetFiles(dirPath);  
        foreach (string file in files)  
        {  
            RadTreeNode node = new RadTreeNode(Path.GetFileNameWithoutExtension(file));  
            node.ImageUrl = "~/images/new.gif";  
            node.ToolTip = "Click to Load Groups of this NOR";  
            parentNode.Nodes.Add(node);  
        }  
    }  
    protected void NodeClick(object sender, RadTreeNodeEventArgs e)  
    {  
        switch (e.Node.Level)  
        {  
            case 1:  
                components_NorDetail uc1 = (components_NorDetail) Page.LoadControl("~/components/NorDetail.ascx");  
                uc1.FileName = "~/NORs/" + e.Node.Text + ".xml";  
                RadPane2.Controls.Add(uc1);                 
                BuildNorSectionNodes(e.Node.Text, e.Node);  
                break;  
            case 2:  
                Control uc = Page.LoadControl("~/components/NorSection.ascx");  
                RadPane2.Controls.Add(uc);  
                break;  
        }  
    }  
    private void BuildNorSectionNodes(string strfile, RadTreeNode parentNode)  
    {  
        DataSet ds = new DataSet();  
        ds.ReadXml(Server.MapPath("~/NORs/" + strfile+".xml"));  
        foreach (DataRow dr in ds.Tables["sectiongroup"].Rows)  
        {  
            RadTreeNode node = new RadTreeNode(dr["sectiongroupnumber"].ToString()+" "+dr["sectiongrouptext"].ToString());  
            node.ImageUrl = "~/images/new.gif";  
            node.ToolTip = "Click to Load Sections of this Group";  
            node.Expanded = true;  
            parentNode.Nodes.Add(node);  
        }  
        parentNode.Expanded = true;  
     }  

Here is the Control (ascx) in question:

public partial class components_NorDetail : System.Web.UI.UserControl  
{  
    private string strFileName;  
    public string FileName  
    {  
        set { strFileName = value; }  
        get { return this.strFileName; }  
    }  
    protected void Page_Load(object sender, EventArgs e)  
    {  
        DataSet ds = new DataSet();  
        ds.ReadXml(Server.MapPath(FileName));  
        litDate.Text = ds.Tables["NOR"].Rows[0]["date"].ToString();  
        litDesc.Text = ds.Tables["NOR"].Rows[0]["desc"].ToString();  
        litTitle.Text = ds.Tables["NOR"].Rows[0]["title"].ToString();  
        litUpdated.Text = ds.Tables["NOR"].Rows[0]["updated"].ToString();  
    }  
    protected void lkbEdit_Click(object sender, EventArgs e)  
    {  
        string strtest = string.Empty;  
    }  

The string in the lkbEdit_Click method is where I would expect that the postback in question would stop on a breakpoint, when I set one there. It does not. Rad Pane 2 is the pane I am having the issue with.

Thanks!!
Svetlina Anati
Telerik team
 answered on 03 Oct 2008
4 answers
108 views
Hie all,
How do i get the selected column value, say column2 of the selected row.
in C#.
Thank you very much
Princy
Top achievements
Rank 2
 answered on 03 Oct 2008
1 answer
196 views
Hello,
When I paste from Word into the RadEditor sometimes bullets are converted to dots.
I use this StripFormattingPasteOptions: MSWordRemoveAll, Css, Font, Span

The content of ContentAreaCSSFile is:
----

body

{
font-family: News Gothic;
font-size: 9pt;
}

table

{
BORDER-RIGHT: #999999 1px dashed;
BORDER-BOTTOM: #999999 1px dashed;
}

table

td
{
PADDING: 1px;
BORDER-TOP: #999999 1px dashed;
BORDER-LEFT: #999999 1px dashed;}

table

th
{PADDING: 1px;
BORDER-TOP: #000000 1px dashed;
BORDER-LEFT: #000000 1px dashed;}

.RadEWrongWord


{
background: url('wave.gif') repeat-x left bottom; }

.diff_deleted

{color: red; text-decoration: line-through}

.diff_new

{background-color: #99FF00}
----

When I paste with the "Paste From Word" button (NO strip font) the bullets ars ok, but then the font might be wrong (we want News Gothic).
Please help, our users are complaining a lot about this.

Kind regards Barbara

Rumen
Telerik team
 answered on 03 Oct 2008
3 answers
134 views
Hi,

I have an Ajax page which has a number of Telerik controls on it.

It would appear that each Ajax response is including some inline script:

if (typeof($telerik) != 'undefined' && !$telerik.isSafari)  
{  
    var links = document.body.getElementsByTagName('link');  
    if (links && links.length>0)  
    {  
        var documentHead = document.getElementsByTagName('head')[0];  
        if (documentHead)  
        {  
            for (var i=links.length-1;i>=0;i--)  
            {  
                var linkTag = links[i];  
                if (linkTag.title == 'Telerik stylesheet')  
                {  
                    if ($telerik.isIE)  
                    {  
                        linkTag = linkTag.cloneNode(true);  
                    }  
                    documentHead.appendChild(linkTag);  
                }  
            }  
        }  
    }  

Is it possible to turn this off? Is it possible to have a function call instead? My concern is that performance is degrading and the DOM is forever getting larger.

Thanks,
Martin


Lini
Telerik team
 answered on 03 Oct 2008
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?