Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
112 views

Hi,

 

The following technique we are using for Eg RadCombobox for sending an additional parameter to the call back function

 

Why is this not working for the ImageManager ClientCallbackFunction?

imageManager.ClientCallbackFunction = "function(sender, args){ImageManagerFunction(sender, args, 'NL');}"

 

Marc

Rumen
Telerik team
 answered on 17 Feb 2017
0 answers
167 views

Hi,

I have a RadGrid with 2 DetailTables. Events inside a Detail Table are not firing for the first time, but it is firing for second attempt. 

Please find below the issues i am facing:

1) Check box in 1st Detail View is not hitting OnCheckedChanged for the first attempt, but postback is happening and OnItemDataBound event is getting triggered. OnCheckedChanged  event is firing for the second attempt

2) OnTextChanged of RadNumericTextBox  in 2nd Detail View is not firing for the first attempt, but postback is happening and OnItemDataBound event is getting triggered. it is firing in second attempt.

 

<telerik:RadGrid ID="rGrid" runat="server" OnNeedDataSource="rGrid_NeedDataSource" RenderMode="Lightweight" 
                        GridLines="None" OnPreRender="rGrid_PreRender" OnItemDataBound="rGrid_ItemDataBound"
                        OnDetailTableDataBind="rGrid_DetailTableDataBind" OnDeleteCommand="rGrid_DeleteCommand" OnItemCommand="rGrid_ItemCommand">
                        <MasterTableView AutoGenerateColumns="false" DataKeyNames="Id" ShowFooter="true" Name="Master" HierarchyLoadMode="Client" RetainExpandStateOnRebind="true" HorizontalAlign="Right">
                            <DetailTables>
                                <telerik:GridTableView DataKeyNames="EventDesc"  HorizontalAlign="Left" Name="DetailTableView" Width="105%" AutoGenerateColumns="false" ShowHeader="false" HierarchyLoadMode="Client" CssClass="inner_grid" RetainExpandStateOnRebind="true">
                                    <DetailTables>
                                        <telerik:GridTableView Width="100%" HorizontalAlign="Right" AutoGenerateColumns="false" ShowHeader="true" NoDetailRecordsText="No invoice recorded" Name="DetailTable1" RetainExpandStateOnRebind="true">
                                            <Columns>
                                                 <telerik:GridTemplateColumn HeaderText="Amount" HeaderStyle-Width="126px">
                                                    <ItemTemplate>
                                                        <telerik:RadNumericTextBox ID="rtxtAmount" runat="server" MinValue="0" DbValue='<%# Eval("Amount") %>' Width="95px"
                                                            OnTextChanged="rtxtAmount" AutoPostBack="true" >
                                                            <IncrementSettings InterceptMouseWheel="false" InterceptArrowKeys="false" />
                                                        </telerik:RadNumericTextBox>
                                                    </ItemTemplate>
                                                </telerik:GridTemplateColumn>

                                            </Columns>
                                        </telerik:GridTableView>
                                    </DetailTables>
                                    <Columns>

                                  <telerik:GridTemplateColumn UniqueName="chkBox" HeaderStyle-Width="15px">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="CheckBoxSubGid" runat="server" OnCheckedChanged="CheckBoxSubGid_CheckedChanged"                                                                          AutoPostBack="true" />
                                            </ItemTemplate>
                                  </telerik:GridTemplateColumn>

                                   </Columns>
                                </telerik:GridTableView>
                            </DetailTables>
                            <Columns>

                           <telerik:GridTemplateColumn DataField="EventDesc" HeaderText="description" UniqueName="description" >
                                    <ItemTemplate>
                                        <telerik:RadTextBox ID="rtxtdescription" runat="server" TextMode="MultiLine" Text='<%# Eval("description") %>' >                                                                          </telerik:RadTextBox>
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>

                               </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>

 

Could you please let me know the solution ?

Thanks in advance!!

Regards,

Puru

Purushothama
Top achievements
Rank 1
 asked on 17 Feb 2017
0 answers
130 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
252 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
112 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
112 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
147 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
67 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
108 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
114 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?