Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
282 views

I've used RadPersistenceManager and follow the following guide :

http://demos.telerik.com/aspnet-ajax/persistence-framework/examples/custom-storage-provider/defaultcs.aspx

Everything work fine in my machine and development server, but on  production  the below exception occurred, even the cookie is created on the client machine:

 

Title: xxxx.aspx, xxxxx Method Name:
Unable to read storage content. Could not find file
'C:\inetpub\wwwroot\XXXX\App_Data\TelerikAspNetRadControlsPersistedState'.

Exception:    at
Telerik.Web.UI.PersistenceFramework.AppDataStorageProvider.LoadStateFromStorage(String
key)    at  Telerik.Web.UI.RadPersistenceManager.LoadState()    at GraphicalUserInterface.JobBasket.LoadGridJobBasket()

 

 

The cookie is created on the client machine

 

Angel Petrov
Telerik team
 answered on 12 Aug 2015
1 answer
183 views

HI

 

I am trying Telerik UI for ASP.NET AJAX Control - RadGrid,

and I want to change the Skin property but there have only one('Default') skin after dropdown in Object Inspector,

But After add reference Telerik.Web.UI.Skins.dll manaually, the Skin property dropdown works fine.

Maybe this problem can added into Online document (RadGrid > Troubleshooting).

 

Windows XP SP3

Visual Studio 2008

Telerik.Web.UI Trial Version 2015.2.729.35 (2015 Q2)

 

Best regards

 

Chris

 

 

Venelin
Telerik team
 answered on 12 Aug 2015
1 answer
84 views

Hi There

in that case I have many doctors that have specific work time, so i should enable only the work days and hours for each doctor.

I use 'RadScheduler1_TimeSlotCreated'​ event for making condition but,

is there any rules for TimeSlots like appointments. ​for an appointment, telerik.Web.UI has a 'RecurrenceRule' Property in 'Appointment' class.

 

thank


Plamen
Telerik team
 answered on 12 Aug 2015
3 answers
102 views

Hi,

Is it possible to display multiple months in the Month view of the Scheduler?  I have users who may want to view a quarter (3 months) or even an entire year at a time.

I know there would probably be alot of overhead and the amount of data transferred to the client might be alot, but it would be helpful (to the users) to see month's stacked (one month followed by the next, etc...) in the scheduler's Month view.

Thanks in Advance.

Brent

Plamen
Telerik team
 answered on 12 Aug 2015
2 answers
71 views

I added a couple of resources declaratively and the scheduler is nicely providing the dropdownlists and updating the DB.

