Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
144 views
I have a problem in the RadAjaxloadPainel in the Browser Chrome Versão 25.0.1364.160 m, Only  load one times. And  generates the error in attachment.


Code: telerik:RadAjaxManagerProxy 


<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
       <AjaxSettings>
           <telerik:AjaxSetting AjaxControlID="ddlFamily">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ddlFamily" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="ddlGroup" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlGroup">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ddlGroup" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlckcacessorios">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlformato">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddltipo">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlcampanhas">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlFaixaPreco">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="ddlfiltros">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="btnSearch">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="txtCodigo" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="btnSearch" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
                   <telerik:AjaxUpdatedControl ControlID="P13" UpdatePanelCssClass="" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="RadDataPager1">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="ListViewPanel1" LoadingPanelID="RadAjaxLoadingPanel1"                                           UpdatePanelCssClass="" /> 
               </UpdatedControls>
           </telerik:AjaxSetting>
       </AjaxSettings>
   </telerik:RadAjaxManagerProxy>
 
   <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server"
                                EnableSkinTransparency="True"  Skin="Vista" Transparency="30"/>
   <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"  Skin="Metro"
                                EnableSkinTransparency="True" Transparency="70"/>


Code Controls :
<asp:Button ID="btnSearch" runat="server" Font-Names="Open Sans" style="margin-left:20px"
                                                    CssClass="botaoNeutro"  Visible="False" />
 
 
 
 <div style="text-align: center; background-color:white; width: 99%;">
            <asp:Panel ID="ListViewPanel1"  runat="server"  >
                                                 
                <telerik:RadListView ID="RadListView1" runat="server"
                                     AllowPaging="True" DataSourceID="SqlDataSource"
                                     ItemPlaceholderID="ProductsContainer" DataKeyNames="cod_produto"
                                     OnPageIndexChanged="RadListView1_PageIndexChanged"
                                     AllowMultiItemSelection="True"
                                     Skin="Vista"
                                     Font-Names="Open Sans"
                                     ClientDataKeyNames="cod_produto" PageSize="12"
                                     >
                                     
                    <%-- OnItemDataBound="Radlist1_ItemDataBound"--%>
                    <LayoutTemplate>
                        <div style="width: 940px; padding-left: 40px;">
                            <table>
                                <tr>
                                    <td style="width: 930px" align="left">
                                        <asp:PlaceHolder ID="ProductsContainer" runat="server"></asp:PlaceHolder>
                                    </td>
                                </tr>
                             
                            </table>
                        </div>
                    </LayoutTemplate>
                                     
                    <ItemTemplate>
                                     
                        <div  style="float: left; width: 150px; height: 145px;  text-align: left;" align="left">
                            <table cellpadding="0" cellspacing="0" align="left">
                                         
                                <tr>
                                    <td>
 
                                        <asp:Image ID="ImageButton1" runat="server"  width="140px" height="110px" Style="cursor:pointer;"  onclick="ShowProduto(this)"
                                                   ImageUrl='<%# "URL=" + Eval("cod_produto")%>' ToolTip='<%# Eval("cod_produto")%>' />
                              
                                     
                                    </td>
                                </tr>
                                         
                            </table>
                        </div>
                                         
                    </ItemTemplate>
                                                     
                </telerik:RadListView>
                                     
                <table>
                    <tr>
                        <td align="center">
                            <fieldset style="width: 900px;  padding-left: 40px; display: none;" id="FieldSet1" class="RadListView RadListView_Vista">
                                     
                                <table  width="100%" class="RadListView RadListView_Vista" align="center">
                             
                                    <tr>
                     
                                        <td>
                 
                                            <telerik:RadDataPager ID="RadDataPager1" align="center" runat="server" PagedControlID="RadListView1"
                                                                  Font-Names="Open Sans" PageSize="12" BorderStyle="None"  Skin="Vista"
                                                                  >
                                                <Fields>
                                                    <%--   <telerik:RadDataPagerPageSizeField  PageSizeText="<%$ Resources:Termos, QtdPagina %>"
                                                    HorizontalPosition="LeftFloat" />
                                                    --%>
                                                    <telerik:RadDataPagerTemplatePageField>
                                                        <PagerTemplate>
                                                            <div>
                                                                <span style="vertical-align: middle;  font-weight: bold; padding-left: 5px; font-family: 'Open Sans';">
                                                                    <asp:Label ID="Label10" runat="server" Text="<%$ Resources:Termos, QtdPagina %>"></asp:Label>
                                                                </span>
                                                                <telerik:RadComboBox  runat="server" Font-Names="Open Sans" ID="cmbPageSize" OnSelectedIndexChanged="cmbPageSize_SelectedIndexChanged"
                                                                                      AutoPostBack="true" Width="40px" SelectedValue='<%# Container.Owner.PageSize %>'  Skin="Vista">
                                                                    <Items>
                                                                        <telerik:RadComboBoxItem Text="6" Value="6" />
                                                                        <telerik:RadComboBoxItem Text="12" Value="12" />
                                                                        <telerik:RadComboBoxItem Text="24" Value="24" />
                                                                        <telerik:RadComboBoxItem Text="48" Value="48" />
                                                                        <telerik:RadComboBoxItem Text="54" Value="54" />
                                                                        <telerik:RadComboBoxItem Text="60" Value="60" />
                                      
                                                                    </Items>
                                                                </telerik:RadComboBox>
                                      
                                                            </div>
                                      
                                                        </PagerTemplate>
                     
                                                    </telerik:RadDataPagerTemplatePageField>
                         
                                                    <telerik:RadDataPagerButtonField FieldType="Numeric" />
                                 
                                                </Fields>
                                            </telerik:RadDataPager>
                                        </td>
                                 
                                    </tr>
                                </table>
                            </fieldset>
                        </td>
                    </tr>
                     
                </table>
        </asp:Panel>
