Telerik Forums
UI for ASP.NET AJAX Forum
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
122 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
7 answers
292 views

Hi Team,

 

I have RadGrid which is populated via NeedDataSource Event.. In the ​grid, One of the column is DateTimeColumn.. Now, I want to add ​Date And Time Filter for this column.. So, I set the PickerType to DateTimePicker.. Now, It shows date control and time control.. But, when I select the time control it shows only hours and minutes.. ​whereas we need hour, minutes and seconds also should be shown.. Please let me know how to achieve this...

 

Thanks,

Prakash..

Maria Ilieva
Telerik team
 answered on 11 Aug 2015
1 answer
69 views

 Hi,

 I request you to please delete my second post from below thread [link] as early as possible because i could not do it from my end.

http://www.telerik.com/forums/resource-bindg-problem​

 If second post is not possible to delete, remove entire link from forum.

 

Vessy
Telerik team
 answered on 11 Aug 2015
3 answers
112 views
I want to enable/disable the DatePopupButton using javascript, how do I?

Regards,

Pablo.
Maria Ilieva
Telerik team
 answered on 11 Aug 2015
1 answer
357 views

Hi,

      Is it possible to display/print labels name in rad html pie chart instead of values. Please find the attachment. labels text can be displayed in legend but i require it to display on pie chart ( other than tool tip). looking for any other possible solution. 

 

Regards,

Chethan Y

Danail Vasilev
Telerik team
 answered on 11 Aug 2015
1 answer
78 views

Hello,

The downloadlink for the controls seems to be corrupt, the transfer stops after 9 of the expected 87mb. Updating over the Telerik Control Panel yields in a MD5 checksum error.

Pavlina
Telerik team
 answered on 11 Aug 2015
1 answer
77 views

I use exempel "Scheduler - Using RadToolTip"

How can I integrate/use my own database fields for example:

If apt.MyField.ToString() = "Ja" Then.....

 

 

Protected Overrides Sub OnPreRender(e As EventArgs)
    MyBase.OnPreRender(e)
 
    lblStartDate.Text = apt.Owner.UtcToDisplay(apt.Start).ToShortDateString
    lblEndDate.Text = apt.Owner.UtcToDisplay(apt.[End]).ToShortDateString
 
    lblRubrik.Text = apt.Subject.ToString()
    lblBeskrivning.Text = apt.Description.ToString()
 
    If apt.Description.ToString() = "" Then
        hlVisa.NavigateUrl = "appointment.aspx?id=" & apt.ID.ToString()
    End If
End Sub

Dimitar Terziev
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?