I don't seem to be able to access the resource in the AppointmentDataBound, the GetResourceByType for my resource is never found?

 protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
    {
        if (e.Appointment.Resources.GetResourceByType("APType") != null)
        {
            switch (e.Appointment.Resources.GetResourceByType("APType").Text)
            {

    case "Individual Session":
                    e.Appointment.CssClass = "rsCategoryYellow";
                    break;​

I wanted to use them to style the appointment like this:

  http://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/appearance-and-styling/setting-styles-for-appointments

 

david
Top achievements
Rank 1
 answered on 11 Aug 2015
3 answers
1.1K+ views
I am setting raddatepicker like this:
raddatepicker.maxdate = datetime.today...but still its allowing me to select future dates in the popup calendar.
David
Top achievements
Rank 1
 answered on 11 Aug 2015
6 answers
130 views

Hello Telerik Support Team,

 

We have recently upgraded the telerik controls from V 2013 to V 2015.2.623.45.  ​


I have come across a problem with the editor in following scenario: 

 

Step 1: Add some content in DESIGN mode.

Step 2: Move to HTML mode.

Step 3: in BODY tag, following 2 attributes are being added automatically. style="zoom: 100%;" and contenteditable="true"

 

Could you please let us know why is it happening so and what is the way NOT to add this?

And if we remove it by customizing at our end, what would be consequences?


Please Suggest.
Thanks.

 

Vessy
Telerik team
 answered on 11 Aug 2015
3 answers
121 views

Hi Team,

I am using radgrid in "put all fields in edit" mode, achieving through the below code .
        protected void RadGrid1_PreRender(object sender, EventArgs e)
        {
            RadGrid1.AllowMultiRowEdit = true;
            RadGrid1.MasterTableView.EditMode = GridEditMode.InPlace;
            foreach (GridDataItem dataItem in RadGrid1.Items)
            {
                dataItem.Edit = true;
            }
            RadGrid1.Rebind();
         }​

 

Also I have a button to read and store the modification to the DB.

Now I am facing a critical issue! ,Example , I am changing a value in page 1 (not saving to the DB) and moving to next page ( by Pagination) and back to Page 1.

now my modified value is lost it shows the old value .

I am creating my grid pragmatically, Since my grid contains template column , I used "Page init" method to create my grid.

Datatable is used as Radgrid Datasource.

Ref : "http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/defining-structure/creating-a-radgrid-programmatically"

Is there any way to persist my previous modified value after pagination ?

Regards

Ramesh.

Konstantin Dikov
Telerik team
 answered on 11 Aug 2015
1 answer
125 views

I having some problems with javascript functions not executing when using a AjaxLoadingPanel. 

 
We have the following RadGrid that uses a custom edit form:
<telerik:RadGrid ID="grdCandidate" runat="server" AutoGenerateColumns="False" PageSize="7" AllowSorting="True" AllowPaging="True" ShowStatusBar="true" GridLines="None" AllowMultiRowSelection="False" OnNeedDataSource="grdCandidate_NeedDataSource" OnUpdateCommand="grdCandidate_UpdateCommand" OnPreRender="grdCandidate_PreRender" OnDeleteCommand="grdCandidate_DeleteCommand" OnItemCreated="grdCandidate_ItemCreated">
...
<EditFormSettings UserControlName="/_controltemplates/Project/CandidateEditControl.ascx" EditFormType="WebUserControl">
 <EditColumn UniqueName="EditCommandColumn1"></EditColumn>
</EditFormSettings>
...


We have some other Panels on the page and need it to all show the loading panel when we go into the EditForm:
<telerik:AjaxSetting AjaxControlID="grdCandidate">
  <UpdatedControls>  
   <telerik:AjaxUpdatedControl ControlID="grdCandidate" LoadingPanelID="RadAjaxLoadingPanel1" />
   <telerik:AjaxUpdatedControl ControlID="pnlCandInfo" LoadingPanelID="RadAjaxLoadingPanel1" />
   ...
  </UpdatedControls>
</telerik:AjaxSetting>


Not much in the loading panel:
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" MinDisplayTime="1000"
  Transparency="10" Skin="WebBlue">
</telerik:RadAjaxLoadingPanel>


In the custom Edit form, we have some RadComboBox and various other controls. This is a SharePoint application and one of the controls we have is the People Picker. It looks something like this:
<SharePoint:PeopleEditor ID="PPUser" runat="server" AcceptAnyEmailAddresses="true" ValidateResolvedEntity="true" ShowButtons="true" ShowDataValidationErrorBorder="true" ShowEntityDisplayTextInTextBox="true" ShowErrorPlaceHolder="true" ValidatorEnabled="true" MultiSelect="false" SelectionSet="User" AllowTypeIn="true" EnableBrowse="true" ForceClaims="true" UrlZone="Extranet"  EnabledClaimProviders="SP10.PeoplePicker.ADClaimsProvider"  />


The people picker has an option to search for employees through a popup form. This popup form is not working. I've done a client side trace and it errors saying the the javascript method is not found (the method is defined by SharePoint).


I thought this to be odd so I tried the following test. Inside the Custom Edit form I have this m
<button id="TEST" runat="server" onclick="ThisIsATest();return false;" value="test">test</button>


Right above it I have this Javascript section:
<script type="text/javascript">
    function ThisIsATest() {
        alert("this is a test");
    }  
</script>


At runtime, when I click on the TEST button, nothing happens. My trace has this error:
ReferenceError: ThisIsATest is not defined


This is the same error we are having with the SharePoint people picker. When I remove the AjaxLoadingPanel, everything works fine and the Javascript method is called successfully.

Would you be ablet to advise on why the AjaxLoadingPanel is preventing me from calling those methods?

Maria Ilieva
Telerik team
 answered on 11 Aug 2015
3 answers
69 views

Hi team 

 

1. We need boxes to match Microsoft Excel to be as familiar to end users as possible.  Having Rows on top may cause confusion, should be as follows
Filter Fields           Column Fields
Row Fields             Value Fields

2. For values (Aggregate fields) the field settings should be Count by default and not sum. 

 

Thanks in advance

Pavlina
Telerik team
 answered on 11 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?