Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
94 views
I am using the Lite version of the editor in MOSS, and I noticed that when you run a spell checker it shows URLs as errors. Is there a way of not having this happen.
Lini
Telerik team
 answered on 09 Aug 2007
1 answer
137 views
Hi, I am using RADEditor for SharePoint Lists. I have downloaded the en-AU dictionary from telerik site and copied on the server. Also I have configured languages for en-AU in ListToolsFile.xml.
 
<Languages>
   <language code="en-AU" title="English"></language>
</Languages>

But in the RADEditor, spell checker is not performed against en-AU, it is always getting performed against en-US.

I would appreciate if you guide me on configure localization settings for en-AU.

Thanks,
Phani
Georgi Tunev
Telerik team
 answered on 08 Aug 2007
4 answers
149 views
Hi All

I have enabled the "Use RAD Editor for listItems" feature for my site, however, when i try to edit properties for pages in my pages library, the default editor is shown.

How can that be? Do i have to enable the feature in my Site Template to get this to work?
JMW
Top achievements
Rank 1
 answered on 08 Aug 2007
3 answers
318 views
Hi,
    I'm creating various Rad Dock objects dynamically and i'm binding it to the Rad Zone based on the Zoneid (Custom defined value). Here i present the piece of code .. This is working fine .. binding the Rad Dock objects at the runtime .. but the problem is whenever i move the Rad dock to diffrent zone . it is posting back .. which is not the best way to implement it ..

    Kindly assit me to get the functionality that i'm looking for .. (No postback when the Rad Dock object is moved to different Rad Zone)

Sample Code:    
aspx page:

<radDk:RadDockingManager ID="RadDockingManager1" runat="server" />
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<table width="100%" style="height: 100%" cellpadding="0" cellspacing="0" id="trMinis">
<tr>
<telerik:RadDockLayout ID="RadDockLayout1" runat="server" OnLoadDockLayout="RadDockLayout1_LoadDockLayout"
OnSaveDockLayout="RadDockLayout1_SaveDockLayout">
<td valign="top" style="width: 33%">
<table width="100%">
<tr>
<td>
<telerik:RadDockZone ID="RadDockZone1" runat="server" BorderStyle="None" BorderWidth="0px">
</telerik:RadDockZone>
<radG:RadGrid ID="RadGrid1" runat="server">
</radG:RadGrid>
</td>
</tr>
</table>
</td>
<td valign="top" style="width: 33%">
<table width="100%">
<tr>
<td>
<telerik:RadDockZone ID="RadDockZone2" runat="server" BorderStyle="None" BorderWidth="0px">
</telerik:RadDockZone>
</td>
</tr>
</table>
</td>
<td valign="top" style="width: 33%">
<table width="100%">
<tr>
<td align="right" width="100%">
<telerik:RadDockZone ID="RadDockZone3" runat="server" BorderStyle="None" BorderWidth="0px">
</telerik:RadDockZone>
</td>
</tr>
</table>
</td>
</telerik:RadDockLayout>
</tr>
</table>


aspx.cs page

