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

Hi All, 

 I'm having issues with the this Col. 

I can't get the selectvalue to fire up.

Please can you assist.

<telerik:GridDropDownColumn DataField="AstSeriesID" ListTextField ="Name" ListValueField="Id" DataSourceID="AssetSeries" HeaderText  ="Asset Series"
                           UniqueName="AssetSeries" DropDownControlType ="RadComboBox" EnableEmptyListItem="True" EmptyListItemValue=" " EmptyListItemText="<Add New Seies>">
                        </telerik:GridDropDownColumn>

 

Kind Regards, 

Liz

Eyup
Telerik team
 answered on 10 Jul 2015
1 answer
195 views
I am building an online application that simply takes information and stores it in a database.  This application is rather large and it has multiple sections not unlike many modern online tax applications.  Anyone have any ideas of what I can do to track their progress and show a graphical representation of where they are at in the process?  Is there a way to augment the tree control or a menu system in some way to achieve this?  I am fresh out of ideas and would love some input.
Nencho
Telerik team
 answered on 10 Jul 2015
5 answers
1.5K+ views
Hi,

Can you tell me if there is a way to limit the amount of text shown in rad grid? For example; a particular data field has a string of text about 200 characters in length, but on the actual data grid I only want to show the first 50 characters in the data column. How would I do that?
Looking forward to assistance.

Thanks,
Ron.
Slav
Telerik team
 answered on 10 Jul 2015
4 answers
117 views

Hi

My auto complete box gets populated with tokens programmatically by other actions on my page, I would like the user to be able to delete these tokens but not to be able to type in free text - is this possible?

 

Al
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 10 Jul 2015
1 answer
248 views

Good Morning,
I use a RadPanelBar to hide or show the filter of a grid .

I use the same code in two webform identically (in both pages the PanelBar and the grid are within
a RadPageView,It could be an important detail) .

Image Bug 001 : Initial scenario panel bar filters initial uncompressed (Page correct)
Image Bug 002 : panel expanded bar after pressing the button "+" (Page correct)

In the second page, the filter part already expanded but it is not visible the entire structure of
panel bar but only its content . ( Image Bug 003 )
If I click on any part near the filter panel scomapre ( Image Bug 004 ) .

Does anyone know help me ?
I tried to replace the element ContentTemplate RadPanelItem with an ItemTemplate
but reading the documentation is it correct  use a ContentTemplate (in fact
the first page works ).

 

This is the code of first page (OK)

      <telerik:RadPageView ID="rpwCompany" runat="server">
          <div class="divFilters">
              <telerik:RadPanelBar runat="server" ID="pnlBarFilterCompany" Width="100%" ExpandMode="MultipleExpandedItems" Font-Bold="true">
                  <Items>
                      <telerik:RadPanelItem Expanded="false">
                          <ContentTemplate>
                              <div class="filterBox">
                                  <div class="filterItemContainer">
                                      <div class="filterItem">
                                          <asp:Label ID="lblTagFilterCompanyCode" runat="server" SkinID="TagFilter" CssClass="filterLabel" />
                                          <telerik:RadTextBox ID="txtFilterCompanyCode" runat="server" MaxLength="16" Width="100px" />
                                      </div>
 
                                      <div class="filterItem">
                                          <asp:Label ID="lblTagFilterCompanyName" runat="server" SkinID="TagFilter" CssClass="filterLabel" />
                                          <telerik:RadTextBox ID="txtFilterCompanyName" runat="server" MaxLength="16" Width="180px" />
                                      </div>
                                  </div>
                                  <div class="filterButton">
                                      <telerik:RadButton ID="btnSearchCompany" runat="server" Width="140px" Height="65px" Font-Bold="true"
                                          Font-Size="16px" ForeColor="#0167B1" OnClick="btnSearchCompany_Click">
                                          <Icon PrimaryIconUrl="~/Images/24x24/search.png" PrimaryIconHeight="24px" PrimaryIconWidth="24px" />
                                      </telerik:RadButton>
                                      <telerik:RadButton ID="btnResetFilterCompany" runat="server" Width="140px" Height="35px" Font-Bold="true"
                                          Font-Size="16px" ForeColor="Red" OnClick="btnResetFilterCompany_Click" Skin="Sunset">
                                      </telerik:RadButton>
                                  </div>
                              </div>
                          </ContentTemplate>
                      </telerik:RadPanelItem>
                  </Items>
              </telerik:RadPanelBar>
          </div>
          <telerik:RadGrid ID="gvListCompany" runat="server" AllowPaging="True" ...............

 This is the code of second page (Error)

