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

Telerik in webpage is loading very slowly when i am drilling down further on the final node.Can i able to limit that ?
I have tree like below.

Root Node:
    Node 1
    Node 2
    Node 3
        Node 3.1
        Node 3.2
            Node 3.2.1

For example In the node 3.2.1,its having 30 items ,if the item count is > 20 , i need to create a new node called "showallitems" and display all the 20 items under "showallitems".
        
Please help me.

Regards,
Xavier
Plamen
Telerik team
 answered on 10 Aug 2011
3 answers
213 views
The coding method you show in your examples $find("<%= RadGrid1.ClientID %>")  errors out when I try it.  Can I use jQuery to do the same thing  $("#RadGrid1").  If this works can you update your examples to show jQuery code in place of the old version?

Thanks.
Tsvetina
Telerik team
 answered on 10 Aug 2011
2 answers
195 views
Hello,

  I have a radmenu in the master page. In one of my content pages, I have a timer. The timer checks for a value in the database and based on that value, I would like to change the backcolor and ImageUrl of the menu item(actually,would like the menu item to glow) which means that there is a new message. Right now, I am doing it like this which is of course not working

Am i missing something ?

code- behind
in the timer tick event.( content page)

  Radmenu1.items(5).items(2).backcolor = drawing.color.red
 Radmenu1.items(5).items(2).ImageUrl ="Images/Newmessage.png"

How do I make the menu item glowing? Is there a way to do that?

Appreciate the help
Thanks

Kate
Telerik team
 answered on 10 Aug 2011
1 answer
206 views
Hello, 

I would like to tweak some of the UI components on the cells when items are being edited / inserted.

I'm able to identify when an item is being edited through TreeListDataItem.IsInEditMode property, but I cannot find the way to know if the item is being inserted.

So the question will be: how to know within the ItemCreated event if an item is in insert mode?

Thanks in advance
Tsvetina
Telerik team
 answered on 10 Aug 2011
1 answer
87 views
I've created an ascx control like this:
<telerik:RadAjaxPanel runat="server" ID="rpan">
    <div style="width: 400px;">
    <telerik:RadToolBar runat="server" ID="rToolBar"
        OnClientButtonClicking="onItemClicking" onbuttonclick="rToolBar_ButtonClick">
    </telerik:RadToolBar>
    </div>

    <telerik:RadTreeView runat="server" ID="rTree"
        Skin="Vista"
        DataFieldID="ID"
        DataFieldParentID="idParent"
        DataTextField="Cd_Menu"
        DataValueField="link"
        OnClientDoubleClick="OnDoubleClick"
        OnNodeEdit="RadTreeView1_NodeEdit"
        EnableDragAndDrop="false"
        EnableDragAndDropBetweenNodes="false"
        OnNodeDrop="RadTreeView1_HandleDrop"
        OnClientNodeClicked="onNodeClicked"
        OnClientNodeClicking="onNodeClicking"
        OnClientNodeDropping="onNodeDropping"
        OnClientNodeDragging="onNodeDragging"
        OnNodeDatabound="rTree_NodeDataBound">
    </telerik:RadTreeView>
</telerik:RadAjaxPanel>


I also have an aspx page with a RadMenu created at runtime with databinding.
I tried to add the ascx control inside a RadMenuItem server side:

Telerik.Web.UI.RadMenuItem subRmi = new Telerik.Web.UI.RadMenuItem();
subRmi.ItemTemplate = new FavouritesTemplate(this.Page);

I have declared this class inside the same aspx page:
class FavouritesTemplate : ITemplate
    {
        private Page _page = null;

        public FavouritesTemplate(Page page)
        {
            this._page = page;
        }

        public void InstantiateIn(System.Web.UI.Control container)
        {
            Favourites fav = ((Favourites)this._page.LoadControl("~/Web.UserControls/Favourites.ascx"));
            fav.ID = "favourites";
            container.Controls.Add(fav);
        }
    }

The ascx control inside the RadMenuItem is shown correctly but doesn't work properly.
Clicking on a RadToolBarButton the whole aspx page do postback instead of only the ascx content (because of RadAjaxPanel)

Putting the same ascx control directly inside the aspx page (not inside the the RadMenuItem) works as expected (partial postback of the ascx content)

Maria Ilieva
Telerik team
 answered on 10 Aug 2011
1 answer
115 views
As we have fixed image formats for some images I would like to control the cropping from outside the control with javascript and disable the crop option from the toolbar or maybe the whole toolbar. Is this possible?

Rumen
Telerik team
 answered on 10 Aug 2011
3 answers
785 views
Hi,

i have a radgrid created programatically in code (.cs) file.
now i want to prompt user when trying to delete records in grid..done in below example.
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx

now as my grid is generated dynamically so i didnt able to add ItemDataBound event throgh code as i added itemupdated event...

grid.ItemUpdated +=

new GridUpdatedEventHandler(grid_ItemUpdated);

 



can you please suggest how to solve it.

thanks in advance.
Gabe Silvarajoo
Top achievements
Rank 2
 answered on 10 Aug 2011
1 answer
107 views
I'm using your example to print a pane with stylesheets. (http://www.telerik.com/help/aspnet-ajax/splitter-panes-printing.html)

Inside this panel I have several listviews that contain buttons  (Add, Edit and Delete)
I want to supress these buttons when I print.  What do I need to put in the stylesheet to do this?
 
Dobromir
Telerik team
 answered on 10 Aug 2011
1 answer
123 views
Hi Forum!

I connected a radchart to a sqldatasucer, from that datasource i'll get 11 rows and 2 columns where the frist column is name and second is value. it all goes right, but the x-axis is only showing the first 7 rows. I wwent to the plot area -> x-axis and saw property called max value, i dont think this is the property that is confining my rows but still, when i try to change its value it automaticly goes back to 7. Can anyone help me?

Many thanks,
   FEST
Peshito
Telerik team
 answered on 10 Aug 2011
1 answer
190 views
I have the following,

<telerik:RadListView ID="RadListView1" runat="server" DataSourceID="SqlDataSource2" OnSelectedIndexChanged="RadListView1_SelectedIndexChanged">
 <ItemTemplate>
  <label id="dftLabel">Templates</label><br />
  <asp:LinkButton ID="LinkButton1" runat="server" Text='<%#Eval("title")%>' CommandName="Select" CommandArgument='<%#Eval("templateID")%>'></asp:LinkButton>
 </ItemTemplate>
</telerik:RadListView>

and I'm having a hard time getting the value of CommandArgument.

Any suggestions?

Thanks.
tim
Top achievements
Rank 1
 answered on 10 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?