Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
168 views
I have two RadComboBox controls on a page and both of them are being fed from the same XML Data Source. When I select an item from the list and then click on the next ComboBox or anywhere else on the page, the selection goes back to the original selection which is always just the first item in the list. The selected item never holds. This is true for both ComboBox controls and I cannot figure out why.

I did just find out that if I tab through each control and use my arrow keys to select the items, then the selections will hold, but not if I use my mouse.
Dimitar Terziev
Telerik team
 answered on 26 Feb 2013
3 answers
237 views

I have a RadGrid binded to a SessionDataSource .

and I want to fire RadGrid PerformInsert Command, I don't want to use the SessionDataSource
Insert() Function
 because the values has to be sent into an IDictionary Type. anyway I want to fire the insert command from the Grid itself by assigning the DefaultValues of the SessionDataSource<InsertParameters>.

OR ,

If I just knew how convert a DataTable or DataSet into IDictionary Type with a For Loop through Table Rows , It will acheive the Goal.

Shinu
Top achievements
Rank 2
 answered on 26 Feb 2013
9 answers
315 views
Hello

I have a custom skin for RadGrid. What should i change in css to have my page size dropdown rendered correctly.
See the attached image.
Eyup
Telerik team
 answered on 26 Feb 2013
0 answers
464 views
These issues are fixed in Q1 2013 SP1.

In Q1 2013 the Server-side OnClick event handler is not called and Client-side validation is not performed when ValidationGroup is set for a RadButton. The scenarios are as follows:

  • The Server-side OnClick event is not triggered by a RadButton when it is used on a master page and the button's ValidationGroup property is set. This behaviour is observed under Internet Explorer, Chrome and Safari, but not in FireFox and Opera. If, however, the RadAjaxManager is used in the master page the issue is observed in all browsers. (Link to feedback portal)
  • Client-side ASP.NET validation is not executed when it is initiated by a RadButton and its ValidationGroup property is set. The unexpected behaviour is observed under FireFox and Opera. (Link to feedback portal).

These issues have already been fixed in the 2013.1.227 internal build and the fixes will also be present in the upcoming Q1 2013 SP1. The internal build can be used for development and it can be downloaded from this page. For the time being the following workaround can be used in both scenarios.

This is a common setup that will cause the problems described above:

<asp:TextBox runat="server" ID="TextBox1" />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
    ValidationGroup="TextBoxValidation" Text="*" />
<telerik:RadButton runat="server" ID="RadButton1" ValidationGroup="TextBoxValidation"
    Text="Submit" />

This function override should be placed at the end of the page to fix the issues:
<script type="text/javascript">
    Telerik.Web.UI.RadButton.prototype._buildPostBackOptions = function() {             
        var options = this._getPostBackOptions() || {
            eventTarget: this.get_uniqueID(),
            eventArgument: this.get_enableSplitButton() ? 'RadButtonEventArguments': '',
            validation: this._validationGroup ? true: false,
            validationGroup: this._validationGroup,
            actionUrl: this._navigateUrl || '',
            trackFocus: false,
            clientSubmit: !this.IsInputTypeSubmit() || this.get_singleClick() || this.get_buttonType() != Telerik.Web.UI.RadButtonType.StandardButton || this.IsImageButton(),
        };                   
        return "new WebForm_PostBackOptions('" + options.eventTarget + "', '"
            + options.eventArgument + "', "
            + options.validation + ", '"
            + options.validationGroup + "', '"
            + options.actionUrl + "', "
            + options.trackFocus + ", "
            + options.clientSubmit + ")";
    }
</script>
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 26 Feb 2013
2 answers
173 views
Hi,

I am using the new Search component to search for nodes in a RadTreeView. (Is there a way to do this directly?)

I'm using an ArrayList to capture all my node names, and during Page_load, I am populating this ArrayList and then setting the datasource of my search box to this list.

// this line is in a for loop, adding elements to my arrayList
measureSearchNodesList.Add(m.ToString());

RadMeasuresSearchBox.DataSource = measureSearchNodesList;

This seems like it should work based off the documentation, but any letter I type into the box returns a client side error of "Datasource not sets."

I haven't done much with my onSearch event handler just yet, because I wanted to first ensure the search box was getting bound. Any ideas?

Thanks,

Ajit
Bozhidar
Telerik team
 answered on 26 Feb 2013
3 answers
104 views
I have a ListBox control on a page which is being fed from the an XML Data Source. I have it setup to allow for multiple selections without using checkboxs. I am able to select the multiple selections using the Ctrl key as I would expect, but after I click my submit button to process the data, none of the selections are there and I cannot figure out why. I have been using these controls for a number of years now and have never run into this problem.
Bozhidar
Telerik team
 answered on 26 Feb 2013
3 answers
79 views
Hello sir,

I am student i am use for telerik control my project please some help me my problem is :-

1)   How to Clear RadAsyncUpload Multiple Uploaded file
Princy
Top achievements
Rank 2
 answered on 26 Feb 2013
11 answers
544 views
I am implementing the RadFileExplorer on a page and I can't figure out how to do a few things with the upload file dialog.

I have attached an image of the upload dialog associated with the control for reference to what I'm requesting.

Firstly, I would like to remove the div that holds:
  • Max file size allowed:
  • File extensions allowed:

And secondly, I would like to remove the checkbox, and text associated with 'Overwrite if file exists?'

And thirdly, the upload button at the very bottom does not follow my skin of WebBlue.

Vessy
Telerik team
 answered on 26 Feb 2013
3 answers
403 views
Hi

I have a page where am using Iframe, which has the source to another aspx page, which has radedtor.

I want to get this radeditor's content using Javascript fome the page that has the iframe.

Is this possible?

Thanks
Stanimir
Telerik team
 answered on 26 Feb 2013
2 answers
210 views
How to obtain reference to a RadComboBox in a RadGrid on INSERT using javascript? I am using form template for insert.
Naynish
Top achievements
Rank 1
 answered on 26 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?