Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
130 views

We are using Rad Editor, to attach the images (ImageManager/Document Manager) is not loading any images in the image list (IE Version 11).

Allowed file types are :

Editor.DocumentManager.SearchPatterns = "*.jpg,*.gif,*.png,*.xlsx"

<radE:RadEditor ID="txtSummary" runat="server" Width="100%">
 <Tools>
  <radE:EditorToolGroup Tag="FileManagers">
  <radE:EditorTool Name="ImageManager"></radE:EditorTool>
  <radE:EditorTool Name="FlashManager"></radE:EditorTool>
  <radE:EditorTool Name="SilverlightManager"></radE:EditorTool>
  <radE:EditorTool Name="MediaManager"></radE:EditorTool>
  <radE:EditorTool Name="DocumentManager"></radE:EditorTool>
  <radE:EditorTool Name="TemplateManager"></radE:EditorTool>
  </radE:EditorToolGroup>
 
  <radE:EditorToolGroup>
   <radE:EditorTool Name="Bold"></radE:EditorTool>
   <radE:EditorTool Name="Italic"></radE:EditorTool>
   <radE:EditorTool Name="Underline"></radE:EditorTool>
                                                <radE:EditorSeparator></radE:EditorSeparator>
    <radE:EditorTool Name="ForeColor"></radE:EditorTool>
    <radE:EditorTool Name="BackColor"></radE:EditorTool>
                                                <radE:EditorSeparator></radE:EditorSeparator>
   <radE:EditorTool Name="FontName"></radE:EditorTool>
   <radE:EditorTool Name="RealFontSize"></radE:EditorTool>
</radE:EditorToolGroup>
</Tools>
<ImageManager ViewPaths="~/~/ProcedureFiles"
 UploadPaths="~/~/ProcedureFiles"
 DeletePaths="~/~/ProcedureFiles"
 EnableAsyncUpload="true" />
 
<DocumentManager ViewPaths="~/ProcedureFiles/"
  UploadPaths="~/ProcedureFiles/"
  DeletePaths="~/ProcedureFiles/"
  EnableAsyncUpload="true" />
 
</radE:RadEditor>

Its throwing the following errors.

Unhandled exception at line 3803, column 12 in http://localhost/Library/ScriptResource.axd?d=-OwWv7kMazlnT84or3DaABf0Rx3lQ3jmA23fkYROVeBatFujmuauLIOffg5E69PMauAcYj9hBzbh8kAq-T8iFUCOAxNRVGeQUpLXW6_l01e-dFoiBsjO8w4bz4J-tvV9P7uGFxdmN_8RMMkQtTyLBrgcIC9PteUcXEfE6EKLkfB8xU_Aa_DzLhvik6qe1rYN0&t=ffffffffcc58dd65
0x800a139e - JavaScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.

Unhandled exception at line 267, column 1 in http://localhost/Library/ScriptResource.axd?d=LQ5Whl16UJM7jxyUHzS1jKxpZYzOZUx9VwHSufySjIRoyPSM-aLuM1VswJv4TvItpsxCHzNhr49Uktpj_AUkINu9wBkENNExNSVMWC8tkgzGcN-yIiEBIkl4fR0XtDib-kZvZ39n4s_FzcI_oOYfaSs-LxNm3Fgvy1X3Csu-GCs1&t=fffffffffaf2a061
0x800a138f - JavaScript runtime error: Unable to get property 'PageRequestManager' of undefined or null reference

 

Can anyone please help to resolve it !!!

Ianko
Telerik team
 answered on 22 Apr 2016
2 answers
437 views

I have a RadGrid on an ASP.Net page with VB.net as the code-behind.

The columns are not auto-generated.  Some columns are hidden when the RadGrid is first loaded by setting the Display property to false.  This is the Summary View.  I have a RadioButtonList to allow the user to choose between Summary View and Detail View.  When the user selects Detail View, the columns that were hidden have their Display property set to True and then can see the hidden columns and their data.  This is done in the PreRender event procedure for the RadGrid.

