Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
122 views
Hi Telerik!

I have come across this issue:

There is a textbox in the EditItemTemplate. On text-change of this textbox , a service method is called and then  a label in another column of same row is upadted by that service method(during postback) . But after this post-back occurs, the save button in  EditItemTemplate stops working ( nothing happens on click) . When i click outside the grid and then click on save button starts working. 

It is happening only in IE9. Any idea why it is so.. the cancel button within same template works fine...

Please help..

Thanks in advance
Eyup
Telerik team
 answered on 24 Dec 2012
5 answers
126 views
Opening any manager (Picture Manages, Links Manages...) cause no any skin CSS applied to dialog's content.
Q2 2012 SP2 (and earlier) - OK;
Q3 2012 - wrong (see screenshot);
Note that project uses Routes.
Rumen
Telerik team
 answered on 24 Dec 2012
1 answer
312 views
Hi,

I added the telerik radgrid in an ascx control which is added to the MasterPage asp:ContentPlaceHolder in the following code:

<div id="main">

 

 

 

 

<asp:ContentPlaceHolder ID="MyContent" runat="server">

 

 

 

 

</asp:ContentPlaceHolder>

 

 

 

 

</div>

I was able to adjust the width of the main in my css file and the radgrid width fully occupied the ContentPlaceHolder but not the height.  I change the min-height of teh #main in the css file but I see the height of the container was increased but the grid height did not change.

My RadGrid is inside a asp:UpdatePanel.

what is the best method to adjust the radgrid in the ascx control to fully occupy the height.

Any help is appreciated.

 

Eyup
Telerik team
 answered on 24 Dec 2012
3 answers
75 views
The spell check button isn't highly used in my application, but we've had a few people notice that when they use the spell checker, and click to replace a word with one of the spell checker's suggestions that the entire HTML content in the editor is duplicated.  I really am not sure where to even begin to track this down.  We are using version 2012.2.619.40.

Thanks!
-Mark
Rumen
Telerik team
 answered on 24 Dec 2012
1 answer
61 views
Aspx page code:
 <telerik:RadEditor ID="RadEditor1" runat="server" EnableResize="false" Height="300px" Width="550px">
  </telerik:RadEditor>
code behind:
RadEditor1.Enabled = true;
RadEditor1.EditModes = Telerik.Web.UI.EditModes.Design ^ Telerik.Web.UI.EditModes.Preview;
RadEditor1.ToolsFile =
"FullSetOfTools.xml";
RadEditor1.Width = Unit.Pixel(550);
In chrome and firefox working fine...but in IE its not working the rad editor getting truncated ...i attached images about this issue.please help to solve this issue
Rumen
Telerik team
 answered on 24 Dec 2012
5 answers
220 views
How to find rad button in RadGrid1_PreRender

                     
<telerik:GridTemplateColumn SortExpression="workordno1" HeaderText="Completion"
                          HeaderStyle-Width="50px" DataField="workordno1" FilterControlWidth="60px" UniqueName="workordno1" DataType="System.Single">
                          <ItemTemplate>
                              <telerik:RadButton ID="Work" CommandName="Redirect" Text='<%# Eval("workordno") %>'
                                  runat="server" OnClientClicking="StandardConfirm" Width="90px" />
                          </ItemTemplate>
                      </telerik:GridTemplateColumn>

Thanks Advance,
Mohamed.
Eyup
Telerik team
 answered on 24 Dec 2012
5 answers
65 views
I have found that, when you have only 2 items in the returned list, it will always select the second item. This happens both in text and token modes.
Kalina
Telerik team
 answered on 24 Dec 2012
1 answer
1.1K+ views
We're using RadGrid(with paging enabled) in a SharePoint site.
Our problem is that Grid takes too much time to load in the browser(7-8 seconds). I verified, that data fetching part is able to provide data to Grid within 1-2 seconds.

Here, We are not using the default template columns provided in RadGrid. 
We've created custom item templates(implementing the ITemplate interface) to create columns. e.g. to create a hyperlink column, We're using below template:
public class HyperlinkItemTemplate<TProperty, T> : ITemplate
    {
        public string PropertyName { get; set; }
        public string PropertyKey { get; set; }
        public string NavigateUrl { get; set; }
 
        public HyperlinkItemTemplate(string propertyName, string propertyKey, string navigateUrl)
        {
            PropertyName = propertyName;
            PropertyKey = propertyKey;
            NavigateUrl = navigateUrl;
        }
 
        public void InstantiateIn(Control c)
        {
            HyperLink hyperLink = new HyperLink();
            hyperLink.DataBinding += OnDisplayDataBinding;
            c.Controls.Add(hyperLink);
        }
 
        private void OnDisplayDataBinding(object sender, EventArgs e)
        {
            HyperLink hyperLink = (HyperLink) sender;
            hyperLink.Text = TemplateHelper.GetValue<String, T>((GridDataItem) hyperLink.NamingContainer, PropertyName);
            hyperLink.NavigateUrl = String.Format(NavigateUrl, TemplateHelper.GetValue<TProperty, T>((GridDataItem)hyperLink.NamingContainer, PropertyKey));
        }
    }
When we tried a RadGrid(with AutoGenerateColumns property set to true) with same amount of data set, it was much faster(almost 50% fast).
Is there any performance issue with RadGrid when using custom item templates?
Any suggestions, to improve the performance.

Thanks in advance.
Pavlina
Telerik team
 answered on 24 Dec 2012
1 answer
52 views
When I use the grid plainly without a NestedView, my ImageButtons (from a GridButtonColumn) clicks are processed perfectly without any problems. The instant I add a NestedViewTemplate, ONLY the first row's ImageButtons work, the others do not kick off the ItemCommand event.

Any ideas?

-Ben
Eyup
Telerik team
 answered on 24 Dec 2012
1 answer
103 views
I have a RadGrid with single row edit capability, and a button that acts as a "Submit" button.  I'm handling the grid's UpdateCommand event on the server, doing some processing, and trying to change the submit button's OnClientClick event.  Basically, depending on what happens when the server processes the update, I want the submit button to hit one of a few different js functions.  I'm having trouble reliably updating the button's event.  It seems as though it needs a full page postback to take effect.  What is the recommended approach for this?
Eyup
Telerik team
 answered on 24 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?