Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
68 views
I upgraded to the latest version 2010.7.713.40 and now I am having all sorts of issues.  When the AjaxFrameworkMode is set to Explicit I get a bunch errors like this

Error: Type is not defined
Source File: http://localhost/fieldvisor/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=0&_TSM_CombinedScripts_=.....
Line: 3

Error: ASP.NET Ajax client-side framework failed to load.
Source File: http://localhost/fieldvisor/Default/default.aspx
Line: 26

Error: Sys is not defined
Source File: http://localhost/fieldvisor/Default/default.aspx
Line: 120

It also fails in the Disabled mode and if it is i get similar errors.  Lastly, if it is in Enabled mode, most things seem to functions except I have a dashboard with a bunch of small RadGrids on them with scrollbars enabled and some of them are hidden and i get errors that say i need the script manager set to Explicit when using a timer.    I know all of this stems from a timer control i user in conjunction with an RadAjaxPanel for a toolbar refresh, but i do not know how to overcome this issue.  Any ideas?

thanks,
Shawn
Nikolay Rusev
Telerik team
 answered on 30 Jul 2010
1 answer
65 views

When I click the code block button I get this:

Firefox:  XML Parsing Error: no element found
Location: http://www.telerik.com/UserControls/Public/Forums/Telerik.Web.UI.DialogHandler.aspx?DialogName=FormatCodeBlock&UseRSM=true&Skin=Sitefinity&Title=Format%20Code%20Block&doid=5a62aa19-662a-4e05-adbd-0d3df9e74915&dpptn=&dp=Z2ZxXWpVTCkTZAgqaGFmUxxjagUcGnhYFnJqAlp%2Bb0xXdWVVJnY6AmlmST8fFUdPeXcWTFdvYXIVdH82aAViUBwGbTUXL3BHIHNtRHV6QVdgSGEJFFkYC2BlRQMnK3ZcV3YSc1FvfikbdGsvaHB6SidjDTwJB2xcIQl2W3R9dEVgenkIGGE2EGpmSSkmK1xHeVoWRWpvTDMbA2svaFtYTSdsajYncAJBEQZUX1p%2BAFhgel9OGGB3LVJmZDYXK3ZGVgMRRn57TBITAmM5ZVpccyVzfnMLFF5VFXFUBm5Vb0RSZHlhF1sALmJLXXARAURmVncobVZwbiQMdgxxa1sBayNjcT8gCkZ5InBIBWELCU5XdWF%2FFlsYJGIAawEcLVMAVFwBQmZWdh8XAFFxZVhYCxwFYg4TLHhVFARIQGFhUgdhdENhEW0UEmZmRT8WE2pUV3YKQGdWdiwMWWh2ZmFEeiNxCQILCl55IioJBGwIdAZTWQZtJgcmF30Aaz8fA1hiUGc0YH5gYiQWdWA0awQFfyUEQAIULnBfFXFITWFvXXlidENgIHMULH1fYzYcK19CUHR1RGFVBR8XAmw5ZgZmfgtfDR4WL156Di19QHcJbwJSdWVAIFgENmJ2XS0nAQlbVgAGXVd%2FUzYTXn8wUQRhSwt3QCskFlpjGjtyYF1vfE95amVSEXAyd2laWQshKmZ8Y1woXGEKTDQVd3sUUwRyYRNaYiwkc3xDFBdcA1xVVkxiamoOFnJ7L2lmSTUgK3YFVGZ9QGZ%2FcnUgcEEEa2FMQhxnTzEJBkJgGnJyR1txa3hvZQZRGAcUPGV5ezMmAWZMUXYoWVBBTAIYZEE5aGVDTwp1BXs%3D
Line Number 2, Column 1:


Internet Explorer:  Popup that is blank.


Any ideas?
Snejina
Telerik team
 answered on 30 Jul 2010
2 answers
172 views
I'm using same font names for my web pages, but the font names was not changing for decorated controls. How to change it?
Gokul Gokul
Top achievements
Rank 2
 answered on 30 Jul 2010
2 answers
108 views
Hi support,

I was wondering if it's possible to programmatically hide (on the server-side) the links the pager creates by default in the grid.

Could you give me an example of how I would do this and in what event?

Thanks,
Josh
Josh
Top achievements
Rank 1
 answered on 30 Jul 2010
