Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
371 views
Hi i am having issues while implementing the "Go to page" in Telerik grid, i tried using  http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/paging/basic-paging/defaultcs.aspx. 

I tested by checking different modes like PageStyle Mode to "Slider" , "Numeric"  , "NextPrevious" which are working fine . But when it comes to "Advanced" and "NextPrevNumericAndAdvanced" i am not able to see the "Go to page" option in grid. Even i tried setting Enable view state of grid to "true" .

You can See my design here:

    <telerik:RadGrid ID="grdResFaxes" runat="server" EnableViewState="true" AllowSorting="True"
                                            AllowFilteringByColumn="False" OnNeedDataSource="grdResFaxes_NeedDataSource"
                                            Skin="Metro" CellSpacing="0" GridLines="None" Width="99%" PageSize="12" OnItemCommand="grdResFaxes_ItemCommand">
                                           <%-- <PagerStyle Mode="Slider" AlwaysVisible="true" Position="Bottom"></PagerStyle>--%>
                                            <ExportSettings IgnorePaging="true" Excel-FileExtension="xls" FileName="Faxes" OpenInNewWindow="true">
                                                <Excel Format="Biff" />
                                            </ExportSettings>
                                            <MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top" DataKeyNames="DocumentId,NonAdhererId"
                                                AllowNaturalSort="false" AllowPaging="true" CommandItemSettings-ShowExportToExcelButton="true"
                                                CommandItemSettings-ShowAddNewRecordButton="false" PagerStyle-Mode="Slider"
                                                PagerStyle-Position="Bottom">
                                                <Columns>
                                                    <telerik:GridBoundColumn DataField="RecDate" FilterControlAltText="Filter ReceivedDate column"
                                                        HeaderText="Received Date" SortExpression="RecDate" UniqueName="RecDate" ItemStyle-Width="20%"
                                                        FilterControlWidth="75px">
                                                      .
                                                      .
                                                      .
                                                      .

                                                   </telerik:RadGrid>
 

Pavlina
Telerik team
 answered on 21 Jan 2015
1 answer
319 views
Hi 

I am facing reference issue with RadGantt, i am using Telerik.Web.UI, Version=2013.3.1015.45

Error 85 The type or namespace name 'RadGantt' does not exist in the namespace 'Telerik.Web.UI' (are you missing an assembly reference?) F:\Magazine Web\Code\CAMWeb\WebFormsApp\WebTest.aspx.designer.cs 22 42 WebFormsApp

Using this demo code

<telerik:RadGantt ID="RadGantt1" 
            runat="server" 
            DataSourceID="SqlDataSource1" 
            DependenciesDataSourceID="SqlDataSource2" 
            ReadOnly="true" 
            SelectedView="WeekView">
             <DataBindings>
                <TasksDataBindings IdField="ID" ParentIdField="ParentID" StartField="Start" OrderIdField="OrderID" SummaryField="Summary" ExpandedField="Expanded" EndField="End" TitleField="Title"
                    PercentCompleteField="PercentComplete" />
                <DependenciesDataBindings TypeField="Type" IdField="ID" PredecessorIdField="PredecessorID" SuccessorIdField="SuccessorID" />
             </DataBindings>
        </telerik:RadGantt>

Ivan Danchev
Telerik team
 answered on 21 Jan 2015
1 answer
144 views
I am wanting to track the time it takes a user to begin the edit process when they click on a edit button (ImageButtonEdit)  in a editCommandColumn,
This is the eqatec code I want to inject on the server side via register script when the button is clicked... 

// Tracking timing
g._eqatecmonitor.trackFeatureStart("SomeLongOperation");


When they click on the save command.. I want to insert the stop monitoring code..

someLongOperation();
g._eqatecmonitor.trackFeatureStop("SomeLongOperation");


Has anyone done this?  I am using the eqatec javascript side of this to track client behavior, not the server side options.





01.<Columns>
02.    <telerik:GridTemplateColumn UniqueName="EditCommandColumn" AllowFiltering="false">
03.        <ItemTemplate>
04.            <div style="width: 50px">
05.                <asp:ImageButton ID="ImageButtonEdit" runat="server" CommandName="Edit" ImageUrl='<%# string.Format("~/App_Themes/{0}/Grid/Edit.gif", Page.Theme) %>'
06.                    AlternateText="Edit" ToolTip="Edit" />
07.                  
08.                <asp:ImageButton ID="ImageButtonDuplicate" runat="server" CommandName="Duplicate"
09.                    ImageUrl='<%# string.Format("~/App_Themes/{0}/Images/Copy_16.gif", Page.Theme) %>'
10.                    AlternateText="Duplicate" ToolTip="Duplicate" />
11.            </div>
12.        </ItemTemplate>
13.        <ItemStyle HorizontalAlign="Center" />
14.    </telerik:GridTemplateColumn>
Richard Flamsholt
Telerik team
 answered on 21 Jan 2015
