Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
97 views
Hello: 
I have an rendering issue with the radeditor inside the radgrid control editform.  please see the attached image when I copy and Paste data from an excel sheet, I face the rendering issue. Same information repeats please see line item 3 or 4. and also the table tab appears  out of alignment.

  <EditFormSettings EditFormType="Template">
                <FormTemplate>
                  <telerik:Radeditor runat="server" ID="RadEditor1" SkinID="BasicSetOfTools" ToolsFile="BasicTools.xml"     Height="500px"              Content='<%# Bind("ExtractionProcedure") %>' >
</telerik:Radeditor>
    </FormTemplate>
            </EditFormSettings>
        </MasterTableView>

Please advice!!!

Rumen
Telerik team
 answered on 30 Jul 2012
1 answer
165 views
I was curious as to how I could get an image to center inside the the RadImageEditor.

For example, I have an RadImageEditor control that is 362x362. If I load an image in it that is 150x 200, I would like for it to center itself inside the editor rather than sit to the top or left side. I'd also like it to dynamically center based on the image size properties as different sized images will be used.

Is this possible with this control?
Dobromir
Telerik team
 answered on 30 Jul 2012
2 answers
233 views
I have an issue when my page loads and I try and click inside a rad text box, I can't.  It will not set focus.  The only way I can get into the text box is through tabbing.  This only appears to happen in fire fox...I am using version 13.0.1.  Wondering if anyone else may be having a similar issue?

Thank you,
Tad
TAD RHODES
Top achievements
Rank 1
 answered on 30 Jul 2012
2 answers
387 views
Is there a way to place a hyperlink in the header column of a Radgrid View.

Some of my columns contain a multiple sets of abbreviations... What makes this worse is that each company (which is an attribute of the page) have different abbreviations. What I wanted to do was make a column header that can be clicked that does the sorting with a question mark on the end that hyperlinks to an information page that gives the specific information about the abbreviations.

I tried to do this similar to how it would be done with an ordinary gridview:
 <telerik:GridBoundColumn DataField="Availability" 
      FilterControlAltText="Filter Availability column" FilterControlWidth="20px" 
      HeaderText="Status<a href='~/Reports/CodeList.aspx?coid=<%#Session("CoID")%>&property=status' target='_blank'>?</a>"; 
      SortExpression="Availability" UniqueName="Availability">
</telerik:GridBoundColumn>

The error that I get is: 

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 
Parser Error Message: Telerik.Web.UI.GridColumnCollection must have items of type 'Telerik.Web.UI.GridColumn'. 'a' is of type 'System.Web.UI.HtmlControls.HtmlAnchor'.
 

Is there anyway to actually place a hyperlink in the column header?
Morgan
Top achievements
Rank 1
 answered on 30 Jul 2012
3 answers
137 views
Hello,
This is error is throwing when page is redirecting. Can I redirect a page when radajax manager is there ?


Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '
<!DOCTYPE HTML PUB'.
Maria Ilieva
Telerik team
 answered on 30 Jul 2012
3 answers
195 views
HI,

Could you fine folks provide some samples for integrating the new Kendo UI with the exisitng Telerik controls?
Thanks,

Brian
Pavlina
Telerik team
 answered on 30 Jul 2012
1 answer
121 views
How to use custom filter in RadGrid, not allowing the grid to make its internal filters after you tell him the DataSource for the data entered is already filtered.

Fernando.
Eyup
Telerik team
 answered on 30 Jul 2012
10 answers
227 views

Adding the ClientEvents OnCommand property to the RadGrid will cause load the grid on the page with some empty rows. When I remove  ClientEvents OnCommand property – all works fine.

I have:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="App_test_test" %>

 

<!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></title>

</head>

<body>

    <form id="form1" runat="server">

 

     <telerik:RadScriptManager ID="scriptManagerBase" runat="server" >

        <Scripts>

        </Scripts>

    </telerik:RadScriptManager>

    <div>

        <telerik:RadGrid ID="gvClaimHistory" runat="server" AutoGenerateColumns="False" GridLines="None" AllowSorting="true" PageSize="20">                   

                    <MasterTableView Width="100%">

                        <Columns>                          

                            <telerik:GridImageColumn DataImageUrlFields="StatusURL" DataImageUrlFormatString="{0}" HeaderText="Status" UniqueName="statusCol" AllowSorting="false" />

                        </Columns> 

                        <NoRecordsTemplate>

                            <div class="important center" style="margin: 5px;">There are no current to display.</div>

                        </NoRecordsTemplate>

                    </MasterTableView>

                    <ClientSettings>                        

 

                        <

 

 

