Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
324 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
270 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
152 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
146 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
71 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
120 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
100 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
154 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
1 answer
88 views
Hello,

We have been using Telerik controls in our asp.net application, everything looks fine in development environment, but after deploying the application in test server we found the styles not getting rendered correctly.

For example the calendar icon is not rendered next to the telerik date picker, and the grid header looses styling and also the filter icons are not rendered on the grid header for filtering, but the functionality as such is working fine. Just the styling is missing. PFA the sample image
But after 2 to 3 days, all the styles were rendered correctly automatically and we were able to see the calendar icons, filter icons..

But again now we deployed the application on new server and the same behavior happens, not sure why. We have added all the necessary config file entries.

Please suggest a solution to solve this strange issue.

Thanks in Advance
Galin
Telerik team
 answered on 22 Oct 2013
1 answer
214 views
I have  a page that has nothing but a radupload control and a submit button. Recently, the textbox part of the upload box is no longer visible. Only visible is the select button that opens the file upload dialog. 

Here is the aspx code:

<rad:RadUpload ID="RadUpload" runat="server" MaxFileInputsCount="1" OverwriteExistingFiles="false" ControlObjectsVisibility="None" OnValidatingFile="RadUpload_ValidatingFile" AllowedFileExtensions=".csv" InputSize="32" ToolTip="Select exceptions file to upload">
</rad:RadUpload>

Telerik version is 2013.2.611.40

Any ideas? It's happening in IE and Chrome and a quick search through the markup/css in Developer Tools doesn't seem to find any CSS hiding the input.
Peter Filipov
Telerik team
 answered on 22 Oct 2013
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
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
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?