</div>

In others Browser with : IE9,Firefox, the page load the RadAjaxLoadingPanel correctly.


Maria Ilieva
Telerik team
 answered on 20 Mar 2013
1 answer
132 views
When I am validating a text box, I show a rad alert with error message, if i close the rad alert with mouse, it works perfectly, however
if I hit the 'Enter' key, the first time it behaves as expected, but after that it starts showing up the below message,


Why do i get this message only with 'Enter' key and is there a way to suppress this message?

Thanks,
Deepa

Marin Bratanov
Telerik team
 answered on 20 Mar 2013
3 answers
111 views
Hi 


         I have telerik rad gantt chart i want to use this gantt chart into rad sheadular... is this possible?

         if it is possible pls provide the solution for this



Thanking you
P.Mugil
Plamen
Telerik team
 answered on 20 Mar 2013
7 answers
259 views
So I have a RadAjaxLoadingPanel that I use and I want it to show for say a grid or even full screen not only when a ajax call is being done, but also a full postback. However, it seems that in routines where full postback is done or more importantly when args.set_enableAjax(false); is called on the client OnRequestStart that the panel does not show up. Does the panel only show up when a ajax call is being made? Is there a way for me to show a loading panel on demand without any ajax call or such being done? Thanks.
Maria Ilieva
Telerik team
 answered on 20 Mar 2013
5 answers
101 views
Hi,
I have a problem with the borders, but it only seems to be happening in IE 10. Now... sometimes, it works in compatibility mode, but we cannot expect customers to know how compatibility mode works.

I have attached two screenshots of the dev tools for IE 10 and Chrome to show the difference in the rendered CSS. It seems that (in this case, the right border of the pop-up window) the resource is not being rendered though the table cell is, but looks fine in chrome.

I also have the title bar of the window missing (well, the title bar is present, but the background border / image is missing).

Any help would be appreciated.

I have the hotfix for Microsoft ajax installed. I am using 2013.1.220.40 of the telerik controls.

Thank you.
Marin Bratanov
Telerik team
 answered on 20 Mar 2013
3 answers
100 views
since upgrade 2012.3.1205.35, hyperlinks and button inside RadScheduler appointment templates does not work. I made a client click working by handling the "ontouchend" event. I also have a span in my template that opens a radToolTip and it won't open anymore either. Can I do something to make all my clicks work as they were in previous telerik versions and in desktop verrsions? I can also reproduce the bug in Chrome with user agent "Ipad - IOS 5 " and "Emulate touch events" checked
Plamen
Telerik team
 answered on 20 Mar 2013
5 answers
860 views
Hi,

I am having problem with dropdownlist of radcombobox not sticking to the combobox when i scroll the page using mouse. The radcombobox gets displayed in a modalpopup which is created using ajaxcontroltoolkit's modal popup extender. When the background page gets scrolled using mouse wheel the dropdown list also goes up and down along with the scroll

I know this is getting caused due to the css. Need some help fixing the css for the same
K10
Top achievements
Rank 1
 answered on 20 Mar 2013
2 answers
105 views
Hi,

I am adding the PageTitle to the pdf. I need my page title should be in muliple line. if i use <br/> or <p> tags but its not working.
If i add PageTitle it will look like below
    order : x order type:y
but i need like below
    order:x
    order type : y


Can any one help me in this.

Nithya
Nithya Rani
Top achievements
Rank 1
 answered on 20 Mar 2013
1 answer
160 views

hi,

  we have an ASP.NET website.

  Within here a user control.

  THis user control contains two RADGRID controls.
  
  Grid 1 is populated with data. Grid 2 is empty.

  We are trying to drag a row from Grid 1 to Grid 2.

  We have this working in another web page, but it seems that within a user control  there are complications.  When we perform the drag/drop we get this error:
 
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.review_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\mppr4\4fbd45b7\6039e974\App_Web_r6ddz0kb.20.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


The AJAX manager and settings are set up in the web page that is hosting the user control.

Here is the client script:

function onRowDropping(sender, args) {

                debugger;

                if (sender.get_id() == "<%=rgArticles.ClientID %>") {

                    var node = args.get_destinationHtmlElement();

                    if (!isChildOf('<%=RadGrid1.ClientID %>', node) && !isChildOf('<%=rgArticles.ClientID %>', node)) {

                        args.set_cancel(true);

                    }

                }

            }

            function isChildOf(parentId, element) {

                while (element) {

                    if (element.id && element.id.indexOf(parentId) > -1) {

                        return true;

                    }

                    element = element.parentNode;

                }

                return false;

            }


  What is happening is the code behind rowdropping method is not firing, instead we get the error above. 

  Does anyone have ideas why this wouldn't be working in a user control ? 

Vanaja
Marin
Telerik team
 answered on 20 Mar 2013
3 answers
217 views
Hi,

I have a main page which has a RadTabStrip with several tabs & each of these tabs has a page from a RadMultipage assigned to it. Each page has a usercontrol that i have defined which is a Radgrid with different data in each one.

I also have a radwindow which open the edit window to modify records that the radgrids display. This works fine except once i close the RadWindow, the radgrid in the usercontrol within the pageview does not update. I have tried to databind the RadTabStrip, the RadMultipage control & the Radgrid itself but i don't seemt o be able to get the Radgrids to refresh unless i refresh the whole page.

Can anyone help with refreshing (rebinding) the radgrid within a usercontrol which is used on a RadMultipage tabstrip & is being updated from a radwindow?

Regards,

Shuja
Nencho
Telerik team
 answered on 20 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?