Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
132 views

Hi

How to use select all checkbox in Telerik Gridview and Filter option for unselected item 

How to implement a telerik grid having filter control and select all option(Check Box).....  The purpose is to filter grid row items from a list and then to cancel the selection of the filtered result set.

Jaya
Top achievements
Rank 1
 asked on 17 Feb 2017
0 answers
262 views

HI

 

I have  a Page containing Telerik Grid view with Filter Control. When I use the filter control after selecting all values using checkbox (for selected all item), the selected checkboxes gets cleared after running filter. How to Retain the selected Telerik Grid row Item .

Jaya
Top achievements
Rank 1
 asked on 17 Feb 2017
0 answers
118 views

Hi

 

I have  a Page containing Telerik Grid view with Filter Control. When I use the filter control after selecting all values using checkbox (for selected all item), the selected checkboxes gets cleared after running filter. How to Retain the selected Telerik Grid row Item .

Jaya
Top achievements
Rank 1
 asked on 17 Feb 2017
0 answers
120 views

Hello, 

 

I have  a button , ajaxpanel and grid . On button Click a for loop is working.  Data is binding when for loop ends. But I want to update grid when each data added to searchlist. What I am not doing?

Thanks

 

 

List<SearchResult> results;

  protected void RadButton1_Click(object sender, EventArgs e)
    {

results=new List<SearchResult> ();

 for (int i = 0; i < 100; i++)
        {

SearchResult sr=new SearchResult();

 

// Here call a web service and getdata.

sr.ServiceName=services[i];

sr.Data=webresponse.Data;

results.add(sr);

Radgrid1.datasource=results;

Radgrid1.databind();
        }

 

}

 

 

 

     <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
  <AjaxSettings>
     <telerik:AjaxSetting AjaxControlID="RadButton1">
        <UpdatedControls>
           <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
        </UpdatedControls>
     </telerik:AjaxSetting>
     <telerik:AjaxSetting AjaxControlID="RadGrid1">
        <UpdatedControls>
           <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
        </UpdatedControls>
     </telerik:AjaxSetting>
  </AjaxSettings>
</telerik:RadAjaxManager>

KARLIDAG
Top achievements
Rank 1
 asked on 17 Feb 2017
0 answers
151 views

When I export the RadEditor's content having table in it, it doesn't the table. Here is the simple HTML from the HTML tab of the editor (I did not with HTML and this is auto generated HTML when I place the table.)

<div>
<div>
<table>
    <tbody>
        <tr>
            <td>&nbsp;1</td>
            <td>2&nbsp;</td>
        </tr>
    </tbody>
</table>
<br />
Test
</div>
</div>

 

I am using Telerik 2011.2.712.40. Below is the attributes set for the editor in ASPX page, 

<telerik:RadEditor ID="radEditor1" runat="server" Skin="Default" Height="500px" Width="100%"
                                OnClientSelectionChange="OnClientSelectionChange" AutoResizeHeight="false" ContentFilters="DefaultFilters,MakeUrlsAbsolute"
                                OnClientCommandExecuting="OnClientCommandExecuting" NewLineMode="Div"  >
                                <ExportSettings FileName="exporttopdf" OpenInNewWindow="true" Pdf-PageBottomMargin="1.0 cm"
                                    Pdf-PageLeftMargin="1.5 cm" Pdf-PageRightMargin="1.5 cm" Pdf-PageTopMargin="1.0 cm">
                                </ExportSettings>

I am using the method, radEditor1.ExportToPdf(); in CodeBehind.

Deepa
Top achievements
Rank 1
 asked on 16 Feb 2017
1 answer
75 views
A fairly simple question:

Which CSS classes will I need to access and what will I need to change in them in order to effectively Horizontally Center the list of nodes in the Navigation bar?  

My aim is either to just center them, or center them in a 1080px wide area in the center.

Thank you!
Chris
Top achievements
Rank 1
 answered on 16 Feb 2017
