Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
104 views
the dropdownitem doesn't fade ,please see my picture. and below is my code.

<telerik:RadAutoCompleteBox ID="RadOilSystem" runat="server" AllowCustomEntry="True"
                                    DropDownHeight="400px" EmptyMessage="供油系统" InputType="Text" Skin="Forest" Width="100%">
                                    <WebServiceSettings Method="GetOilSystem" Path="aDefault.aspx" />
                                </telerik:RadAutoCompleteBox>

by the way setting AllowCustomEntry as True is very indispensible for my project,and the amount of my data is huge.
Hope you work happily!
Nencho
Telerik team
 answered on 06 Jun 2014
1 answer
347 views
I have following code snippet used for deleteing an selected item from ListBox. Following is the aspx code

<

 

telerik:RadListBox ID="rlbTag" runat="server" AutoPostBack="false" OnClientItemDoubleClicked="DeleteTags()" Width="250" EnableEmbeddedSkins="true" Height="80px" AllowAutomaticUpdates="true">

 

 

<ItemTemplate>

 

 

<table width="100%">

 

 

<tr>

 

 

<td align="left" ><asp:Label ID="lblTags" Text='<%# DataBinder.Eval(Container, "Text") %>' runat="server"></asp:Label></td>

 

 

<td align="right"><asp:ImageButton ImageUrl="~/images/Delete.gif" ID="btnDelete" Text="Delete" OnClientClick="return removeItem(event)" runat="server"/></td>

 

<%

--<asp:CheckBox id="cbUsers" runat="server" OnClick="checkboxReportClick(event);" Text='<%# DataBinder.Eval(Container, "Text") %>' />--%>

 

 

</tr>

 

 

</table>

 

 

</ItemTemplate>

 

 

</telerik:RadListBox>

 

 

</td>

Following is the implementation of removeItem method which will be triggered when user click on delete button in List Box item template

 

function

 

removeItem(e)

 

{

 

 

var RdListBox=$find("<%= rlbTag.ClientID %>");

 

 

 

var item = RdListBox.get_selectedItem();

 

RdListBox._selectedIndex = 0;

 

RdListBox.trackChanges();

RdListBox.get_items().remove(item);

RdListBox.commitChanges();

}

When  first time user clicks delete button to remove an item, selected item is gettiung null. Seconmd time it gets deleted from the list.
Can anyone help me to acheive remove functionality on cleint side?

Cliff
Top achievements
Rank 1
 answered on 06 Jun 2014
2 answers
66 views
We limit the selection of dates to the last 5 years, however by default the MonthYearFastNavigation shows the last 4 years, current year and the next 5 years. I was wondering if the user is able to change is so that dates that are not selectable won't show up either and that the user can see all the years that they can select from.

For the current year the user can see the years 2010 to 2019. But what we really want to show is 2009 to 2014 because those are the only years that the user can select dates from.
Lex
Top achievements
Rank 1
 answered on 06 Jun 2014
1 answer
163 views
Has anyone out there created a resources file for RadGrid (just the main file, RadGrid.Main.resx) for Chinese?  Thanks id advance if you are willing to share your work...

John H.
Marin Bratanov
Telerik team
 answered on 06 Jun 2014
1 answer
108 views
I'm using JOINS and alias in the SQL request to bind data to a Radgrid. 

It's working fine. However, I've activated "Filtering by column" and it doesn't work at all, for columns with alias and join.

Here is the error I get: 
"Invalid name &#39;NameColumn&#39;"

Could anyone help, please?
Maria Ilieva
Telerik team
 answered on 06 Jun 2014
1 answer
76 views
In telerik radgrid control , Moving scroll bar horizontally showing  unnecessary vertical lines. But its working in IE10 and IE11
Pavlina
Telerik team
 answered on 06 Jun 2014
3 answers
254 views
Hello,

