Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
144 views

Hello,

 Can someone tell me how to disable the moving functionality of the tasks inside the list? If already tried the following code but none of them works. Thanks.

1.gantt._widget.bind("move", function (e) {
2.                   e.preventDefault();
3.               });
4.gantt._widget.bind("mousedown", function (e) {
5.                   e.preventDefault();
6.               });     

Dimitar Terziev
Telerik team
 answered on 30 Jun 2015
3 answers
247 views

I have a RadEditior embedded in RadGrid. I've been getting frequent complaints from users that the cursor jumps around when they are trying to edit previously entered text. I've been able to recreate part of the problem by pressing the spacebar twice. The first space is inserted normally, the second space is inserted as an   and then the cursor jumps to the end of the current line. Once this happens nothing can be typed without the insertion point jumping to the end. Switching to html mode and back will temporarily correct the problem. Strange behavior will also occur when the insert key is pressed and the control goes into overwrite mode.

Here is the grid with its RadEditor. This is all located in a RadWindow.

<telerik:RadGrid ID="rgJudicialNotes" runat="server" AutoGenerateColumns="False" AllowSorting="True" CellSpacing="0" GridLines="None" Height="455px">
  <MasterTableView CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Add Note" CommandItemSettings-ShowRefreshButton="true" TableLayout="Fixed" EditMode="EditForms" DataKeyNames="note_nr,note">
    <EditFormSettings EditFormType="Template">
      <FormTemplate>
        <div style="position: relative; height: 215px; width: 800px;">
          <telerik:RadEditor ID="reNote" Runat="server" ResolvedRenderMode="Classic" Width="795px" Height="165px" NewLineMode="Br">
            <tools>
              <telerik:EditorToolGroup Tag="MainToolbar">
                <telerik:EditorSplitButton Name="Undo" />
                <telerik:EditorSplitButton Name="Redo" />
                <telerik:EditorTool Name="Cut" />
                <telerik:EditorTool Name="Copy" />
                <telerik:EditorTool Name="Paste" ShortCut="CTRL+V / CMD+V" />
              </telerik:EditorToolGroup>
              <telerik:EditorToolGroup Tag="Formatting">
                <telerik:EditorTool Name="Bold" />
                <telerik:EditorTool Name="Italic" />
                <telerik:EditorTool Name="Underline" />
                <telerik:EditorTool Name="StrikeThrough" />
                <telerik:EditorSplitButton Name="BackColor" />
              </telerik:EditorToolGroup>
            </tools>
            <Content>
            </Content>
          </telerik:RadEditor>
          <asp:ImageButton ID="ibSave" runat="server" ImageUrl="~/Images/Save.png" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' style="position: absolute; left: 10px; top: 180px;" />
          <asp:ImageButton ID="ibCancel" runat="server" ImageUrl="~/Images/Cancel.png" CommandName="Cancel" style="position: absolute; left: 70px; top: 180px;" />
        </div>
      </FormTemplate>
    </EditFormSettings>
    <SortExpressions>
      <telerik:GridSortExpression FieldName="createdate" SortOrder="Descending" />
    </SortExpressions>
    <Columns>
      <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-Width="30px" ItemStyle-HorizontalAlign="Center" EditImageUrl="~/Images/Edit.png" UniqueName="gecEdit" />
      <telerik:GridBoundColumn DataField="createdate" HeaderText="Entry Date" ReadOnly="true" DataFormatString="{0:MM/dd/yyyy hh:mm}" HeaderStyle-Width="110px" UniqueName="gbc_create_date" />
      <telerik:GridBoundColumn DataField="note" HeaderText="Note" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Left" HeaderStyle-Width="500px" MaxLength="4096" UniqueName="gbc_note" />
      <telerik:GridBoundColumn DataField="empl_last_nme" HeaderText="Judge" ReadOnly="true" HeaderStyle-Width="80px" UniqueName="gbc_empl_last_nme" />
    </Columns>
  </MasterTableView>
  <ClientSettings><Scrolling AllowScroll="true" /></ClientSettings>
</telerik:RadGrid>

 We are using IE9, Windows 7, and version â€‹2015.1.401.40 of the Telerik controls.

Any suggestions on how to correct this behavior?

 

Thanks,

John

 

Ianko
Telerik team
 answered on 30 Jun 2015
2 answers
67 views

Hello,

