Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
124 views
Hi,

I cant find any difference between the RadCombobox and RadDropdownlist. Can any one get me how they differ? Which one is better in performance when dealing with high volume of data?

Thanks,
Needha
Princy
Top achievements
Rank 2
 answered on 02 Apr 2013
2 answers
108 views
Hi

We have a few grid columns for date values. In edit mode (auto generated edit forms and edit form templates) we display a the DatePicker control next to these dates input boxes. The date picker pop-up's '<<' and '>>' buttons seem to advance the date in steps of 3 months. Can I customize these buttons so that they increment / decrement the date by one year instead?

Thanks
mqsash
Top achievements
Rank 1
 answered on 01 Apr 2013
3 answers
221 views

Hello,
Suppressing my frustrations with Mr. Telerik, I am going to re-post this issue again, under a new thread.

I have an ASP.NET page in Visual Studio 2010 that contains a FileExplorer control [Telerik.Web.UI, v.2011.3.1305.40 (Dev)]. In the Page_Load event, I add a custom button to the FileExplorer toolbar.

At run-time, the custom button appears on the toolbar with a default image that matches the Refresh image. I am not specifying this image programmatically; it just appears on its own. Why?

I have <style type="text/css"> in the <head runat="server"> of my page and the CSS class is assigned to the custom button during the Page_Load event. With background-image:none; within the CSS, the Refresh image still appears on my custom button.

If I set background-image:url(Images/MyImage.png) !important; within the CSS, the custom button now appears with 2 images; my own image, plus the Refresh image.

How do I get my image to replace the Refresh image? How do I get the Refresh image to no longer appear on my custom toolbar button?

In my prior thread, you asked for a sample project, but how do I get the sample to you? I placed my sample project into a zipped file, but when I click Attach Your Files to this thread, it tells me it will only Allowed extensions .gif, .jpg, .jpeg, .png. These are all image types, so how do I send you my sample project or zipped file?

Thanks

BRIAN
Top achievements
Rank 1
 answered on 01 Apr 2013
12 answers
783 views
Hi,
     I am having a grid in which the cell value is very long string so i used Tooltip to display the full string, only 15 characters are displayed in the grid by using substring function.. On Exporting the GRID to EXcel i Got only the 15 characters data as the cell value instead i need the Tooltip value (i.e) full string value in the EXCEL. Please help me with a code.. Thanx in advance..
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Apr 2013
1 answer
244 views

How to access the column name in server side  from the following grid when the user clicks the link button . 


 <telerik:RadGrid ID="rdGrdBudgetStatusSummary" runat="server" AutoGenerateColumns="false"
                    EnableLinqExpressions="false" Skin="Office2007" CssClass="radgrid" GridLines="None"
                    AllowSorting="true" OnSortCommand="GridRebind" PageSize="15" ShowFooter="true"
                    OnExcelMLExportRowCreated="RadGrid1_ExcelMLExportRowCreated" OnItemCommand="RadGrid1_ItemCommand"
                    OnItemCreated="RadGrid1_ItemCreated" AllowFilteringByColumn="true">
                    <GroupingSettings CaseSensitive="false" />
                    <MasterTableView AllowPaging="true" Width="100%" TableLayout="Fixed" DataKeyNames="rspusr,Approved,Submitted">
                        <PagerStyle Mode="NextPrev" AlwaysVisible="true" HorizontalAlign="Left" />
                        <Columns>
                            <telerik:GridBoundColumn HeaderText="Responsible User" DataField="ResponsibleUser"
                                UniqueName="ResponsibleUser" FooterText="Total " Visible="true">
                                <HeaderStyle Width="130px" HorizontalAlign="Center" />
                                <ItemStyle Width="130px" />
                                <FooterStyle HorizontalAlign="right" />
                            </telerik:GridBoundColumn>
                            <telerik:GridTemplateColumn SortExpression="Approved" Aggregate="Sum" HeaderText="Approved"
                                UniqueName="Approved" DataField="Approved" FooterAggregateFormatString="{0}"
                                ReadOnly="true" DataType="System.String">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkBtnApproved" CommandName="ReDirect" runat="server" Text='<%#Eval("Approved")%>'>                                                                           
                                    </asp:LinkButton>
                                </ItemTemplate>
                                <HeaderStyle Width="100px" HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Right" VerticalAlign="Middle" />
                                <FooterStyle HorizontalAlign="right" />
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn SortExpression="Submitted" Aggregate="Sum" HeaderText="Submitted"
                                DataField="Submitted" UniqueName="Submitted" Visible="true" FooterAggregateFormatString="{0}">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lnkBtnSubmitted" runat="server" Text='<%#Eval("Submitted")%>'
                                        CommandName="ReDirect">                                      
                                    </asp:LinkButton>
                                </ItemTemplate>
                                <HeaderStyle Width="130px" HorizontalAlign="Center" />
                                <ItemStyle HorizontalAlign="Right" VerticalAlign="Middle" />
                                <FooterStyle HorizontalAlign="right" />
                            </telerik:GridTemplateColumn>
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Apr 2013
1 answer
229 views
We're using RadEditor and the hyperlink manager for our application, version v4.0.30319