1 answer
134 views
Hey all,
I have searched everywhere in the samples section as well as the forums to
see if paging can be done with a dropdown list to allow the user to choose the destination page.

The current numeric mode of the pager on the RadGrid is not suitable as I need a dropdown,
not separate numeral links.

I happened to go through some of the discussion involving creating a custom combo box for this:
http://www.telerik.com/community/forums/aspnet-ajax/grid/pager-template-dropdown-list.aspx

The SelectedIndexChanged event never fires for me.

Simply speaking, I wish that the dropdown mode is already provided without me looking for additional coding
or other workarounds.

Any useful suggestions are welcome
thanks
Kumar.
Rosen
Telerik team
 answered on 30 Jul 2010
1 answer
146 views
Hi all,

I am using Telerik RadGrid from Telerik.Web.UI (2008.2.826.35) assembly. I need to allow user to sort the data using only one column and highlight only this column. Hovewer, when grid highlights actual column (where sorting was applied by user) then the previous column (where sorting was applied before) remains to be highlighted. (see attachment).

I suspect that this is related to advanced sorting options, but setting flags bellow do not help (as described in the documentation).
AllowMultiColumnSorting="false" AllowNaturalSort="false" AllowCustomSorting="false"

I would be gratefull for any comments and suggestions. If there is a known bug in an old version of telerik assembly, please confirm it. (Looking through the demo examples on the telerik site with newer versions of rad grid, sorting highlight looks working fine).

Here is the code 

<telerik:RadGrid ID="rgSubscriptions" runat="server" ShowStatusBar="false"                     AllowAutomaticUpdates="True" GridLines="None" AllowPaging="True" PageSize="10"
                    AllowSorting="true" AllowAutomaticDeletes="True">
                    <MasterTableView TableLayout="Fixed" CellPadding="0" CellSpacing="0" DataKeyNames="ID"
                        AutoGenerateColumns="false" AllowMultiColumnSorting="false" AllowNaturalSort="false" AllowCustomSorting="false">
                         <SortExpressions>
                            <telerik:GridSortExpression FieldName="DateAdded" SortOrder="Ascending" />
                        </SortExpressions>
                        <Columns>
                            <telerik:GridTemplateColumn SortAscImageUrl="/AIMSGlobal/Images/sort_asc.gif" SortDescImageUrl="/AIMSGlobal/Images/sort_desc.gif"
                                ShowSortIcon="true" SortExpression="DateAdded" HeaderText="Date">
                                <HeaderStyle Width="100px"  />
                                <ItemTemplate>
                                    <%#GetDateFormatedString(Container.DataItem.DateAdded)%>
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridBoundColumn DataField="Subscription.DataProvider.Name" HeaderText="Data Provider"
                                AllowSorting="True" SortAscImageUrl="/AIMSGlobal/Images/sort_asc.gif" SortDescImageUrl="/AIMSGlobal/Images/sort_desc.gif">
                                <HeaderStyle Width="150px" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Subscription.User.FullName" HeaderText="User"
                                AllowSorting="True" SortAscImageUrl="/AIMSGlobal/Images/sort_asc.gif" SortDescImageUrl="/AIMSGlobal/Images/sort_desc.gif">
                                <HeaderStyle Width="150px"  />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Subscription.User.UserCompany.CompanyName" HeaderText="Company"
                                AllowSorting="True" SortAscImageUrl="/AIMSGlobal/Images/sort_asc.gif" SortDescImageUrl="/AIMSGlobal/Images/sort_desc.gif">
                                <HeaderStyle Width="150px"  />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="ProviderExternalID" HeaderText="Login"
                                SortAscImageUrl="/AIMSGlobal/Images/sort_asc.gif" SortDescImageUrl="/AIMSGlobal/Images/sort_desc.gif">
                                <HeaderStyle Width="150px"  />
                            </telerik:GridBoundColumn>
                            <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton"
                                EditText="Edit" EditImageUrl="\AIMSGlobal\IMAGES\EDIT.GIF">
                                <HeaderStyle Width="50px"  />
                            </telerik:GridEditCommandColumn>
                        </Columns>
                        <EditFormSettings UserControlName="~/Controls/DataProviderRequest.ascx" EditFormType="WebUserControl">
                            <EditColumn UniqueName="EditCommandColumn">
                            </EditColumn>
                        </EditFormSettings>
                    </MasterTableView>
                    <SortingSettings SortedBackColor="#216898" />
                </telerik:RadGrid>

 

 

 

 

 

