Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
499 views
Hi,

I wasn't sure where to post this so I put it in General. I hope that that's ok! Anyway, I am facing the following issue. The line that is throwing the exception is bolded below. We are on version 2014.1.403.45 of Telerik. We are using a mix of Rad controls but I suspect that the issue relates to a RadComboBox.

Let me know if you require additional information and I will provide it no problem.

Thanks,
John.


disposeDomEvents:function(){var f=this.get_wrapper(),e=this._owner,d=e.get_inputDomElement(),c=e.get_imageDomElement();
$telerik.removeExternalHandler(f,"mouseover",this._onTableHoverDelegate);
$telerik.removeExternalHandler(f,"mouseout",this._onTableOutDelegate);
this._onTableHoverDelegate=null;
this._onTableOutDelegate=null;
if(d.parentNode){$telerik.removeExternalHandler(d.parentNode,"mouseup",this._onInputCellMouseUpDelegate);
this._onInputCellMouseUpDelegate=null;
}if(c){$telerik.removeHandler(c,"click",this._onImageClickDelegate);
this._onImageClickDelegate=null;
}}
John
Top achievements
Rank 1
 answered on 08 May 2014
1 answer
186 views
Hi
i have a grid which has insert and edit. I have a button outside the grid. Onclick of that during insert , i want some textbox to be filled with some default values. How can I get this done?
Princy
Top achievements
Rank 2
 answered on 08 May 2014
2 answers
112 views
Hi,

Since installing IE11, running our app from VS2013 is problematic if there is a Telerik Grid control on an asp page. When I use VS2012 to run the app, all is fine. Here are the details of my setup:

* Windows 7 Enterprise, 64-bit, all updates installed
* IE 11, 64-bit
* Silverlight 5.1, 64-bit
* VS2012 Ultimate, SP3
* VS2013 Ultimate, SP1

See the attached screenshot.

Does anyone else experience a similar problem with the grid control?
Does anyone have a solution please?

Thanks in advance,
Christo


Christo
Top achievements
Rank 1
 answered on 08 May 2014
4 answers
392 views
Hi

I followed the directions on the sample: http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/insert-update-delete-client/defaultcs.aspx, i am using a asmx web service to retrieve data like in the sample. Unfortunately i can not make the RagGrid shows the new data, the RadGrid only changes the width of the columns every time i press update button and keep the old data:

            var tableView = $find("<%= rgCuentaGastosDetalle.ClientID %>").get_masterTableView();
            tableView.set_dataSource(result);
            tableView.dataBind();

            var grid = $find("<%= rgCuentaGastosDetalle.ClientID %>");
            grid.repaint();

I have reviewed the content of the result var and it contains the new data, and it does not send any error message. I have Telerik controls version 2014.1.403.40 and using framework v4.0.30319 

Any question or comment please let me know. Thank you very much.
Antonio Stoilkov
Telerik team
 answered on 08 May 2014
3 answers
363 views
Hello

I am using the following code to perform Ajax on my ASP.NET Page:

<telerik:RadAjaxManager ID="ramDash" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1" >            
            <ClientEvents OnResponseEnd="responseEnd" OnRequestStart="responseStart"></ClientEvents>
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="lvGrids">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="lvGrids" /> 
                        <telerik:AjaxUpdatedControl ControlID="lvListed" />
                    </UpdatedControls>
                </telerik:AjaxSetting>                           
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>

(...)

<div class="carousel">
            <telerik:RadListView runat="server" ID="lvGrids" AllowPaging="true" OnItemDataBound="lvGrids_OnDataBound" DataKeyNames="GridID,Name,GridType" OnItemCommand="lvGrids_ItemCommand" OnNeedDataSource="lvGrids_NeedDataSouce">
                <LayoutTemplate>
                    <ul>
                        <asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
                    </ul>
                    </LayoutTemplate>
                    <ItemTemplate>
                    <li>
                        <!-- omitted for brevity -->
                    </li>
                    </ItemTemplate>
                    <SelectedItemTemplate>
                    <li>
                        <!-- omitted for brevity -->
                    </li>
                </SelectedItemTemplate>
            </telerik:RadListView>
          </div>

(...)

<telerik:RadListView runat="server" ID="lvListed">
<!-- omitted for brevity -->
</telerik:RadListView>

Javascript:

function responseStart(sender, eventArgs) {
    alert("test1");
}
 
