Telerik Forums
UI for ASP.NET AJAX Forum
49 answers
1.2K+ views
Hi!

In ASP.NET 4, the editor blanks its value in a postback when there are server-side validators on the page.
Simple example:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="test" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ccc" runat="server">
    </asp:ScriptManager>
    <div>
        <telerik:RadToolBar ID="rtb" runat="server" AutoPostBack="True">
            <Items>
                <telerik:RadToolBarButton id="rtbb" runat="server" Text="Do postback">
                </telerik:RadToolBarButton>
            </Items>
        </telerik:RadToolBar>
        <asp:ValidationSummary ID="ValidationSummary" runat="server" />
        <telerik:RadEditor ID="re" runat="server">
        </telerik:RadEditor>
        <asp:TextBox ID="txt" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="rfv" runat="server" ControlToValidate="txt" EnableClientScript="false"></asp:RequiredFieldValidator>
    </div>
    </form>
</body>
</html>
Write something in the RadEditor. Then press the "Do postback" button. The RadEditor is blanked out! We hope this will be fixed really fast. Breaks our entire application!!! Regards Rikard
Rumen
Telerik team
 answered on 01 May 2018
5 answers
1.9K+ views

Language : : C#, ASP.NET​

How can I set default DateTime value in RadDateTimePicker. Default value should be one day greater than the current date with time as "12:00 AM". How can I do this?

Eyup
Telerik team
 answered on 01 May 2018
5 answers
165 views
If radcombobox contains items with special characters means non English characters like çã

Radcombobox is not closing after filtering, it  remains opened always and focus is not going out of the control, if focus is moving out i.e. if i press F12 for developer tools it is working

Please suggest a fix for this.
Osman
Top achievements
Rank 1
 answered on 30 Apr 2018
0 answers
142 views

I am working with Radgrid checklist filtering. Actually I need to filter “BAD IS SCORE”. This causes problem for me. And I can’t make EnableLinqExpressions as false. "bad is score" works fine. There is a problem with capital keywords.

Is there a way to filter with keywords like IS and without making EnableLinqExpressions as false?

Anshi
Top achievements
Rank 1
 asked on 30 Apr 2018
3 answers
242 views

I have a RadEditor in my page. I am getting the HTML text from Database. The text is the form of div inside div with hierarchy of 4 times. When I select any text and clicks on unordered or ordered list, bullet point is applying to the first line only.

But I want to use bullet points for selected text or for the selected paragraph.

Please suggest me any solution for this.

Thanks,

Anusha

Anshi
Top achievements
Rank 1
 answered on 30 Apr 2018
9 answers
503 views
Hi, I am trying to implement the Copy and paste feature in radgrid. Copy from Excel and paste to RadGrid.

I am using one of the example which shows the copy and paste using the Clipboard. But i am not able to make it work fully.

Do you have any latest example for this? Is there any built in feature with the current version of the radgrid?

Thanks

Ravi
Vessy
Telerik team
 answered on 30 Apr 2018
1 answer
127 views

Here is the entire contents of my aspx markup. There is nothing in the code-behind.

 

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Tom.aspx.vb" Inherits="POC_Tom" %>
<!DOCTYPE html>
<head runat="server">
   <title>test</title>
</head>
<body>
   <form id="form1" runat="server">
      <div>
 
         <asp:ScriptManager ID="smDemo" runat="server" ScriptMode="Release" />
          
         <telerik:RadTabStrip runat="server" ID="tabTom">
            <Tabs>
               <telerik:RadTab runat="server" Text="Paul"></telerik:RadTab>
               <telerik:RadTab runat="server" Text="George"></telerik:RadTab>
               <telerik:RadTab runat="server" Text="John"></telerik:RadTab>
               <telerik:RadTab runat="server" Text="Ringo"></telerik:RadTab>
            </Tabs>
         </telerik:RadTabStrip>
 
      </div>
   </form>
</body>
</html>

 

In IE 11, clicking the last tab shifts the contents of the control over 1 pixel and cuts off on the left. (The control renders properly in FireFox and Chrome.)

See the attached screenshot to see what I mean. Everything in hot-pink was added to the screenshot by me. Note the vertical line which shows the shift.

Rumen
Telerik team
 answered on 30 Apr 2018
2 answers
478 views

My JS stops functioning after I attempt to find out if a RadTextBox is empty.

 

01.<telerik:RadTextBox ID="rtbEmptyBox" runat="server" EmptyMessage="This box is empty." />
02.<telerik:RadButton ID="rbtnDetermineIfEmpty" runat="server" Text="Determine if Empty" AutoPostBack="false" OnClientClicked="determineIfEmpty" />
03. 
04.function determineIfEmpty(sender, eventArgs) {
05.    var emptyBox = document.getElementById('<%=rtbEmptyBox.ClientID %>');
06. 
07.    if (emptyBox.isEmpty()) {
08.        console.log('empty box is empty');
09.    }
10.    else {
11.        console.log('empty box is full');
12.    }
13.}

The JS stops at line 07 and won't proceed.  Do I have the functionality of isEmpty() incorrect?  I'm attempting to get the value of the text box, but when it is empty, it gives me the value of the EmptyMessage.

Keith
Top achievements
Rank 1
 answered on 30 Apr 2018
7 answers
1.3K+ views
Hello everyone. 

In my current company we have a reference in a webform application: Telerik.Web.Mvc.dll, version= 2011.2.914.340  and there is a bug with a dropdown list. I proposed to move the all into kendo UI, however for this to be approved we need to test with the lastest version of that component. Problem is that I am not able to find it ( Telerik.Web.Mvc.dll) in latest version ( UI for ASP.NET AJAX Q3 2014 ) from Telerik. Seems like Kendo UI is the defacto replacement and Telerik is not providing downloads for older / archives versions.

Can you help me out on this? I also follow up this thread: http://www.telerik.com/help/aspnet-mvc/getting-started-upgrading.html and installed this tool: https://visualstudiogallery.msdn.microsoft.com/d3399c97-2ed2-4114-90f5-5271c803136d however the tool replaced all with latest Kendo version and Telerik.Web.Mvc.dll had dissapeared.

Thanks
Ivan Danchev
Telerik team
 answered on 30 Apr 2018
0 answers
132 views

Hi,

I have the issue about the open CSV file for modify and save it when I have exported the file from RadGrid. The value will combine to all text in one column after save the related document in MS Excel application. Attached please see the screen capture as below and how to solve this problem?

 

Kim
Top achievements
Rank 1
 asked on 30 Apr 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?