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

Ok it's not really the editor but rather the "managers".  When I open the Documents/image/flash managers they appear behind the RadMenu.  I have adjusted the z-index on the RadEditor (style="z-index:9001;") but the result is the same.  Shouldn't pop-up editors have their z-index set higher than all other controls by default?

 

Al

Marin Bratanov
Telerik team
 answered on 11 Jun 2013
1 answer
111 views
Hi
 I wnt to change the default filter function. Whenever I select 'contains' is the default. I want to change this to 'equalto'
thanx in advance
Savyo

Shinu
Top achievements
Rank 2
 answered on 11 Jun 2013
5 answers
144 views
Hi Folks - I'm getting an error using the grid.  I have a hyperlink column that allows the user to select a certain record and view full details.  Grid seems to work for 99% of people.  I have one user in Moscow that is getting following error.  'get_masterTableView().get_dataItems()[...]' is null or not an object.  I asked the user to reinstall Java but same result.  Any ideas?  This is the first time I have run into a client error like this.
Eyup
Telerik team
 answered on 11 Jun 2013
1 answer
139 views
Hi
     How can I disable the color of sorted column

thanks
RT
Princy
Top achievements
Rank 2
 answered on 11 Jun 2013
1 answer
111 views
Hi,

I am using RadAjaxManager to define ajax settings on my page. I could not find any problem with ajax settings defined,it seems to be normal.  Ajax Settings defined as below.
 

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />

 

 

 

<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" DefaultLoadingPanelID="RadAjaxLoadingPanel1">

 

 

 

<AjaxSettings>

 

 

 

<telerik:AjaxSetting AjaxControlID="radMeasure"> (its radcombobox control)

 

 

 

<UpdatedControls>

 

 

 

<telerik:AjaxUpdatedControl ControlID="radDisplay" /> 
<telerik:AjaxUpdatedControl ControlID="msDisplay" />

 

 

 

</UpdatedControls>

 

 

 

</telerik:AjaxSetting>

 

 

 

</AjaxSettings>

 

 

 

</telerik:RadAjaxManager>

 

 

 

<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1">

 

 

 

<table height="100%" width="100%" border="0">

 

 

 

<tr>

 

 

 

<td valign="middle" align="center">

 

 

 

<asp:Image ID="ImageLoading" Style="margin-top: 40px" runat="server" AlternateText="Loading"

 

 

 

BorderWidth="0px" ImageUrl="../../Includes/RadControls/AJAX/Skins/Default/loading.gif">

 

 

 

</asp:Image>

 

 

 

</td>

 

 

 

</tr>

 

 

 

</table>

 

 

 

</telerik:RadAjaxLoadingPanel>

 


Am getting the internal Telerik Javascript error. I found that UpdatePanelClientIDs are set to null. Am not sure what is causing the problem. Here by attaching screenshot of error which am getting.

Along with Radajaxmanager am using RadwindowManger on my page. Please let me know how to solve this issue.
Maria Ilieva
Telerik team
 answered on 11 Jun 2013
1 answer
118 views
Greetings, 

I've read on some old forum threads that a RadGrid's ClientSettings must set UseStaticHeaders to "true" in order for FrozenColumnsCount > 0 to take effect.

We've also observed this behavior in our use of the ClientSettings.

1) Please confirm : Must UseStaticHeaders be set to "true" in order for FrozenColumnsCount > 0 to take effect ? 

2) If #1 is confirmed, Why ?   Why was the control designed this way ? 


  • This dependency doesn't seem to make sense from a technical perspective either; in fact, it seems like it'd be harder (more complex) for Telerik to enforce/create the frozen column behavior in a UseStaticHeaders="True" scenario as compared to a UseStaticHeaders="False" due to the way UseStaticHeaders actually renders the RadGrid HTML (which is in separate HTML tables).
  • This dependency doesn't seem to make logical/ use case perspective. Isn't a common scenario one where a user doesn't want the headers fixed but does want a column or two fixed ?


3) If #1 is confirmed, is this strange, undocumented dependency already fixed in the 2013 release(s)? If not, will it be decoupled soon?
Andrey
Telerik team
 answered on 11 Jun 2013
4 answers
237 views
Hi,

I have a grid with a CommandItemTemplate. When I press the LinkButton "btCommand" I want first to treat the event on client side.
The behavior I'm getting is when I press the LinkButton the page immediatly does the PostBack without calling first the "gridCommand" function, thus I never get the alert('test') calle.


<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
    <script type="text/javascript">
         
        function gridCommand(sender, args) {
            alert('test');
             if (args.get_commandName().startsWith("DoSomething")) {
                  ....
                }
            }
          
    </script>