<telerik:RadPageView ID="rpwValidity" runat="server">           
            <div class="divFilters">
                <telerik:RadPanelBar runat="server" ID="pnlBarFilterValidity" Width="100%" ExpandMode="MultipleExpandedItems" Font-Bold="true">
                    <Items>
                        <telerik:RadPanelItem Expanded="false">
                            <HeaderTemplate></HeaderTemplate>
                            <ContentTemplate>
                                <div class="filterBox">
                                    <div class="filterItemContainer">
                                        <div class="filterItem">
                                            <asp:Label ID="lblTagFilterValidityCode" runat="server" SkinID="TagFilter" CssClass="filterLabel" />
                                            <telerik:RadTextBox ID="txtValidityCodeFilter" runat="server" MaxLength="16" Width="100px" />
                                        </div>
 
                                        <div class="filterItem">
                                            <asp:Label ID="lblTagFilterValidityName" runat="server" SkinID="TagFilter" CssClass="filterLabel" />
                                            <telerik:RadTextBox ID="txtValidityNameFilter" runat="server" MaxLength="16" Width="180px" />
                                        </div>
 
                                        <div class="filterItem">
                                            <asp:Label ID="lblTagFilterOPTExpression" runat="server" SkinID="TagFilter" CssClass="filterLabel" />
                                            <telerik:RadTextBox ID="txtOPTExpressionFilter" runat="server" MaxLength="16" Width="180px" />
                                        </div>
 
                                        <div class="filterItem">
                                            <asp:Label ID="lblTagFilterStartProductionDateFrom" runat="server" SkinID="TagFilter" CssClass="filterLabel" />
                                            <telerik:RadDatePicker ID="rdpStartProductionDateFromFilter" runat="server" Width="180px" AutoPostBack="true" OnSelectedDateChanged="rdpStartProductionDateFromFilter_SelectedDateChanged" />
                                        </div>
 
                                        <div class="filterItem">
                                            <asp:Label ID="lblTagFilterStartProductionDateTo" runat="server" SkinID="TagFilter" CssClass="filterLabel" />
                                            <telerik:RadDatePicker ID="rdpStartProductionDateToFilter" runat="server" Width="180px" AutoPostBack="true" OnSelectedDateChanged="rdpStartProductionDateToFilter_SelectedDateChanged" />
                                        </div>
 
                                        <div class="filterItem">
                                            <asp:Label ID="lblTagFilterLanguage" runat="server" SkinID="TagFilter" CssClass="filterLabel" />
                                            <telerik:RadComboBox ID="ddlLanguageFilter" runat="server" Width="120px" />
                                        </div>
 
                                    </div>
                                    <div class="filterButton">
                                        <telerik:RadButton ID="btnSearchValidity" runat="server" Width="140px" Height="65px" Font-Bold="true"
                                            Font-Size="16px" ForeColor="#0167B1" OnClick="btnSearchValidity_Click">
                                            <Icon PrimaryIconUrl="~/Images/24x24/search.png" PrimaryIconHeight="24px" PrimaryIconWidth="24px" />
                                        </telerik:RadButton>
                                        <telerik:RadButton ID="btnResetFilterValidity" runat="server" Width="140px" Height="35px" Font-Bold="true"
                                            Font-Size="16px" ForeColor="Red" OnClick="btnResetFilterValidity_Click" Skin="Sunset">
                                        </telerik:RadButton>
                                    </div>
                                </div>
                            </ContentTemplate>
                        </telerik:RadPanelItem>
                    </Items>
                </telerik:RadPanelBar>
            </div>
            <telerik:RadGrid ID="gvListValidity" runat="server" AllowPaging="True" ......


Nencho
Telerik team
 answered on 10 Jul 2015
3 answers
205 views

