Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
127 views

I would like to implement a feature that depends on what user types in -- so I need to constantly check the contents of the input box. The obvious way of doing it is by running a JS function invoked by the onkeyup (or onkeypress, etc) but AutoCompleteBox is not firing the event.

A snippet of my code:

<script>
function ChangeTest() {
   console.log('changed');
}
</script>
 
<telerik:RadAutoCompleteBox RenderMode="Lightweight" runat="server" ID="RadAutoCompleteBox1"
            autopostback="true"
            DataSourceID="SqlDataSource1" DataTextField="field1" DataValueField="field2" InputType="Token" Width="100%"
            DropDownWidth="150px"
            OnEntryAdded="RadAutoCompleteBox1_EntryAdded"
            OnEntryRemoved="RadAutoCompleteBox1_EntryRemoved"
            OnClientEntryAdded="CheckEntry"
            OnClientEntryRemoved="CheckEntry"
            onkeyup="ChangeTest"
>

 

What am I doing wrong?

Thanks!

Yan Moura
Top achievements
Rank 1
Veteran
Iron
 answered on 25 Jun 2020
1 answer
145 views

Hello,

When I run my project that contains a RadGrid locally on my development machine using IIS Express, the grid is formatted as expected.  When I publish to my web server (running Windows Server 2012 R2 / IIS 8.5), the grid loses all formatting and looks like a handful of plain HTML controls scattered on the page.  I would guess this is something CSS-related, but I don't know where to look.  In both cases, I'm opening the web site from Chrome on my development machine.

See attached "IISExpress.png" and "Publish.png" for visual examples.

I'm using Telerik UI for ASP.NET AJAX R1 2020.  Telerik.Web.Design, Telerik.Web.UI, and Telerik.Web.UI.Skins DLL files are all copied local to the web server in the bin folder.

Peter Milchev
Telerik team
 answered on 25 Jun 2020
1 answer
116 views

Hello,

I have 3 separate "RadMenu" in my page. I would like to be able to navigate between them.

Is there an easy way to access my first menu (with the assigned keys combination), go to the end of my first menu and instead of going back to the start of my menu, go to the start of my second menu, then my third and then my first.

The only thing I could see right now, would be to assign different keys combinations to each one of them (as it should be) and try to detect the end of each one of my menus to trigger the keys combinations of the next menu.

Is there an easier way?

 

Regards,

Maxime

Peter Milchev
Telerik team
 answered on 25 Jun 2020
7 answers
306 views

I have a vertical radmenu across all pages in an application

When I add a Radgrid rendered in lightweight, the radmenu gets surrounded by a border.

I have tried to add the rendermode Lightweight to the radmenu, but the border is still there and instead of displaying all the icons in the menu it only displays one.

Could you please let me know what is the solution to keep the rendermode to lightweight for the radgrid, as this is the look we are after while removing the border around the menu.

Thank you

Anne

 

 

 

Peter Milchev
Telerik team
 answered on 24 Jun 2020
5 answers
859 views
We are participating in a project using Sitecore and have a question about rich text.

In Sitecore, I can access media such as images with URL paths like "-/media/Project/XXXX/XXXXX/Websites/xxxxxx.jpg",
but I can't access the images in the rich text editor and the broken image icon appears.
Are there any settings and other considerations when displaying images?

I'm attaching the video of the problem and the config setting file for your reference.

thanks in advance
Rumen
Telerik team
 answered on 24 Jun 2020
4 answers
251 views

Could someone provide an example of how to use ClientDataSource in an ASP.NET WebForms environment?

e.g. with PageMethods which pass data back to the client for usage in, say, a combobox?

 

All the examples I see online deal with MVC or Web Service configurations and do not provide adequate documentation on how to use in a legacy webforms environment.

 

 

ToltingColtAcres
Top achievements
Rank 2
Veteran
Iron
 answered on 24 Jun 2020
1 answer
222 views
Hi,

I am trying to apply a rounded corner to my RadAutoCompleteBox input box. For this I used the following code:

html .RadAutoCompleteBox .racInput {
    font-family: sans-serif;
    font-size: 1.2em;
    height: 30px;
    border-radius: 15px;
}

All properties other than border-radius are working fine. What am I missing here?

Thanks!
Yan Moura
Top achievements
Rank 1
Veteran
Iron
 answered on 23 Jun 2020
2 answers
145 views
I am using AutoCompleteBox in an ASPX page with VB in code behind. I have a callback function 'OnEntryAdded' and every time this function is triggered my page is being refreshed. What am I doing wrong?

This is my ASPX code:

<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadAutoCompleteBox
    RenderMode="Lightweight"
    runat="server"
    ID="RadAutoCompleteBox1"
    autopostback="true" EmptyMessage="Type in data..."
    DataSourceID="SqlDataSource1"
    DataTextField="edesc"
    DataValueField="ecode"
    InputType="Token"
    Width="100%"
    DropDownWidth="150px"
    OnEntryAdded="RadAutoCompleteBox1_EntryAdded"
    >
</telerik:RadAutoCompleteBox>
 
<asp:SqlDataSource runat="server"
    ID="SqlDataSource1"
    CancelSelectOnNullParameter="False"
    ConnectionString="<%$ AppSettings:MyConn %>"
    SelectCommand="exec dbo.myquery">
</asp:SqlDataSource>
</form>

This is my code behind

Imports System.Diagnostics
Imports Telerik.Web.UI
Imports System.Data.SqlClient
 
Partial Class custom_scripts_blah
    Inherits System.Web.UI.Page
 
    Protected Sub RadAutoCompleteBox1_EntryAdded(sender As Object, e As Telerik.Web.UI.AutoCompleteEntryEventArgs)
    End Sub
 
End Class

 

 

Any idea?

Yan Moura
Top achievements
Rank 1
Veteran
Iron
 answered on 23 Jun 2020
3 answers
389 views

Hi, 
  We want to design rad tab like this in screenshot - 
http://prntscr.com/szu382 
http://prntscr.com/szu4vl
http://prntscr.com/szu51i

Pls reply asap

Thanks

Doncho
Telerik team
 answered on 23 Jun 2020
4 answers
128 views

We are doing a POC project using Telerik RadOrgChart following are the issues we are facing please advise.

1. with 5k records (single hierarchy) we loaded RadOrgchart it took around 15 to 20 mins to load the chart. 

Example : CEO -> 5k employess directly reporting him. CEO is the parent node and 5k employess are under him in single line. It is just an example and we  have multi tier reporting as well. I have used loadondemand feature also but it didn't help.

2. Is there any way we can group 5k employees to avoid horizontal scroll. You can imagine how long scroll would have expand. We don't have ColumnGroupCount to play around.

3. Without calling server code, can telerik manage to  search the data in loaded view ? I know we can manage this using script techniques. It would be great to know if telerik has in-builtin feature like this.

Peter Milchev
Telerik team
 answered on 23 Jun 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?