Thanks in advance,
Alexey

Nikolay Rusev
Telerik team
 answered on 30 Jul 2010
8 answers
399 views
I have set the ImageManager view, upload and delete paths to a virtual directory and followed the info on this page and this page

The virtual directory is running under a specific domain account, with full control given to the folder and the share. IIS is serving the images, and I can navigate through the directory structure of the virtual directory in IIS.  I am also able to save, rename and delete files in the folder while connected as the domain account.

When I open the image manager dialog, the images in the folder are not being populated in the dialog, nor is the upload button enabled.

I tested with a folder on my hard-drive and was able to create, modify and delete images via the image manager.

Any help would be appreciated!






Rumen
Telerik team
 answered on 30 Jul 2010
1 answer
155 views
Hi,

When I set the recurrence rule for recurrence editor through client side (

editor.set_recurrenceRule(rrule);

) where rrule is the RecurrenceRule object,
I get the error 'Object doesn't support this property or method'. Why.

Besides, the Recurrence checkbox should be always selected and panel should be visible.

Hurry the response

By
I.Arockiasamy
Veronica
Telerik team
 answered on 30 Jul 2010
2 answers
127 views
hi
When I run the below code I see the controls are not aligned.
I am using asp.net 3.5 with Telerik 2010.1.415.35 version.
I have attached a screen shot to explain it.
I can see that the <asp:content> do not autoresize after the controls come up.
How do I resolve this?        It is urgent please!!!
I tried creating a new project and total new form,but  the problem persists.
Can anyone Help me qquickly....
Thanks in advance.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SelfReferral.aspx.cs" Inherits="LearningSupport_SelfReferral"  MasterPageFile="~/StudentNet.master"%>
  