I have many dropdowns in my webform application and they all behave correctly except on one page. On the page in question the dropdown behaves differently

  • If I click on the arrow the dropdown list appears
    • as I move the mouse it will highlight an item only when the mouse is hovering over the actual text in the list
  • If instead of the arrow I click on the control to get a dropdown the dropdown will only appear if I click an area where text exists.  
  • When trying to make a selection this will only happen if I click the area of the highlighted row where text exists.
  • If I just click a highlighted row with the mouse pointer over a clear bit of highligting it will not select.

Any ideas why this may be happening?

Aneliya Petkova
Telerik team
 answered on 10 Jul 2015
1 answer
85 views

Currently we are using Telerik Radeditor for our web application but the end users are having issues in copying & pasting content from word document to the radeditor. Also the html getting generated from pasting the word content is having some issues like some unwanted characters are generated leading to formatting isuue.

 Please suggest some word like editor that will be helpful in this regard.

Ianko
Telerik team
 answered on 10 Jul 2015
11 answers
1.0K+ views

 

Hi All

I have a RadCombobox, and the very first item on the list is added in the code behind.

With ddlApptClinic

.Items.Clear()
.Items.Insert(0, New RadComboBoxItem("Any Clinic", -1))
.Items.Insert(0, New RadComboBoxItem("", 0))

I have now added a template item, and the above are missing. How do I add items when I have an item Template

<ItemTemplate>

 <%# DataBinder.Eval(Container.DataItem, "ClinicCode")%><br />
 <%# DataBinder.Eval(Container.DataItem, "ClinicDescription")%>

</ItemTemplate>

Andy

Sujath
Top achievements
Rank 1
 answered on 10 Jul 2015
1 answer
93 views

Ho can I highlight the row when the checkbox is selected?

I added the following, but it doen't work after a filter or sort because the rowIdx is correct only when all rows are displayed. 

Any idea

CODE BEHIND: 
----------------------

  int rowIdx = 0;
  protected void grdLegalEntities_ItemCreated(object sender, GridItemEventArgs e)
        {
              if (e.Item is GridDataItem)
            {
                GridDataItem item = (GridDataItem)e.Item;
                CheckBox chk = (CheckBox)item["clmyesno"].Controls[0];
                chk.Enabled = true;
                chk.Attributes.Add("onclick", "SelectCurrentRow(" + rowIdx + ");");
                rowIdx++;
            }
        }

JAVASCRIPT:
---------------------
function SelectCurrentRow(rowIdx) 
{
    var grid = $find('<%=grdLegalEntities.ClientID %>');               
    grid.get_masterTableView().get_dataItems()[rowIdx].set_selected("true");
}

 

Eyup
Telerik team
 answered on 10 Jul 2015
2 answers
625 views

hi,

i am using your telerik datagrid, every thing works fine but i need to pass the filter values to the sql datasource (or a simple objectdatasource).

Can you help me?

thanks!

<asp:SqlDataSource ID="SqlDataSource1"
                    ConnectionString="***"
                    ProviderName="System.Data.OracleClient" SelectCommand="select * from MAINITEMS" runat="server">
 </asp:SqlDataSource>
 
<telerik:RadGrid runat="server" ID="RadGrid1" Width="99%" Height="600px"
                    DataSourceID="SqlDataSource1"
                    AllowFilteringByColumn="True" AllowSorting="True"
                    ShowFooter="False" ShowHeader="True"
                    OnPreRender="RadGrid1_OnPreRender"
                    AllowAutomaticDeletes="False"
                    AllowAutomaticUpdates="False"
                    AllowAutomaticInserts="False"
                    AutoGenerateColumns="True"
                    AllowPaging="True" PageSize="30"
                    ShowGroupPanel="True" >
             
                        <GroupingSettings CaseSensitive="false" ShowUnGroupButton="true"></GroupingSettings>
                        <%--configurazione per spostare le colonne--%>
                        <ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true" AllowKeyboardNavigation="true" AllowDragToGroup="True">
                            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true"></Scrolling>
                        </ClientSettings>
 
                        <MasterTableView CommandItemDisplay="None" DataKeyNames="ID" AllowFilteringByColumn="True" >
                        </MasterTableView>
 
                </telerik:RadGrid>

Eyup
Telerik team
 answered on 10 Jul 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?