Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
79 views
Version 2011.3.1115.35

When opening a combobox in edit mode on a radgrid, the list scrolls to the selected item by jumping there instead of it already being selected which causes an jumping kludgy experience for the user. I think this was fixed in subsequent versions but I tried to update and it broke several screens in a large production system(which is extremely aggravating...) which forced me to reference the old version. Is there a way to stop this behavior in this version?
Nencho
Telerik team
 answered on 07 Aug 2013
2 answers
257 views
Hello

I upgraded our Asp.Net application to the current Telerik Ajax version

Our current production version is: 2012_2_607
The new version is: 2013_2_611

In the old version, when a RadTextBox was set as ReadOnly, only the ReadOnlyStyle needed to be applied, hence it doesn't recognize a mouse-hover.
<telerik:RadTextBox ID="txtSalution" Text='<%# Eval("salutation"%>' runat="server"  Translate="false" AutoPostBack="false" ReadOnly="true"  Width="70px"
    ReadOnlyStyle-Font-Bold="true" ReadOnlyStyle-Font-Size="10" ReadOnlyStyle-BackColor="#F0F0F0" />

The behaviour of the current version is, that the control recognizes a mouse-hover, as result also the hover-style has to be set.
<telerik:RadTextBox ID="txtSalution" Text='<%# Eval("salutation"%>' runat="server"  Translate="false" AutoPostBack="false" ReadOnly="true"  Width="70px"
    ReadOnlyStyle-Font-Bold="true" ReadOnlyStyle-Font-Size="10" ReadOnlyStyle-BackColor="#F0F0F0"
    HoveredStyle-Font-Bold="true" HoveredStyle-Font-Size="10" HoveredStyle-BackColor="#F0F0F0" />

Is this a bug or a "feature"?

Kind regards
Jürgen

 
Jürgen
Top achievements
Rank 1
 answered on 07 Aug 2013
1 answer
162 views
Hello Everyone,

I am very happy with Telerik RadGrid Control functionalities. I found the code which shown in demo's coupled with ASPX and Code-Behind(C#). I want to implement this in 3-tier architecture(Presentation Layer, Business Access Layer and Data Access Layer).

Can you provide me example for this, how can i develop Telerik RadGrid in 3-tier architecture.

Thanks,
Venkata.
Marin
Telerik team
 answered on 07 Aug 2013
2 answers
156 views
Hi,

i have a problem with $find.

I have this function:

function chkIfEmpty(parmtxt) {
 
    var rtxtBox = $find(parmtxt);
    var val = rtxtBox.get_element().value;
 
    if (!$.trim(val).length) {
        $('#imgaccept1').attr('style', 'display:none;');
        $('#imgexclamation1').attr('style', 'display:block;');
        $('#hfEingabeCheck').val('false')
    }
}

And i call it like this:

<telerik:RadTextBox ID="rtxtVermittlerName" runat="server" Label="Name" LabelWidth="100px" Width="350px" Skin="MetroTouch" EmptyMessage="Mustermann" onblur="chkIfEmpty('<%= rtxtVermittlerName.ClientID %>')"></telerik:RadTextBox>

But everytime "parmtxt" is null.
if i write it directly like this: var rtxtBox = $find("<%= rtxtVermittlerName.ClientID %>");
it works.

What i'm doing wrong?
Thanks for reading.
Daniel
Daniel
Top achievements
Rank 1
 answered on 07 Aug 2013
6 answers
974 views
Hello,

I'm trying to add an appointment to a RadScheduler in the code behind; however, I'm having no luck. I was hoping to create a new appointment, then use RadScheduler1.Appointments.Add(new Appointment(1, dt, dt, "Subject")); or something similar, but the .Add method isn't exposed and RadScheduler1.InsertAppointment(new Appointment(1, dt, dt, "Subject")); isn't working either.

If this is possible, please let me know which RadScheduler event I need to do this in.

Thanks!
Casey
Bhavin
Top achievements
Rank 1
 answered on 07 Aug 2013
12 answers
169 views

Hi everybody,