The MaxLength property on the GridBoundColumn restricts the number of characters allowed when editing or adding data into this column.  This works fine when there is only one grid, however when I try to use this property inside of a child grid (a GridTableView within the DetailTables of the MasterViewTable), the field is not length restricted.  Please take a look at my simple markup below:

<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" GridLines="None"
            OnInsertCommand="InsertData">
            <HeaderContextMenu EnableTheming="True">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </HeaderContextMenu>
            <MasterTableView EditMode="PopUp" CommandItemDisplay="Top">
                <DetailTables>
                    <telerik:GridTableView EditMode="PopUp" CommandItemDisplay="Top">
                        <Columns>
                            <telerik:GridBoundColumn DataField="Name" DataType="System.String" HeaderText="Name"
                                MaxLength="3" UniqueName="Name">
                            </telerik:GridBoundColumn>
                            <telerik:GridEditCommandColumn>
                            </telerik:GridEditCommandColumn>
                        </Columns>
                    </telerik:GridTableView>
                </DetailTables>
                <RowIndicatorColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="Name" DataType="System.String" HeaderText="Name"
                        MaxLength="3" UniqueName="Name">
                    </telerik:GridBoundColumn>
                    <telerik:GridEditCommandColumn>
                    </telerik:GridEditCommandColumn>
                </Columns>
                <EditFormSettings>
                    <EditColumn UniqueName="EditCommandColumn1">
                    </EditColumn>
                </EditFormSettings>
            </MasterTableView>
            <FilterMenu EnableTheming="True">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </FilterMenu>
        </telerik:RadGrid>
    </div>
    </form>
</body>
Shinu
Top achievements
Rank 2
 answered on 06 Jun 2014
4 answers
314 views
It's posible to set a color of a skin?
For example set a backcolor = black in the forest skin?

Thanks.
fatma
Top achievements
Rank 1
 answered on 06 Jun 2014
16 answers
383 views
I am creating a simple pivot grid but the header alignment has glitch. Anyone can help? Please also see attachments.

Update: my code will refresh the pivot grid data each time the user chooses a user information by a rad combo box. For the first selection, the layout displays incorrectly. Afterward, everything is good. First time rendering does not work properly,

Code:
<telerik:RadPivotGrid runat="server" ID="RadPivotGrid1" Visible="false" ShowDataHeaderZone="false" ShowRowHeaderZone="false" ShowColumnHeaderZone="false" AllowFiltering="false"
            ShowFilterHeaderZone="false" AllowSorting="false" Skin="Outlook" AggregatesPosition="Rows" OnCellDataBound="RadPivotGrid1_CellDataBound">
            <Fields>
                <telerik:PivotGridRowField DataField="CodeGroup1" CellStyle-Font-Bold="true" ZoneIndex="0">
                </telerik:PivotGridRowField>
                <telerik:PivotGridRowField DataField="CodeGroup2" CellStyle-BackColor="AliceBlue" ZoneIndex="1">
                </telerik:PivotGridRowField>
                <telerik:PivotGridColumnField DataField="Status"></telerik:PivotGridColumnField>
                <telerik:PivotGridColumnField DataField="OnOffSite"></telerik:PivotGridColumnField>
                <telerik:PivotGridAggregateField DataField="DataSource" Aggregate="Count">
                </telerik:PivotGridAggregateField>
            </Fields>
        </telerik:RadPivotGrid>

CS:
RadPivotGrid1.DataSource = from cpd in context.CDM_ProcedureDatas<br>
                                   where cpd.StudentID.Equals(studentId) && cpd.Status.Equals("Completed") && cpd.Date != null && cpd.CodeGroup1 != null<br>
                                   select cpd;
Venelin
Telerik team
 answered on 06 Jun 2014
1 answer
190 views


 I have two combo box on my page one as pagination combo box and another one is for filtering results in rad grid both are resides in same rad grid.

radcombobox not working inside radgrid for first time.

But it starts working as expected after post back
Shinu
Top achievements
Rank 2
 answered on 06 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
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?