Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views
hi dears
i use RadMenu. it works well in liveDemo but can not render in my project.
i tested in WebApplication and WebSite and in all browsers. but i does not load completely.
there is an image to illustrate

please advice
thanks
Kate
Telerik team
 answered on 06 Jun 2012
3 answers
174 views
Sorry but I don't understand the documentation about radscriptmanager
My question is
I have a page that usually load jquery.js from my site
now I would like to use radScriptmanager with the code below  :
 and all is ok 
but why I have to inlcude the link to jquery.js  in the head section of the page ?
( some like <script src="/js/jquery-1.6.2.min.js" type="text/javascript"></script> ) 
if telerik use jquery - why this is not usable from all the code in the page? 
I test it with this simple script 
 if (jQuery) {
            alert('jQuery is loaded!');
        }
If I don't inlcude jquery in the head section the alert don't fire
thanks in advance
ciao



<telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableCdn="true">
        <Groups>
       <telerik:ScriptReferenceGroup>
           <Scripts>
               <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"   />
               <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
               <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryPlugins.js" />
           </Scripts>
       </telerik:ScriptReferenceGroup>
   </Groups>
   </telerik:RadScriptManager>
Genady Sergeev
Telerik team
 answered on 06 Jun 2012
2 answers
121 views

Hello,,

 

We are using RadEditor in  our application. Here we are facing an issue in RadEditor’s HTML mode.

The actual issues is ,the word href="[!RPLINK:2!]"  is displaying as href="[%21RPLINK:2%21]".

We are not getting why the extra characters are displaying like %21 instead of ! in  HTML mode.

This issue exist  in FireFox browser only in IE, Chrome its working fine.

REgards
Samir

Samir Patel
Top achievements
Rank 1
 answered on 06 Jun 2012
2 answers
62 views
Since I always get a server error when I try to reply to my thread
http://www.telerik.com/community/forums/aspnet-ajax/grid/groupsdefaultexpanded-after-sorting-reorder.aspx
I post my post herein, perhaps an admin could merge the threads.

So here is my reply:
Thanks for that sample. But somehow the group expands only after two clicks on the expand icon (both clicks do a postback). This occurs only after the page was rendered the first time, after that it works normally. 
What could that be?   
JP
Top achievements
Rank 1
 answered on 06 Jun 2012
1 answer
284 views
Hello!

I use RadFormDecorator for styling. My form contains a DropDownList (asp:DropDownList). I want to disable/enable the DropDownList by javascript.
if (chb.checked) {
   jQuery("#" + ddlId).removeAttr('disabled');
} else {
   jQuery("#" + ddlId).attr('disabled', 'disabled');
}

It works good in FF and Chrome. But it does not work in IE.
How can I fix it?

Thanks 
Niko
Telerik team
 answered on 06 Jun 2012
1 answer
176 views

Hi,

I have come across an issue with the layout of a tab strip on my page.  I have a menu div on the left side with a fixed height and a content div next to it.

The issue is that the tabs appear at the bottom of the page instead of in the div st the top (see attached screen shot).

Here is the code

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default.aspx.cs" Inherits="Tabstriptest._default" %>
  
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>
</head>
<body>
  <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <telerik:RadScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <telerik:RadScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <telerik:RadScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
    <div style="width: auto;">
            <div style="width: 180px;height: 500px; float: left;background-color: Red;">Menu here</div>
            <div style="width: auto;margin-left: 190px;margin-right: 0px;">
                <div style="width: 100%;background-color: Green;">
                    <telerik:RadToolBar ID="rtbVisitMenu" runat="server" Width="100%">
                    <Items>
                        <telerik:RadToolBarButton runat="server" Text="New Visit">
                        </telerik:RadToolBarButton>
                        <telerik:RadToolBarButton runat="server" Text="Edit Visit">
                        </telerik:RadToolBarButton>
                        <telerik:RadToolBarButton runat="server" Text="Print">
                        </telerik:RadToolBarButton>
                    </Items>
                </telerik:RadToolBar>
                </div>
                <div style="width: 100%;background-color: Blue;">
                    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1">
                        <Tabs>
                            <telerik:RadTab Text="tab 1" runat="server" PageViewID="RadPageView1" Selected="true"></telerik:RadTab>
                            <telerik:RadTab Text="tab 2" runat="server" PageViewID="RadPageView2"></telerik:RadTab>
                        </Tabs>
                    </telerik:RadTabStrip>
                    <telerik:RadMultiPage ID="RadMultiPage1" runat="server">
                        <telerik:RadPageView ID="RadPageView1" runat="server" Selected="true">RadPageView1</telerik:RadPageView>
                        <telerik:RadPageView ID="RadPageView2" runat="server">RadPageView2</telerik:RadPageView>
                    </telerik:RadMultiPage>
                </div>
            </div>
        </div>
  </form>