In chrome and safari, when highlighting text, then clicking on the hyperlink manager and creating a hyperlink, the hyperlink is not created. If no text is selected and the hyperlink manager is selected first, the hyperlink IS inserted. 

This behavior only occurs in chrome and safari (webkit?)  and not in firefox or IE, which work perfectly fine.

Here is the relevant code.  I am not able to replicate this error on the demos, but I was wondering if this is an issue that has been addressed in a later version or if there is something I can do to fix it.

Thanks

<asp:Panel ID="pBlog" runat="server" >
 
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" >
                <Windows>
                    <telerik:RadWindow runat="server" ID="Editor" Width="700px" Height="550px" AutoSize="false"  VisibleStatusbar="false"  />
                </Windows>
            </telerik:RadWindowManager>
            <telerik:RadEditor runat="server" ID="RadEditor1" Width="100%" AutoResizeHeight="false" AllowScripts="false" EnableResize="false" Height="500px"  
                <ContextMenus>
                    <telerik:EditorContextMenu >
                        <telerik:EditorTool name="Cut"/>
                        <telerik:EditorTool name="Copy"/>
                        <telerik:EditorTool name="Paste"/>
                        <telerik:EditorTool Name="PasteFromWord" />
                        <telerik:EditorTool Name="PastePlainText" />
                        <telerik:EditorTool Name="PasteAsHtml" />
                    </telerik:EditorContextMenu>
                </ContextMenus>
                <Tools>
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool name="Print" shortcut="CTRL+P" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name="Cut" shortcut="CTRL+X" />
                        <telerik:EditorTool Name="Copy" shortcut="CTRL+C" />
                        <telerik:EditorTool Name="Paste" shortcut="CTRL+V" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name="Undo" shortcut="CTRL+Z" />
                        <telerik:EditorTool Name="Redo" shortcut="CTRL+Y" />
                    </telerik:EditorToolGroup>
                                         
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="Bold" shortcut="CTRL+B" />
                        <telerik:EditorTool Name="Italic" shortcut="CTRL+I" />
                        <telerik:EditorTool Name="Underline" shortcut="CTRL+U" />
                        <telerik:EditorTool Name="Strikethrough"/>
                        <telerik:EditorTool Name="Superscript"/>
                        <telerik:EditorTool Name="Subscript"/>
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name="CustomDialog" Text="Insert Image" />
                        <telerik:EditorTool Name="LinkManager" shortcut="CTRL+K" />
                            <telerik:EditorTool Name="EmbedVideo" Text="Embed YouTube Video" />
                    </telerik:EditorToolGroup>
                                         
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="FontName" Text="Font"/>
                        <telerik:EditorTool Name="RealFontSize" Text="Size"/>
                    </telerik:EditorToolGroup>
                                         
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="ForeColor" />
                        <telerik:EditorTool Name="BackColor" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool name="FormatStripper"/>
                    </telerik:EditorToolGroup>
                </Tools>
            </telerik:RadEditor>
 
</asp:Panel>


EDIT: I was able to duplicate the error with this much simpler code.

<%@ Page Language="C#"  AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<html>
<head><title></title></head>
<body>
<form runat="server">
<asp:ScriptManager id="scriptman" runat="server" />
 
            <telerik:RadEditor runat="server" ID="RadEditor1" Width="100%" AutoResizeHeight="false" AllowScripts="false" EnableResize="false" Height="500px"  
                   <Tools>
                    <telerik:EditorToolGroup>
                        <telerik:EditorTool Name="LinkManager" shortcut="CTRL+K" />
                    </telerik:EditorToolGroup>
                                         
                </Tools>
            </telerik:RadEditor>
            </form>