<%@ MasterType VirtualPath="~/StudentNet.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Styles/Styles.css" rel="stylesheet" type="text/css"  />  
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Self Referral for Additional Learning Support(ALS) 2010/2011</h1>      
  
 <asp:Panel ID="plForm" runat="server" >
    <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" IsSticky="true" Style="position: absolute;
            top: 0; left: 0; height: 100%; width: 100%;">
        </telerik:RadAjaxLoadingPanel>     
       
   <telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" MultiPageID="RadMultiPage1">
    <Tabs>
        <telerik:RadTab Value="Student" Text="Student" runat="server" PageViewID="RadPageViewStudent">
        </telerik:RadTab>
       <telerik:RadTab Value="Course" Text="Course" Enabled="False" runat="server" PageViewID="RadPageViewCourse">
        </telerik:RadTab>
      </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server">
    <telerik:RadPageView ID="RadPageViewStudent" runat="server" Selected = "true">          
    <ol>
    <li>
    <asp:Label ID="lbSearch" runat="server" Text="Enter Student Reference: " AssociatedControlID="txtSearch"> </asp:Label>            
       <telerik:RadTextBox ID="txtSearch" runat="server" >
        </telerik:RadTextBox>            
       <asp:Button ID="btnSearch" runat="server" CausesValidation="true" 
           Text="Search" onclick="btnSearch_Click" />  
           <asp:RequiredFieldValidator ID="RFV_txtSearch" runat="server" ValidationGroup="ALS"  ControlToValidate="txtSearch" ErrorMessage="Please enter Student Reference.">*</asp:RequiredFieldValidator>        
           <asp:Button ID="btnReset" runat="server" CausesValidation="true" 
           OnClick="btnReset_Click" Text="Reset" />
             
          
    </li>       
     <li>
        <asp:Label ID="lbStudName" runat="server" Text="Student Name: "  AssociatedControlID="lstStudName"
        </asp:Label>
        <telerik:RadComboBox ID="lstStudName"  runat="server" ShowToggleImage="false"
            DataTextField="SName" DataValueField="SName" ReadOnly="true" Enabled="false"
             AppendDataBoundItems="False"></telerik:RadComboBox>
         </li><li></li><li>
         <asp:Label ID="lbDOB" runat="server" Text="Date of Birth: "  AssociatedControlID="lstDOB"> </asp:Label>           <telerik:RadComboBox ID="lstDOB"  runat="server" ShowToggleImage="false" Enabled="false" 
            DataTextField="DOB" DataValueField="DOB" DataTextFormatString="{0:d}"></telerik:RadComboBox>
         </li><li></li>
         <li>
         <asp:Label ID="lbAge" runat="server" Text="Age: "  AssociatedControlID="lstAge"> </asp:Label>
         <telerik:RadComboBox ID="lstAge"  runat="server" ShowToggleImage="false"
            DataTextField="Age" DataValueField="Age" Enabled="false"></telerik:RadComboBox>   years        </li><li></li><li>
        <asp:Label ID="Label2" runat="server" Text="Telephone: "  AssociatedControlID="txtTel"> </asp:Label>
       <telerik:RadNumericTextBox ID="txtTel" runat="server">
       <NumberFormat DecimalDigits="0" GroupSeparator="" />
                </telerik:RadNumericTextBox>
        </li><li>
        <asp:Label ID="Label3" runat="server" Text="Email Address: "  AssociatedControlID="txtEmail"></asp:Label>
        <telerik:RadTextBox ID="txtEmail" runat="server" ></telerik:RadTextBox>
        <asp:RegularExpressionValidator  id="emailValidator"  runat="server" Display="Dynamic"
           ErrorMessage="Please, enter valid e-mail address."
           ValidationExpression="^[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]{1,})*(\.[a-zA-Z]{2,3}){1,2}$"
           ControlToValidate="txtEmail" ValidationGroup="ALS">
       </asp:RegularExpressionValidator>
  
        </li>
        <li></li><li>
        <asp:Button ID="btnStudent" runat="server" CausesValidation="true" OnClick="btnStudent_Click"
             Text="Next" ValidationGroup="Student" /></li>
             <li>
        <asp:LinqDataSource ID="LinqStudent" runat="server" 
            ContextTypeName="aaDataContext" TableName="STUDENTs">
        </asp:LinqDataSource>    
    </li>
    <li><asp:LinqDataSource ID="LinqTelDir" runat="server" 
            ContextTypeName="bbDataContext" TableName="tdlTel">
        </asp:LinqDataSource>
    </li
     </ol></telerik:RadPageView
    <telerik:RadPageView ID="RadPageView1" runat="server" Selected = "true">    <ol>          
<li><asp:Label ID="lbCourseCode" runat="server" Text="Course Code: "  AssociatedControlID="lstCourseCode"> </asp:Label><telerik:RadComboBox ID="lstCourseCode"  runat="server" ShowToggleImage="true"
DataTextField="CourseCode" DataValueField="CourseCode" Enabled="true"></telerik:RadComboBox></li><li></li>
<li><asp:Label ID="lbCourseName" runat="server" Text="Course Name: "  AssociatedControlID="lstCourseName"> </asp:Label><telerik:RadComboBox ID="lstCourseName"  runat="server" 
DataTextField="CourseName" DataValueField="CourseName" Enabled="true"></telerik:RadComboBox></li><li></li>
        <li>
      <asp:Label ID="lbSupport" runat="server" Text="<br/><br/>Other Support Needs: "  
                AssociatedControlID="chkSupportType" Height="81px" Width="300px"></asp:Label>
        <asp:checkboxlist id="chkSupportType" runat="server" RepeatDirection="Horizontal" 
            RepeatColumns="2" Height="80px" Width="450px" AutoPostBack="True" 
            onselectedindexchanged="chkSupportType_SelectedIndexChanged">
    <asp:listitem id="chkMedCondn" runat="server" value="Medical Condition" Text="Medical Condition"/>               <asp:listitem id="chkSupport" runat="server" Selected ="True"  value="Support"  Text="Statement of Educational Need"/>
<asp:listitem id="chkDyscalculia" runat="server" value="Dyscalculia/Dyspraxia" Text="Dyscalculia/Dyspraxia"/> 
<asp:listitem id="chkDyslexia" runat="server" value="Dyslexia" Text="Dyslexia"/>
<asp:listitem id="chkDisability" runat="server" value="Disability" Text="Disability (please state if known)"/>
<asp:listitem id="chkNone"  runat="server" value="None" Text="None"/>
        </asp:checkboxlist>   
