Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
55 views
After bind the radgrid to datasource to show the data with start /end date and  other fields in the grid. If the user input start and date on the date picker outside the grid, and click serch.  I like to filter the grid again use something like FilterExpression (?) instead of rebind the grid on server side, is it possible, how I can do that? where the code should put to?

Thanks.
Princy
Top achievements
Rank 2
 answered on 27 Jun 2011
3 answers
316 views
Hi,

Does telerik Treeview(asp.net ajax control) support paging as we have lots of data that is displayed in triee view. so keeping perofrmance in mind, can we have some paging feature in Tree view?

Kindly reply at the earliest

Rupinderjit Singh
Dimitar Terziev
Telerik team
 answered on 27 Jun 2011
4 answers
175 views

I have problem with RadGrid inside RadAjaxPanel.
When I create page inside RadAjaxPanel and I use action more then 20 times,
for 20 times I have no answer from sever, page display RadAjaxLoadingPanel and it's end.
I'm try delete 20 records one by one.
I'm attach files, it's not complete project. http://goo.gl/vOqCD
If someone had a problem I would be grateful for your help.
Sebastian
Telerik team
 answered on 27 Jun 2011
5 answers
183 views
Hi,

I would appreciate if you can tell me if there is a property for minimum file size similar to MaxFileSize. My requirement is to prevent the user from uploading an empty (0KB) file. Most of our users use Internet Explorer and whenever they try to attach a file (empty/0KB), progress bar doesn't move at all and gets stuck in a limbo. It seems to be working fine in Firefox though.

In order to go around this problem, we have decided not to allow the user to upload empty files (0KB). Is there such a property for RadAsyncUpload that prevents the user from doing so?

My html looks something like this:

<telerik:RadAsyncUpload ID="uplCVAsync" runat="server" MaxFileInputsCount="1" MultipleFileSelection="Disabled"
EnableInlineProgress="true" AllowedFileExtensions='<%#AllowedExtensions%>' MaxFileSize="<%#MaxFileSize%>" OnClientProgressUpdating="checkUploadedFilesSize"
OnClientFileUploading="fileUploadStart" OnClientFileUploaded="fileUploadEnd"
OnClientFileUploadFailed="fileUploadEnd" OnClientValidationFailed="fileUploadValidationFailed">                                            </telerik:RadAsyncUpload>

If this property is not available, please advice other alternatives?

Irfan,
Genady Sergeev
Telerik team
 answered on 27 Jun 2011
3 answers
457 views
Hy
I do have the following scenario: I am having a Radgrid inside a visual Webpart which is using AJAX. The Radgrid with the Loadingpanel exists within the UserAdministrationUserControl, the RadAjaxmanager is added to the UserAdministrationWebpart.cs by following code:

protected override void OnInit(EventArgs e)
{
    base.OnInit(e);
    ajaxmgr = new RadAjaxManager();
    ajaxmgr.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(AjaxManager_AjaxRequest);
 
    Page.Items.Add(typeof(RadAjaxManager), ajaxmgr);
    Page.Form.Controls.AddAt(0, ajaxmgr);
 
}
 
protected override void CreateChildControls()
{
    Control control = Page.LoadControl(_ascxPath);
    Controls.Add(control);
    RadGrid panel = control.FindControl("RadGrid1") as RadGrid;
    RadAjaxLoadingPanel loadingPanel = control.FindControl("RadAjaxLoadingPanel1") as RadAjaxLoadingPanel;
    ajaxmgr.AjaxSettings.AddAjaxSetting(panel, panel, loadingPanel);
}

So far it works quite well. However I have the scenario, the Edit-Button of the Radgrid opens a ModalDialogPopup for editing the selected User. When editing is finished and the ModalDialog is closed, the Radgrid should be reloaded/refreshed. This is possible by a javascript function, which is called after closing the modaldialog by a callback. And here is my problem.

The Callback-function should do just the following:
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");


But of course that isn´t possible as the RadAjaxmanager doesn´t exist in the UserControl, where the Javascript and the other controls are.

I´ve tried giving the RadAjaxmanager an Id and finding it by:

$find('<%# this.Page.Forms.FindControl("MyRadAjaxManager").ClientID %>').ajaxRequest("Rebind");

But that doesn´t work, the Control cannot be found (in the console it returns the function as "$find('').ajaxRequest("Rebind") ).

While Debugging, I´ve found out, that the AjaxManager always gets the same ClientID, so the following is starting a refresh (i didn´t set the controls ID in that case):

$find("ctl00_ctl44").ajaxRequest("Rebind");

However, I do not want to hardcode the Controls ClientID. Besides, altough it is updating the Radgrid in that case, the LoadingPanel does not show up by using that Javascript (it works without a harm in all other cases eg. paging). And therefore it is not very userfriendly.

Any Help and suggestions will be very appreciated

Regards
Emir Prcic
Top achievements
Rank 1
 answered on 27 Jun 2011
2 answers
542 views
Hello
I have a simple radgrid (not in edit mode)  that i want to set some of his cells color, according to the value of the firs column of each row.
What i mean is to loop each row in the grid ,check the value of the first column of this gridraw and then set the colors of the rest of the cell in this gridraw according to this value.
How should i do it ?
Thanks,
Gerry
Gerry Polami
Top achievements
Rank 1
 answered on 27 Jun 2011
1 answer
76 views
Hi,

I want all my date formatting in my telerik controls formatted in British date format, I use different Rad contrls like RadGrid or RadCalendar, I want all of them display times in British format, is there any universal property setting for it in Telerik?

Regards
Mazdak
Shinu
Top achievements
Rank 2
 answered on 27 Jun 2011
0 answers
83 views

in my radgrid i bind description field that 5000 records are saved ,
i want to show this on four lines only ,
how i achieve this scenario  

Thanks,
Mohamed.
mohamed
Top achievements
Rank 1
 asked on 27 Jun 2011
4 answers
2.0K+ views
Hi,
the code I am using like this:  <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="300px" DataSourceID="SqlDataSource1"
        DataTextField="ProdName" DataValueField="ProdID" AutoPostBack="True"  AppendDataBoundItems="true">

How can I combine two fields ProdID and ProdName in DataTextField, I just want to display ProdID & " " & ProdName in combox list
Many Thanks

Zheng
Jayesh Goyani
Top achievements
Rank 2
 answered on 27 Jun 2011
5 answers
384 views
I'm trying to make a Cancel button for my RadEditor, but running into a problem.  On my site, I display the RadEditor as Enabled=false when the page loads.  The causes just the text to be seen, not all the editing controls and whatnot.

There is a "Add/Edit Text" button the user can click that will enable the RadEditor, and show my Submit and Cancel buttons.

When the user clicks my "Cancel" button, I'd like the RadEditor to once again be disabled AND discard any changes that were made.  I can disable it no problem, however the unsaved changes persist.

On the older RadEditor, when you clicked the native "Cancel" button, changes were discarded.  I'd like to replicate this using the new RadEditor.

Any suggestions?
d
Top achievements
Rank 1
 answered on 27 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?