I need to add a new column that has a link, image button, push button, or something that when clicked on will open a new window using radopen in a javascript function with a different ASP.Net page that has some of values from the row that was clicked on.

Also I am using the RadTabStrip so the user can see the windows that were opened.

I have looked at several threads in this forum regarding people trying to do the same thing or something similar and have tried the sample code that someone from Telerik provided or sample code other people posted.  Nothing worked.  I have tried a GridButtonColumn and a GridTemplateColumn.  

For now, I have set up a simple Javascript function that calls the alert function for testing.  The javascript function was put in a separate javascript file called scripts.js which is loaded by the ASP.Net page with RadGrid by using the following line of code: <script src="/Scripts/scripts.js" type="text/javascript"></script> .

The closest I was able to get something to work just showed the alert window pop up but was not able to access the data from the row that was clicked on.

One of the things I have tried caused an error to occur when selecting Detail View.

Please help.  Thanks!

Sincerely,

Keith Jackson

Keith
Top achievements
Rank 1
 answered on 21 Apr 2016
1 answer
158 views

Hi,

We are upgrading our application framework from 3.5 to 4.5? Facing following javascript errors in webresource.axd in some pages
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

Is telerik 2008 version supports any .Net framwork higher than 2.0? if yes, any recomendations?

Please help.

Venu.

Marin Bratanov
Telerik team
 answered on 21 Apr 2016
1 answer
127 views

Dear users,

for a winform application i use a database like in the attached picture suggest-db.jpg with success, inspired and modified for my app starting from http://www.telerik.com/blogs/data-binding-with-radscheduler-for-winforms.

Here in a 2nd table AppointmentsResources the AppointmentID and the ResourceID is stored.

Is it possible to use the same db structure for ASP.NET AJAX scheduler because there a different datasources is used for the ResourceTypes Collection.

For me it seems not, because i can't update my AppointmentsResources table, just the dataset for the scheduler itself.

Any suggestion how to bring my resource value into AppointmentsResources.

Or must i have a seperate field for every resourcetype im my Appointment Table.

Kind regards

Martin

 

Nencho
Telerik team
 answered on 21 Apr 2016
3 answers
282 views

I am trying to use FULLSCREEN api in .net project with telerik controls. Goal is to make the Radgrid to show up in Full screen. This works fine but found some features not working. When user tries to click on the column header - filter menu (EnableHeaderCheckListItemsrequested) shows up in normal page mode - but not in FULL Screen mode.

 

FYI, I am working on Radgrid with excel like filtering . Using IE 11 , telerik - v4.0.30319. I tried to find the generated code and looks it is generating Iframe and it shows up a message saying browser not supporting. Is this what restricting me to see the Filtermenu in full screen mode ?

Is there a way to over come this issue .. Like forcing to change Iframe logic and get telerik to generate supported HTML elements ?

Attaching the Screen shot with the screen and code generated at client side

 

 

Konstantin Dikov
Telerik team
 answered on 21 Apr 2016
1 answer
170 views

Hello i am using telerik image gallery to shows the images. I am fetching images from database. I want add multiple column to the description box as to give information about the image . However it is throwing me an error. Can you please help me in this regard. Below is my code.

This is my telerik image gallery control:

    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server">
        </telerik:RadStyleSheetManager>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
                </asp:ScriptReference>
            </Scripts>
        </telerik:RadScriptManager>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        </telerik:RadAjaxManager>
    <div>
    
    </div>
       
        <telerik:RadImageGallery ID="RadImageGallery1"  OnNeedDataSource="RadImageGallery1_NeedDataSource" runat="server" AppendDataBoundItems="True"   DataImageField="picture" DataTitleField="name" LoopItems="True">
        </telerik:RadImageGallery>

Belowin my C# code:

 RadImageGallery1.DataSource = GetDataTable();
            DataTable table = GetDataTable(); ;
            string price = table.Rows[0]["price"].ToString();
            string size=table.Rows[0]["size"].ToString();
            string place = table.Rows[0]["place"].ToString();
            string description = "Price: " + price + " " + "Size: " + size + " " + "Place: " + place;
            RadImageGallery1.DataDescriptionField = description;