</li>          
           
         <li><asp:Label ID="lbOtherDisbility" runat="server" Text="Please specify Other Disability:" AssociatedControlID="txtODisability"></asp:Label>
       <asp:TextBox ID="txtODisability" runat="server" TextMode="MultiLine"  Enabled="false"                       Height="38px" Width="321px"></asp:TextBox>
       <asp:RequiredFieldValidator ID="RFV_txtODisability" ControlToValidate="txtODisability"  Enabled="false" ValidationGroup="ALS"  runat="server" ErrorMessage="Please specify Other Disability.">*</asp:RequiredFieldValidator>        </li>
          
    <li>
        <asp:Label ID="lbcomments" runat="server" Text="Comments:" AssociatedControlID="txtComments"></asp:Label>
    <asp:TextBox ID="txtComments" runat="server" TextMode="MultiLine" Height="70px" Width="300px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RFV_Comments" ControlToValidate="txtComments" ValidationGroup="ALS"   runat="server" ErrorMessage="Please enter Comments">*</asp:RequiredFieldValidator>
</li>
<li>
<asp:Label ID="Label1" runat="server" Text="Date:" AssociatedControlID="txtDate"></asp:Label>      
<telerik:RadDatePicker ID="txtDate" runat="server" Enabled="false">
</telerik:RadDatePicker
</li>
<li><asp:Label ID="lbFormCompletedBy" runat="server" Text="Email address of person filling in this form:" AssociatedControlID="lstFormCompletedBy"  Width="300px" Height="48px" ForeColor="#FFFFCC"></asp:Label>
     <telerik:RadComboBox ID="lstFormCompletedBy" runat="server" ReadOnly="true" Enabled="False" DataTextField ="Email" DataValueField="Email" ForeColor="#FFFFCC"></telerik:RadComboBox>   
       </li>   
          
    </ol>
    <p><asp:label id="message" runat="server" /></p>
    <p>
        Please check this form for accuracy before submitting as changes are time consuming!<br />
        These forms are sent to Disability Support and Administration Services.
        Your referral details will be treated in the strictest confidence.<br />
        Thankyou. 
         <asp:Label ID="lbUserName" runat="server"></asp:Label></p><br />       
        <asp:Label ID="lbError" runat="server" CssClass="message" Visible="false"></asp:Label>
        <asp:ValidationSummary runat="server" ID="validationSummary3" ValidationGroup="ALS" />  
        <p>
            <asp:Button ID="btSubmit" runat="server" CausesValidation="true" 
                OnClick="btSubmit_Click" Text="Submit" ValidationGroup="ALS" />
        </p>
      </telerik:RadPageView>
    </telerik:RadMultiPage>
    </asp:Panel>
    <asp:Panel ID="plConfirm" runat="server" Visible="false">
<p>
You have successfully completed the Self Referral for Additional Learning Support form, a confirmation
e-mail containing the details you have entered has been sent to Anne Sheeran.
</p>
<p>
For any questions or comments regarding this form please contact <a href="abc@abc.ac.uk">
    Online services </a>
</p>
    </asp:Panel>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnablePageHeadUpdate="False">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="txtSearch">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl LoadingPanelID="LoadingPanel1" ControlID="lstStudName" />
                    <telerik:AjaxUpdatedControl LoadingPanelID="LoadingPanel1" ControlID="lstDOB" />
                    <telerik:AjaxUpdatedControl LoadingPanelID="LoadingPanel1" ControlID="lstAge" />            
                    <telerik:AjaxUpdatedControl LoadingPanelID="LoadingPanel1" ControlID="lstCourseCode" />
                   <telerik:AjaxUpdatedControl LoadingPanelID="LoadingPanel1" ControlID="lstCourseName" />
                </UpdatedControls>
            </telerik:AjaxSetting>
              
        </AjaxSettings>
    </telerik:RadAjaxManager>
</asp:Content>
Sucheta Patil
Top achievements
Rank 1
 answered on 30 Jul 2010
2 answers
184 views
 I know how to get the SelectedValue, but I also want the DataTextField/Name when I submit the form. Anyone know how to obtain it when I submit the form?

Mike
Top achievements
Rank 1
 answered on 30 Jul 2010
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?