Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
107 views
Hi All,

<telerik:RadCalendar FirstDayOfWeek="Monday" ID="Calendar" runat="server" Skin="Default" TitleFormat="MMMM yyyy" Width="500px" Height="400px" ShowOtherMonthsDays="false" AutoPostBack="true" OnDayRender="Calendar_OnDayRender" TitleStyle-Height="10px" ShowRowHeaders="false" HeaderStyle-Height="10px">
</telerik:RadCalendar>

While increasing the height width of calendar, if I'll select multiple dates it'll post back page and then the cell effect with selected date will be spoiled.

How to deal with this problem?

Thanks in advance.
Iana Tsolova
Telerik team
 answered on 10 Jul 2009
5 answers
107 views
Hi,
    I am openoing a page in radwindow .when first time i open page page load event
is fired but after closing the radwindow and on again opening it pageload event not fired.
i am using IE 7.0 but in firefox pageload event is fired..
Please Help.
Shweta S
Top achievements
Rank 1
 answered on 10 Jul 2009
2 answers
109 views
Hi ,
           I have a check box grid. Once i select a row it gets high lighted. Please can you tell me how do i remove the highlight. It makes the grid look ugly.

Thank you

Regards,
Ajit
ajit
Top achievements
Rank 1
 answered on 10 Jul 2009
1 answer
99 views
Ok I have a dynamic menu which consists of dynamically generated images. Since these images are generated dynamically there are no heights and widths associated with them.

The menu has two levels and I would like the child group to be displayed starting beneath the first item of the menu, not directly below its parent! The reason is that the child group will actually span too long if it's directly below its parent item.

I want it like this:

| PARENT 1 | PARENT 2 |
| CHILD 1 | CHILD 2 | CHILD 3 |

The following JavaScript works if I don't use Images, only text, but unfortunately it doesn't work with images!

Can anyone help me please

    function OnClientLoad(sender, args) { 
 
 
        var counter = 0
        var width = 0
        menu = sender
        var temp = 0
        for (var i = 0; i < menu.get_allItems().length; i++) { 
            width = 0
            var item = menu.get_allItems()[i]; 
            if (item.get_level() == 1) { 
                var parent1 = item.get_parent(); 
                var parent2 = parent1.get_parent(); 
                var items = parent2.get_items(); 
                for (var j = 0; items.getItem(j).get_text() != parent1.get_text(); j++) { 
                    widthwidth = width + items.getItem(j)._getWidth();    
                } 
                parent1.get_groupSettings().set_offsetX(0 - width); 
                } 
 
        } 
 
 
    } 

Atanas Korchev
Telerik team
 answered on 10 Jul 2009
1 answer
140 views
Hello Everyone,


I am in a problem. I have taken a rad combobox and i have to bind items in combobox.
Items are arround 2500. when i am binding this, a warning is coming "script on this page is causing internet explorer to run slowly".
and when i select an item from this combobox it was opening and closing dropdowns very slowly.
i am binding data using the following method:

 

for (var rowIndex = 0; rowIndex < table.rows.length; rowIndex++) {

 

 

var rows = table.rows[rowIndex];
comboItem = new Telerik.Web.UI.RadComboBoxItem();

 

comboItem.set_text(rows.crm_sug_country);

comboItem.set_value(rows.crm_sug_country);

countryControl.get_items().add(comboItem);
}

 

countryControl.commitChanges();



Does anyone knows what is the best way to bind items in combobox ?
I am holding these tables in javascript arrays. can we load items from this array on demand as like server side?

Please tell me ASAP....

I will be highly oblized to yours..>>>>>>>>>>>>>>>

Thanks & Regards
Brijendra pandey
Simon
Telerik team
 answered on 10 Jul 2009
2 answers
150 views
Hi

We have a radwindow with a rad toolbar across the top and a rad treeview underneath.  In a seperate javascript file, I'm trying to find out which treeview node is currently selected when a button on the toolbar is clicked.  I have stored the Client ID of the treeview as an attribute of the menu and im using the Ajax $find method to locate the treeview object.  The treeview appears to be being found correctly but when i call the get_selected method im getting an object not supported error message.  Is there something obvious im misisng?

Below is a cut down version of the code I have in my Javascript file:

function ToolbarItemClicked(sender, eventArgs) {  
 
    var toolbar = eventArgs.get_item().get_toolBar();  
    var toolbarItem = eventArgs.get_item();  
 
    var ctrlID = toolbar.get_attributes().getAttribute("TreeViewID");  
 
    var treeview = $find(ctrlID);  
    var node = treeview.get_selected();  
 
}

For your information we using the Q2 2009 build.

Thanks in advance.

Paul
Paul Mc
Top achievements
Rank 1
 answered on 10 Jul 2009
2 answers
237 views
Hello,

I was able to set up the RadGrid subtable's datasource, but i want the RadGrid subtable grid to use the main datagrid selection as a parameter.  How would I do that?  Basically, if a selection is made, how do I use that selection or something like an EmployeeID as a parameter in the RadGrid/Sub Grid and Master Table/SubTable relationship without much programming?  Or is programming required and can you share with me how you did it?
Tsvetoslav
Telerik team
 answered on 10 Jul 2009
2 answers
187 views
Hi,

In RadTextBox is possible to auto tab? when you get your maxlength skip to the next field automatically? there examples? thanks.

Best.
Ernandes
Top achievements
Rank 1
 answered on 10 Jul 2009
1 answer
83 views
Hello,

I've set my grid disabled as following:
myGrid.MasterTableView.Enabled = False 
It seems everythins in the grid is diable then.
When I want to expand the group, it is also disable...

I try to enable the expanding as following, but failed:
myGrid.MasterTableView.Enabled = False 
myGrid.ClientSettings.AllowGroupExpandCollapse = True 
Is it possible to enable the expanding group?
Thanks advance.

best regards
Chenghan
Pavlina
Telerik team
 answered on 10 Jul 2009
1 answer
128 views
Hello,

I'm loading user control(s) into my tooltips using AJAX. This is working ok, but when the user first clicks on the targetcontrol, the tooltip appears as a 10px high box with a full screen width. This happens in the loading phase (where a spinny should be shown) while the usercontrol is being loaded by ajax. When the user control loads, the tooltip suddenly changes to the right size (to fit the usercontrol content), but instead of being near to the target control, it positions itself at the far left of the screen.

I have noticed that if I specify exact width and height in tooltip manager, then the problem goes away - however, I cannot use these properties as I need the tooltip to grow/shrink to fit various different usercontrols with different height/width content.

Any ideas?
Matt
Adam Hubble
Top achievements
Rank 1
 answered on 10 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?