Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
178 views

Below queries relates to Batch Editing feature of the RadGrid (ASP.NET AJAX’s)

 

Scenario 1: In Image 1, 2 and 3, we are using ASP.NET AJAX’s dropdown list box within a ASP.NET AJAX’s Grid, this is the sample application provided by Telerik. The second one is cascading dropdown list box, when we select country in the first dropdown list box, it should fill all the states in the second dropdown list box of depending upon the country selected in the first dropdown list box. If you look at Image 1, you can see that we have “Asiaand “Asia – Japan. In Image 2, a user changes the value from “Asia” to “Europe” but the values do not get filled in the second dropdown list box as you can see it is still showing “Asia-Japan”. When we click on the second drop down list box then only it fills the states of the country selected in the first dropdown list box and still showing the “Asia-Japan”.

 

Queries Set 1:

  • We don’t want the above feature; we want that if the user selects any value in the first dropdown list box and that list box causes post back and automatically clears the existing values of second dropdown list box and fill with new values.
  • Can we use ASP.Net dropdown list box inside the grid rather than Telerik ASP.NET AJAX’s dropdown list box?

 

Scenario 2: In Image 4, we are using ASP.NET AJAX’s dropdown list box within a ASP.NET AJAX’s Grid. When we select Cargo Type dropdown list box, it first displays “Loading…” and then fill the list box with the actual values from the database/ object.

Query Set 2:  We don’t want this “Loading…”, please provide us code to remove this feature.

 

Angel Petrov
Telerik team
 answered on 07 Aug 2013
1 answer
81 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
264 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
164 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
160 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
997 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
176 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
408 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
420 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
231 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?