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

Hello

I have a dropdowntree that is updated using a treelist.

I wish when I check a line in my treelist check the corresponding value in the dropdowntree.
But also uncheck the old value.

I use this for

dropdowntree.get_entries().clear()

This method works the first time but if I check a value a second time it no longer works.

I have that :
Dropdowntree.get_entries().count() = 0

Ludovic
Top achievements
Rank 1
 answered on 14 Mar 2017
2 answers
139 views

I would like to apply a class on the  <tool name="InsertUnorderedList" /> , <tool name="InsertOrderedList" />

 

Is there a way to subscribe to tool events to apply the classes when working with the tools.xml? We are using the Rad Editor for content blocks and would like to apply classes according on the ul and ol tags. 

 

If we are to use JS function where would the JS file be located to be available to subscribe to the events fired by Rad Editor

Rumen
Telerik team
 answered on 14 Mar 2017
4 answers
282 views
Is there anyway I can override the InsertUnorderedList command's value to add a class of "mainlist" to the <ul> tag?

Our designer has set the css up so that the only unordered lists that get bullets are <ul>'s with that class.

Is there anyway I can change the value of the HTML that is about to get inserted before it gets inserted? I don't want to change any of the logic of the insert, just the HTML.

Thanks.
Rumen
Telerik team
 answered on 14 Mar 2017
13 answers
520 views

Hi,

I am trying to stop the default mouse over tool tip for an appointment appearing over the top of the right click menu (see attached).

I have tried changing the z-index of the right click menu but this has no made no difference, is there any way to force the tooltip to appear under the right click menu?

Thanks

Gavin.

Sameer
Top achievements
Rank 1
 answered on 14 Mar 2017
5 answers
615 views
Hi,

I am using a RadGrid with DetailTables.
I am using inline editing for each of my DetailTables.
I am able to perform Insert/Update operations. However, after the inert or update operation when I call Rebind on the RadGrid, I get the folowing error : There was a problem extracting DataKeyValues from the DataSource.
This message is displayed in Visual Studio in the catch block. However on the error page it says "

COLUMN_NAME is neither a DataColumn nor a DataRelation for table Table.

". I have data in my table. This error does not show up when the page loads normally. It only shows up when the Insert/Update event for the RadGrids DetailTable is fired.

Could someone provide a solution and tell me the reason why this is happening.

Thanks,
Roman
Top achievements
Rank 1
 answered on 14 Mar 2017
11 answers
1.3K+ views
Hello Dears,

I am facing an issue.

After upgrading from telerik v2009  to  telerk v2012 , I can't get my selected rows values in a radgrid with checkboxes from code behind

here is the code in the markup
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"
                          PageSize="5"     Width="100%"    OnPageIndexChanged="RadGrid1_PageIndexChanged"
                            GridLines="None" Skin="Vista" AllowMultiRowSelection="True"  >
                            <MasterTableView >
                            <Columns>
                                <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" ></telerik:GridClientSelectColumn>
                            </Columns>
                                <RowIndicatorColumn>
                                    <HeaderStyle Width="20px" />
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn>
                                    <HeaderStyle Width="20px" />
                                </ExpandCollapseColumn>
                                <PagerStyle Mode="NextPrev" />
                            </MasterTableView>
                            <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False"
                                Font-Strikeout="False" Font-Underline="False" Wrap="True" />
                            <ClientSettings EnableRowHoverStyle="true"  >
                                <Selecting AllowRowSelect="True" UseClientSelectColumnOnly "true"   />
                            </ClientSettings>
                        </telerik:RadGrid>
and now the code behind

 protected void  Ok_Click(object sender, System.EventArgs e)
        {
foreach (GridDataItem item in RadGrid1.SelectedItems)
               {
                   CheckBox chk = (CheckBox)item["ClientSelectColumn"].Controls[0];
                   id = item["ID"].Text; // get the id with its column name
                   name = item["NAME"].Text; // get the name with its column name
                   chec = chk.Checked;
 
 
               }
}

It doesn't even enter in the loop.
What can I do to resolve it ?

Thank in advance for your assistance
yook
Top achievements
Rank 1
 answered on 14 Mar 2017
3 answers
1.3K+ views
Hi everybody, as my title says, i have a GridClientSelectColumn, on my radGrid, and a button outside this grid, in this button, i try to get all checked check box on this way:
protected void btnDel_Click(object sender, EventArgs e)
{
    string id;
    bool chec;
    foreach (GridDataItem item in RadGrid2.Items)
    {
        CheckBox chk = (CheckBox)item["CheckboxColumn"].Controls[0];
        id = item["codigo"].Text;
        chec= chk.Checked;
    }
}

but if i try this way, i will get one by one valuee from checkbox that are checked.
Exist some way to get ALL rows that my gridClient are selected?
Thankz in advance

<telerik:RadGrid ID="RadGrid2" runat="server" AllowMultiRowSelection="true" Width="300px"
              OnNeedDataSource="RadGrid2_NeedDataSource">
              <MasterTableView AutoGenerateColumns="False" CommandItemDisplay="Top" CommandItemSettings-AddNewRecordText="Novo Registro"
                  CommandItemSettings-RefreshText="Atualizar" DataKeyNames="codigo">
                  <Columns>
                      <telerik:GridClientSelectColumn UniqueName="CheckboxColumn" />
                      <telerik:GridBoundColumn HeaderText="Código" DataField="codigo" UniqueName="codigo" />
                      <telerik:GridBoundColumn HeaderText="Descrição" DataField="descricao" UniqueName="descricao" />
                  </Columns>
              </MasterTableView>
              <ClientSettings EnablePostBackOnRowClick="True">
                  <Selecting AllowRowSelect="true" />
              </ClientSettings>
          </telerik:RadGrid>
      <asp:Button ID="btnDeletar" CommandName="Delete" runat="server"
          Text="Deletar Items" onclick="btnDeletar_Click" />
yook
Top achievements
Rank 1
 answered on 14 Mar 2017
1 answer
118 views
Hi,

Is it possible to load an XML content as string to Editor ToolsFile instead of the XML file path? 
Rumen
Telerik team
 answered on 13 Mar 2017
2 answers
219 views

You may see it on the official  : http://demos.telerik.com/aspnet-ajax/button/examples/rendermode/defaultcs.aspx?skin=Black

Checkboxes and Radio are not properly visualized in the Classic Rendering mode.

The issue is reproduced with any browser.

Marin Bratanov
Telerik team
 answered on 13 Mar 2017
9 answers
471 views
Hi,
     I want to show an ajax loader processing icon when i click the drop down button of a Rad Combobox and it should be hidden when the drop down items are displayed. I tried doing with the onclientdropdownopening and onclientdwnopened ropdoproperties of the combobox but still I was not able to get the desired results. Can anyone help me out with this???
Arun
Top achievements
Rank 1
 answered on 13 Mar 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?