Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
246 views
Does Telerik Controls work with Load Runner? If so can we get some guidance.

All your help is greatly appreciated.

Thanks
Prashant  
Bodevain Svensson
Top achievements
Rank 1
 answered on 15 Feb 2011
4 answers
153 views
I have a single radcontext menu on a page. This context menu gets filled with items from a scriptservice using the radscriptmanager.
Now the problem lies in that the screen boundary detection doesn't work, my context menu is always clipped on the bottom and on the right of the page. The scrollbars apear but the context menu doesn't scroll into view. The code to open the context menu :

DocroomPageController.prototype.ShowContextMenu = function(e, row, LoadDelegate, subparam) {
    PageController().PreventContextTimeout();
    PageController().HideContextMenu();

    var menu = PageController().GetContextMenu();
    menu.hide();

    if (menu.get_items().get_count() > 0) {
        menu.get_items().clear();
    }
    this.contextevent = e;
   
    if (!subparam) {
        LoadDelegate(row);
    }
    else {
        LoadDelegate(row, subparam);
    }
   
    menu.show(e);

    $telerik.cancelRawEvent(e);

}

DocroomPageController.prototype.ContextCompleteCallback = function(ResponseObject, ResponseAsXml, ResponseAsText) {

    var menu = this.GetContextMenu();
    var i;

    for (i = 0; i < ResponseObject.length; i++) {
        var childItem
        var exists = false;
        if (menu.get_items().getItem(i)) {
            exists = true;
            childItem = menu.get_items().getItem(i);
            childItem.set_text(ResponseObject[i].Text);
            childItem.set_value(ResponseObject[i].Value);

        }
        else {
            childItem = new Telerik.Web.UI.RadMenuItem();
            childItem.set_text(ResponseObject[i].Text);
            childItem.set_value(ResponseObject[i].Value);

        }
        if (ResponseObject[i].isSeparator == true) {
            childItem.set_isSeparator(ResponseObject[i].isSeparator);
        }

        if (ResponseObject[i].Image) {
            // alert(ResponseObject[i].Image);
            childItem.set_imageUrl('./Images/' + ResponseObject[i].Image);
        }
        if (!exists) {
            menu.get_items().add(childItem);
        }
        childItem.set_navigateUrl(ResponseObject[i].NavigateUrl);

        if (!childItem.get_visible()) {
            childItem.show();
        }
    }

}

with an example of a loaddelegate :

 

DocroomPageController.prototype.LoadContextItems =

function(item) {

 

ContextMenus.GetObjectContextMenuItems(item, delegate(PageController(), PageController().ContextCompleteCallback), delegate(PageController(), PageController().ErrorCompleteCallback));

}



We are using the context menu within pages loaded in a radpane.
Kate
Telerik team
 answered on 15 Feb 2011
1 answer
97 views

hi,

i have this in the <ItemTemplate>
...
<asp:LinkButton ID="DelCom" runat="server" Visible="true" CommandName="TOTO"></asp:LinkButton>
...

in the itemdatabound i have this 
...
    Dim DD As String = Session("CLE_REF_LANGUAGE")
            Dim cle_lien_com As String = CType(DataBinder.Eval(CType(e.Item, RadListViewDataItem).DataItem, "CLE_LIEN_COMMENTAIRE"), String)

            Dim LnkDelCom As LinkButton = CType(e.Item.FindControl("DelCom"), LinkButton)
            LnkDelCom.Text = TClass.TRAD_OBJ("TXT_SUPPRIMER", DD)
            LnkDelCom.CssClass = "Del_LnkCom"
            LnkDelCom.Visible = True
            LnkDelCom.CommandArgument = cle_lien_com
            LnkDelCom.CommandName = "DelCom"
            AddHandler LnkDelCom.Command, AddressOf LnkDelCom_Click
...

the linkbutton appear ok !
but when i click on the link in IE, i have no event...

normaly listview start this event ???

Private Sub RAD_LV_ItemCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadListViewCommandEventArgs) Handles RAD_LV.ItemCommand

        Dim z As String = e.CommandName
        Dim v As String = e.CommandArgument

    End Sub

Veli
Telerik team
 answered on 15 Feb 2011
