Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
68 views
in the 2010 version had no problem 
value = item ["COLUMN_NAME"]. Text  (value correct)

in the 2013 version I have a problem
value = item ["COLUMN_NAME"]. Text  (value incorrect), return ( )
Princy
Top achievements
Rank 2
 answered on 27 Feb 2014
1 answer
114 views

Hi I made couple of changes on my ISS server and I'm trying to re install my project, I have telerik already but Im getting this error: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute'  when I try to load the project

Please let me know how can I fix this problem

Thank you

Carolina

Digno Martinez
Top achievements
Rank 1
 answered on 27 Feb 2014
2 answers
126 views
Hi All,

I have some questions regarding telerik dll's upgrade. Can any one help me on below questions:

1. As of now i am using telerik open access web version 2011.2.713.3 for my asp.net web application, Most of the functionalities working fine for this dlls. Now i want to upgrade to
Open DATA Access ORM (version: 2013 Q3 SP1 - 2013.3.78.1835) and UI for ASP.NET AJAX (2013 Q3 - 2013.3.1114.35). My question is
Is this version will support all functionalities and UI look and feel same as previous version? I found Some linq quries from my code are not supporting these dlls.

2. I want to know the steps to upgrade the dlls to new version.

Thanks in Advance
Vijay.
vijayakrishna
Top achievements
Rank 1
 answered on 27 Feb 2014
0 answers
201 views
I have a rad menu declared like this :

<telerik:RadMenu runat="server" ID="RadMenu1">
            <Items>
                <telerik:RadMenuItem runat="server" Text="Root RadMenuItem1">
                    <Items>
                        <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 3">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 4">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 5">
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadMenuItem>
                <telerik:RadMenuItem runat="server" Text="SpotLight">
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenu>

Now I actually want to copy some of the items to "SpotLight" item, I do not want to move them which is what happening now, I actually want to copy them over :

Here is what I am trying  :

.
.
.
<
telerik:RadMenuItem runat="server" Text="SpotLight">
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenu>
        <telerik:RadScriptBlock runat="server">
            <script type="text/javascript">
                $(function () {
 
                    var
                            rootMenu = $find('<%=RadMenu1.ClientID %>'),
                            menuItems = rootMenu.get_allItems();
                            var myItems = [];
                            myItems.push(menuItems[1]);
                            myItems.push(menuItems[3]);
                            myItems.push(menuItems[4]);
 
                            var targetItem = rootMenu.findItemByText("SpotLight");
 
                             
                            for (var i = 0; i < myItems.length; i++) {
                                targetItem.get_items().add(myItems[i]);
                            }
                            //debugger;
                });
            </script>
        </telerik:RadScriptBlock>
    </div>
    </form>
.
.
.

Aarsh
Top achievements
Rank 1
 asked on 26 Feb 2014
2 answers
290 views
I have a page that is longer (vertically) than the browser window, and will probably always be that way. The bottom of the form has a contact us section where you can enter your email address, a message and click a button to send an email to the site administrator. I want to display a modal dialog message in a RadWindow informing them that the message was sent. But I want to retain the parent window's scroll position. This means that I need to position the window over the section of the page that is visible, and prevent the main page from resetting to the top of the form. Is there any examples of doing something like this?

Thanks, Steve
neebs
Top achievements
Rank 2
 answered on 26 Feb 2014
5 answers
71 views
when i approve appointment in IE its not response and enter in infinite loading .. but the appointment approved if i reload but load not finished .. an solution
Nencho
Telerik team
 answered on 26 Feb 2014
3 answers
82 views
Hi,

It appears that we cannot create new folders without allowing uploads in the template manager.
I need to create new folders but not allow uploads - is this possible please? ..or have I missed something?

Cheers,

Jack
Ianko
Telerik team
 answered on 26 Feb 2014
1 answer
120 views
Hi.
I'm using RadInputManager to Validate my Controls .
But now I have a problem , I'm gonna use radinputmanager to validate a textbox width specific javascript method . I wrote the below code, but my button do post back . I want to stop post back before validating the textbox .
How can I do this  ?
  <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
            <script type="text/javascript">
                function onValidating(sender, args) {
                    var nationalCode = $get(sender.get_targetControlIDs()[0]);
                    console.log(nationalCode.value);
                    if (!checkCodeMeli(nationalCode.value)) {
                        alert('the code is wrong');
                        nationalCode.focus();
                        return false;
                    }
                    else {
                        alert('The code is write ')
                        return true;
                    }
                }
                function pageLoad() {
                    window.$ = jQuery = $telerik.$;
                }
 
