Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
978 views

Currently, I have a RadGrid with dropdown list filtering on each column added to the grid programmatically.

 

 

Public Class GridDropdownFilterColumn : Inherits GridBoundColumn
....

 

Dim

 

_column As New Core.RadGrid.GridDropdownFilterColumn

 

...

InboxGrid.MasterTableView.Columns.Add(_column)
...

How can I change the dropdown list in one or more of my columns to contain checkboxes and have the grid filtered on the selected values?

I got the idea from the following example:  
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultcs.aspx

zozzancs
Top achievements
Rank 1
 answered on 15 May 2014
4 answers
200 views
Hello,

I try to use the feature FilterType=CheckList of the radgrid. 

So I defined the CheckListWebServicePath property of the MasterTableView and the FilterCheckListWebServiceMethod (GetCities) of the GridBoundColumn. 
Problem is that I always get the same error when I click on the filter button : 
Server method failed : GetCities. 

So, I guess the link with the WCF service is not correct. Thing is I don't understand what to put exactly on the CheckListWebServicePath. Is it the link like "http://localhost:xxxx/MyService.svc" or a direct link like "..\..\MyService.svc" ? 

I tried everything (as shown in the online basic filtering example) but with no success. 
Note that if I call my GetCities method in the C# codebehind, it's working fine : 
MyServiceClient test = new MyService.MyServiceClient();
RadListBoxItemData[] lstTest = test.GetCities(new Dictionary<string, object>());

If needed, I can provide a project example. Thank you, JC






Vasil
Telerik team
 answered on 15 May 2014
10 answers
449 views
Hi,

I notice that the RadDatePicker control has a nice feature - if you put an invalid date into the field, the border of the control turns red and a little yellow triangle with an exclamation mark appears inside the textbox.

Is it possible to do this with a RadTextBox or a RadComboBox?

If so, how do we do this?

Thanks.

Matt.
Vasil
Telerik team
 answered on 15 May 2014
1 answer
111 views
I'm trying to figure out how to get the OrgChart to work with a large .NET dataset but I'm not having much luck.

If I just bind the dataset using .DataSource it takes over a minute to draw the nodes and the page is less than responsive.  That's no good.

I tried setting the property LoadOnDemand="Nodes" but that doesn't seem to do anything.  All the nodes are rendered.

I can limit the number of levels on the initial rendering using the MaxDataBindDepth property.  That works great but I don't see + signs on nodes that have children so I can't expand the tree as I would expect.

The Load on Demand demo looks like it would provide functionality that I want but it is setup to do grouping which I don't want.  Is there an example somewhere of a straight forward bind to a .NET dataset (or datatable) with LoadOnDemand that only loads 2 or 3 levels then allows you to click on the + on each node that has children to further expand the tree?
Plamen
Telerik team
 answered on 15 May 2014
1 answer
57 views
Hi,

I seem unable to upload any large-ish files (around 20mb up) in IE (any version) and Chrome. However, Firefox works fine.

Using the development tools in Internet Explorer, I have noticed that a 404 error occurs. I have run though the following steps:

http://www.telerik.com/help/aspnet-ajax/upload-uploading-large-files.html

Unfortunately,  This hasn't help.

We are currently running under IIS 7.5

Markup

<telerik:RadAsyncUpload ID="ruFiles" runat="server" Skin="" ControlObjectsVisibility="None"
                                DisablePlugins="true"
                                OnClientFileUploaded="doFileUpload"
                                OnClientFileSelected="showLoading"
                                OnFileUploaded="rauFiles_FileUploaded"
                                EnableFileInputSkinning="false"
                                MaxFileSize="214748364"            
                                OnClientValidationFailed="OnClientValidationFailed"
                                OnClientProgressUpdating="onClientFileUploading">
                                <Localization Select="" />
                             </telerik:RadAsyncUpload>

Web.Config
<requestFiltering>
        <!-- the posted content for normal pages should be less than 1 MB.
                     File uploads are handled by the location attribute. -->
        <requestLimits maxAllowedContentLength="10485760" />
      </requestFiltering>
 
