Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
112 views
Hello,
can someone give me some sample codes and/or steps on how to make the new ASP.NET 4.5 WebForms unobtrusive validation works with the embedded Telerik.Web.UI jQuery library, please?

Thank you.
John Swenson
Top achievements
Rank 1
 answered on 22 Oct 2012
7 answers
165 views
Hi

I have a page with several input controls, combos and sliders with some javascript. Every thing works fine till I add an Ajax Panel. After that I got an error:

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

The code from this Ajax Panel do not use any <% ...%>.
All my javascripts are below the Body section and not in the Header.
In the existing scripts I already try to replace <%= ...> with <%# ...> and I also try to replace for example '<%= ctr_txn6.ClientID %>' with '<%= String.Format("{0}", ctr_txn6.ClientID) %>', but all of these changes only work if I remove the Ajax Panel.

Thanks
Gabriel
Top achievements
Rank 2
 answered on 22 Oct 2012
3 answers
513 views
Hello,

I'm using the RadHtmlChart, and I'm trying to programmably set the range of the X axis to a value.  The difficulty with my situation is that the chart will show values anywhere from 2000 to 8,000,000, and because of this, I'm trying to programmably set the range.  I set the XAxis MinValue and MaxValue to the values of the smallest and largest elements.  What I'm doing is, say I have an element of 1,000,000, and one of 1,500,000; I programmably use these values as the range (+/- 2000 to add some padding around it).  However, when I do this, it never takes.  It's as if these values are not retained, so it uses a MinValue of 0 and MaxValue of the maximum element plus some (whatever the default logic is).

How can I get this to work?

Thanks.
Marin Bratanov
Telerik team
 answered on 22 Oct 2012
5 answers
156 views
hi experts ,

i am using the file explorer control in my project , i have one dropdown with two folder names when user select the folder all the file explorer functionality will apply to that chosen folder here i find two panels one is for folder treeview other one is for files which shows the file name and size when i change the option in the folder dropdown first panel didn't show the selected folder but second panel shows the selected folder files can u tell me the reason  plz, please check the screen shots also,

following is the code sinnpet which is written by be
-====================-------
<%@ Page Title="" Language="VB" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="false" CodeFile="FileExplorer.aspx.vb" Inherits="Admin_FileExplorer" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" Runat="Server">
  <div style="margin-left:50px" >
  <asp:DropDownList ID="ddlFiles" runat="server" AutoPostBack="true">
  <asp:ListItem >Images Folder</asp:ListItem>
  <asp:ListItem  Selected="True">Mass Image Uploading Folder</asp:ListItem>
  </asp:DropDownList>
 <br /><br />
    <telerik:RadFileExplorer runat="server" ID="fileExp" Width="520px" Height="520px">
                    <Configuration ViewPaths="~/HTMLEditorImages" UploadPaths="~/HTMLEditorImages" MaxUploadFileSize="26214400"
                    DeletePaths="~/HTMLEditorImages" />

                </telerik:RadFileExplorer>
                </div>
</asp:Content>


-===============================------
Imports Telerik.Charting
Imports Telerik.Web.UI
Partial Class Admin_FileExplorer
    Inherits AdminPage

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If ddlFiles.SelectedIndex <= 0 Then
            fileExp.Configuration.UploadPaths = {"~/HTMLEditorImages"}
            fileExp.Configuration.ViewPaths = {"~/HTMLEditorImages"}
            fileExp.Configuration.DeletePaths = {"~/HTMLEditorImages"}
        Else
            fileExp.Configuration.UploadPaths = {"~/Admin/FTPDirectory/MassImages"}
            fileExp.Configuration.ViewPaths = {"~/Admin/FTPDirectory/MassImages"}
            fileExp.Configuration.DeletePaths = {"~/Admin/FTPDirectory/MassImages"}
        End If

    End Sub

End Class

 
Vessy
Telerik team
 answered on 22 Oct 2012
2 answers
140 views
I have a very simple notification that I am trying to display and for some reason it is throwing the following exception....

  1. Uncaught TypeError: Cannot call method 'add_responseEnding' of null Telerik.Web.UI.WebResource.axd:5588
    1. $T.RadNotification._attachXmlPanelHandlersTelerik.Web.UI.WebResource.axd:5588
    2. $T.RadNotification.initializeTelerik.Web.UI.WebResource.axd:5571
    3. (anonymous function)InformationPortal.aspx:878
    4. c

