Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
Is it possible to add controls to a RadToolTipManager's TargetControls collection using the client-side API?

I'm populating a RadComboBox on the client and want to create tooltips for each of the items.

--
Stuart
Slav
Telerik team
 answered on 05 Jun 2013
2 answers
71 views
Hi,
I am having problems with this or I am not sure if this is a problem or if it just works like this. Here is my problem everything works fine but when I edit a recurring appointment it creates a whole new appointment with the resource changes. So it now has two appointments one that is linked to the recurring master and one that is independent. is there a way to do this where it just edits the recurring not inserting a new one. Or should I say referecnces the master in the recurrencePartentID and does not show two appointment just one. My code is the exact same as the demo I also notice that it does this on the demo also. I hope there is a way to do it the way I need it to. Thanks for any help also sorry I am very new to this so please bear with me.
Plamen
Telerik team
 answered on 05 Jun 2013
7 answers
229 views
Hi,

I'm having a problem with removing menu items from the client side.  Specifically, I run into an issue when I try to remove the last root menu item.

I have noticed that you have the same issue in your demo here:  http://demos.telerik.com/aspnet-ajax/menu/examples/programming/addremovedisableitemsclientside/defaultcs.aspx

To reproduce the problem, select "Books", click "Delete selected Item", then, select "Music" and click "Delete selected Item".  You will find that the Music menu item still exists in the menu, and when you move the cursor over the menu, it throws a javascript exception.  Is there a known work-around for this issue?

Thanks,

Brad

Boyan Dimitrov
Telerik team
 answered on 05 Jun 2013
1 answer
137 views
Is there a way to display different text as a user hovers over individual items for a rad combobox? I don't care if it's a tool tip or not, it's just simple text. Basically, I have a combo box of abbreviated items, and I'd like to display the full name as you hover over them to select one.
Plamen
Telerik team
 answered on 05 Jun 2013
12 answers
696 views
When I tried to render Telerik reports(based on Telerik:RadControls) on IE 10 (Windows 8), then I was facing following error:
" SCRIPT5022: NoModificationAllowedError"


After that I overrided function "Telerik.Web.UI.Overlay.prototype"  by the following code::

     Telerik.Web.UI.Overlay.prototype = { initialize: function () {
            var _13f = document.createElement("div");
            _13f.innerHTML = "<iframe>Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>";
            this._element = _13f.firstChild;
            this._element.src = "javascript:'';";
            this._targetElement.parentNode.insertBefore(this._element, this._targetElement);
            if (this._targetElement.style.zIndex > 0) {
                this._element.style.zIndex = this._targetElement.style.zIndex - 1;
            }
            this._element.style.position = "absolute";
            this._element.style.border = "0px";
            this._element.frameBorder = 0;
            this._element.style.filter = "progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";
            this._element.tabIndex = -1;
            this.updatePosition();
        }, dispose: function () {
            if (this._element.parentNode) {
                this._element.parentNode.removeChild(this._element);
            }
            this._targetElement = null;
            this._element = null;
        }, get_targetElement: function () {
            return this._targetElement;
        }, set_targetElement: function (_140) {
            this._targetElement = _140;
        }, updatePosition: function () {
            this._element.style.top = this._toUnit(this._targetElement.style.top);
            this._element.style.left = this._toUnit(this._targetElement.style.left);
            this._element.style.width = this._targetElement.offsetWidth + "px";
            this._element.style.height = this._targetElement.offsetHeight + "px";
        }, _toUnit: function (_141) {
            if (!_141) {
                return "0px";
            }
            return parseInt(_141) + "px";
        }
    };

 
Now, I am facing another error:
"SCRIPT5007: Unable to get property 'documentElement' of undefined or null reference"

I think all these errors are coming due to IE document Mode: standard is not handling these telerik dlls of above mentioned version
So, any suggestion or solution is welcomed
Ana
Top achievements
Rank 1
 answered on 05 Jun 2013
1 answer
131 views
Hi,

I am populating a radcombobox using the item requested server event. The data is fetched from the database instantly and its being populated. I want to display a "Loading" text explicitly and then only it should be populated.  Any possible method?