1 answer
70 views
Hey we are using Telerik controls for our site. We use HP QTP for recording our test scripts . Our research gave solutions for RADCombo but just wanted to check if all Telerik controls are now supported for HP QTP. If this is not the right place to ask the question can you guide us to the right place.


Thanks
Prashant  
Bodevain Svensson
Top achievements
Rank 1
 answered on 15 Feb 2011
4 answers
157 views
Hi,
I was exploring how to highlight correct 'today' in scheduler depending on the time zone (my application is set up in a way that the admin sets in which time zone the application is being used, enabling the application to be hosted in one time zone and used in another) and came across this help page. I feel the TimeZoneOffset property does not offer perfect solution to display events according to the time zone.

Consider the following scenario, where you have two events:
(a) at 11AM, 2nd April 2011
(b) at 11AM, 4th April 2011

Your time zone is Brisbane, Australia, which is UTC+10
Upon setting the TimeZoneOffset to timespan of 10 hours, you'll see both the events at their correct times.

But say your time zone is Melbourne, Australia which is UTC+10, but it practices daylight saving (whereas Brisbane does not). At the time of (a), DST is on, and at the time of (b), DST is off. (Note that DST for Melbourne will be switched off on 3rd April 2011)
If you set the TimeZoneOffset to 11 hours, only event (a) will be displayed correctly.
If you set the TimeZoneOffset to 10 hours, only event (b) will be displayed correctly.

Hence I feel it does not handle DST's correctly in the scheduler. Did I miss anything here?

Best regards,
Anuruddha



Nikolay Tsenkov
Telerik team
 answered on 15 Feb 2011
3 answers
122 views
I'm trying to produce a result similar to this:

http://www.telerik.com/help/aspnet-ajax/grdcustomizewithgridtemplatecolumn.html

However the problem is that I HAVE to be able to click the individual column headers to sort the grid, so I really need to use GridBoundColumn and the rest.  Is there any way to add the "parent" header item whilst using the normal Telerik column objects?

cheers
Pavlina
Telerik team
 answered on 15 Feb 2011
6 answers
109 views
Hello, 

I'm having a special issue on IE 6 and the scheduler.

Yes, only on IE 6, when I click on a day (in the month view) it fire the event : RadSchedulerPlanning_FormCreating (perfect !) but the e.Appointment.Start is half of the time the second cell of the active month view half of the time the correct date I click.

This issue is only on IE 6... So it's quite awkward!

Thank you to help me on this issue

Jean-Yves
Nikolay Tsenkov
Telerik team
 answered on 15 Feb 2011
3 answers
125 views
IE8 display radbuttons placed next to one another a little jumpy (please see screen shot).
Pero
Telerik team
 answered on 15 Feb 2011
3 answers
122 views
Dear All,

I have a radgrid which have some column with data value is html code, for examples of two the following data row :
  • <nobr><span><a href="/_layouts/userdisp.aspx?ID=9">Developing Lead-Hai Nguyen</a><img border="0" height="1" width="3" src="/_layouts/images/blank.gif"/><img border='0' height='12' width='12' class='ms-imnImg' src='/_layouts/images/blank.gif' alt='' /></span></nobr>
  • <nobr><span><a href="/subsite01/_layouts/userdisp.aspx?ID=14">Conductor Lead-Truc Bui</a><img border="0" height="1" width="3" src="/_layouts/images/blank.gif"/><img border='0' height='12' width='12' class='ms-imnImg' src='/_layouts/images/blank.gif' alt='' /></span></nobr>

And them will appear in radgrid with the link string as follow :
So when i sort this column to ascending, the result will appearing as follow :
And else when i sort this column to descending, it will appearing as follow :
I would like radgrid will show as the follow when i was sorted it :
- Ascending sort :
- Descending sort :
please help me solve this problem, thanks in advance.

Phu Dang.

Phu
Top achievements
Rank 1
 answered on 15 Feb 2011
7 answers
168 views
Hello,

i would like to know how easy or hard can be use the RadSchedulerRecurrenceEditor control on Sharepoint 2010. My webpart works with sharepoint calendar lists, but with it´s own interface to add, edit....

The main requirement is, that my webpart must be transparent to sharepoint. I mean if the users goes straight to the sharepoint list, Sharepoint must recognize the recurrence rule, caml querys...

Thanks
Kalina
Telerik team
 answered on 15 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?