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

I have added the new version of telerik dll in my azure application, want to use radcloudupload functionality.
but it is showing error

Uknown server tag telerik:radCloudUplod 
Peter Filipov
Telerik team
 answered on 25 Dec 2013
1 answer
106 views
Hello,
             Please find the attachment ..
Nencho
Telerik team
 answered on 25 Dec 2013
7 answers
542 views
Hi ,

i have a radgrid in wchich there are 6 columns. I am bringing data from procedure which is sorted by say 'record_sort' but on page load i want to show it as if its sorted by record and title both.
how can i do that?
Eyup
Telerik team
 answered on 25 Dec 2013
1 answer
85 views
Telerik MVC Grid Filter is not work on enter key in ie browser
Eyup
Telerik team
 answered on 25 Dec 2013
7 answers
204 views
Greetings,

If I have a column setup as follows:
<telerik:GridTemplateColumn UniqueName="Store_Code" DataField="Store_Code" DataType="System.Int32">
                            </EditItemTemplate>
                            <InsertItemTemplate>
                            </InsertItemTemplate>
                            <ItemTemplate>
                                <%# Eval("Store_Code") %>
                            </ItemTemplate>
                            <HeaderStyle CssClass="serial-column" />
                            <ItemStyle CssClass="serial-column" />
                            <FooterStyle CssClass="serial-column" />
                        </telerik:GridTemplateColumn>

When I add rows to the grid while on batch mode, I don't find the serial-column CSS class applied to the cells.
Eyup
Telerik team
 answered on 25 Dec 2013
3 answers
317 views
Hi,
I am trying to bind RadGrid with JSON Data on Client side. GridBoundColumns display data ok, but GridTemplateColumn is empty.
My code is below. Please, help.

<
telerik:GridTemplateColumn UniqueName="Description" DataField=Description" AllowFiltering="false" >
     <ItemTemplate>
         <asp:Label ID="Description" runat="server"  />
     </ItemTemplate>