Thanks,
Shahi.
Princy
Top achievements
Rank 2
 answered on 05 Jun 2013
14 answers
341 views
I am trying to use the drag-and-drop reordering capabilities of the list box control.  I see that there is an Index property in the EventArgs that seems to vary depending on where I drop the dragged list items.  I don't, however, understand the value of this property.  If I am moving items down in the list, Index seems to be the 0-based index of the item after which the dragged items have been dropped.  If I am moving items up in the list, the Index property seems to be 1 more than that.  Perhaps I am thinking of this incorrectly.  Could you please explain the expected behavior?  Thx.
Chris
Top achievements
Rank 1
 answered on 05 Jun 2013
3 answers
784 views

Problem: how to show a RadAjaxLoadingPanel from an ascx after a javascript _doPostBack

First I explain my situation…

Main page containing an ascx. In the main page I must have ajaxManager and ajaxLoadingPanel


ASPX
 
<telerik:RadCodeBlock ID="RadCodeBlockMain" runat="server">
    <script type="text/javascript">
 
        var currentLoadingPanel = null;
        var currentUpdatedControl = null;
        function RequestStart(sender, args) {
            currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
            currentUpdatedControl = "<%= Panel1.ClientID %>";
             
            //show the loading panel over the updated control
            currentLoadingPanel.show(currentUpdatedControl);
        }
        function ResponseEnd() {
            //hide the loading panel and clean up the global variables
            if (currentLoadingPanel != null)
                currentLoadingPanel.hide(currentUpdatedControl);
            currentUpdatedControl = null;
            currentLoadingPanel = null;
        }
  
    </script>
</telerik:RadCodeBlock>
 
 
 
 
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<telerik:RadAjaxManager ID="RadAjaxManagerMain" runat="server">
   <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />
</telerik:RadAjaxManager>
 
<asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center">
<uc:polContainer runat="server" ID="polContainer1" />
</asp:Panel>
 
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" >
   <div>
      <asp:Image ID="Image1" runat="server" ImageUrl="/ajax_loader.gif" />
   </div>
</telerik:RadAjaxLoadingPanel>


ASCX

Based on several conditions I fill a literal with Html code loaded on code behind which represents my results which consists in a set of items each one having a clickable part (*Y). The goal is – by clicking an item – reload the result page (ascx) with other items using ajax.

I did that calling in *Y a javascript that performas a __dopostback. That works fine.

The question is how do I show the RadAjaxLoadingPanel when I perform the postback? ?


<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function myFunct(id) {
            __doPostBack ('<%=UpdatePanel1.ClientID%>', id);           
        
    </script>
</telerik:RadCodeBlock>
 
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
   <ContentTemplate>
        <asp:Literal ID="LiteralResult" runat="server" />        
   </ContentTemplate>   
</asp:UpdatePanel>   
 
.vb
LiteralResult.text+=”<a onclick=""myFunct('" & id & "')"" >" & here_text & "</a>"
 
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Page.IsPostBack Then
 
        Dim passedTargetId As String = = Request.Params.Get("__EVENTTARGET")               
        Dim passedArgument As String = Request.Params.Get("__EVENTARGUMENT")
 
         If passedTargetId = UpdatePanel1.ClientID Then
            ‘do something
         End If
    End If
End Sub

Thank you for your attention

Princy
Top achievements
Rank 2
 answered on 05 Jun 2013
1 answer
245 views
Hi Telerik,

I was wondering if there is any way to position the transferring buttons below the radlistbox. The radlistboxes are one below the other, but the button are placed on right hand side of the first radlistbox. I tried with CSS but I didnt get my required style.

Thanks for replying,
Damian.
Shinu
Top achievements
Rank 2
 answered on 05 Jun 2013
1 answer
149 views
Hi,

I'm able to insert".tif" image in the content area using imagemanager. But Editor is not displaying the tif image. It is showing the jpg images, but not the tif images. Even if l load the html that has image tags with '.tif' image, editor is not displaying them.

Could you please help ?
Rumen
Telerik team
 answered on 05 Jun 2013
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?