function responseEnd(sender, eventArgs) {
 
    alert("test2");
 
    $(".carousel").jCarouselLite({
        visible: 7,
        scroll: 1,
        circular: false,
        btnNext: ".next",
        btnPrev: ".prev"
    });
}

I am using the "jCarouselLite" plugin to create a carousel effect and the "packery" JS component to create a sort of grid but they are not the problem. The problem is that the Ajax request/response is performed correctly as I can see using FireBug but the "responseStart" and "responseEnd" methods are not called and FireBug doesn't show any JS error.

I have tried putting the "ListView" (lvGrids) in an RadAjaxPanel and it works, because I can see the two alerts being: but the other ListView (lvListed) is not even updated (I can see the Ajax response and it doesn't include anything related to "lvListed". How can this be possible?

Thank you
Eyup
Telerik team
 answered on 08 May 2014
6 answers
621 views
Hello Telerik team
  when I upload a document, instead of the progress bar, I get the following pop-up error message.
------------
RadUpload Ajax callback error. Source url returned error: 500 
Internal Server Error 
../../Telerik.RadUploadProgressHandler.ashx?RadUrid=8d310557-c6f8-4bc1-949e-cc930cbe29fd
Did you register the RadUploadProgressHandler in web.config?
----------
  my aspx page resides inside sharepoint.

 my web.config has the following entries:
</httpModules> 
<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" /> 
</httpModules> 
 
<httpHandlers> 
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> 
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" /> 
    </httpHandlers> 

thanks for your help-
Roland
Genady Sergeev
Telerik team
 answered on 08 May 2014
1 answer
278 views
So I think what I have is pretty straight forward. I have a tab strip with page views associated with each one. I have the scroll bars set to auto. They do not show up if the content stretches beyond the page. If I set the scroll bars to vertical they show but there is no way to scroll since the handle stretches the entire length of the bar. What do I have to do to make the scroll bars actually work?

<telerik:RadTabStrip SelectedIndex="0" ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1">
   <Tabs>
      <telerik:RadTab Text="Today" PageViewID="RadPageView1" runat="server" />
      <telerik:RadTab Text="Personnel" PageViewID="RadPageView2" runat="server" />
      <telerik:RadTab Text="Availability" PageViewID="RadPageView3" runat="server" />
      <telerik:RadTab Text="Schedule" PageViewID="RadPageView4" runat="server" />
   </Tabs>
</telerik:RadTabStrip>
 
<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" ScrollBars="Auto">
   <telerik:RadPageView ID="RadPageView1" runat="server">
      <uc1:TSTodayAlertControl ID="TSTodayAlert" runat="server" />
   </telerik:RadPageView>
   <telerik:RadPageView ID="RadPageView2" runat="server">
      <uc2:TSUserInfoControl ID="TSUserInfo" runat="server" />
   </telerik:RadPageView>
   <telerik:RadPageView ID="RadPageView3" runat="server">
      <uc3:TSAvailabilityControl ID="Availability" runat="server" />
   </telerik:RadPageView>
   <telerik:RadPageView ID="RadPageView4" runat="server">
      <uc4:TSScheduleControl ID="Scheduling" runat="server" />
   </telerik:RadPageView>
</telerik:RadMultiPage>
Shinu
Top achievements
Rank 2
 answered on 08 May 2014
1 answer
635 views
I have a pivot grid to show some information, kind of a report, where the user can select a dates, From and To, and have to show a master header with the year, and right below the months, depending on what the user select. Now I have the years, and the months showing as I want except that I am showing the month number, not the month year (ex: 1 instead of January). I want to show January instead of 1. Here is the code and I attach some pictures.

<telerik:RadPivotGrid ID="RadPivotGrid1" runat="server" Skin="Glow" OnNeedDataSource="RadPivotGrid1_OnNeedDataSource"
                AllowFiltering="False" RowTableLayout="Tabular" AggregatesPosition="Columns" ShowColumnHeaderZone="False"
                ShowDataHeaderZone="False" ShowRowHeaderZone="False" AllowPaging="True" PageSize="50" ShowFilterHeaderZone="false"
                AggregatesLevel="2" TotalsSettings-ColumnGrandTotalsPosition="None" TotalsSettings-RowGrandTotalsPosition="Last" >
                <PagerStyle ChangePageSizeButtonToolTip="Change Page Size" PageSizeControlType="RadComboBox"></PagerStyle>
 
                <Fields>
                    <telerik:PivotGridColumnField DataField="Year" UniqueName="Year" Caption="Year">
                    </telerik:PivotGridColumnField>
                    <telerik:PivotGridColumnField DataField="Month" UniqueName="Month" Caption="Month">
                    </telerik:PivotGridColumnField>
                    <telerik:PivotGridRowField DataField="DestinationName" UniqueName="DestinationName" Caption="Destination">
                    </telerik:PivotGridRowField>
                    <telerik:PivotGridAggregateField DataFormatString="{0:N0}" DataField="Teus" UniqueName="Teus" Caption="Teus">
                        <TotalFormat Axis="Rows" Level="0" SortOrder="Ascending" TotalFunction="NoCalculation" />
                        <HeaderCellTemplate>
                            <asp:Label ID="lblAggregateCellTEUS" Text="Calculated TEUS" runat="server" />
                        </HeaderCellTemplate>
                    </telerik:PivotGridAggregateField>
                    <telerik:PivotGridAggregateField DataFormatString="{0:C}" DataField="TotalCharge" UniqueName="TotalCharge" Caption="TotalCharge">
                        <TotalFormat Axis="Rows" Level="0" SortOrder="Ascending" TotalFunction="NoCalculation" />
                        <HeaderCellTemplate>
                            <asp:Label ID="lblAggregateCellTotalCharge" Text="Total Charges" runat="server" />
                        </HeaderCellTemplate>
                    </telerik:PivotGridAggregateField>
                </Fields>
            </telerik:RadPivotGrid>

Code behind:
private List<Result> LoadGridData()
    {
        var result = new List<Result>();
        result.Add(new Result()
        {
            Year = 2014,
            Month = 1,
            DestinationName = "Miami, FL",
            DestinationShortName = "MIA",
            OriginName = "Miami, FL",
            OriginShortName = "MIA",
            TotalCharge = 100,
            Teus = (decimal) 1.5
        });
 
        result.Add(new Result()
        {
            Year = 2013,
            Month = 1,
            DestinationName = "Miami, FL",
            DestinationShortName = "MIA",
            OriginName = "Miami, FL",
            OriginShortName = "MIA",
            TotalCharge = 100,
            Teus = (decimal)1.5
        });
 
        result.Add(new Result()
        {
            Year = 2014,
            Month = 2,
            DestinationName = "Houston, Tx",
            DestinationShortName = "Hou",
            OriginName = "Miami, FL",
            OriginShortName = "MIA",
            TotalCharge = 80,
            Teus = 2
        });
 
        result.Add(new Result()
        {
            Year = 2014,
            Month = 1,
            DestinationName = "Houston, Tx",
            DestinationShortName = "Hou",
            OriginName = "Miami, FL",
            OriginShortName = "MIA",
            TotalCharge = 80,
            Teus = 2
        });
 
        return result;
    }
 
    protected void RadPivotGrid1_OnNeedDataSource(object sender, PivotGridNeedDataSourceEventArgs e)
    {
        RadPivotGrid1.DataSource = LoadGridData();
    }


Any Help??
Konstantin Dikov
Telerik team
 answered on 08 May 2014
2 answers
349 views
Hi,
 
 I have saved my word files in the database as blob file. When i open that file is it possible to open using rad editor 
And provide a functionality to edit the document and save it back to database.

Thanks,
Nimmy
Arron
Top achievements
Rank 1
 answered on 08 May 2014
1 answer
122 views
Hi.

I am using this JS function on the client to resize the columns in a RadGrid located on a RadMultiPage. It works on FireFox as long as the Grid is "visible" i.e. in the active tab. If I do a post back from another Tab and then change back to the tab containing the Grid the MasterTableView has lost its width and the columns/headers are rendered inside the 0 px MasterTableView so they are not visible but they are there if i look at the html.

It works great on Chrome and IE but not on Firefox. Any ideas?

function ResizeGrid() {
    var grid = $find("<%= RadGrid1.ClientID %>");
    var masterTableView = grid.get_masterTableView();
    if (masterTableView) {
        var columns = masterTableView.get_columns();
        for (var i = 0; i < columns.length; i++) {
            columns[i].resizeToFit();
        }
    }
}

BR
Johan
Venelin
Telerik team
 answered on 08 May 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?