Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
3.7K+ views

General info:
- Sharepoint 2010 + webparts with Telerik controls on it
- Telerik ASP.NET AJAX version 2013.2.717.35
- Both Telerik.Web.UI and Telerik.Web.UI.Skins are in GAC ("C:\Windows\assembly")

After deploying webpart to Sharepoint farm webpart works as expected.But when left web page for a some period of time (more than 1 hour) and after that refresh the page telerik error occurs:

==============================================================================================================
Telerik.Web.UI.RadAjaxLoadingPanel with ID='loadingPanel' was unable to find an embedded skin with the name 'WebBlue'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
Exception Details: System.InvalidOperationException: Telerik.Web.UI.RadAjaxLoadingPanel with ID='loadingPanel' was unable to find an embedded skin with the name 'WebBlue'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.

Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
==============================================================================================================

Telerik registration in  *.vbproj file:
<Reference Include="Telerik.Web.UI, Version=2013.2.717.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL" />
<Reference Include="Telerik.Web.UI.Skins, Version=2013.2.717.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4, processorArchitecture=MSIL" />

Telerik registration in *.ascx 
<%@ Register assembly="Telerik.Web.UI, Version=2013.2.717.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" namespace="Telerik.Web.UI" tagprefix="telerik" %>

I read a lot of articles which advice to put assemblies into the GAC, but assemblies are already in the GAC. 

Can you please explain why web part stops working after some period of time and how can I fix this problem?
I assume that this behavior is caused by the ending of user session timeout, but don't know how this influences on skin loading.

Thx,
Alex.

Rumen
Telerik team
 answered on 13 Dec 2016
1 answer
86 views

We currently have Telerik version 2011.2.712.40 and to upgrade to version 2016.3.1027.

Our application runs on VS2010 microsoft framework 4.0.

Can we upgrade Telerik without upgrading Visual Studio nor the framework?

Thank you

Rumen
Telerik team
 answered on 13 Dec 2016
1 answer
122 views

We currently have Telerik version 2011.2.712.40 and to upgrade to version 2016.3.1027.
Our application runs on VS2010 microsoft framework 4.0.

Can we upgrade Telerik without upgrading Visual Studio nor the framework?

Thank you

Rumen
Telerik team
 answered on 13 Dec 2016
2 answers
667 views

I have an export to excel where I enter &#10; the excel crlf character. All of that works fine but when I open the excel file the column is not formatted to handle crlf and I have to set it to Wrap Text manually. Is there any way to format this column with wrap text?

 

Thanks,

James

James
Top achievements
Rank 1
 answered on 13 Dec 2016
1 answer
76 views

I've been using RadAJAX for WebForms for a couple of years. I do 99% of my coding with dynamic controls, created in the code behind. My current project has many tab controls with multipages, etc, and many controls within each muliview. I am using RadAjaxManager and carefully keeping track of which controls trigger which.

Do I seriously have to recreate each and every control for every postback?? There are 100s, and many of them are not created until the user takes certain actions.

What are the strategies I can use?

 

 

Pavlina
Telerik team
 answered on 13 Dec 2016
2 answers
219 views

Hi I have a bit of a problem, I have created a RadGrid with a masterView that displays initial info about a product, the grid has a Detail View which is another grid of SubItems that belong to each product.

I wan to be able to Edit the details of the Main Product as well as I also want to be able to edit Details of a SubItem (Not at the same time) , so I added an Edit Form to the MasterView and one to the DetailView, logically if I click the edit button on the masterview level product, the Grid should go to edit mode and bring up the MasterView.EditForm and the same with SubItem.Ediform when edit button clicked.

When I click the edit button the Grid goes blank, ALL items disappear and I just end up with a line on the screen.

I think I have the Grid setup correctly, where am I going wrong? Can you not have an EditFormTemplate when you use a DetailView?

Here is my example. I am not using DataSourceID="SqlDataSource" in the aspx page, I do all my data binding in cs.code. I am not using Bound Data Fields, I use <ItemTemplate> with custom Labels.

I would appreciate some help or a point in the right direction.

Thanks in advance :)

 

