Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
103 views
Hi,

Is it possible to have the RadDock moving webparts in a SharePoint page?

Thanks.
Pero
Telerik team
 answered on 11 Nov 2010
8 answers
384 views
Hi Telerik,

We have just upgraded from Telerik RadEditor version 4.5.0.0 to version 5.8.0.0.

After the upgrade, the new version has changed the html of some existing pages (where content was originally added using RadEditor version 4.5.0.0). For example, on some pages, loads of " " have appeared in the code, and when trying to edit existing content to remove or "fix" up the changed html, often the changed html reappears after checking the page in.

Here's an example of some content in a web content management scenario, i.e. an embedded radeditor control:

<p><a href="http://www.legislation.qld.gov.au/LEGISLTN/CURRENT/E/EnvProtR08.pdf" target="_blank">Environmental Protection Regulation 2008</a> </p>
</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Chapter 7 - Administration, Part 1 - Devolution, Part 2 - Enforcement. </p>

The 3 lines containing <p>&nbsp;</p> were somehow added after the upgrade and are not meant to be there.

If I go in and edit the content, removing each <p>&nbsp;</p> and then click Check In To Share Draft on the page, instead of removing those 3 lines, the spaces reappear.

Any ideas as to why this might be happening? Other strange things that happen include radeditor inserting random <p> tags, shifting/adding <span> tags, text going bold for some reason when a change is made, <tr></tr> tags changing into <tr /> and <td></td> changing into <td />.

We are using MOSS 2007 and IE8.

Thanks,
Claudz
Rumen
Telerik team
 answered on 11 Nov 2010
3 answers
174 views
Hi,

If I want the filter field dropdown to be populated with "PersonId", "PersonName", "PersonCity", should I create three RadFilterTextFieldEditor objects and add them to the FieldEditors collection?

I stored the field names in a database. I get the data from the database and create the editors in the Page_Load.

if (!IsPostBack)
{
      List<FilterField> fields = db.GetData();
      foreach (FilterField field in fields)
      {
            RadFilterTextFieldEditor editor = new RadFilterTextFieldEditor();
            editor.FieldName = field.Name;
            RadFilter1.FieldEditors.Add(editor);
      }
}

It works when the page is first loaded, however, I got an error in any following postback.

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

I appreciate it very much if you can help.

Tsvetoslav
Telerik team
 answered on 11 Nov 2010
1 answer
55 views


This was working fine before I upgraded today to the latest version.
Now it shows my images as well as the default telerik images.

<
telerik:RadPanelBar ID="RadPanelBar1" Runat="server" Skin="Windows7"
            Width="90%" Height="500px" ExpandMode="SingleExpandedItem" AllowCollapseAllItems="true">
            <Items>
                <telerik:RadPanelItem runat="server" Text="Company" ImagePosition="Right" ImageUrl="Images/Expand.jpg" ExpandedImageUrl="Images/Collapse.jpg"  >
Kamen Bundev
Telerik team
 answered on 11 Nov 2010
5 answers
126 views
Hello,

I would like to transfer only selected checkboxes items that i was selected manually from the listbox.
I need it from the client side.

JS example will be appriciate.

Regards,
Oren
Princy
Top achievements
Rank 2
 answered on 11 Nov 2010
5 answers
350 views
I have a grid with a GridDropDownColumn.  EditMode is "InPlace".  On Insert I want to access the GridDropDownColumn...no problem there..but when the Grid is in Edit mode I want to disable the dropdown.  How do I go about doing this?
Thanks,
Larry
Ravi Kumar Kamboj
Top achievements
Rank 1
 answered on 11 Nov 2010
3 answers
95 views
Hi,

I've found this sample for filtering with a single button click (http://www.telerik.com/community/code-library/aspnet-ajax/grid/single-filter-button-for-all-columns-in-radgrid.aspx) It use the FilterExpression of MasterTableView. Is it possible to achieve the same thing without the FilterExpression by using the default filter functionality? I have a grid with different types of columns. Some are of type GridBiund some of type GridDateTime and some of type GridNumeric. In condition of column type I'd like to set the CurrentFilterFuction to Contains or EqualTo. I would like to do something like this: If column is of type GridBoundColumn then set Contains, if it is a DateTime column then set EqualTo. And a base requirement is to persist the entries in the filter boxes.

Thanks
Martin
Telerik team
 answered on 11 Nov 2010
1 answer
169 views
HI there
I would like to get result from server side managed code from radwindow and based on that display message on parent .aspx form.
you have demo example but its for client side.

please advise
Shinu
Top achievements
Rank 2
 answered on 11 Nov 2010