</body>
</html>

Jake
Top achievements
Rank 1
 answered on 01 Apr 2013
3 answers
269 views
Hi.  I've got a RadGrid with multiple pages.  The loading panel shows the first time I perform an action (sorting, searching, changing page, etc), but does not show on subsequent page changes or searches.    Any suggestions would be appreciated.  Thanks!

<telerik:RadAjaxManager EnableAJAX="true" ID="RadAjaxManagerOnlineCE" runat="server">  
    <AjaxSettings>
         <telerik:AjaxSetting AjaxControlID="RadGridCE">  
                <UpdatedControls>  
                    <telerik:AjaxUpdatedControl ControlID="RadGridCE"  LoadingPanelID="RadAjaxLoadingPanelCESearch"   />  
                </UpdatedControls>  
            </telerik:AjaxSetting>  
            <telerik:AjaxSetting AjaxControlID="btnSearchCECourses">  
                <UpdatedControls>  
                    <telerik:AjaxUpdatedControl ControlID="RadGridCE" LoadingPanelID="RadAjaxLoadingPanelCESearch"   />  
                </UpdatedControls>  
            </telerik:AjaxSetting>  
            <telerik:AjaxSetting AjaxControlID="btnViewAllCECourses">  
                <UpdatedControls>  
                    <telerik:AjaxUpdatedControl ControlID="RadGridCE" LoadingPanelID="RadAjaxLoadingPanelCESearch"   />  
                    <telerik:AjaxUpdatedControl ControlID="pSearch"   />  
                </UpdatedControls>  
            </telerik:AjaxSetting>  
            <telerik:AjaxSetting AjaxControlID="btnSort">  
                <UpdatedControls>  
                    <telerik:AjaxUpdatedControl ControlID="RadGridCE" LoadingPanelID="RadAjaxLoadingPanelCESearch"   />  
                </UpdatedControls>  
            </telerik:AjaxSetting>  
    </AjaxSettings>
</telerik:RadAjaxManager>
  
  
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelCESearch" runat="server" Height="75px" Width="75px" Transparency="50" InitialDelayTime="0" >
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'  style="border: 0px;" />
 </telerik:RadAjaxLoadingPanel>
Daniel Domer
Top achievements
Rank 1
 answered on 01 Apr 2013
3 answers
82 views
I am using RadSpell v2012.2.724.35 (without RadEditor) to spell check a textbox in a custom SharePoint 2010 Web Part. I followed various threads to properly register the handlers in the web.config, but when I click the link button to initiate the spell check, I get the javascript alert "web.config registration missing". However, after clicking OK to dismiss the alert, the spell check dialog opens successfully and I am able to complete the spell check with no problems. It seems the logic that validates the presence of the handler registration is wrong in this case, as the spell control works perfectly.

What do I need to do to get rid of this error message?
Rumen
Telerik team
 answered on 01 Apr 2013
3 answers
234 views

Hi,

 

We are new to telerik controls.

We are using visual studio 2012, .net framwork 4.5 C# for our asp.net web applications. Currently we are using infragistics. Management decided to try another suite. So, Recently, downloaded Telerik controls to test. We use grid extensively in all our applications.

This is what I need:

 

  1. Add RadGrid at designtime and bind to grid. We know exactly what fields from database. An object is used to bind to grid.
  2. Populate at runtime. (I need to know which events fire and when and order of events). Right now we are doing this in page_load event and not post back.
  3. When data is added like (datbind happens), I need to change the URL of hyperlinks (that are added at design time using template columns) of that row based on values in that row’s other fields. Infragistics has ‘RowInitialize’ event. So, we do lot of work in that event.
  4. We hide some columns and hide and show some other columns based on certain criteria.

I appreciate your response
Katta

Prathibarani
Top achievements
Rank 1
 answered on 01 Apr 2013
2 answers
754 views
Hi,

Using Rad controls for asp.net ajax 2013 Q1 with visual studio 2012 ultimate c#.
We have some global code that is used by all the grids in all the pages. In itemDataBound event of RadGrid, I need to get row data and pass it on to global code. Currently, with the grid we are using:
  
    customClass rowData = (customClass) e.data;

Is it possible to cast itemdata to custom object. If yes, please let me know how and example link.

Thanks,
Prathiba.

Prathibarani
Top achievements
Rank 1
 answered on 01 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?