<httpRuntime maxRequestLength="1073741824" requestValidationMode="2.0" />


Plamen
Telerik team
 answered on 15 May 2014
3 answers
193 views
Hi All,
                Script can be recorded for Telerik Web Application in QTP & Selenium tools? If not please suggest other tools other than Telerik product..
Raj
Top achievements
Rank 1
 answered on 15 May 2014
1 answer
149 views
I'm looking for an expand/collapse control to display different sections/Panels on the page.  These are static sections and would be hardcoded.  The data within each section will be dynamic but the sections themselves would be hardcoded.  None of section names exist in a database.  So I'm looking for a control that will let me manually define each section.  I would like to use CollapsiblePanel in ajaxToolkit but this is a multi-developer environment and none of the other developers have ajaxToolkit installed.  However, we do all have RadControls installed.  So a RadControls alternative to CollapsiblePanel would be preferable.  Is there such a thing and I just haven't found it yet?  I explored RadGrid but couldn't figure out how to just add my own static rows.  I have 10 pre-defined panels/rows and only one column so I feel like using RadGrid would be complete overkill but haven't found a RadControl that will doa basic CollapsiblePanel effect.

Example:
Section Title:  User Information
Panel:  Multi-line User's Information

Section Title:  User History
Panel:  Detail User History

Section Title:  User Assignments
Panel: Detailed User's Assignments

And so on, all collapsible so the visitor can collapse the sections and see more on the screen at a time.  

Any thoughts?
Eyup
Telerik team
 answered on 15 May 2014
6 answers
289 views
I have a asp.net page in which i have a panel. In this panel, i load controls (text box) dynamically. And under this panel I have a radeditor. When user change an textbox field, i change content of my radeditor like this :

function ChangeTextEditorFieldValue(sender, args) {
v
ar elem = sender.get_element();

 

var attributedElem = document.getElementById(elem.id + '_text');

 

var fieldName = attributedElem.getAttribute('fieldCode');

var oldValue = args.get_oldValue();
var newValue = args.get_newValue();

var editor = GetFormEditor();

if (!oldValue) {
  var newhtml = ReplaceAll(editor.get_html(true), "{" + fieldName + "}", "[" + newValue + "]");
  editor.set_html(newhtml);
...

When i do this, RadEditor got focus but I want to set focus to ELEM (textbox i've change) like this :

elem.focus();

but focus stay on radeditor. Why ??? I'm on IE9

Ianko
Telerik team
 answered on 15 May 2014
9 answers
134 views
The problem can be seen on the Telerik demo editor. I'm using safari on iOS 7.1. I'll attach screenshots to show the problem.

Steps to reproduce:

Tap in the editor, placing the cursor somewhere in the middle of the editable area. (screenshot 1)

Start hitting Return on the iOS keyboard until the cursor reaches the bottom of the editable area. (screenshot 2)

At this point, if you continue to hit Return, rather than staying at the bottom of the editable area and scrolling the editor content up, the cursor continues moving down past the bottom of the editor. In screenshot3 you can see the cursor well below the editor at the bottom of the screen.

Is there a workaround solution for this problem? Can we expect the problem to fixed in a future build?

Ianko
Telerik team
 answered on 15 May 2014
5 answers
799 views
I am adding a radio button in each row of my radgrid as follows on OnInit:
              string templateColumnName = "Select One";
           GridTemplateColumn templateColumn = new GridTemplateColumn();
           templateColumn.ItemTemplate = new RadioButtonTemplate(templateColumnName);
           templateColumn.HeaderText = templateColumnName;
           this._RadGrid1.MasterTableView.Columns.Add(templateColumn);


public class RadioButtonTemplate : ITemplate
{
    RadioButton radioButton;
    String columnName;
    public RadioButtonTemplate(String colName)
    {
        columnName = colName;
    }
 
    public void InstantiateIn(System.Web.UI.Control container)
    {
        radioButton = new RadioButton();
        radioButton.ID = columnName;       
        container.Controls.Add(radioButton);       
    }
}


How can I enable only single selection at a time and capture the row selected?
Princy
Top achievements
Rank 2
 answered on 15 May 2014
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?