Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
154 views
HI,
In the telerik 2013 Q3 i have problem with RadDateTimePicker "showTimePopup()" client side function.
In my code it looks like this:
 
<telerik:RadDateTimePicker ID="rdtVisitDate" runat="server" TimePopupButton-Visible="false"
AutoPostBackControl="TimeView" OnSelectedDateChanged="rdtVisitDate_SelectedDateChanged"
TabIndex="1" AutoPostBack="True" Width="170px" Height="22px">
<ClientEvents OnPopupClosing="OnDateSelected" OnPopupOpening="SetPageClientValidate" />...
 
 
function OnDateSelected(sender, args) {
            sender.showTimePopup();
        }
 
 
In chrome the error is: "Uncaught RangeError: Maximum call stack size exceeded"
 
in IE10: "SCRIPT28: Out of stack space - Telerik.Web.UI.WebResource.axd, line 9673 character 7"
 
--
Best Regard
Shinu
Top achievements
Rank 2
 answered on 11 Mar 2014
5 answers
113 views
Hi,

We've started using more telerik controllers in our produkt but in the latest addition we've run into a problem. We get a undefined error loading a page using the autocompletebox.

See attachment.
Helen
Telerik team
 answered on 11 Mar 2014
6 answers
531 views
Hello :)

Sure it's pretty simple, but how can I put the footer (pages moves buttons, page size and number of item) in my grid foot when there is no record instead of my present grid.



The result I would like :



Thank you
Julie
Maria Ilieva
Telerik team
 answered on 11 Mar 2014
12 answers
325 views
hi .

i have a complected scenario , i am building a user control With a content template rad window , and there is a another user control inside the content template ,
 so the issue is that  when updating  the user control inside rad window by ajax request ,but  the loading panel appear while updating the inner user control if i removed the rad window and left the inner user control .

note : i am Rendering the inner user control to Div Element .

 Server Side Code :
 
Private Sub ParentPageAjaxManagerHandling()
       Dim ParentPageAjaxManager As RadAjaxManager = RadAjaxManager.GetCurrent(Page)
        
       ParentPageAjaxManager.AjaxSettings.AddAjaxSetting(ParentPageAjaxManager, Me.EditCountryRegionWebUserControl)
       
AddHandler ParentPageAjaxManager.AjaxRequest, AddressOf ParentPageAjaxManager_AjaxRequest
 
   End Sub
 
   Private Sub ParentPageAjaxManager_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs)
       
If e.Argument.Contains("LoadCountryRegionByID_") Then
 
           Dim NewIDString As String = e.Argument.Replace("LoadCountryRegionByID_", "")
           Me.EditCountryRegionWebUserControl.
           LoadCountryRegionByID(If(NewIDString <> "" And NewIDString <> "null" And NewIDString <> "undefined",
                                    Guid.Parse(NewIDString), Guid.Empty))
 
       ElseIf e.Argument = "DeleteSelectedItem_In_" + Me.CountryRegionsListRadGrid.MasterTableView.ClientID Then
 
           DeleteSelectedCountryRegion()
       End If
   End Sub



Html :


<telerik:RadButton ID="NewCountryRegionRadButton" runat="server" AutoPostBack="False" Text="" OnClientClicked="NewCountryRegionRadButton_Clicked"

<
telerik:RadWindow ID="AddOrEditCountryRegionRadWindow" runat="server" Behavior="Close, Move, Reload" Behaviors="Close, Move, Reload" KeepInScreenBounds="True" ReloadOnShow="True" Height="135px"  Width="600px" VisibleStatusbar="False" Modal="True" DestroyOnClose="True" ShowContentDuringLoad="False">
     
    <ContentTemplate>
     
        <table style="width: 100%;">
            <tr>
                <td colspan="2">
                    <uc1:CountryRegionWebUserControl runat="server" ID="EditCountryRegionWebUserControl" />
                </td>
                 
            </tr>
            <tr>
                <td style="width: 45px"></td>
                <td>
                    <asp:Label ID="EditCountryRegionWindowErrorLabel" runat="server" ForeColor="Red"></asp:Label>
                </td>
                 
            </tr>
            <tr>
                <td></td>
                <td>
                    <telerik:RadButton ID="EditCountryRegionWindowOkRadButton" runat="server" Text="موافق">
                    </telerik:RadButton>
                    <telerik:RadButton ID="EditCountryRegionWindowCancelRadButton" runat="server" AutoPostBack="False" CausesValidation="False" OnClientClicked="EditCountryRegionWindowCancelRadButton_Clicked" Text="">
                    </telerik:RadButton>
                </td>
                 
            </tr>
        </table>
         
    </ContentTemplate>
     