</telerik:GridTemplateColumn>
 
 $.ajax({
 
                type: 'POST',
 
                contentType: 'application/json; charset=utf-8',
 
                data: '{}',
 
                dataType: 'JSON',
                url: '../../Services/Service.svc/GetList',
                success: function (result) {
                 var GridData = result.GetListResult;
                 if (GridData.length > 0) {
                     var masterTable = $find("<%=gvList.ClientID %>").get_masterTableView();
                     masterTable.set_dataSource(GridData);
                     masterTable.dataBind();
}
Eyup
Telerik team
 answered on 25 Dec 2013
1 answer
152 views

I've been using a RadNumericTextBox to fix a min and max values for sizing a div.

Control

<Telerik:RadNumericTextBox ID="txtHeight" runat="server" MinValue="0" MaxValue="128" NumberFormat-DecimalDigits="0" onchange="setHeight();"></Telerik:RadNumericTextBox>

JS function

function setHeight() {
    $("#div1").css("height", $("[id$=txtHeight]").val());
}

DIV

<div id="div1" style="border:1px solid black;"></div>

Everything works well, but when I input the value of 500 inside the txtHeight then lost the focus, the RAD control fix the max value to 128 but the div has been already change the height to 500px and it's not refreshed. I put a button to refresh the value of the div but what I really want is to set it in the change or blur client side event of the textbox. If not, it could be seen as a bug. So how can I do to set the div size after the RADControl does the change value to maximum value set?

Eyup
Telerik team
 answered on 25 Dec 2013
1 answer
290 views
Hi

i implemented the solution here :
Ajaxify Timer

but every 1 sec the timer component is sending request to the server and back with all the data.
what i want is to check if there is new data in the DB , if so, refresh the RadGrid 

in the timer event i do so : 
  protected void Timer1_Tick(object sender, EventArgs e)
    {
        DateTime date;
        if (DateTime.TryParse(SessionState.SessionSusitaLeadsLastCheck, out date)) // Last checking date
        {
            if (SmartAgentServices.GetInstance().CheckLastSmartAgentRequest(date)) // Check if add new data
            {
                RadGrid1.Rebind();
            }
        }
        SessionState.SessionSusitaLeadsLastCheck = DateTime.Now.ToString(); //update the last checking date
    }
thanks
Eyup
Telerik team
 answered on 25 Dec 2013
1 answer
92 views

Hi,
 I am having problem when adding filter on Radgrid. When I  add a filter the Radgrid generates this error: Collection was modified; enumeration operation may not execute. But when I remove the filter the Radgrid works. Below is my Radgrid code. Please help.

 

    <telerik:RadGrid AutoGenerateColumns="False" ID="RadGrid1" DataSourceID="SqlDataSource1" Skin="WebBlue"
        AllowFilteringByColumn="True" AllowSorting="True" PageSize="15" OnItemDataBound="OnItemDataBoundHandler"
        OnUpdateCommand="RadGrid1_UpdateCommand"
        ShowFooter="True" AllowPaging="True" runat="server" GridLines="None"
                    EnableLinqExpressions="False" CellSpacing="0">
 
        <MasterTableView Width="100%"
 
        DataSourceID="SqlDataSource1" HorizontalAlign="NotSet"
            AutoGenerateColumns="False" DataKeyNames="IdCol"
            AllowFilteringByColumn="True">
 
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"
                Created="True"></ExpandCollapseColumn>
    <Columns>
     <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
 
                    <ItemStyle CssClass="MyImageButton"></ItemStyle>
 
                </telerik:GridEditCommandColumn>
 
        <telerik:GridBoundColumn DataField="idCol" DataType="System.Int64"
            FilterControlAltText="Filter idCol column" HeaderText="idCol" ReadOnly="True"
            SortExpression="idCol" UniqueName="idCol" >
        </telerik:GridBoundColumn>
 
              <telerik:GridBoundColumn DataField="bondNo"
            FilterControlAltText="Filter bondNo column" HeaderText="bondNo"
            SortExpression="bondNo" UniqueName="bondNo" EditFormColumnIndex="0" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true">
        </telerik:GridBoundColumn>
     
        <telerik:GridDropDownColumn  DataSourceID="SqlDataSource3" DataField="transporter"
 
                 ListTextField="transportername" ListValueField="transportername"
                  UniqueName="transporter" SortExpression="transporter" HeaderText="transporter"
                    DropDownControlType="DropDownList" EditFormColumnIndex="1">
     
        </telerik:GridDropDownColumn>
       
        <telerik:GridBoundColumn DataField="GRN" ReadOnly="True"
            FilterControlAltText="Filter GRN column" HeaderText="GRN"
            SortExpression="GRN" UniqueName="GRN" EditFormColumnIndex="3">
        </telerik:GridBoundColumn>
         <telerik:GridNumericColumn DataField="numberOfUnits" DataType="System.Int32"
            FilterControlAltText="Filter numberOfUnits column" HeaderText="numberOfUnits"
            SortExpression="numberOfUnits" UniqueName="numberOfUnits" EditFormColumnIndex="3">
        </telerik:GridNumericColumn>
          
 
              <telerik:GridHyperLinkColumn AllowSorting="False"
            DataNavigateUrlFields="idcol"
            DataNavigateUrlFormatString="PrintGRN.aspx?id={0}&reprint=yes"
            FilterControlAltText="Filter column column" Text="Reprint" UniqueName="column"  ItemStyle-Font-Underline="true">
<ItemStyle Font-Underline="True">
</ItemStyle>
        </telerik:GridHyperLinkColumn>
          
 
    </Columns>
          
    </telerik:RadGrid>

 

 

Eyup
Telerik team
 answered on 25 Dec 2013
11 answers
281 views
Hello,

I'm trying to have some nodes checked but can't figure out how to do it. I save the checked nodes in my database, but then I can't check those nodes when loading from the database?

How can I do this?
Peter Filipov
Telerik team
 answered on 25 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?