Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
178 views

I got the latest ASP.NET AJAX controls and all my grid would load but I could not return to them because RadPersistenceManager1.LoadState(); hangs. Go to the persistence example and test the example loading different settings.  In the example it eventually comes back after an unexceptable while but on my system it does not return.

Example

 I had to remove RadPersistenceManager from my project because you could only go to each grid once.

Wizgod
Top achievements
Rank 1
 answered on 29 Jul 2015
1 answer
309 views

This might sound like an odd request for help; Trying to make it fail.  :-)

I have an AsyncUpload control that I need to make fail temporarily.

I've tried to switch off my network card (wifi) halfway through the upload but I just get a console error:

 

POST http://myDomain.localhost/Telerik.Web.UI.WebResource.axd?type=rau 
net::ERR_INTERNET_DISCONNECTED​

I would have thought this would cause the OnClientFileUploadFailed event fire, but it doesn't.  The progress bar stays and just the console error message is shown.

Telerik control version : 2015.1.225.40

Chrome version : 44.0.2403.107 m

 

Any suggestions would be very much appreciated.  For either how to get the event to fire or why the OnClientFileUploadFailed event doesn't fire.

Thanks

Aneliya Petkova
Telerik team
 answered on 29 Jul 2015
2 answers
223 views

Hello,

I have a bunch of RadGrids that use inplace editing. My client complains that the submit/cancel buttons (in Edit mode and Insert mode) are too close to each other. Is there any simple way to insert some spacing between the buttons? I need to modify about 20 or so grids, that's why I'm looking for the simplest possible solution.

Thanks,

Leszek

 

eBuild
Top achievements
Rank 1
 answered on 29 Jul 2015
2 answers
98 views

I create an appointment in Rad scheduler. it works fine if the appointment is a day long.
But when it is longer then a day, it only shows the first day and on Sunday(if the appointment is cross Sunday). Is there anyway that we could display the appointment more clearly? The appointment should show on every day in the calendar.
I appreciate if anyone could help me this problem!!!

Appreciated!

Chris
Chris
Top achievements
Rank 1
 answered on 29 Jul 2015
1 answer
82 views

I'm having some issues getting an AjaxPanel to update. 

On my content page, I have 2 user controls wrapped in an AjaxPanel: 

<telerik:RadAjaxPanel ID="AjaxPanel1" runat="server"  OnAjaxRequest="RadAjaxPanel1_AjaxRequest"  >
   <div class="row">
       <div>
           <div class="col-md-6">
               <uc1:TView runat="server" ID="TView" />
           </div>
           <div class="col-md-6">
                 <uc1:ProControl runat="server" ID="ProcView" />
           </div>
       </div>
   </div>
    </telerik:RadAjaxPanel>

In my user control, I have a link that opens a fairly simple RadWindow via JS

 

<telerik:RadWindow ID="WinPView" runat="server" Width="700px"
    Height="732px" ReloadOnShow="true"
     OnClientClose="closeWithAlert"  CssClass="" skin="Sunset"
    Behaviors="Close" Modal="True" EnableViewState="true" VisibleTitlebar="false"
    VisibleStatusbar="false">
</telerik:RadWindow>

When the window is closing, I pass some data back to my content page JS asks the panel to update

 

'// JS
 function invokeAjaxrequest() {
                $find("<%= AjaxPanel1.ClientID%>").ajaxRequest();
            }
'// Code Behind
 Protected Sub RadAjaxPanel1_AjaxRequest(sender As Object, e As AjaxRequestEventArgs)
            PView.UpdateData()
            TView.UpdateData()
        End If
    End Sub

 

In that JS function I ask the AjaxPanel to update. It appears to only work sometimes. Suggestions to troubleshoot this? I seem to be able to hit the breakpoint so i know the JS request to update is hitting, however the UI is not refreshing, thus for some reason the ajaxpanel is not updating the content. Ive adjusted the maxqueue size as well. 

Maria Ilieva
Telerik team
 answered on 29 Jul 2015
