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

In the previous version of the RadControls there was an option on the Ajax Manager to 'Enable execution of all Javascript'.

I can't find this on the Prometheus Ajax Manager.

Is there an equivalent feature to enable this functionality in the Prometheus controls?

Thanks,

Paul
Sebastian
Telerik team
 answered on 04 Aug 2008
2 answers
107 views
Hi,
I have a panel MapPane... & change the content url at runtime... when i try to print the content then only the first Contents are Printing
I cant get the latest Content Url.... how can i able to print the external ContentUrl
BR
Zaman
Rokanuzzaman
Top achievements
Rank 1
 answered on 04 Aug 2008
1 answer
208 views
When I call node.select() on the client side, it doesn't fire the OnClientNodeClicked event.  Is there a way to raise that event when I programmatically select a node? 
Atanas Korchev
Telerik team
 answered on 04 Aug 2008
1 answer
187 views

Hello,
I have a very big problem. I won`t put the Controls in Tree View.
When I put the Controls everything is ok control is on the Tree View.

But when I won`t read data from my control my control I disappear from tree view.

This is my simple Code :

ASPX :

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title>Untitled Page</title>

</head>

<body>

    <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server">

    </asp:ScriptManager>

   

    <div>

        <telerik:RadTreeView ID="RadTreeView1" runat="server">

        </telerik:RadTreeView>

        <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />

        <asp:Button ID="Button2" runat="server" Text="Button" onclick="Button2_Click" />

    </div>

    <p>

        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>

    </p>

    </form>

</body>

</html>

CS :

public partial class _Default : System.Web.UI.Page

{

    protected void Page_Load(object sender, EventArgs e)

    {

            if (!IsPostBack)

            {

                  TextBox txt = new TextBox();

                  Telerik.Web.UI.RadTreeNode tn = new Telerik.Web.UI.RadTreeNode("1");

                  txt.ID = "fff";

                  tn.Controls.Add(txt);

                  RadTreeView1.Nodes.Add(tn);

            }

    }

      protected void Button1_Click(object sender, EventArgs e)

      {

            Label1.Text = ((TextBox)RadTreeView1.Nodes[0].FindControl("fff")).Text;

      }

      protected void Button2_Click(object sender, EventArgs e)

      {

            Label1.Text = ((TextBox)RadTreeView1.Nodes[0].Controls[0]).Text;

      }

}

Please Help My. Thank so much

 

Atanas Korchev
Telerik team
 answered on 04 Aug 2008
1 answer
89 views
Hello.
I have a wery big problem with Telerik.TreeView.

I put the my Control to the tree view :

Telerik.Web.UI.RadTreeNode tnFormat = new Telerik.Web.UI.RadTreeNode("Format");
                        Future.Controls.tvDropDownNode ddNode1 = (Future.Controls.tvDropDownNode)LoadControl("..\\Controls\\Raporty\\tvDropDownNode.ascx");
                        ddNode1.ID = "Format";
                        ddNode1.Label1.Text = "Format";
                        ddNode1.DropDownList1.Items.Add("Standardowe");
                        ddNode1.DropDownList1.Items.Add("Liczbowe");
                       
                        tnFormat.Controls.Add(ddNode1);

                        rTv2.Nodes[indexGL].Nodes[0].Nodes.Add(tnFormat);

The control is show on the tree.

Wen I won`t read data from the my control te Control is disappear.

I red data like this :

Future.Controls.tvDropDownNode tn = (Future.Controls.tvDropDownNode)rTv2.Nodes[ii].Nodes[0].Nodes[0].Controls[0];

Please Help Me. Best Regards


Atanas Korchev
Telerik team
 answered on 04 Aug 2008
1 answer
177 views
can your wonderful combobox show some items with bold style? how can i use it?
Princy
Top achievements
Rank 2
 answered on 04 Aug 2008
1 answer
503 views
Hello -

I have a mapping application (the get map calls are AJAX based), and the page is a full screen splitter layout (5 panes, I believe). I need to know the size of the map pane so I can include the height and width with the AJAX call for the Map. In the older 2006 Telerik version, I basically had to create a hack where I attached a javascript function the topSplitter_onLoaded event, to check to see if the Map pane was created yet. If it wasn't, I waited 500 ms, and tried again. This worked well.

Withe the new version 2008 q2, I'm now getting the sys.application is undefined error. I'm assuming this has to do with something being referenced before it is created.

The following is the code (from Firebug) that is failing:

Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadPane, {"_collapsed":true,"_collapsedDirection":1,"_expandedSize":0,"_height":"400px","_index":0,"_indexInPanes":0,"_originalHeight":"400px","_originalWidth":"220px","_scrollLeft":0,"_scrollTop":0,"_width":"220px","clientStateFieldID":"navPanel_ClientState"}, null, {"parent":"topSplitter","splitter":"topSplitter"}, $get("navPanel"));
});


I saw the following in a related post, but I am unsure how it helps:

That is why when you try to obtain a reference to the RadWindowManager its client object is still not created. To correctly reference it you should add a load handler as shown below:
literalInjectJavascript.Text = "<script type='text/javascript'> Sys.Application.add_load(ShowWindow); </script>";

Tsvetie
Telerik team
 answered on 04 Aug 2008
3 answers
138 views
Hi,

GridTextBoxColumnEditor and GridDateTimeColumnEditor do have the same member TextBoxStyle. They both directly implement GridTextColumnEditor. Why is the member TextBoxStyle not placed in  GridTextColumnEditor???

Greets,
Glenn



Missing User
 answered on 04 Aug 2008
4 answers
148 views
my problem is the data on my row extends and it makes my grid width long how do i change it,

ex. Wrong
Column A   Column B                                                             Column C
    111        the quick brown fox jumps over the lazy hen             note

Correct:
Column A   Column B                      Column C
    111         the quick brown fox         note
                   jumps over the lazy
                   hen


Dimo
Telerik team
 answered on 04 Aug 2008
5 answers
127 views
Could you shed a light how the basic pager, e.g.  NextPrevAndNumeric, decides what data display left-aligned and what data right-aligned.

In all your descriptions for PagerTextFormat there is a pipe symbol, e.g.
Change page: {4} | Displaying page {0} of {1}, items {2} to {3} of {5}.

which I thought should control it. But it seems there is another logic.
Sebastian
Telerik team
 answered on 04 Aug 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?