I just updated a VS 2012 project to Version 2013.1.220.35 where I use the AutoCompleteBox. Suddenly it ignores my DropDownItemTemplate and shows just the information from the DataTextField. I checked the demo and it looks the same. The Client-Side-Template seems to work fine, the Server-Side-Template not at all.


Does anyone have the same problem?

Best Regards

Denis

Margret
Top achievements
Rank 1
 answered on 07 Aug 2013
1 answer
403 views
Team

Need help to create or draw line graph from code behinde....
Types of forms

Insurance  total count 30
Medical : total cound 20

I want to draw time series graph .. display number of form submitted on this date

Suppose
X axis:  Date form submitted
Y axis : No. Of forms

Please help urgent otherwise provide me sample code from code behind
A2H
Top achievements
Rank 1
 answered on 07 Aug 2013
1 answer
410 views

Hello I am very new to the telerik controls I am trying to change the radbox text in the page load event but it is not changing .

 

<radtextbox id="test" runat="server"
  
public void page_load()
{
  test.Text= Session.PageCount.ToString(); 
}
A2H
Top achievements
Rank 1
 answered on 07 Aug 2013
9 answers
220 views
Using the Metro Skin, I find that:

1. The RadTextbox and RadDatePicker are both smaller in Height than the RadCombobox
2. The RadButton tends to push 2-3px below the other controls for some odd reason

It is very hard to create consistent and uncluttered UI when I place a Combobox next to a Textbox or a Button next to anything horizontally.

Is there a reason why the basic/default input controls do not share a common height?

You can see what I mean with this code

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="input_size.aspx.vb" Inherits="Elan.Web.input_size" %>
 
<!DOCTYPE html>
 
<html>
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="ScriptManager1" />
        <div>
            <telerik:RadButton Skin="Metro" Text="Button" runat="server" ID="bTest" />
            <telerik:RadComboBox Skin="Metro" runat="server" ID="dTest" />
            <telerik:RadTextBox Skin="Metro" runat="server" ID="tTest" />
            <telerik:raddatepicker Skin="Metro" runat="server" ID="dtTest" />
        </div>
    </form>
</body>
</html>

Is there a suggested best way to make the Textboxes the same height as the Combobox - and to line up the buttons?
Dan
Top achievements
Rank 1
 answered on 06 Aug 2013
4 answers
354 views
We use Radgrids throughout our application - with each page tied to a base class that handles OnPdfExporting for all grids.

After a lot of fussing I have sort of figured out how to format the grid.  (working code snippet below).  The problem is that this one routine handles many dozen different grids - and it appears to make every column the exact same width in the PDF.  Is there any way (code example would be great) to dynamically size the PDF columns based on their content - without having to handle each specific grid individually?

Protected Overloads Sub grid_pdfExport(ByVal source As Object, ByVal e As GridPdfExportingArgs)
 
    e.RawHTML = e.RawHTML.Replace("<br>", "<br/>")
    e.RawHTML = Regex.Replace(e.RawHTML, "</?(div).*?>", "")
    e.RawHTML = Regex.Replace(e.RawHTML, "</?(a).*?>", "")
 
    e.RawHTML = e.RawHTML.Replace("width: 100%; table-layout: auto;", "width:100% ; border: 1px solid #666; border-collapse: collapse; margin: 0;")
    e.RawHTML = e.RawHTML.Replace("<th scope=""col"">", "<th scope=""col"" style=""font-weight: normal; color: #fff; background-color: #333; border: 1px solid #f1f1f1; white-space: normal; padding: 2px 3px; vertical-align: bottom; line-height: 18px; text-align: left; font-family: arial; font-size: 8px; "">")
    e.RawHTML = e.RawHTML.Replace("<td>", "<td style=""font-weight: normal; color: #000; background-color: #fff; border: 1px solid #f1f1f1; white-space: normal;border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; border-right: 1px solid #f1f1f1; border-left: 1px solid #f1f1f1; padding: 2px 5px; vertical-align: top; text-align: left; font-family: arial; font-size: 8px; "">")
 
End Sub

Dan
Top achievements
Rank 1
 answered on 06 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?