Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
76 views
I'm in the process of switching over all references to the AJAX Control Toolkit to using your controls.  On one of my pages I use their TabContainer.  In my work I discovered that the RadTab control does not have an "ID" property.  Why was this excluded?

In my existing code I have one event handler method to do assorted things when the user switches tabs.  It needs to differentiate between each tab.  Oh sure, what I'll just do is look for the Text property of the tab but if that text ever changes then the code will break unless I go through and search & replace all references to the tab's text value.

Which brings us full circle: Why does each RadTab not have an ID property?
Kate
Telerik team
 answered on 27 Jan 2012
1 answer
51 views
I have a grid that displays employees, showing their names, id numbers, dept., etc. 

When entering a new employee there is a significant amount of data that need to be inserted into the record, some of which needs editing.  Is it possible to use the AddNewRecordButton in the command Item display to send the user to a new page where editing could be done?
Jayesh Goyani
Top achievements
Rank 2
 answered on 27 Jan 2012
1 answer
49 views
In Scheduler, via css, how to make this:
when the user click outside of the raDatePickerCalendar, the calendar to dissapear, just the same way it's happening with RadCalendarMonthView_Default?
Peter
Telerik team
 answered on 27 Jan 2012
1 answer
52 views
Hi All,
        I am using Rad upload control and uploading the document in SharePoint Document Library.After uploading the document I want to change it's extension to .txt file can any one help me how can I change the extension after  the uploading document
Cat Cheshire
Top achievements
Rank 1
 answered on 27 Jan 2012
1 answer
70 views
Hi,
Let me know if this is possible, in day view I want to show full day i.e. 24 hours. But when the view loads I want to scroll to a particular time say 8 AM. Let me know if this is feasible.

Peter
Telerik team
 answered on 27 Jan 2012
1 answer
49 views

Good morning,
I need to dynamically change which elements in a RadComboBox drop down list are visible.
In the code below, the value selected in the first combo box (sender) is used to constrain the value in the second combo box (rcbAsgn) using some information stored in the tooltip for the item.
I tried the following:

function RCBProjects_OnClientSelectedIndexChanged(sender, eventArgs) {
     var selPrjTUID = sender.get_value();
     var rcbAsgn = $find("<%= RCBAssigned.ClientID %>");
     var itms = rcbAsgn.get_items();
     var i; var itm; var ttt;
     rcbAsgn.trackChanges();
     for (i = 0; i < itms.get_count(); i++) {
         itm = itms.getItem(i);
         ttt = itm._properties._owner._element.attributes[0].value;
         var pos = ttt.lastIndexOf("-");
         var tttid = ttt.substr(pos + 2, ttt.length - pos - 1);
         if (tttid.valueOf() == selPrjTUID.valueOf()) itm.show();
         else itm.hide();
     }
     rcbAsgn.commitChanges();
 }

Everything seems to work fine except that, when complete, the second combo box no longer drops down. It is stuck on whatever value it had with no drop down capability at all - even though I have verified that, for example, two of four items have been shown with the other two hidden.

Any ideas?
Thanks.
Chris

Kalina
Telerik team
 answered on 27 Jan 2012
1 answer
91 views
Hi,

I'm initializing the grid with a blank row using GridTemplateColumn and an empty datatable.
My scenario is that the user can fill this empty row and another empty row will be automatically added upon the user fill the 1st row.

However, when another empty row is added, the previous data in the 1st row became empty.
I want to add another row and keep the data in the previous row.

Nothing is saved in database until the user hits on "Process" button.

Please do let me know how I can achieve this scenario.

Thanks,
Bilal
Marin
Telerik team
 answered on 27 Jan 2012
11 answers
272 views
Recently I have been researching ways to speed up our web application loading time.  One of the things that I noticed was that we use the RadScriptManager in several different pages throughout the site.  What is the real performance gain when using the RadScriptManager with combining scripts enabled.  I realize that this reduces the number of http requests needed by the browser, but does that really translate into real world performance?  One of the major flaws I have discovered is that if each page does not contain the exact same controls, that particular page will have to load its own version of javascript in the form "/Telerik.Web.UI.WebResource.axd?"  Consider the following senario assuming all pages have the RadScriptManager attached with script combining enabled.  I load the initial page of the website which has some telerik controls.  The page loads its telerik web resource and caches the page.  I then open a child page, this page has an extra telerik control on it and therefore the page must also download its own telerik webresource.  This webresouce for the child page contains all the microsoft ajax javascript along with all the telerik javascript that was downloaded in the previous page plus a little extra for the new control.  In my eyes this is actually hurting my performance.  I have already downloaded the microsoft ajax libraries and most of the telerik code needed for the child page so why do I need to download the entire 300 to 500 KB of javascript information over again (in my experience)?  Assuming that this can go on for several pages without getting an actuall solid cache, what kind of performance gain does this control actually offer?
Andrew
Top achievements
Rank 1
 answered on 27 Jan 2012
1 answer
110 views
I've just upgraded to the latest version of telerik to take advantage of the new drag and drop functionality, however I'm having trouble using this feature on my Motorola Droid X. The examples I've found online haven't been too helpful.  I have the following client settings on both the grid and the scheduler.
        <ClientSettings AllowRowsDragDrop="True">
            <Selecting AllowRowSelect="True" />
            <ClientEvents OnRowDropping="rowDropping" />
        </ClientSettings>
 
 
 
function rowDropping(sender, eventArgs) {
    // Fired when the user drops a grid row
    var htmlElement = eventArgs.get_destinationHtmlElement();
 
    var scheduler = $find('<%= RadScheduler1.ClientID %>');
    scheduler.get_element().style.width = k.SchedulerPreferences.SchedulerWidth + "px";
    scheduler.repaint();
    if (isPartOfSchedulerAppointmentArea(htmlElement)) {
        // The row was dropped over the scheduler appointment area
        // Find the exact time slot and save its unique index in the hidden field
        var timeSlot = scheduler._activeModel.getTimeSlotFromDomElement(htmlElement);
        $get("TargetSlotHiddenField").value = timeSlot.get_index();
        // The HTML needs to be set in order for the postback to execute normally
        eventArgs.set_destinationHtmlElement("TargetSlotHiddenField");
    }
    else {
        // The node was dropped elsewhere on the document
        eventArgs.set_cancel(true);
    }
    refreshPage()
}


What am I Missing? Any help would be much appreciated!
Peter
Telerik team
 answered on 27 Jan 2012
2 answers
87 views
hi

This is probably really simple but I can't work it out, how do you set a different colour for the root items and the child items? I basically want white text for the root and black text in the child items.

Thanks
Martin.
martin
Top achievements
Rank 2
 answered on 27 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?