1 answer
113 views

I try to binding year is 2560 with Kendo AJAX  but on grid display 2017.

It work on grid Kendo MVC with the same data.

I really have to use Kendo AJAX to development,So Is there  any missing?

 

Eyup
Telerik team
 answered on 16 Feb 2017
1 answer
119 views

Hi,

I'm using a Column Chart format of HtmlChart.   When I hover over the column, the tooltip value appears as expected.  However, when the mouse leaves the column, the tooltip value remains until I hover over a different column.  I would like the tooltip to disappear when I'm no longer over the column.   A mouseout event would provide the desired trigger, but near as I can tell, that is not available.  Is there a way to accomplish this with the existing features?

Thanks,

Dave

 

Rumen
Telerik team
 answered on 16 Feb 2017
1 answer
241 views

Hello

I have a fairly complex RadScheduler where a user can drop appointments from a RadGrid and the advanced edit form should open on row drop.

This works so far, the form opens. But it seems the form doesn't get initialised correctly. When submitting the form I get a long error message:

"Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors(). Parameter name: scriptControl"

 

When double-clicking the appointment in RadScheduler, submitting works just fine with the same advanced form, though.

I call this from Page_PreRender(object sender, EventArgs e)

RadSchedulerPlanning.ShowAdvancedEditForm(appointment);

 

Where would I call "ShowAdvancedEditForm()" correctly?

Peter Milchev
Telerik team
 answered on 16 Feb 2017
3 answers
151 views

I have an ASPX Site with Telerik AJAX, in a editable RadGrid with EditMode="EditForms", each time user press Return, system shows an Object Reference not set to an instance of an object.

RadGrid Definition

 

<telerik:RadGrid RenderMode="Lightweight" ID="GridSCG" runat="server" AutoGenerateColumns="False"
            AllowFilteringByColumn="True" AllowSorting="True" AllowPaging="True" Culture="es-MX"
            OnNeedDataSource="GridSCG_NeedDataSource" OnDeleteCommand="GridSCG_DeleteCommand"
            OnInsertCommand="GridSCG_InsertCommand" OnItemCreated="GridSCG_ItemCreated" OnUpdateCommand="GridSCG_UpdateCommand"
            CellSpacing="-1" GridLines="Both" OnItemDataBound="GridSCG_ItemDataBound" Skin="Telerik">
            
            <PagerStyle PageSizeControlType="RadDropDownList" Mode="NextPrevAndNumeric"></PagerStyle>
            <ClientSettings AllowKeyboardNavigation="true">
                <ClientEvents OnKeyPress="OnKeyPress" />
            </ClientSettings>
            <FilterMenu RenderMode="Lightweight"></FilterMenu>
            <HeaderContextMenu RenderMode="Lightweight"></HeaderContextMenu>
            <ClientSettings AllowKeyboardNavigation="true">
                <Resizing AllowColumnResize="true" ResizeGridOnColumnResize="true" AllowResizeToFit="true" />
                <ClientEvents OnRowDblClick="rowDblClick" />
                <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true" FrozenColumnsCount="2"></Scrolling>
            </ClientSettings>

            <MasterTableView AutoGenerateColumns="False" InsertItemPageIndexAction="ShowItemOnCurrentPage" EditMode="EditForms"
                DataKeyNames="DTA_SECUENCIA" CommandItemDisplay="Top">
                <SortExpressions>
                    <telerik:GridSortExpression FieldName="DTA_SECUENCIA" SortOrder="Descending" />
                </SortExpressions>

This is the Error

[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.GridDateTimeColumnEditor.set_Text(String value) +73
   Telerik.Web.UI.GridBoundColumn.OnDataBindColumn(Object sender, EventArgs e) +2669
   System.Web.UI.Control.OnDataBinding(EventArgs e) +84
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +150
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.Control.DataBindChildren() +185

 

 

 

Vessy
Telerik team
 answered on 16 Feb 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?