Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views
Having issue with editor I need to remove the AboutEditor tool from that how to that in aspx or server side any suggestions plz


Regards 
Suman
Marin Bratanov
Telerik team
 answered on 27 Jan 2014
1 answer
49 views
I have a problem were the splitter doesn't render properly when BorderSize = 0

At the bottom of this post is how I want the code to be.

I have set BorderSize="0" to get rid of the borders and I have OnClientLoaded calling javascript function SplitterLoaded so that the Height of the Splitter is equal to the content.

when the page loads, its fine. when I change the size of the browser though (without reloading the page), the Splitter completely disappears - apart from the button that does the collapsing of the panels.

When I remove the BorderSize="0" tag, it works fine.
so I can change the size of the browser by double-clicking the top of the browser window so that it makes the window slightly smaller, or I can start with the window smaller (not filling the full screen) and then drag from the edges of the browser to make it bigger/smaller.

both ways will result in the Splitter not showing properly
<div id="content">
 
 
                   <telerik:RadSplitter BorderSize="0" OnClientLoaded="SplitterLoaded"   VisibleDuringInit="false"  ID="RadSplitter2" Width="100%" Height="100%" runat="server" Orientation="Vertical">
                       <telerik:RadPane ID="pane1" runat="server" Width="120px"
                           Scrolling="None">
                           <div class="sidebar">
                               <comx:VMenu ID="VMenu" runat="server" />
                           </div>
                       </telerik:RadPane>
                       <telerik:RadSplitBar EnableResize="false" CollapseMode="Forward" ID="RadSplitBar1" runat="server">
                       </telerik:RadSplitBar>
                       <telerik:RadPane ID="pane2" runat="server" >
         
                               <div class="workingarea_splitter">
                                   <comx:Menubar ID="MenuBar" runat="server" />
                                   <asp:Label ID="lblItemName" runat="server" CssClass="itemname" />
                                   <asp:Label ID="lblError" runat="server" CssClass="invisible" />
                                   <asp:ContentPlaceHolder ID="Content" runat="server" />
                               </div>
        
                       </telerik:RadPane>
                   </telerik:RadSplitter>
 
 
               </div>


function SplitterLoaded(splitter, arg) {
    var pane = splitter.getPaneById('<%= pane2.ClientID %>');
    var height = pane.getContentElement().scrollHeight;
    splitter.set_height(splitter.get_height() - pane.get_height() + height);
    pane.set_height(height);
    }


David
Top achievements
Rank 1
 answered on 27 Jan 2014
1 answer
280 views
Hello
I try to work with telerik button using client side in external JS file but i cannot detect it, but when i put the code inside the page it works good.
this is Page HTML code 
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
        <script type="text/javascript" src="JavaScript.js"></script>
    </telerik:RadScriptBlock>
</head>
<body>
    <form id="form1" runat="server">
         
    <div>
        <telerik:RadButton ID="RadButton1" runat="server" Text="RadButton" OnClientClicked="test"></telerik:RadButton>
    </div>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
 
    </form>
     
</body>
</html>
and this is my JS file code
function test(sender,args) {
    var button = $find("<%= RadButton1.ClientID %>");
    alert(button.get_text());
}
thanx in advance
Marin Bratanov
Telerik team
 answered on 27 Jan 2014
1 answer
72 views
Hello,

We recently *attempted* to upgrade our project to be used in visual studio 2013. Upon first attempting to build, we got an error saying the Ajaxcontroltoolkit was not found. So we added a reference to the new 4.0 Ajaxcontroltoolkit, this is a ASP.NET 4.0 application and the Telerik controls are the 4.0 version, however our radgrids are showing up completely blank.

I have found several forum threads pointing saying you must verify everything is 4.0 and such and I have, but I cannot get the Radgrid to display at all.

How can I fix this issue?

Thanks for the help!
Pavlina
Telerik team
 answered on 27 Jan 2014
1 answer
66 views
Hi
Is it possible to change the filter icon image?
Shinu
Top achievements
Rank 2
 answered on 27 Jan 2014
4 answers
71 views
hello,

i have a problem with the combobox. The rendering seems not to be all right.
I have a screenshot. An idea whats wrong?

greetings
Jens
Jens
Top achievements
Rank 1
Iron
Iron
 answered on 27 Jan 2014
1 answer
317 views
hi support team

               can u please provide sample code for me to find all RAD CONTROLS in asp.net web page... i have many rad controls in my aspx page. i want to find all the controls server side...
Jayesh Goyani
Top achievements
Rank 2
 answered on 27 Jan 2014
1 answer
158 views
Hi,
  Is double click event is possible in client side in scheduler time slot ? please tell which event in client side will trigger the double click? 
  I used "OnClientAppointmentInserting" but this event not trigger in double click in appointment scheduler time slot.
Plamen
Telerik team
 answered on 27 Jan 2014
1 answer
265 views
Hey Guys,

The problem I am having is that the filtering functionality of the AutoCompleteBox is case sensitive.

I have names stored in the database with an uppercase first letter, so if a user enters a lower case letter into the autocompletebox, it does not display any results.

I have searched for properties within the control itself to work around this, but there seems to be none.  Is there a way to handle the filtering method myself in the server code, or even the client?

I'm implementing a RadAutoCompleteBox to search through a list of items bound to the control using a LinqDataSource.

In the LinqDataSource, I am use the onselecting event to fetch the data.

protected void LinqDataSourceForAutoComplete_OnSelecting(object sender, LinqDataSourceSelectEventArgs e)
        {
            using (DataClassesDataContext dc = new DataClassesDataContext())
            {
                var membersUsers = (from ue in dc.UserEntities
                    join boe in dc.BusinessOwnerEntities on ue.ID equals boe.UserEntity.ID into j1
                    from j2 in j1.DefaultIfEmpty()
                    where j2 != null
                    select new
                    {
                        ID = ue.ID,
                        Description =
                            string.Format("{0}, {1}", ue.Surname,
                                ue.PreferredName != null ? ue.PreferredName : ue.FirstName)
                    }).ToList();
                e.Result = membersUsers;
            }
        }

and here is the markup for the RadAutoCompleteBox

<telerik:RadAutoCompleteBox runat="server" ID="RadAutoCompleteBox1
                                DataSourceID="LinqDataSourceForAutoComplete
                                DataValueField="ID" 
                                DataTextField="Description"
                                InputType="Token"
                                TextSettings-SelectionMode="Single"
                                Filter="Contains"
                                >
                            </telerik:RadAutoCompleteBox>

Any help on how I could get around this would be greatly appreciated!
Kate
Telerik team
 answered on 27 Jan 2014
3 answers
53 views
Hi,

In our RadScheduler, we can't select timeslots by dragging the mouse over free cells.
It happens also if the client clicks on a single cell, without dragging the mouse.
I thought it's related to the ReadOnly property, but it is set to false
Also on right-click, the context menu is shown, but the cell is not selected.
Please advise. We want the timeslots will be selectable.

* We use version 2013.2.717.40.
** We use client side binding with web service.

Thanks,
Guy.
Kate
Telerik team
 answered on 27 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?