1 answer
267 views
I dont know how to get the ID if the RadGrid is dynamically 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnablePartialRendering="true"
    LoadScriptsBeforeUI="false" EnableCdn="true"   ScriptMode="Release">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="RadInputManager1" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
 
  <asp:Repeater ID="rp1" runat="server" OnItemDataBound="rp1_ItemDataBound">
                                <ItemTemplate>
                                    <div class="panel panel-default">
                                        <div class="panel-heading" role="tab" id="headingOne">
                                            <h4 class="panel-title">
                                                <a role="button" data-toggle="collapse" href='#collapse<%# index %>' aria-expanded="false" aria-controls="collapseOne"><%# Eval("nome") %>
                                                </a>
                                            </h4>
                                        </div>
                                        <div id='collapse<%# index %>' class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
                                            <div class="panel-body">
                                                <asp:UpdatePanel runat="server" ID="up1">
 
                                                    <ContentTemplate>
                                                        <%--                              <%-- Inicio do Telerik --%>
                                                        <telerik:RadFormDecorator runat="server" DecorationZoneID="demo" EnableRoundedCorners="false" DecoratedControls="All" />
                                                        <div id="demo" class="demo-container no-bg">
                                                            <telerik:RadGrid ID="RadGrid1" runat="server" Skin="Metro"
                                                                AllowPaging="True" AllowAutomaticUpdates="True" AllowAutomaticInserts="True"
                                                                AllowAutomaticDeletes="true" AllowSorting="true" OnItemCreated="RadGrid1_ItemCreated"
                                                                OnItemInserted="RadGrid1_ItemInserted" OnPreRender="RadGrid1_PreRender" OnInsertCommand="RadGrid1_InsertCommand"
                                                                OnUpdateCommand="RadGrid1_UpdateCommand" OnEditCommand="RadGrid1_EditCommand">
                                                                <PagerStyle Mode="NextPrevAndNumeric" />
                                                                <MasterTableView AutoGenerateColumns="False" NoDetailRecordsText="NĂŁo há eventos a serem exibidos" NoMasterRecordsText="NĂŁo há eventos"
                                                                    DataKeyNames="id" CommandItemDisplay="Bottom">
                                                                    <Columns>
                                                                        <telerik:GridBoundColumn DataField="nomeEspaco" Visible="false" ReadOnly="true"></telerik:GridBoundColumn>
 
                                                                        <telerik:GridEditCommandColumn ButtonType="ImageButton" UpdateText="Salvar Alterações" EditText="Alterar" UniqueName="EditCommandColumn">
                                                                        </telerik:GridEditCommandColumn>
 
                                                                        <telerik:GridButtonColumn Text="Deletar" CommandName="Delete" ConfirmText="VocĂŞ tem certeza que deseja deletar esse registro? nĂŁo será possĂ­vel desfazer essa ação" ButtonType="ImageButton" />
                                                                        <telerik:GridBoundColumn DataField="id" HeaderText="ID" ReadOnly="true" SortExpression="id"
                                                                            UniqueName="id" Visible="false" MaxLength="5">
                                                                        </telerik:GridBoundColumn>
 
                                                                        <telerik:GridDropDownColumn DataSourceID="ods2"
                                                                            DataField="periodo" ListTextField="nome" ListValueField="valor" HeaderText="PerĂ­odo" UniqueName="periodo">
                                                                        </telerik:GridDropDownColumn>
 
                                                                        <telerik:GridBoundColumn DataField="nomeCliente" ReadOnly="true" HeaderText="Nome do cliente" SortExpression="ContactTitle"
                                                                            UniqueName="ContactTitle">
                                                                        </telerik:GridBoundColumn>
 
                                                                        <telerik:GridBoundColumn DataField="email" ReadOnly="true" HeaderText="E-mail" SortExpression="CompanyName"
                                                                            UniqueName="CompanyName">
                                                                        </telerik:GridBoundColumn>
 
                                                                        <telerik:GridBoundColumn DataField="telefone" ReadOnly="true" HeaderText="Telefone" SortExpression="Phone"
                                                                            UniqueName="Phone">
                                                                        </telerik:GridBoundColumn>
 
                                                                        <telerik:GridDropDownColumn DataField="formato" DataSourceID="ods5" HeaderText="Formato" SortExpression="formato"
                                                                            ListTextField="nome" ListValueField="valor"
                                                                            UniqueName="formato">
                                                                        </telerik:GridDropDownColumn>
 
                                                                        <telerik:GridDropDownColumn DataField="nomeStatus" DataSourceID="ods3" HeaderText="Status" SortExpression="status"
                                                                            ListTextField="nome" ListValueField="valor"
                                                                            UniqueName="status">
                                                                        </telerik:GridDropDownColumn>
 
                                                                        <telerik:GridDropDownColumn DataField="tipoEvento" DataSourceID="ods4" HeaderText="Tipo de Evento" SortExpression="tipoEvento"
                                                                            ListTextField="nome" ListValueField="valor"
                                                                            UniqueName="tipoEvento">
                                                                        </telerik:GridDropDownColumn>
                                                                    </Columns>
                                                                    <EditFormSettings>
                                                                        <EditColumn CancelText="Cancelar" UpdateText="Salvar Alterações" ButtonType="ImageButton" />
                                                                    </EditFormSettings>
                                                                    <CommandItemSettings AddNewRecordText="Adicionar novo evento" />
                                                                </MasterTableView>
                                                            </telerik:RadGrid>
                                                            <telerik:RadWindowManager ID="RadWindowManager1" runat="server" />
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                            <%-- Fim do Telerik --%>
                 
                                        </div>
                                    </div>
                                    </div>
                                </ItemTemplate>
                            </asp:Repeater>
