Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
129 views
Hi,

I'm currently having a strange issue with my grid.

When i filter/sort my grid and then try to use one button in the footer command item the server side click event is not firing, but if i click it again it work fine. The problem is only with the footer and immediatly after filtering/sorting it.

The button in the header commanditem who is created the same way work fine no mather if i filter, sort or something like that.

This is a server side Grid. All my grid structure is created at page init. The command item section contain an itemtemplate where we create only controls needed for our page, but the controls are created outside the itemtemplate and then pass to the constructor like this :

public class CommandItemTemplate : ITemplate
{
    private readonly CommandItems m_CommandItems;
 
    public CommandItemTemplate (CommandItems commandItems)
    {
        m_CommandItems = commandItems;
    }
 
    public void InstantiateIn(Control container)
    {
        //ContentPanel is an aspPanel which contains every control created on the page Init
     
        if (container.BindingContainer.BindingContainer is GridTFoot && m_CommandItems.Footer != null)
        {
            container.Controls.Add(m_CommandItems.Footer.ContentPanel);
        }
        else if (container.BindingContainer.BindingContainer is GridTHead && m_CommandItems.Header != null)
        {
            container.Controls.Add(m_CommandItems.Header.ContentPanel);
        }
    }
}

Thank you for your help,

Guillaume
Angel Petrov
Telerik team
 answered on 22 Oct 2013
3 answers
106 views
Hello,

If, in the Editor, you select some text and then open the Linkmanager and then if you add tags to the text, bold so that "test" becomes "<b>test</b>" for example, when you click on "OK" these tags are removed.

This means, for the company I work for, that an icon added previously is no longer added to the link. That is, this snippet no longer works:

var resultLink = this._clientParameters.get_value();
if (document.getElementById("dateiIcon").value != "") {
	resultLink.innerHTML = document.getElementById("dateiIcon").value + this._linkText.value;
}

I believe this behaviour has been introduced in a recent dll (we are now using 2013.2.717.40).


Thank you

Paul Herzberg
Paul Herzberg
Top achievements
Rank 1
 answered on 22 Oct 2013
1 answer
339 views
Hi all,

I want to rebind a radgrid in the parent page when a radwindow is closed.
This radgrid is using a Bind() method to get the data
protected void BindGrid()
{
      grdPersonnel.DataSource = GetPersonnelRoleParticipantList();
      grdPersonnel.DataBind();
 
}

in the radwindow
function GetRadWindow() {
            var oWindow = null; if (window.radWindow)
                oWindow = window.radWindow; else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow; return oWindow;
}
function closeWinAndRebind() {
            GetRadWindow().BrowserWindow.CalledFn();
            GetRadWindow().close();
}

in the parent page
function CalledFn() {
          document.getElementById('<%= btnSearch.ClientID %>').click();
}
 this btnSearch button is clicked to call the Bind() method

This does not work. How to achieve it?

Thanks
Guorui
Shinu
Top achievements
Rank 2
 answered on 22 Oct 2013
4 answers
298 views
Hi,

I'm using a rad combo within the grid control. I would like to set an empty message to display the text "Select item" when the page loads or if there's no item selected. But it does not work. I've done a some research on this and from everything I've read I'm supposed to set the "AllowCustomText=True". I've tried it both ways with no success. If I open the combobox and close it without selecting an item the empty message then shows but it doesn't show initially or on load. Can you help?
<telerik:GridTemplateColumn DataField="Item" UniqueName="Item">
                        <ItemStyle />
                        <ItemTemplate>
                          <telerik:RadComboBox ID="ddlItems" runat="server" AutoPostBack="false"
                                DataSourceID="objItems" DataTextField="Items" DataValueField="Items"
                                Skin="Default"  OnClientDropDownOpening="DropDownOpening"
                                OnClientSelectedIndexChanged="ItemValueChanged" EnableViewState="true"
                                AllowCustomText="False"   Width="150px" Height="150px" EmptyMessage="Select Item"
                                ondatabound="ddlItems_DataBound"
                                FocusedStyle-BackColor="#fff6dc" Text='<%# Eval("Item") %>'>
                            </telerik:RadComboBox>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
thanks,
Ron.
Ron
Top achievements
Rank 1
 answered on 22 Oct 2013
3 answers
175 views
Hello,

I don't understand why in Chrome when I press first time Enter key tree view node is selected, then I press Enter key second time node is executed. But in other browsers like FF, IE on Enter key node is executed at first time. I want same behavior in Chrome too it's annoyed if I need double Enter to execute node.

Thanks,
Boyan Dimitrov
Telerik team
 answered on 22 Oct 2013
1 answer
163 views
How to compare changes for intially loaded radgrid to the same radgrid on submit? Is there any way to compare in telerik or store in list and compare?
Princy
Top achievements
Rank 2
 answered on 22 Oct 2013
2 answers
78 views
You have a popups demo at
http://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx#

I just wanted to let you know neither of the features of Telerik's Window worked in MSIE 11 (Windows 8.1 CTP). Maybe it would have worked in the browser's compatibility mode but Microsoft removed this feature.
Marin Bratanov
Telerik team
 answered on 22 Oct 2013
1 answer
130 views
Hi telerik folks,

How can I access a particular node (based on its text) of a dropdowntree from client and check it and all its child nodes?

Thankyou
Senthil
Shinu
Top achievements
Rank 2
 answered on 22 Oct 2013
1 answer
108 views
Hi there,

Is there a way to update a color of a non rad control to a color from a skin value?
For example we have a div and the background color of that div should update when the user selects a new telerik skin.

So a user selects "BlackMetroTouch" as the skin they want to apply to the website, and the div re-assigns the background color of the div, to the hover color (lightblue) from the radCalendar?

I am looking for a way to link colors together so they update to specified rad control colors.

Is this achievable?

thank you

Venelin
Telerik team
 answered on 22 Oct 2013
3 answers
158 views
Hi,

I've been trying out the new visual studio 2013. but there is one issue, when I use Visual Studio 2013 in administrator mode, which is needed for debugging, the telerik layout is totally messed up. The moment I close Visual studio the layout is normal again. When I open Visual Studio 2013 without administration rights, the grid looks good again.

see attachment for pictures.

Do you know what could cause this and what I could do to make it work ?

Thanks in advance.

Kind regards.
Joost
Deyan Enchev
Telerik team
 answered on 22 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?