protected void Page_Load(object sender, EventArgs e)
    {
        try
        { 
            int intClientid = 68;
        }
        catch (Exception objExp)
        {
            ErrorLog.WriteError(objExp, "View Minis", strLogin);
        }

    }

    protected void Page_Init(object sender, EventArgs e)
    {
        obj_hm.ClientID = 68;// intClientid;
        objds = obj_hm.Minis_Get(); // A Stored Procedure which will return a Table ...

        Session["objtbl"] = objds.Tables["Minis"];

        int zoneid = 1;

        for (int st = 0; st < objds.Tables["Minis"].Rows.Count; st++)
        {
            string id, text, title;

            id = objds.Tables["Minis"].Rows[st]["MiniID"].ToString();
            title = objds.Tables["Minis"].Rows[st]["Heading"].ToString();
            text = objds.Tables["Minis"].Rows[st]["MiniImage"].ToString();           
           
            RadDock dock = CreateRadDock(id, title, text);

            if (zoneid == 1)
            {
                RadDockZone1.Controls.Add(dock);
                zoneid = zoneid + 1;
            }
            else if (zoneid == 2)
            {
                RadDockZone2.Controls.Add(dock);
                zoneid = zoneid + 1;
            }
            else if (zoneid == 3)
            {
                RadDockZone3.Controls.Add(dock);
                zoneid = 1;
            }           
        }
    }

    private RadDock CreateRadDock(string Number, string Title, string Text)
    {
        rg = new RadGrid();
        rg.ID = Number;
        rg.DataSource = (DataTable)Session["objtbl"];
        //rg.Rebind();

        RadDock radDock = new RadDock();
        radDock.ID = Number;
        radDock.Title = Title;
        //radDock.Text = "<img src='.." + Text + "' alt=''/>";
        radDock.ContentContainer.Controls.Add(rg);    
        radDock.AutoPostBack = true;
        radDock.DockMode = DockMode.Docked;
        return radDock;
    }

    protected void RadDockLayout1_SaveDockLayout(object sender, Telerik.Web.UI.DockLayoutEventArgs e)
    {
        JavaScriptSerializer serializer = new JavaScriptSerializer();
        string serializedPositions = serializer.Serialize(e.Positions);
        string serializedIndices = serializer.Serialize(e.Indices);

        HttpCookie positionsCookie = new HttpCookie("DockLayout",
            serializer.Serialize(new string[] { serializedPositions, serializedIndices }));

        positionsCookie.Expires = DateTime.Now.AddDays(1);

        if (Session["Login"] != null)
        {
            Response.Cookies.Add(positionsCookie);
        }
        else
        {
            positionsCookie = new HttpCookie("DockLayout", "");
            Response.Cookies.Add(positionsCookie);
        }
    }
    protected void RadDockLayout1_LoadDockLayout(object sender, Telerik.Web.UI.DockLayoutEventArgs e)
    {
        HttpCookie positionsCookie = Request.Cookies["DockLayout"];
        if (!Object.Equals(positionsCookie, null))
        {
            string serializedPositionsAndIndices = positionsCookie.Value;
            if (!string.IsNullOrEmpty(serializedPositionsAndIndices))
            {
                JavaScriptSerializer serializer = new JavaScriptSerializer();
                string[] positionsAndIndices = serializer.Deserialize<string[]>(serializedPositionsAndIndices);

                e.Positions = serializer.Deserialize<Dictionary<string, string>>(positionsAndIndices[0]);
                e.Indices = serializer.Deserialize<Dictionary<string, int>>(positionsAndIndices[1]);
            }
        }
    }

    Here i have used a Rad Grid, which will be binded to the Rad Dock dynamically .. No need to use the same control .. U can give me some other sample .. but it should not post back when i move the Rad dock object across the Various Zones ..
    
    Help me to fix this out ... Thanks in Advance

Regards,
Sam

Petya
Telerik team
 answered on 07 Aug 2007
2 answers
135 views
Hi,
I am trying to dynamicaly create docks, for my project.
I want to build your example "Dynamically Created Docks", but mine doesn't work. I am using the same codes in the example. (simply copy&paste)
I have the latest version of ASPNET AJAX, and Prometheus.
My docks -which are dynamically created- don't dock to any zone, and dock_commands do not work.
What may I be missing ? I feel like I am missing a very primitive thing, however I couldn't figure out.
Thanks for your help.
talha
Top achievements
Rank 1
 answered on 07 Aug 2007
5 answers
199 views
Is there a way to have RadToolTip show the detail of an appointment with in RadSchedular? In other words when I mouse over an appointment can it pull up the detail just as if I had clicked more for the appointment? I hope that somewhat makes since. Thanks!
T. Tsonev
Telerik team
 answered on 07 Aug 2007
1 answer
149 views
Could you guys suggest a way of activating the radtooltip when a user clicks a dockcommand? thanks
Petio Petkov
Telerik team
 answered on 07 Aug 2007
5 answers
217 views
How do yopu collapse a Dock while dragging? 
Petio Petkov
Telerik team
 answered on 07 Aug 2007
4 answers
285 views
Hi
I am creating dynamic RadDocks when a panelbar Items are clicked.
I am creating all of them in the same Zone.
When new one is created I want the new RadDock to be created at the starting position of the zone.
I mean the new RadDock should be at position 1 in RadDockZone.
How to set the position of RadDock at the creation time itself within in the RadDockZone?
Can I get solution for this.
Thank you.
Chris
Top achievements
Rank 1
 answered on 06 Aug 2007
4 answers
179 views
I am trying to make my docks scale inside of a 3 column table that has a width of 100% so that no matter the resolution of the client, the widgets will scale out.  This works when setting the docks to 100%, but when i click on the dock to drag and drop it to another zone, the dock scales 100% across all three zones which make the drag and drop pretty much unusable.  Any ideas on how to make this work?  I am going for the dynamic scaling of widgets similar to other portals like iGoogle, etc.

thanks,
Jim

Jim Zimmerman
Top achievements
Rank 1
 answered on 06 Aug 2007
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?