Maria Ilieva
Telerik team
 answered on 29 Jul 2015
1 answer
74 views

I create an appointment in Rad scheduler. it works fine if the appointment is a day long.
But when it is longer then a day, it only shows the first day and on Sunday(if the appointment is cross Sunday). Is there anyway that we could display the appointment more clearly? The appointment should show on every day in the calendar.
I appreciate if anyone could help me this problem!!!

Appreciated!

 Chris

I create an appointment in Rad scheduler. it works fine if the appointment is a day long.

But when it is longer then a day, it only shows the first day and on Sunday(if the appointment is cross Sunday). Is there anyway that we could display the appointment more clearly? The appointment should show on every day in the calendar.

I appreciate if anyone could help me this problem!!!

Appreciated!

Peter Filipov
Telerik team
 answered on 29 Jul 2015
1 answer
132 views

I'm trying to decide on the right control to use for a page i'd like to build. I initially started with radgrid but i think a listview would be better. also if anyone has any links to similar samples that would be helpful. Thanks.

 

I'm trying to build a page that will load 1,000's, if not 10,000's of rows of very simply text data, but i want the user experience to be like this page link here where it loads the first several thousand rows, and then when the user reaches the bottom, it does an ajax call to load another several thousand rows, and so on. can this be achieved with radgrid? or is listview the better choice?

http://pedump.me/880541c6303296db1b891ddd71c82c41/#disasm  

Thanks

Viktor Tachev
Telerik team
 answered on 29 Jul 2015
3 answers
351 views

Dear All,

So right now I have a problem:

My Radeditor can't edit and don't show content on Chrome when I assign in code behind. But in last week, it work well.

I try to run on Telerik demo site, it same here. but it work on FF or IE.

Pls, help me how to fix it.

Thanks so much!!!

Ianko
Telerik team
 answered on 29 Jul 2015
1 answer
78 views

I have web service that return a json object like this 

{

     fieldOne : "valueOne",

     fieldTwo : "valueTwo",

     fieldThree : "valueThree",

     fieldFour : [{innerFieldOne : "iValueOne" , innerFieldTwo : "iValueTwo" }]

in fieldFour array some times it will not contain objects. It can be contain maximum 4 objects.

 

What I want is in the grid add a new button and give a availability to update fieldFour. I need a new popup to edit and delete to fieldFour values beside default edit popup.(simply I need default edit popup and fieldFour edit popup) In that fieldFour edit popup can I add and remove the object ??
Ex : if I add a object to fieldFour it will look like this.... 

        fieldFour : [{innerFieldOne : "iValueOne" , innerFieldTwo : "iValueTwo" } , {innerFieldOne : "iValueOne" , innerFieldTwo : "iValueTwo" }]

 

Can this do in using Kendo UI Grid ??

Alexander Popov
Telerik team
 answered on 29 Jul 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?