</telerik:RadScriptBlock>  
   
  <telerik:RadGrid ID="gv" runat="server" AllowFilteringByColumn="false"
        AllowPaging="true" AllowSorting="true" AutoGenerateColumns="false" 
        EnableAJAX="false" EnableEmbeddedSkins="false" GridLines="Horizontal" OnItemCommand="gv_ItemCommand"
        OnItemCreated="gv_ItemCreated" PageSize="30"   Width="100%"
        OnExcelMLExportRowCreated="gv_ExcelMLExportRowCreated" OnExcelMLExportStylesCreated="gv_ExcelMLExportStylesCreated">
        <ExportSettings IgnorePaging="false"></ExportSettings>       
        <MasterTableView AllowMultiColumnSorting="false" CommandItemDisplay="Top" DataKeyNames="ID"
            GridLines="None"  >
            <Columns>
                <telerik:GridBoundColumn AllowFiltering="false" AllowSorting="True" DataField="ID"
                    HeaderText="ID" SortExpression="ID" UniqueName="ID">
                    
                </telerik:GridBoundColumn>
               .....
            </Columns>
            <CommandItemTemplate>
                <table class="Normal" cellspacing="0" cellpadding="4" border="0" width="100%">
                    <tr>
                        <td align="right">
                            <asp:LinkButton ID="btCommand" runat="server" CommandName="DoSomething" >DoSomething</asp:LinkButton>
                        </td>
                    </tr>
                </table>
            </CommandItemTemplate>
            <CommandItemStyle HorizontalAlign="Right" />
        </MasterTableView>
        <ClientSettings>
         <ClientEvents OnCommand="gridCommand" />
        </ClientSettings>
    </telerik:RadGrid>


Thanks in advance.
Eyup
Telerik team
 answered on 11 Jun 2013
3 answers
212 views
Hi,

I have used RadAjaxLoadingPanel in my page as following.
------------------------------------------------------------------------------
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">     <script type="text/javascript">          function requestStart(sender, args) {             if (args.get_eventTarget().indexOf("ExportToExcelButton") >= 0) {                 args.set_enableAjax(false);             }         }         function ValidateData() {                          return true;         }     </script>          <table style="width: 100%;">                 <tr>             <td class="TDInfoLabel" style="width: 20%;"></td>             <td class="TDInfoValue">                 <asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="button" OnClientClick="return ValidateData();" />             </td>         </tr>     </table>     <br />     <div style="overflow: auto; height: 100%; font-size: 12px;">                 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">         </telerik:RadAjaxLoadingPanel>         <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"             ClientEvents-OnRequestStart="requestStart">         <telerik:RadGrid ID="rgvUserData" runat="server" Skin="Hay" AutoGenerateColumns="False" CellSpacing="0" GridLines="None"             PageSize="50" AllowPaging="True" PagerStyle-Mode="NextPrevAndNumeric">             <ClientSettings AllowGroupExpandCollapse="true" EnableRowHoverStyle="true" Selecting-AllowRowSelect="true">                 <Selecting AllowRowSelect="True"></Selecting>             </ClientSettings>             <MasterTableView CommandItemDisplay="Top" GroupLoadMode="Client" AllowMultiColumnSorting="false" GroupHeaderItemStyle-ForeColor="Black"                 PageSize="50" UseAllDataFields="False">                 <CommandItemSettings ExportToPdfText="Export to PDF" ShowExportToExcelButton="true" ShowAddNewRecordButton="false"></CommandItemSettings>                 <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"></RowIndicatorColumn>                 <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"></ExpandCollapseColumn>                 <EditFormSettings>                     <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>                 </EditFormSettings>                 <GroupHeaderItemStyle ForeColor="Black"></GroupHeaderItemStyle>             </MasterTableView>             <ExportSettings FileName="ExportedData" IgnorePaging="True" OpenInNewWindow="False">                 <Excel Format="Html"></Excel>             </ExportSettings>             <HeaderStyle ForeColor="White" />             <FilterMenu EnableImageSprites="False"></FilterMenu>         </telerik:RadGrid>         </telerik:RadAjaxPanel>     </div>     <br /> </asp:Content>

------------------------------------------------------------------------------
Now If I try to access any control in script section by following way
var btn = document.getElementById("<%= btnSearch.ClientID%>"); 
Or
var btn = $find("<%= btnSearch.ClientID%>"); 

then I am getting following errors when I try to run the page.
Crome: Error : The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). 

IE: 0x800a138f - JavaScript runtime error: Unable to get property 'notifyScriptLoaded' of undefined or null reference.

If I delete the lines accessing the controls from JavaScript section then it runs fine.

Regards,
John

msigman
Top achievements
Rank 2
 answered on 11 Jun 2013
1 answer
99 views
I am trying to create a appointment in month view when i select multiple date and in TimeSlotContextMenuItemClicked function it only returns end date as next day. Can anyone help me with this please?
Plamen
Telerik team
 answered on 11 Jun 2013
7 answers
182 views
The treeview has drag and drop functionality and works if there are a few drags and drops. If I keep on drag and drops (approx 10+) then the nodes do not expand. I have tried with multiselect = false (design time), EnableDragAndDrop = false and enabled = false in the nodedrop event while I am reordering items in the tree.

The telerik.web.ui version I am using is 2013.1.417.35 with Sharepoint site.

Has anybody else experienced this behavior? Is there any fix for it?
Plamen
Telerik team
 answered on 11 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?