Viktor Tachev
Telerik team
 answered on 21 Apr 2016
1 answer
244 views

Hi, 

I have a issue for IE 11. When I opened a page with Grid and editor fields, it reported me the below error information:

              Culture is not supported. Parameter name: name zh-Hans-CN is an invalid culture identifier. 

In my project, I only added telerik control resource file for zh-CN(e.g. grid, schedule...)  but I never used zh-Hans-CN in my project.  Where is this lang from and how to fix it?

PS. some other non-IE browsers or local IIS express server, the pages are shown fine.

Thanks very much in advanced.

 

Konstantin Dikov
Telerik team
 answered on 21 Apr 2016
1 answer
99 views

Hi again always the simple things but for the live of me i cant see with the date is not showing beside today in my claendar i have showheaders=true and datepicker=true so i dont get why i cant see the full date string beside the picker.

 

01.<telerik:RadScheduler OnTimeSlotCreated="apertureAppointments_TimeSlotCreated" OverflowBehavior="Auto" runat="server" WeekView-ShowDateHeaders="true" ID="apertureAppointments"
02.                                    TimelineView-UserSelectable="false" DayView-UserSelectable="true" AgendaView-UserSelectable="True" DataKeyField="ID" DataSubjectField="Subject" AllowInsert="false" AllowDelete="false" AllowEdit="false"
03.                                    DataStartField="Start" DataEndField="End" DataRecurrenceField="RecurrenceRule" DayView-EnableExactTimeRendering="true" WeekView-UserSelectable="True" SelectedView="WeekView"
04.                                    DataRecurrenceParentKeyField="RecurrenceParentID" DataSourceID="EntityDataSource1" StartInsertingInAdvancedForm="True" MonthView-UserSelectable="True" AgendaView-NumberOfDays="5" RowHeight="40px"
05.                                    RenderMode="Classic" EnableExactTimeRendering="True" DataReminderField="Reminder" Width="800px" Height="1000px" EnableDatePicker="true" ShowHeader="true"  ShowDateHeaders="true"
06.                                    DayStartTime="09:00:00" ShowFooter="false" DayEndTime="19:00" FirstDayOfWeek="Monday" LastDayOfWeek="Friday" HoursPanelTimeFormat="HH:mm tt" OnAppointmentClick="apertureAppointments_AppointmentClick" OnTimeSlotContextMenuItemClicking="apertureAppointments_TimeSlotContextMenuItemClicking"
07.                                    EnableDescriptionField="true" AppointmentStyleMode="Default"  Skin="Metro">
08. 
09.                                    <AdvancedForm Modal="True" />
10.                                    <Reminders MaxAge="5" />
11.                                    <Reminders Enabled="true"></Reminders>
12.                                    <TimeSlotContextMenuSettings EnableDefault="false" />
13.                                    <AppointmentContextMenuSettings EnableDefault="false" />
14.                                    <DayView EnableExactTimeRendering="True" />
15.                                    <AdvancedForm Modal="true"></AdvancedForm>
16.                                    <ResourceTypes>
17.                                        <telerik:ResourceType KeyField="lookup_code" Name="Managers" TextField="lookup_description" ForeignKeyField="managerId"
18.                                            DataSourceID="ManagersDataSource"></telerik:ResourceType>
19.                                    </ResourceTypes>
20.                                    <ResourceStyles>
21.                                        <%--AppointmentStyleMode must be explicitly set to Default (see above) otherwise setting BackColor/BorderColor
22.                            will switch the appointments to Simple rendering (no rounded corners and gradients)--%>
23.                                        <telerik:ResourceStyleMapping Type="Managers" Text="Natalie Edgar"
24.                                            BackColor="CornflowerBlue" ApplyCssClass="appointment" />
25.                                        <telerik:ResourceStyleMapping Type="Managers" Text="Clare Coyle"
26.                                            BackColor="CornflowerBlue" ApplyCssClass="appointment" />
27.                                        <telerik:ResourceStyleMapping Type="Managers" Text="Christine Clarke"
28.                                            BackColor="CornflowerBlue" ApplyCssClass="appointment" />
29.                                        <telerik:ResourceStyleMapping Type="Managers" Text="Adam Adair"
30.                                            BackColor="CornflowerBlue" ApplyCssClass="appointment" />
31.                                    </ResourceStyles>
32.                                </telerik:RadScheduler>
33.                            </ContentTemplate>
34.                        </asp:UpdatePanel>

