Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
I am using SharePoint 2010 and have implemented a RadMenu as a MegaMenu. I have also placed a search box and datagrid inside a menu dropdown. When a user enters text into the search box their results are displayed in the datagrid while the dropdown is still open. What is happening when the user clicks the button is that the menu collapses and the page refreshes. When the page opens the menu is still closed.

What I want to have happen is the user opens the menu; types in a search criteria; views the results in the datagrid all while the menu is open and does not refresh and collapse. The application is a small search against data that the user will eventually navigate away from, but while they are using the search/datagrid I can't have the menu disapear.

Is this possible?
Cat Cheshire
Top achievements
Rank 1
 answered on 24 Dec 2012
3 answers
108 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
120 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
305 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
56 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
54 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
211 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
62 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
49 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?