Here is the declaration of the notification that I am using:

<telerik:RadNotification ID="FormMessage" Text="Test Message" VisibleOnPageLoad="false" Width="300px" Height="100px" runat="server" ClientIDMode="Static" Position="BottomRight" OffsetY="-50" offsetx="-50" EnableRoundedCorners="true" EnableShadow="true" Animation="Fade" ContentIcon="info" TitleIcon="none" Font-Bold="true" Font-Size="XX-Large" >
            </telerik:RadNotification>

Anyone have any ideas what might be causing this?

Thanks!
Marin Bratanov
Telerik team
 answered on 22 Oct 2012
1 answer
52 views
Hi,
I have used the RadBinaryImage on my website in various places and controls (RadGrid, RadListView). It works without any problems when I run the website locally on my development machine.
However once I have uploaded the site to the live web server and access the site via the internet, the BinaryImages do not show any images at all. All database connections are the same so there are no database connectivity issues. In Firefox the BinaryImage control does not show at all (but works fine locally).
Any advice much appreciated.
Pavlina
Telerik team
 answered on 22 Oct 2012
7 answers
230 views
Hi, Telerik,

I have a radwindow U opened in home.aspx which has a restriction zone. everytime when I click any button in radwindow U, the page postback and the position of radwindow U has been changed, it looks like the radwindow U is jumping inside the home.aspx at each postback..

How to fix the problem? thanks a lot.

Yao
Marin Bratanov
Telerik team
 answered on 22 Oct 2012
6 answers
86 views
I am using telerik asp.net scheduler control in my MVC project, i know it has very less support in mvc that to via webservice calls only. me implemented with one existing demo from telerik site only. Currently we are using timeline view in that scheduler. my task is adding SlotDuration, TimeLabelSpan, ColumnHeaderDateFormat, NumberOfSlots, GroupingDirection

everthing is working fine when i giving SlotDuration="13.00:00:00" (13days) from 13 days to 24 days it working fine below 13 above 24 days it's not working. below is the my scheduler code for SlotDuration="25.00:00:00"(i am changing only my slotduraion nothing else)

<telerik:RadScheduler ID="RadScheduler1" runat="server" OnClientAppointmentsPopulating="OnClientAppointmentsPopulating"
            AppointmentStyleMode="Default" SelectedView="TimelineView" SelectedDate="2012-01-01"
            ShowHeader="false" Width="100%" ShowViewTabs="false" GroupBy="ProjectCategory"
            ReadOnly="true" OnClientAppointmentsPopulated="OnClientAppointmentsPopulated"
            OnClientAppointmentDataBound="OnClientAppointmentDataBound">
            <TimelineView SlotDuration="25.00:00:00" TimeLabelSpan="4"  ColumnHeaderDateFormat="yyyy"
                NumberOfSlots="80" GroupingDirection="Vertical" />
            <WebServiceSettings Path="../../SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" />
            <AdvancedForm Modal="true" />
        </telerik:RadScheduler>

please check attached screen shoot  ViewStart and ViewEnd it showing wrong dates. please help me to solve this problem

I need slot duration is 30days. Help me to get out from this.
Thank you in advance :-)
Plamen
Telerik team
 answered on 22 Oct 2012
1 answer
34 views
Hi,

I have issue where CSS rules are not getting applied to LEGEND of fieldset in IE6 with RadFormDecorator as can be seen in Image attached.

PFA (IE-6 Legend and IE-7-8 Lened)
Bozhidar
Telerik team
 answered on 22 Oct 2012
5 answers
129 views
I have a radgrid with EnableVirtualScrollPaging set to true. Generally it works fine, but under certain conditions when there are only 2 pages(filter applied), scrolling fails to get the next page while the pager still functions properly. The condition is when the rows in the grid do not quite fill the scroll height. I set the number of rows and scroll height based on the window size. To avoid some rows only being partial visible at the bottom of the grid, I only put in the number of rows that fit which sometimes leaves a small space in the scroll height not filled. In some browsers this condition with 2 pages fails to virtual scroll the page and in others it even fails to spawn the scroll bar.
The grid is using sever side binding. It has about 1500 records so I am not using custom paging with VirtualItemCount.
I would appreciate some suggestions, thanks.
Kostadin
Telerik team
 answered on 22 Oct 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?