6 answers
524 views
I need to be able to occasionally span a Text value across 3 NumericColumns when those columns are not relevant. I have attached a screenshot where I have cleared the appropriate columns and added the Text info. Now I need to know how to span the text from Column 1 into Column 2 and 3 without affecting the column headers or the data in other rows.

Here are a few snippets of my code to show what I'm working with:

CODE-BEHIND (ItemDataBound)
If Not IsDBNull(dataRow("span_data")) Then
  For Each col As GridColumn In TryCast(sender, RadGrid).MasterTableView.RenderColumns
    Select Case col.UniqueName
      Case "column1"
        col.ItemStyle.HorizontalAlign = HorizontalAlign.Leftrow("column1_data").Text = CStr(dataRow("span_data"))
      Case "column2"
        row("column2_data").Text = " "
      Case "column3"
        row("column3_data").Text = " "
    End Select
  Next
End If


FRONT-END
<telerik:GridNumericColumn HeaderText="Column 1" HeaderStyle-Width="80px" ItemStyle-HorizontalAlign="Right" DataField="column1" UniqueName="column1" SortExpression="column1" DataFormatString="{0:$#,##0;($#,##0);$#,##0}" />

<
telerik:GridNumericColumn HeaderText="Column 2" HeaderStyle-Width="80px" ItemStyle-HorizontalAlign="Right" DataField="column2" UniqueName="column2" SortExpression="column2" DataFormatString="{0:$#,##0;($#,##0);$#,##0}" />

<
telerik:GridNumericColumn HeaderText="Column 3" HeaderStyle-Width="80px" ItemStyle-HorizontalAlign="Right" DataField="column3" UniqueName="column3" SortExpression="column3" DataFormatString="{0:$#,##0;($#,##0);$#,##0}" />

License
Top achievements
Rank 1
 answered on 21 Jan 2015
8 answers
302 views
After setting the back color of the treelist,, the alternating row selection color only covers half the row. How can I remove this behavior?
Pavlina
Telerik team
 answered on 21 Jan 2015
1 answer
386 views
We are using a third party tool to monitor our web application and log exceptions.  That tool is showing "The Pattern constraint failed" (class: XmlSchemaException) exceptions within RadMenu_Load event. I tried to identify the possible cause, but I did not make it.  Are you aware of this exception in RadMenu ? Is there any possibility in getting this exception in RadMenu ?
Boyan Dimitrov
Telerik team
 answered on 21 Jan 2015
1 answer
184 views
We had recently updated from 2012 - Q2 to 2013 - Q3 . We have come across an issue where url encodes with %20 (aka a space in the name of the image) causes a RadButton with an image to change the url on mouse over / hover and make the image disappear / lose it's original URL because the encoding is changing.

For example, the original url for an image will load and display as:

http://8f2270e13c3e0703baa2-6c2aaf386ecfc7423d48bccd1a997322.r2.cf1.rackcdn.com/Public-Personal/Who%20We%20Are/Our%20Mission/plumpy-updated.jpg

When hovered, it is changed to:

http://8f2270e13c3e0703baa2-6c2aaf386ecfc7423d48bccd1a997322.r2.cf1.rackcdn.com/Public-Personal/Who%2520We%2520Are/Our%2520Mission/plumpy-updated.jpg

The url returned back that then does not display is encoding my %20 (a space) now to a %2520 (%25 is a %) and the added 20 goes no where causing a dead link. 

Is there a simple solution to prevent the automatic encoding from happening? I would prefer to not go through a 4 year old project and change every image that could potentially have this happening. 

We have typically tried to keep spacing out of our url's as a best practice, but it does not always happen that way.

Thanks
Danail Vasilev
Telerik team
 answered on 21 Jan 2015
1 answer
90 views
Hello,

I have an editor (type GridEditFormType.Template) which itself can open a little popup window (just a little div with position: absolute and z-index: 5000). This works well, but it is hidden behind the table header. I posted you a screenshot where you can see the popup hidden behind the header.
Just raising the z-index won't work, some how its always hidden behind the grid.
Is there an easy way to get the div to be shown over the header?

Thanks!
Konstantin Dikov
Telerik team
 answered on 21 Jan 2015
1 answer
216 views
Is it possible to get some vertical space between items?
Ideal for me would be to have 15px between root times and 10 px between root items and child items.
Some direction on this would be appreciated.
Thanks
Konstantin Dikov
Telerik team
 answered on 21 Jan 2015
9 answers
1.0K+ views

Hello Team,

                          Currently i am using  Telerik rad grid in my project and i am facing some problem during edit time and problem is that i want to give tab indexing to my text boxes so that tab indexing should be from left to right and vice versa and currently first it is working only for left side and after that right side as i have attached screen shot that's my need so please revert me soon i am waiting of your reply...


Thanks & Regards,
Sunny
Eyup
Telerik team
 answered on 21 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?