</telerik:RadWindow>

javascript :
function NewCountryRegionRadButton_Clicked(sender, args) {
          
   var AddCountryWindow = $find("<%= AddOrEditCountryRegionRadWindow.ClientID %>");
          
          $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").
         ajaxRequest("LoadCountryRegionByID_" + "<%= Guid.Empty %>");
          
          
         AddCountryWindow.show();
     }

Maria Ilieva
Telerik team
 answered on 11 Mar 2014
1 answer
61 views
Hi All,
I am getting some issues with asp.net page rendering. I am getting problems at multiple places in grid, in normal labels and etc.

I bind my rad grid with a string list as data source. My rad grid contains remove button with each row.
I remove one of row from string list and rebind it with rad grid which runs fine, the row get removed.

But second time if i again remove another row from string list and again rebind it with rad grid, it will not remove row from grid. In debugging if I try to find row count, it is one less after removing but after page loads the grid has same count of rows as it was before removing.

And this problem goes when I log in with user having administrative role(i.e. host log in). 


Same is the case for label text update. The call goes once but after that it does not render page at all.

Please help
Maria Ilieva
Telerik team
 answered on 11 Mar 2014
1 answer
183 views
Hello

Сopy project folder in IIS 7.5. But when I run, not one script does not work.

for example

protected void ShowWindowS()
    {
        string script = "function f(){$find(\"" + rdWindowSup.ClientID + "\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);";
        ScriptManager.RegisterStartupScript(Page, Page.GetType(), "key", script, true);
    }

protected void rdButtonRN_Click(object sender, EventArgs e)
    {
        ShowWindowS();
    } 


Run in Visual Studio 2012  all works.

I do not know what to do.


what settings you need to do to work scripts? IIS 7.5

















Marin Bratanov
Telerik team
 answered on 11 Mar 2014
1 answer
84 views
I am trying to export data from inner and outer grid while using virtualitemcount.

Outer data is exported successfully but it causing problem for inner grid

Please suggest on this.
Angel Petrov
Telerik team
 answered on 11 Mar 2014
18 answers
505 views
Hello Team;

I plan to build an ASP.Net Ajax using Telerik Ajax controls that runs in Azure. It will use Azure SQL for it's database and for all the images that needs to be stored, I will use Azure Blob Service.

I would like to know if there are any differences between a "Server Centric" and "Cloud Centric" when it comes to the AsyncUpload, in particular where the temp files are stored. and then transferring them to Blob.
Is there ant docs or samples or info available?

Thank you in advance.
Peter Filipov
Telerik team
 answered on 11 Mar 2014
1 answer
133 views
Hello,

I am using EF6 and the new EntityDataSource (Microsoft.AspNet.EntityDataSource) with Telerik.Web.UI v2014.1.225.40.
Since I have many views using EntityDataSource, I derived a subclass from EntityDataSource where ConnectionString, DefaultContainerName, ContextCreating, ContextDisposing are set, so I do not have to do this every time I use an EntityDataSource.

However this causes trouble with the RadGrid e.g. when writing. (I get the same errors as here.)
As I realized in this post and later through reflecting, the RadGrid (GridTableView) checks against a hard-coded list of data source views. I thought I could just derive a subclass of RadGrid, GridTableView. While I could override GridTableView.CreateDataSourceSelectArguments which contains some of those hard-coded views, I realized that there are some non-virtual methods that contain the hard-coded checks:GridTableView.IsDataSourceViewWithFiltering and GridTableView.IsEntityDataSourceView. (Are these all or is this an issue in other Telerik controls too?)

Maybe you could reorganize this to make my use case possible.
I propose to reuse IsEntityDataSourceView in CreateDataSourceSelectArguments and IsDataSourceViewWithFiltering so one does not need to override it (and DRY principle) and make IsEntityDataSourceView virtual.
Radoslav
Telerik team
 answered on 11 Mar 2014
1 answer
99 views
Hello,

I'm using OLAP connection to PivotGrid with configuration panel. I want to force a specific attribute field to filter zone and that field should not be drag &dropped, moved, or hide. context menu should not appear only for that attribute field. How to achiever this?

Regards,
Yohan
Konstantin Dikov
Telerik team
 answered on 11 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?