I wonder if a single exported pdf file have its maximum length? I have been troubleshooting an issue of exporting a list of html charts to pdf. It turned out that if I exported too many charts ( > 30 charts) to a single pdf file, I would failed to generate the output (blank pdf); If I reduced the number of charts to export, I could export all charts to a single pdf file.

That's why I think that an exported pdf file might have its maximum default length. If so, how could we deal with exporting a longer pages?

Linh Hoang
Top achievements
Rank 1
 answered on 29 Jun 2015
3 answers
112 views

Hi all,

I have a AjaxPanel consisting of a radgrid and a button; when I clicked the button, a new RadWindow was opened; on the new opened window, there are a check list and a submit button. Now I want to select items from check list, click submit button to update the AjaxPanel. How could I do this?

So much appriciated for any suggestion.

Linh Hoang
Top achievements
Rank 1
 answered on 29 Jun 2015
1 answer
78 views

Hi

Re: http://www.telerik.com/forums/value-cannot-be-null-parameter-name-key-exception-is-thrown-after-q2-2015-release

I use page inspector as the default "Browse with" feature.
This error was also showing up if IE or Firefox was selected. 

What is the expected release date for SP1 for Q2 2015 asp.net ajax tools mentioned in the link above?

Thanks

Pavlina
Telerik team
 answered on 29 Jun 2015
1 answer
174 views

Hi Guys,

 

 Currently I m following this url for download the file. But can find the code for the handler.ashx code in this url,i m created the handler in my application I cant download the file directly ,it  gives a error please let  me know any one knows. please share the handler the code.

http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/applicationscenarios/filteranddownloadfiles/defaultcs.aspx

 

 

Thanks 

sandeep Miriyala

Vessy
Telerik team
 answered on 29 Jun 2015
2 answers
642 views

Is there a way to do this?

I am looking at this example but it doesn't have paging.

http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/selecting/row-selection/defaultcs.aspx

When I go to the next page, no items are selected.

Pavlina
Telerik team
 answered on 29 Jun 2015
1 answer
71 views

<DetailTables>
                                                    <telerik:GridTableView  width="100%" runat="server" AutoGenerateColumns="false">
                                                        <ParentTableRelation>
                                                            <telerik:GridRelationFields ></telerik:GridRelationFields>

                                                        </ParentTableRelation>
                                                        <Columns>

.......</DetailTables>

 Hi when i try scrolling horizontally  both the parent and child grid columns scroll but i have more columns in child than in parent so scrolling ends with the parent and i still have child columns which are invisible

Pavlina
Telerik team
 answered on 29 Jun 2015
1 answer
68 views

I downloaded the Q2 2015 version of Telerik asp.net controls and my question:

Is fill gradient enabled on RadDiagram control? 

I assume this feature is enabled because I see the next sample on Kendo Diagram and gradient is enabled:

http://demos.telerik.com/kendo-ui/diagram/index​

Please tell me If gradient is enabled on RadDiagram asp.net control.

Thanks 

Slav
Telerik team
 answered on 29 Jun 2015
2 answers
184 views

I am trying to access div tags within DataGroupTemplate from ItemDataBound but nothing is coming up for me. Not sure what i'm missing or might I be taking the wrong approach here?

 

<DataGroups>
    <telerik:ListViewDataGroup GroupField="Level" DataGroupPlaceholderID="DataGroupPlaceHolder1">
 
        <DataGroupTemplate>
            <div id="Div1" runat="server">
                <div id="Div2" runat="server">
                    <span class="GroupText"><%# CType(Container, RadListViewDataGroupItem).DataGroupKey%></span>
                </div>
                <asp:PlaceHolder runat="server" ID="DataGroupPlaceHolder2"></asp:PlaceHolder>
            </div>
        </DataGroupTemplate>
 
    </telerik:ListViewDataGroup>
</DataGroups>
 
 
Protected Sub RadListView1_ItemDataBound(sender As Object, e As RadListViewItemEventArgs) Handles RadListView1.ItemDataBound
 
    If e.Item.ItemType = RadListViewItemType.DataItem Then
        Dim dataitem As RadListViewDataItem = CType(e.Item, RadListViewDataItem)  
        If dataitem IsNot Nothing Then
            Dim grpdiv As HtmlGenericControl = TryCast(e.Item.FindControl("Div1"), HtmlGenericControl)
            If grpdiv IsNot Nothing Then
                'Do something
            End If
        End If 
    End If
 
End Sub

 

 

Bubacarr
Top achievements
Rank 1
 answered on 29 Jun 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?