Ivan Danchev
Telerik team
 answered on 21 Apr 2016
1 answer
97 views

I need to be able to understand how the occurance rule works in the db as I need to be able to extract them to be able to create shift patterns.

 

01.//Creating a Weekly Recurrence rule
02.int interval = 2;
03.RecurrenceRange range = new RecurrenceRange();
04. 
05.range.Start = Convert.ToDateTime(rdStartShift.SelectedDate);
06.range.EventDuration = TimeSpan.FromMinutes(30);
07.range.MaxOccurrences = 3;
08.RecurrenceDay recurrenceDay = RecurrenceDay.Wednesday;
09.// _shifts.RecurrenceRule = new WeeklyRecurrenceRule(interval, recurrenceDay, range).ToString();
10.DayOfWeek startDayOfWeek = DayOfWeek.Tuesday;
11._shifts.RecurrenceRule = new WeeklyRecurrenceRule(interval, recurrenceDay, range, startDayOfWeek).ToString();

I need be able expand this data to add to a list of shifts so that i can set them in the calendar as the start time and end time of an angents shift. So I guess question is how do i expand the recurrance ruel.
Nencho
Telerik team
 answered on 21 Apr 2016
2 answers
242 views

I have a grid as described below. I want to do batch editing, but when I click on cell with text nothing happens. I have another grid with exact same configuration which is working fine. I have no idea what I am missing here. Help will be appreciated

 

<telerik:RadGrid AutoGenerateColumns="false"
                    ID="gridKeyRisks" runat="server" Skin="TIPRSilkSkin" EnableEmbeddedSkins="false"
                    ClientIDMode="Static" OnItemCreated="RiskGridOnItemCreated"
                    OnBatchEditCommand="gridKeyRisks_BatchEditCommand">
                    <MasterTableView DataKeyNames="KeyRiskId"
                    NoMasterRecordsText="No data to display" EditMode="Batch">
                    <BatchEditingSettings EditType="Cell" SaveAllHierarchyLevels="True"></BatchEditingSettings>
                        <Columns>                  
                            <telerik:GridBoundColumn DataField="RiskNumber" HeaderText="#"
                                HeaderStyle-Font-Size="14px"
                                HeaderStyle-Font-Bold="true" ItemStyle-Font-Size="14px" ReadOnly="true" />                         
                            <telerik:GridBoundColumn DataField="RiskName" HeaderText="Risk" HeaderStyle-Font-Size="14px"
                                HeaderStyle-Font-Bold="true" ItemStyle-Font-Size="14px" ReadOnly="true" />
                            <telerik:GridBoundColumn DataField="Impact" HeaderText="Impact" HeaderStyle-Font-Size="14px"
                                HeaderStyle-Font-Bold="true" ItemStyle-Font-Size="14px" />
                            <telerik:GridBoundColumn DataField="Likelihood" HeaderText="Likelihood" HeaderStyle-Font-Size="14px"
                                HeaderStyle-Font-Bold="true" ItemStyle-Font-Size="14px" />
                            <telerik:GridBoundColumn DataField="Status" HeaderText="Status" HeaderStyle-Font-Size="14px"
                                HeaderStyle-Font-Bold="true" ItemStyle-Font-Size="14px" />
                            <telerik:GridBoundColumn DataField="MitigationStrategy" HeaderText="Mitigation Strategy"
                                HeaderStyle-Font-Size="14px" HeaderStyle-Font-Bold="true" ItemStyle-Font-Size="14px" />
                            <telerik:GridTemplateColumn UniqueName="TemplateEditColumn">
                                <ItemTemplate>
                                    <TIPR:GridRowEditButton runat="server" ID="rowEditButton" />
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>                          
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>

Eyup
Telerik team
 answered on 20 Apr 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?