01.<telerik:RadGrid ID="OPVRCommitGrid" runat="server" AutoGenerateColumns="false" MasterTableView-HierarchyLoadMode="Client" AllowSorting="True" ShowFooter="false" AllowPaging="false" PageSize="25">
02.        <MasterTableView CommandItemDisplay="None" EditMode="EditForms" DataKeyNames="ProductID" ShowGroupFooter="false" Name="OVPRList">
03.            <Columns>
04.                <telerik:GridTemplateColumn HeaderText="ID" SortExpression="ProductID" HeaderButtonType="TextButton" UniqueName="PCol">
05.                    <ItemTemplate>
06.                        <asp:Label ID="ProductID" runat="server" Text='<%# Eval("ProductID") %>' />
07.                    </ItemTemplate>
08.                </telerik:GridTemplateColumn>
09.                <telerik:GridTemplateColumn HeaderText="Product" SortExpression="ProductName" HeaderButtonType="TextButton" UniqueName="PCol">
10.                    <ItemTemplate>
11.                        <asp:Label ID="Product" runat="server" Text='<%# Eval("ProductName") %>' />
12.                    </ItemTemplate>
13.                </telerik:GridTemplateColumn>
14.                <telerik:GridTemplateColumn UniqueName="editControls">
15.                    <ItemTemplate>
16.                        <asp:ImageButton ID="editBtn" runat="server" ImageUrl="~/_system/_img/icons/edit2.png" CausesValidation="False" CommandName="Edit" CommandArgument="Edit" ToolTip="Edit" />
17.                    </ItemTemplate>
18.                </telerik:GridTemplateColumn>
19.            </Columns>
20.             
21.            <EditFormSettings EditFormType="Template">
22.                <FormTemplate>
23.                    MasterTableView EidtForm
24.                </FormTemplate>
25.            </EditFormSettings>
26.             
27.            <DetailTables>
28.                <telerik:GridTableView DataKeyNames="ProjectID" runat="server" EditMode="EditForms" CommandItemDisplay="None" Name="Commitment">
29.                    <Columns>
30.                        <telerik:GridTemplateColumn HeaderText="SubItem" SortExpression="SubItem" HeaderButtonType="TextButton">
31.                            <ItemTemplate>
32.                                SubItem Feature
33.                            </ItemTemplate>
34.                        </telerik:GridTemplateColumn>
35.                        <telerik:GridTemplateColumn UniqueName="editControls">
36.                            <ItemTemplate>
37.                                <asp:ImageButton ID="editBtn" runat="server" ImageUrl="~/_system/_img/icons/edit2.png" CausesValidation="False" CommandName="Edit" CommandArgument="Edit" ToolTip="Edit" />
38.                            </ItemTemplate>
39.                        </telerik:GridTemplateColumn>
40.                    </Columns>
41.                     
42.                    <EditFormSettings EditFormType="Template">
43.                        <FormTemplate>
44.                            DetailView EidtForm
45.                        </FormTemplate>
46.                    </EditFormSettings>
47.                </telerik:GridTableView>
48.            </DetailTables>
49.    </MasterTableView>
50.</telerik:RadGrid>
VNet
Top achievements
Rank 1
 answered on 13 Dec 2016
3 answers
295 views
In my wizard, i want to pop up a confirmation window if the user clicks cancel button. If the user confirms (yes) then i want to cancel the wizard processing and go to my home page else continue on the same page. is it possible?
Peter Milchev
Telerik team
 answered on 13 Dec 2016
3 answers
172 views

Hi there,

I added RadScheduler Telerik Scenario with "Web Service with Custom Provider" option, and then added "Year View".

Everything works fine except an error message when I mouse over on the appointment cell. I debugged and noticed that embed tooltip on year view does not initialize custom schedulerInfo. Is there a way to override client event and initialize schedulerInfo ???

Here are codes:

<script type="text/javascript">
 
    var teacherID = "all";
 
    function OnClientSelectedIndexChanged(sender, args) {
        teacherID = args.get_item().get_value();
        var scheduler = $find('<%=RadScheduler1.ClientID %>');
        scheduler.rebind();
    }
 
    function OnClientAppointmentsPopulating(sender, eventArgs) {
        eventArgs.get_schedulerInfo().TeacherID = teacherID;
    }
</script>

 

<telerik:RadScheduler ID="RadScheduler1" runat="server" OnClientAppointmentsPopulating="OnClientAppointmentsPopulating"
        AppointmentStyleMode="Default" SelectedView="MonthView" SelectedDate="2011-01-21"
        Width="100%" OverflowBehavior="Expand">
        <DayView UserSelectable="true" />
        <MonthView UserSelectable="true" />
        <YearView UserSelectable="true" />
        <WeekView UserSelectable="false" />
        <TimelineView UserSelectable="false" />
        <WebServiceSettings Path="SchedulerWebService.asmx" ResourcePopulationMode="ServerSide"  />
        <ResourceStyles>
            <telerik:ResourceStyleMapping Type="Teacher" Key="1" BackColor="Orange" />
            <telerik:ResourceStyleMapping Type="Teacher" Key="2" BackColor="Aqua" />
        </ResourceStyles>
    </telerik:RadScheduler>

 

Public Overrides Function GetAppointments(ByVal shedulerInfo As ISchedulerInfo) As IEnumerable(Of Appointment)
        Dim myInfo = TryCast(shedulerInfo, MySchedulerInfo)
        Dim teacherID As String = myInfo.TeacherID
'--> teacherID gets nothing when mouse over appointment in year view.
        Dim appointments As New List(Of Appointment)()

 

Thanks.

Jae

 

Plamen
Telerik team
 answered on 13 Dec 2016
21 answers
843 views
I want to know status of group whether it is expanded or collapsed. For that I am using RadGridInbox_Itemcommand  event .when ever i click expand or collapse icon, i am always getting e.Item.Expanded =false .The following code i used in my project .please give solution to solve this issue.
  public  void RadGridInbox_Itemcommand(object sender, GridCommandEventArgs e)
    {
        if (e.CommandName == "Delete")
      {
          ....................................       
..................................
      }
        if (e.CommandName == "ExpandCollapse")
        { 
          if (e.Item.Expanded)
         {            
        ....................................
.........................................
          }
          else
            {
  ..........................
..............
    ........................       
      }
        }
}
Gan
Top achievements
Rank 1
 answered on 13 Dec 2016
3 answers
269 views

I have the following configuration on my grid regarding validation:

<ValidationSettings EnableValidation="true" />

 

And then there are columns that have validation add like this:

<telerik:GridBoundColumn DataField="Name" HeaderText="Short Name">
    <ColumnValidationSettings EnableRequiredFieldValidation="true">
        <RequiredFieldValidator BackColor="MediumVioletRed" ErrorMessage="*" />
    </ColumnValidationSettings>
</telerik:GridBoundColumn>

 

Now, this works just fine. But this just shows a message with a red background. I want to style the input field to use the BackColor value.

Is there a good way of doing this?

Konstantin Dikov
Telerik team
 answered on 13 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?