ClientEvents OnCommand="gv_Command" />          


                    </ClientSettings>

                </telerik:RadGrid>

    </div>

    </form>

    <telerik:RadCodeBlock runat="server" ID="codeBlock1">

        <script type="text/javascript">

            function gv_Command(sender, args) {

                alert('test');

            }

        </script>

    </telerik:RadCodeBlock>

</body>

</html>

See attached files with and without ClientEvents OnCommand.

Without works properly, with should work in the same way. Any suggestions how to fix it?



Pavlina
Telerik team
 answered on 30 Jul 2012
6 answers
259 views
Hi -- Is there a way to change the icon for collapsible panel.  By default it shows a caret (^) in right hand corner.  We have users who don't find that intuitive.

Thank you.
Raka.
Raka
Top achievements
Rank 1
 answered on 30 Jul 2012
5 answers
220 views
There is my code :
<%@ Page Language="VB" AutoEventWireup="true" CodeBehind="RadSchedulerWebForm.aspx.vb" Inherits="digiCONTACTSWebApp.RadSchedulerWebForm" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
    <style>
     #scheduler-container {
        width: 700px;
        float: left;
    }
    #settings-container {
        float: right;
    }
    </style>
     
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
  
    <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Transparent">
    </telerik:RadSkinManager>
 
    <script type="text/javascript">
 
        var categoryNames = new Array();
       
        function ClientNodeChecked(sender, eventArgs) {
            SchedulerID = eventArgs.get_node().get_value();
            var scheduler = $find('<%=RadScheduler1.ClientID %>');
            scheduler.rebind();
             
        }
         
       /* function OnClientAppointmentsPopulating(sender, eventArgs) {
            eventArgs.get_schedulerInfo().SchedulerID = SchedulerID;
        }*/
 
        function OnClientAppointmentsPopulating(sender, eventArgs) {
            addSelectedCategoriesToArray(categoryNames);
            eventArgs.get_schedulerInfo().CategoryNames = categoryNames.toString();
            categoryNames = new Array(); //clear the array
        }
        function OnClientAppointmentDataBound(sender, eventArgs) {
            var app = eventArgs.get_appointment();
            //debugger;
            var backColor = app.get_attributes().getAttribute("AppointmentCssColor");
             
            if (backColor)
                app.set_cssClass(backColor);
 
          //  app.set_backColor("yellow");
       //     app.set_cssClass("rsCategoryYellow");
        }
 
 
        function addSelectedCategoriesToArray(categoryNamesArray) {
            var $ = $telerik.$;
            var categoryPanelBar = $find('<%=RadPanelBar1.ClientID %>');
            $(':checkbox:checked', categoryPanelBar.get_element()).each(function () {
                categoryNames.push($(this).attr('id'));
            });
        }
 
 
        function rebindScheduler() {
            var scheduler = $find('<%=RadScheduler1.ClientID %>');
            scheduler.rebind();
        }
 
 
    </script>
    <div id="settings-container">
        <telerik:RadPanelBar ID="RadPanelBar1" Runat="server">
        </telerik:RadPanelBar>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"
            ConnectionString="<%$ ConnectionStrings:vicidialConnectionString4 %>"
            ProviderName="<%$ ConnectionStrings:vicidialConnectionString4.ProviderName %>"
            SelectCommand="SELECT lead_id, status, `user`, source_id, list_id, phone_number, first_name, last_name, address1, city, postal_code, alt_phone, comments FROM vicidial_list">
        </asp:SqlDataSource>
     </div>
    <div id="scheduler-container">
    <telerik:RadScheduler ID="RadScheduler1" runat="server"
            OnClientAppointmentsPopulating="OnClientAppointmentsPopulating" SelectedView="WeekView"
        Width="1000px" Height="600px" Skin="Transparent" Culture="fr-FR"
            onclientappointmentdatabound="OnClientAppointmentDataBound"
            EnableCustomAttributeEditing="True" StartInsertingInAdvancedForm="True"
            SelectedDate="07/13/2012 08:54:36">
        <AdvancedForm EnableCustomAttributeEditing="True" Modal="True" />
        <Localization AdvancedCalendarCancel="Annuler" AdvancedDay="Jour"
            AdvancedMaskDay="Jour" HeaderDay="Jour" HeaderMonth="Mois"
            HeaderToday="Aujourd'hui" HeaderWeek="Semaine" />
        <WebServiceSettings Path="SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" />
      </telerik:RadScheduler>
     </div>
    </form>
    </body>
</html>
I want to know if it was possible to add a button in the editing of my appointment.
I save and cancel button and I would like to add a third button.
are what is possible? and if so how?
Thank you in advance.
Peter
Telerik team
 answered on 30 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?