</body>
</html>

Is this an issue with the tab strip of is there soem html/css I can use to get around this.

Thanks

Gavin.

Princy
Top achievements
Rank 2
 answered on 06 Jun 2012
5 answers
223 views
Hi there,

For our application we are trying to show two series of data in a stacked bar chart, each series contains 2 items. We are finding a problem where we are getting both series items being displayed within the same stacked bar, so rather than having 2 items per bar...we have 4.

If we use the group databinding feature on a normal bar chart it seems to be working fine but under stacked bar chart type we are encountering problems

Hope you can help

Regards
Rosko
Telerik team
 answered on 06 Jun 2012
2 answers
146 views
Hi all, 

My requirement was to search a text the user gives inside the Grid and select that particular row. The user can also do find next in the grid. I was able to identify all the rows in which that particular text is there. And I am able to select each row as well and show it to the end user. But the problem is, it is a hierarchy grid. So assume that the row is present in the second level of grid. Then the row gets highlighted. But the second level is not expanded. The user has to expand and find out where the text is. Instead of this, is there any alternative approach that I can take. 

Sample Code:

 $.each(($("#ctl00_ContentPlaceHolder_SpreadSheet1").find(":contains('EXPNUM CHICKEN BRST AIRLINE CUT')")), function () {
        if ((this.nodeName == "TR") && (($(this).is('.rgRow')) || ($(this).is('.rgAltRow')))) {
            $find("ctl00_ContentPlaceHolder_SpreadSheet1")._spreadSheet().searchResults.push(this);
         this.focus();
           this._selected = true;
            this.click();
           this.setActive = true;
        }

($("#ctl00_ContentPlaceHolder_SpreadSheet1").find(":contains('EXPNUM CHICKEN BRST AIRLINE CUT')")) 

The above statement gives me all the results in an array. From that array, I am trying to filter only the rows and raising the click event. But the parent level of that particular row has to get expanded. So that the user can see the highlighted row. 

Regards,
Meenakshi Sekar. 
Meenakshi
Top achievements
Rank 1
 answered on 06 Jun 2012
1 answer
328 views
I'm trying to give the Captcha image rounded corners, and am not figuring it out.  I've attempted to use jQuery to wrap the image element in a span tag and setting the background image to use the same src, but that came up blank.  Now I'm trying to wrap in div tags, but they disappear whenever a new image is generated.

Perhaps I'm mistaken with my angle of attack - all I really want to do is give rounded corners and a border to the image.  Any advice on how to accomplish this would be most appreciated.

Thanks,
Joel
Shinu
Top achievements
Rank 2
 answered on 06 Jun 2012
1 answer
138 views
I have a page where I have a standard HTML Select element that is decorated using the RadFormDecorator.  I am dynamically updating the options in the list via javascript and making an asp.net ajax call to a webservice that has a call back that in turn clears out the select's options list and re-populates it.  The problem is that the options are being updated, but the portion of the drop down that is displayed and populated from the RadFormDecorator is not updated.  I have attached the dcode that shows how I am updating the control.  Any help in figuring out what I need to do to get the <ul> portion that is created by the radformdecorator would be much appreciated.

Thanks!

function populateSearchAttributesSuccess(result) {
    var drpSearchAttributeFixedList = document.getElementById('drp_SearchAttributeFixedList');
    var drpSearchAttributeAssociatedList = document.getElementById('drp_SearchAttributeAssociatedList');
    var drpSearchAttributeItemLookup = document.getElementById('drp_SearchAttributeItemLookup');
    var drpSearchAttributeBlackList = document.getElementById('drp_SearchAttributeBlackList');
    var drpSearchAttributeFilterAssociatedList = document.getElementById('drp_merchlist_search_attribute');
 
    var doFixed = false;
    var doAssociated = false;
    var doLookup = false;
    var doBlack = false;
    var doFilter = false;
 
    if (drpSearchAttributeFixedList != null) {
        doFixed = true;
        drpSearchAttributeFixedList.style.display = 'block';
        drpSearchAttributeFixedList.options.length = 0;
    }
    if (drpSearchAttributeAssociatedList != null) {
        doAssociated = true;
        drpSearchAttributeAssociatedList.style.display = 'block';
        drpSearchAttributeAssociatedList.options.length = 0;
    }
    if (drpSearchAttributeItemLookup != null) {
        doLookup = true;
        drpSearchAttributeItemLookup.style.display = 'block';
        drpSearchAttributeItemLookup.options.length = 0;
    }
    if (drpSearchAttributeBlackList != null) {
        doBlack = true;
        drpSearchAttributeBlackList.style.display = 'block';   
        drpSearchAttributeBlackList.options.length = 0;
    }
    if (drpSearchAttributeFilterAssociatedList != null) {
        doFilter = true;
        drpSearchAttributeFilterAssociatedList.options.length = 0;
    }
         
    var xmlCatalogsArray = result.getElementsByTagName('Table1');
 
    var o;
 
    for (var i = 0; i < xmlCatalogsArray.length; i++) {
        if (xmlCatalogsArray[i].getElementsByTagName('ResonanceField').item(0).firstChild != null && xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild) {
            if (doFixed) {
                //Populate the fixed list
                o = document.createElement('option');
                o.value = xmlCatalogsArray[i].getElementsByTagName('ResonanceField').item(0).firstChild.data;
                o.text = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
                o.label = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
 
                if (isInternetExplorer())
                    drpSearchAttributeFixedList.appendChild(o);
                else
                    drpSearchAttributeFixedList.add(o, null);
            }
 
            if (doAssociated) {
                //Populate the associated list
                o = document.createElement('option');
                o.value = xmlCatalogsArray[i].getElementsByTagName('ResonanceField').item(0).firstChild.data;
                o.text = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
                o.label = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
 
                if (isInternetExplorer())
                    drpSearchAttributeAssociatedList.appendChild(o);
                else
                    drpSearchAttributeAssociatedList.add(o, null);
            }
 
            if (doLookup) {
                //Populate the Item Lookup field
                o = document.createElement('option');
                o.value = xmlCatalogsArray[i].getElementsByTagName('ResonanceField').item(0).firstChild.data;
                o.text = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
                o.label = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
 
                if (isInternetExplorer())
                    drpSearchAttributeItemLookup.appendChild(o);
                else
                    drpSearchAttributeItemLookup.add(o, null);
            }
 
            if (doBlack) {
                //Populate the Blacklist search attribute selector
                o = document.createElement('option');
                o.value = xmlCatalogsArray[i].getElementsByTagName('ResonanceField').item(0).firstChild.data;
                o.text = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
                o.label = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
 
                if (isInternetExplorer())
                    drpSearchAttributeBlackList.appendChild(o);
                else
                    drpSearchAttributeBlackList.add(o, null);
            }
 
            if (doFilter) {
                //populate the associated merchandising list filtering box
                o = document.createElement('option');
                o.value = xmlCatalogsArray[i].getElementsByTagName('ResonanceField').item(0).firstChild.data;
                o.text = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
                o.label = xmlCatalogsArray[i].getElementsByTagName('CustomerField').item(0).firstChild.data;
 
                if (isInternetExplorer())
                    drpSearchAttributeFilterAssociatedList.appendChild(o);
                else
                    drpSearchAttributeFilterAssociatedList.add(o, null);
            }
        }
    }
Niko
Telerik team
 answered on 06 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?