function checkCodeMeli(code) {
    var L = code.length;
    if (L < 8 || parseInt(code, 10) == 0) return false;
    code = ('0000' + code).substr(L + 4 - 10);
    if (parseInt(code.substr(3, 6), 10) == 0) return false;
    var c = parseInt(code.substr(9, 1), 10);
    var s = 0;
    for (var i = 0; i < 9; i++)
        s += parseInt(code.substr(i, 1), 10) * (10 - i);
    s = s % 11;
    return (s < 2 && c == s) || (s >= 2 && c == (11 - s));
    return true;
}
            </script>
        </telerik:RadScriptBlock>
 
 
          <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:Button ID="btn" runat="server" />
 
        <telerik:RadInputManager ID="RadInputManager1" runat="server">
            <telerik:TextBoxSetting InitializeOnClient="true">
                <TargetControls>
                    <telerik:TargetInput ControlID="TextBox1" />
                </TargetControls>
                <ClientEvents OnValidating="onValidating" />
            </telerik:TextBoxSetting>
        </telerik:RadInputManager>
Viktor Tachev
Telerik team
 answered on 26 Feb 2014
6 answers
493 views
I have two pie charts and am trying to have one update the other through the RadAjaxManager with the OnClientSeriesClicked event, as outlined here. Basically, when a series is clicked in PieChart1, an AjaxRequest changes the DataSource on PieChart2. This all works as expected.

A problem arises when I try to also make the series that was clicked in PieChart1 be exploded, using the example given here. The problem is that the field never becomes exploded in the pie chart. It seems as if the ajax request returning overwrites the changes I have made to "IsExploded". I believe this to be the case because I have another pie chart that is never updated by an ajax request, so is therefore not declared as an updated control in the ajax manager, and setting the field IsExploded to true works just fine in that case. I also inserted a line that just calls alert() to tell me when it is setting IsExploded to true, and I see that alert box, so I know it is getting set, it just doesn't seem to stick.

Code sample:

        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
          <AjaxSettings>
               <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="PieChart1" LoadingPanelID="LoadingPanel1"/>
                        <telerik:AjaxUpdatedControl ControlID="PieChart2" LoadingPanelID="LoadingPanel1"/>
                    </UpdatedControls>
               </telerik:AjaxSetting>
          </AjaxSettings>
        </telerik:RadAjaxManager>

        <telerik:RadCodeBlock ID="codeBlock" runat="server">
          <script type="text/javascript">
              function OnClientSeriesClicked_PieChart1(sender, args) {
                  $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("OverallUsageBreakdown;" + args.get_category());

                  args.get_seriesData().map(function(item) {
                      if (item.Prefix === args.get_category()) {
                          item.IsExploded = true;
                          alert("condition true");
                      } else
                          item.IsExploded = false;
                  });

                  sender.set_transitions(false);
                  sender.repaint();
                  sender.set_transitions(true);
              }
          </script>
        </telerik:RadCodeBlock>

My question is, does anyone have any suggestions as to how I can get the IsExploded property to stay set to true? It seems as if no matter what I do (I have tried updating IsExploded in an OnResponseEnd script and by using a ResponseScript to call a script that updates the IsExploded field; I have confirmed both of those get called and set the field correctly (using alert boxes to check field values), but have the same problem in the end).
Danail Vasilev
Telerik team
 answered on 26 Feb 2014
3 answers
360 views
In IE 11, if I placed my cursor after my paragraph and click the Bullet List option, it includes my paragraph in a bullet list also. You can try it yourself on the Telerik demo site.

http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

Place your cursor after this paragraph, then click the Bullet List button. You will see the paragraph is part of the list.

RadEditor is not simply an HTML1 Editor. It is what Microsoft chose to use in MSDN, CodePlex, TechNet, MCMS and even as an alternative to the default editor in SharePoint. Whether you need a mere Textbox with Google-like spellchecker, or a Word-like content authoring environment, the result is the same: clean XHTML output, fast rendering, widest cross-browser support, and tons of features:
    Anyone knows how to fix this?

    Ianko
    Telerik team
     answered on 26 Feb 2014
    Narrow your results
    Selected tags
    Tags
    +? more
    Top users last month
    Shiori
    Top achievements
    Rank 2
    Iron
    Tien
    Top achievements
    Rank 1
    Iron
    Robert
    Top achievements
    Rank 1
    Rob
    Top achievements
    Rank 4
    Bronze
    Bronze
    Iron
    Geoff
    Top achievements
    Rank 1
    Want to show your ninja superpower to fellow developers?
    Top users last month
    Shiori
    Top achievements
    Rank 2
    Iron
    Tien
    Top achievements
    Rank 1
    Iron
    Robert
    Top achievements
    Rank 1
    Rob
    Top achievements
    Rank 4
    Bronze
    Bronze
    Iron
    Geoff
    Top achievements
    Rank 1
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?