1 answer
175 views
Hi,

Is it possible to deselect nodes when a user clicks outside the RadTreeView?

Thanks,
- J
Shinu
Top achievements
Rank 2
 answered on 11 Nov 2010
10 answers
403 views
I am have a few issues trying to get a tabstrip to work with a local IFrame on the page.  According to the documentation, if you want to use a Templated Tab then you must perform a databind on the control.  However, what I have noticed is that after I perform a databind, my tab no longer loads the contents according to the Target and NavigationUrl I've specified.  I've also tried using a Hyperlink in my template as well and I could not seem to get this to work. 

I'm sure I'm missing something but I can't figure it out.

Here is the code for the page and code behind...
------------------------- Page ----------------

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ 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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
   
        <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
        </telerik:RadScriptManager>
   
    </div>
    <telerik:RadTabStrip ID="RadTabStrip1" runat="server">
        <Tabs>
           
        </Tabs>
        <TabTemplate>
        <table>
        <tr>
            <td>
                <asp:HyperLink ID="HyperLink1" Target="IFrm1" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "Url") %>' Text='<%# DataBinder.Eval(Container.DataItem, "Text") %>' runat="server">HyperLink</asp:HyperLink>
               
            <td>
                <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="pushpin.gif"/></td>
        </tr>
        </table>       

 </TabTemplate>

    </telerik:RadTabStrip>
    <iframe name="IFrm1" style="width: 1017px; height: 595px"></iframe>
    </form>
</body>
</html>


------------------ Code Behind  ------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;

public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            RadTabStrip1.DataTextField = "Text";
            RadTabStrip1.DataNavigateUrlField = "Url";
            RadTabStrip1.DataFieldID = "ID";
            RadTabStrip1.DataFieldParentID = "ParentID";
            RadTabStrip1.DataSource = GenerateSiteData();
            RadTabStrip1.DataBind();

        }
    }

    private ArrayList GenerateSiteData()
    {
        ArrayList siteData = new ArrayList();
        //siteData.Add(new SiteDataItem(1, null, "All Sites", ""));
        //siteData.Add(new SiteDataItem(2, 1, "Search Engines", ""));
        //siteData.Add(new SiteDataItem(3, 1, "News Sites", ""));
        siteData.Add(new SiteDataItem(4, 2, "Yahoo", "http://www.yahoo.com"));
        siteData.Add(new SiteDataItem(5, 2, "MSN", "http://www.msn.com"));
        siteData.Add(new SiteDataItem(6, 2, "Google", "http://www.google.com"));
        siteData.Add(new SiteDataItem(7, 3, "CNN", "http://www.cnn.com"));
        siteData.Add(new SiteDataItem(8, 3, "BBC", "http://www.bbc.co.uk"));
        siteData.Add(new SiteDataItem(9, 3, "FOX", "http://www.foxnews.com"));
        return siteData;
    }

}

public class SiteDataItem
{
    private string _text;
    private string _url;
    private int _id;
    private int _parentId;
    public string Text
    {
        get { return _text; }
        set { _text = value; }
    }
    public string Url
    {
        get { return _url; }
        set { _url = value; }
    }
    public int ID
    {
        get { return _id; }
        set { _id = value; }
    }
    public int ParentID
    {
        get { return _parentId; }
        set { _parentId = value; }
    }
    public SiteDataItem(int id, int parentId, string text, string url)
    {
        _id = id;
        _parentId = parentId;
        _text = text;
        _url = url;
    }
    public static List<SiteDataItem> GetSiteData()
    {
        List<SiteDataItem> siteData = new List<SiteDataItem>();
        siteData.Add(new SiteDataItem(1, 0, "All Sites", ""));
        siteData.Add(new SiteDataItem(2, 1, "Search Engines", ""));
        siteData.Add(new SiteDataItem(3, 1, "News Sites", ""));
        siteData.Add(new SiteDataItem(4, 2, "Yahoo", "http://www.yahoo.com"));
        siteData.Add(new SiteDataItem(5, 2, "MSN", "http://www.msn.com"));
        siteData.Add(new SiteDataItem(6, 2, "Google", "http://www.google.com"));
        siteData.Add(new SiteDataItem(7, 3, "CNN", "http://www.cnn.com"));
        siteData.Add(new SiteDataItem(8, 3, "BBC", "http://www.bbc.co.uk"));
        siteData.Add(new SiteDataItem(9, 3, "FOX", "http://www.foxnews.com"));
        return siteData;
    }
}

 

vivek
Top achievements
Rank 1
 answered on 11 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?