Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
107 views
I have a grid EditMode set to EditForms and EditColumnButtonType = ImageButton.

I want the Update and Cancel buttons change their images on mouse actions. For that I need to set a few clientside event like onmouseover etc. The problem is that I can't locate server side controls for the Update and Cancel buttons on edit form to set their attributes. I handle the ItemCreate or ItemDataBound event and have this code:
            if (e.Item.IsInEditMode && (e.Item is GridEditFormItem))  
            {  
                GridEditFormItem eefItem = e.Item as GridEditFormItem;  
 
                // set right images for buttons  
                ImageButton btnUpdate = efItem.FindControl("btnUpdate") as ImageButton;  
                if (btnUpdate != null)  
                {  
                }  
                ImageButton btnCancel = efItem.FindControl("btnCancel") as ImageButton;  
                if (btnCancel != null)  
                {  
                }  
            }  
 
but it doesn't find any buttons. I tried also setting UniqueName for EditFormSettings.EditColumn and running efItem[uniqueName] to no avail.
Daniel
Telerik team
 answered on 30 Oct 2008
1 answer
103 views
if you have a place holder and then declare a new radgrid control in this place holder on the server side, how do you export to excel by doing this? thanks
Maria Ilieva
Telerik team
 answered on 30 Oct 2008
1 answer
122 views
http://demos.telerik.com/ASPNET/Prometheus/Menu/Examples/Functionality/ClickToOpen/DefaultCS.aspx

In i.e we have error when we click on the menu headers.
Peter
Telerik team
 answered on 30 Oct 2008
3 answers
234 views
I want to use the toolbar above the radgrid. In the toolbar i would like to have a list of all the available columns (first name, last name, etc) with check boxes next to each field.

Based on which field is checked, those fields will display in the grid as columns. So if First name and last name are checked, those will be the only columns that display in the grid.

Any examples would be great!

Cheers
Daniel
Telerik team
 answered on 30 Oct 2008
1 answer
54 views
Hi,

I have a requirement that the rich text editor in MOSS cannot uses ActiveX.

The MOSS editor uses some ActiveX. Does RAD Editor uses ActiveX?

thanks,
Swee Gee.
Rumen
Telerik team
 answered on 30 Oct 2008
2 answers
96 views
I have an issue with toolbar buttons in IE6 (but not in IE7 or Firefox 2): when arranged in a table cell, the buttons are overlapping with content from the cell to the right.

Example:
<%@ Page Language="C#" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title>Telerik Demo: Overlapping of ToolBar button</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <asp:ScriptManager ID="scriptManager" runat="server"></asp:ScriptManager> 
    <table border="1">  
        <tr> 
            <td> 
                <radctrl:RadToolBar ID="tbarFunctionBar" runat="server">  
                    <Items> 
                        <radctrl:RadToolBarButton runat="server" Text="Button Text" /> 
                    </Items> 
                </radctrl:RadToolBar> 
            </td> 
            <td> 
                Some other content  
            </td> 
        </tr> 
    </table> 
    </form> 
</body> 
</html> 
 

Result: the text "Some other content" overlaps the button, even though it's in another table cell.

Has someone encountered this issue before? As workaround, I could set the toolbar table cell to a fixed width, but this is not perfect, because the button is created dynamically and can have different text or image labels in various widths.
mika-xws
Top achievements
Rank 1
 answered on 30 Oct 2008
1 answer
202 views
We are building web-pages which have a number of RadControls, each placed in UpdatePanels (not RadAjaxPanels)

Sometimes, the time to process a user action takes so long that
1. The user doesn't know if the app is working or not
2. The user may make another action, before the first completed. This seems to cancel the first action, which I assume is how Ajax works.

To solve this, I would like an indicator that shows that there is progress going on. I want the indicator to be "global" for the entire page, not associated with a particular RadControl.
Also, while the user action is being processed, I want to prevent the user from making another action before the first has completed.

Any ideas how I should do this? It is not an option to switch to RadAjaxPanel.

Thanks!
/Fredrik
Sebastian
Telerik team
 answered on 30 Oct 2008
4 answers
140 views
It can't be so difficult....can you please help me and tell me what i am doing wrong??

i am want to "SEE" the selected value of a combox , here is a very simple sample code

protected void Page_Load(object sender, EventArgs e) { 
            RadComboBox1.Items.Add(new RadComboBoxItem("One", "1")); 
            RadComboBox1.Items.Add(new RadComboBoxItem("Two", "2")); 
            RadComboBox1.Items.Add(new RadComboBoxItem("Three", "3")); 
            RadComboBox1.Items.Add(new RadComboBoxItem("Four", "4")); 
            RadComboBox1.SelectedValue = "3";           
        } 

all i want is when page loads the combobox to display "Three", the value is selected when i open the dropdown but when it is collapsed i see nothing...
Yana
Telerik team
 answered on 30 Oct 2008
1 answer
36 views
We are currently looking at RAD Controls for ASP.NET, we are using visual studio 2005.
What I need to do is to be able to auto filter a combo box as I type (combo box populated from a data table), if the text that i have typed is not in the list then close the combo box and enable a button that is on the same page.

Can you tell me what properties / methods are exposed by the RADComboBox that would enable me to do this?
Princy
Top achievements
Rank 2
 answered on 30 Oct 2008
1 answer
177 views
(Sorry, subject should be "Update Failes" but apparently you can't edit that)

I'm building a RadGrid against a LinqDataSource using a popup edit box. All goes well until I try to execute the update, at which time the following error occurs:

Could not find a row that matches the given keys in the original values stored in ViewState.  Ensure that the 'keys' dictionary contains unique key values that correspond to a row returned from the previous Select operation.


All the tables in the LinqDataSource have PKs enable and I make sure that the PK column is included in the grid.
Sebastian
Telerik team
 answered on 30 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?