Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
208 views

Hello,

I am using rad recurrence editor in which Saturday checkbox is checked by default. In order to resolve this issue I used below script 

 string scriptToRegister = "$('.rsAdvWeekly_WeekDays input:checkbox').each(function (index) { $(this).attr('checked', false); });";
 ScriptManager.RegisterStartupScript(this, this.GetType(), "RecurranceKey", scriptToRegister, true);

Using above script checkbox is getting unchecked but after that when I want to bind 'RecurrenceRuleText' to recurrence editor, it is not binding the rule properly. That means at the time of editing when I want Saturday checkbox as checked, so because above script it is unchecking the checkbox.

Could you please assists me on this issue?

Thanks and Regards,
Deepti
Plamen
Telerik team
 answered on 08 Apr 2014
1 answer
245 views

Hi,

I have a problem with your RadAsyncUpload.

When a download a large file, I disable my save button. But, if I cancel my download, how to enable my save button ?

I use this even

$telerik.$(".ruCancel").on('click', function() {
    enableButtons();
});

for dectect the cancel button click, but if I use RadAsyncUpload
when download 2 large file simultaneous, If I cancel my first file, my save
button is enable, but the second file has not finished to downloading. 

Are you an event to detect the cancel button ? I use
OnClientFileUploadedFailed but is not fired when I cancel my download.

I check your demo, and this link

http://www.telerik.com/forums/how-to-trap-when-user-clicks-on-cancel-button

but it’s not works.

Browser used : IE9, Chrome, Firefox.

 
Thank’s

Shinu
Top achievements
Rank 2
 answered on 08 Apr 2014
5 answers
518 views
Hi

We have a radgrid with one level nested grid.  When the grid is built on server side, we have some logic which allows a row in nested grid to get selected (in ItemDataBound event handler).  Code looks something like --

protected void rgGrid_ItemDataBound(object sender, GridItemEventArgs e)
{
    if (e.Item.ItemType = GridItemType.AlternatingItem || e.Item.ItemType == GridItemType.Item)
    {
        ...
        if (<something is true>) e.Item.Selected = true;
    }
}

The grid has a menu and when one of the buttons is clicked on it, we want to send the seleted item info to the popup from client side.
So the grid has a client side function like -
function rmuGridClientItemClicked(sender, args)
{
    return OpenWindow(url + "?SelectedItem=" + selectedItemId);
}

How do we get the selectedItemId?  I have tried using
var radGrid = $find("<%= rgGrid.ClientID %>");
var MasterTable = radGrid.get_masterTableView();
var row = MasterTable.get_dataItems();
var item1 = row[0].get_nestedViews()[0].get_selectedItems();

but get_selectedItems always returns empty array.

I think that it is because the item is getting selected on server but I am accessing it in JS code. 
Can someone suggest a way to do this the right way?

Thanks
Raka
abdul qadar
Top achievements
Rank 1
 answered on 08 Apr 2014
2 answers
192 views
Hi everybody,

I have a RadGrid with one GridDateTimeColumn .  When you type a date into their filter textbox and either press enter, the filter textbox simply clears itself and the value that i putting on it is ignored. After that if i put it the date again to their filter textbox everything works fine. How  can i do to fix when i am filtering at the first time?
Here's my code (aspx):
<telerik:GridDateTimeColumn  SortExpression="Situacao.Insercao"  Visible="true" AllowFiltering="true" AndCurrentFilterFunction="Contains" ShowFilterIcon="false"
                     AutoPostBackOnFilter="true" 
                      HeaderText="PENDÊNCIA"  DataField="Situacao.Insercao" FilterControlWidth="120px"
                    DataFormatString="{0:dd/MM/yyyy}" UniqueName="Situacao.Insercao"  DataType="System.Boolean" PickerType="DatePicker" EnableRangeFiltering="true" 
                    CurrentFilterFunction="Contains" AllowSorting="False"  FilterListOptions="AllowAllFilters">                                                                                                                                                                  
                </telerik:GridDateTimeColumn>
Thanks



Kenn
Top achievements
Rank 1
 answered on 07 Apr 2014
4 answers
532 views
Hello,

I've noticed you changed all the icons in the RadButton, in a SP (Q3 13 SP2). Strange.

I also noticed, for a while now (Q2 13?), that the RadGrid delete icon is a red cross, while in the TreeList is is adjusted to the skin (glowing gray) The edit icon is the same as the TreeList.

1. Why is the delete icon not like it is in TreeList?

2. How can I do this? (Including the mouseover effect!)

Regards,

Erik
Erik
Top achievements
Rank 2
 answered on 07 Apr 2014
6 answers
908 views
Hello

It's possible to get a demo on RadPageLayout ?

Here : http://demos.telerik.com/aspnet-ajax/


Thanks
Olivier,
Ivan Zhekov
Telerik team
 answered on 07 Apr 2014
1 answer
101 views
I have a custom RadMenu skin that I created and had styled how I wanted.  We recently upgraded our project to the newest version of Telerik, and I have noticed a white border around my sub menus (on the top, left, and right sides) that wasn't there before, and I can't figure out which styling combination will remove it.  I noticed that this border also appears on the menu in the RadMenu overview (http://www.telerik.com/help/aspnet-ajax/menu-overview.html).  I have attached this photo with a black box surrounding the white border I am talking about.  Can someone help me remove this border?
Magdalena
Telerik team
 answered on 07 Apr 2014
6 answers
213 views
I cannot find the correct CSS element to color the area just inside the border and outside .inner (or .fake input). Please see attached image.
A cannot find documentation for all the rddl elements like the combo box 
Magdalena
Telerik team
 answered on 07 Apr 2014
2 answers
343 views
Hi,

Here's my situation.

I have a RadWindow (separate aspx page) that contains a grid within a RadAjaxPanel (also tried just a plain asp Panel).
The grid is bound to a sqlDataSource.
The grid loads just fine when the RadWindow is initially launched.

The user fills out a few fields on the forms and clicks on Save.
I then call a webservice from javascript that adds a new record to this data source.
I now need to rebind the grid to show this newly added record.

I'm using the following function:
function RefreshGrid() {
            var grid = $find("<%= grdInputs.ClientID %>");
            var masterTable = grid.get_masterTableView();
            masterTable.rebind();
            // grid.repaint();  // tried adding this, but without any luck
        }

I've tried adding the following to my RadAjaxManager without any success either (with and without the 1st AjaxSetting):
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="grdInputs" />
    </UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="grdInputs">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="grdInputs" />
    </UpdatedControls>
</telerik:AjaxSetting>

What am I doing wrong?

Thanks in advance for any assistance.

Jim

jlj30
Top achievements
Rank 2
 answered on 07 Apr 2014
5 answers
298 views
Hello

Love your new control. Cuts out the requirement for me to write an entire page to control the rotation, flipping, etc of an image. I would like to know if you could add a "Fit To Width", "Fit To Height" and "Fit Image" option so the image can fit to the width of the control, height of the control and then the width and height of the control.

Regards,
Simon
Vessy
Telerik team
 answered on 07 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?