Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
101 views
Dears;

iam using RadTabStrip with multipage views , and i would like to increase the page performance
kindly what do suggest ??
shall i use user controls instead of multipage view ? if so , will it make huge differance ?
Also , am thinking using RadCompression

Thanks in advance 
Yana
Telerik team
 answered on 23 Feb 2011
3 answers
35 views

When I go to use the image tool for the first time, it takes quite some time to eventually load. Once it’s loaded, it seems to come back rather quickly the second time….but the initial delay is about 30 seconds….any idea what the problem might be? I found these two errors in my junk folder earlier, but I didn’t know if it was related to the delay I was experiencing.

My folder contains around 30 images.

Thanks in Advance

Rumen
Telerik team
 answered on 23 Feb 2011
3 answers
128 views
i have a radgrid and an asp button which loads the data to the radgrid from the database, i want to display a waiting icon until the server response with the data to fill the grid, i am trying this and it doesn't display anything:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="testloadingpage.aspx.cs" Inherits="testloadingpage" %>
 
<%@ 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">
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">
<head id="Head1" runat="server">
    <link rel="stylesheet" type="text/css" href="css/Style.css" media="screen" />
    <title>mailing lists</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
     <telerik:RadAjaxManager ID="RadAjaxManager1"
            runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="Button1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGridMailingList" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="RadGridMailingList">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGridMailingList"
                            UpdatePanelHeight=""  LoadingPanelID="RadAjaxLoadingPanel1"/>
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
       <div id="mailingList" class="contentBlock">
     
            <div class="submitButton">
                            <asp:Button ID="Button1" runat="server" Text="run query" OnClick="Button1_Click" />
            </div>
                <!-- content start -->
                 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
                <telerik:RadGrid ID="RadGridMailingList"
                     Width="97%"
                    AllowSorting="True" PageSize="15" AllowPaging="True"
                    runat="server" ShowStatusBar="True" GridLines="Vertical"
                    OnNeedDataSource="RadGrid1_NeedDataSource">
                    <MasterTableView CommandItemDisplay="Top">
                    </MasterTableView>
                </telerik:RadGrid>
        </div>
    <!-- content end -->
    </form>
</body>
</html>
Pavlina
Telerik team
 answered on 23 Feb 2011
5 answers
106 views

When I click the LinkButtom, I get an error message,” Microsoft JScript runtime error: Object doesn't support this property or method”.

How to solve this problem?

Many thanks for your replying.


<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title>Untitled Page</title> 
 
    <script type="text/javascript">  
            <!--            
                function AddLink()  
                {  
                    //debugger  
                    window.radopen("AddLink.aspx", "AddLink");  
                }    
             --> 
    </script> 
 
</head> 
<body> 
    <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
        <div> 
            <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Telerik">  
                <Windows> 
                    <telerik:RadWindow ID="AddLink" Title="AddLink" ReloadOnShow="true" Modal="true" 
                        VisibleStatusbar="false" Behaviors="Default" runat="server" Height="180">  
                    </telerik:RadWindow> 
                </Windows> 
            </telerik:RadWindowManager> 
        </div> 
        <asp:LinkButton ID="LinkButton_AddLink" runat="server" OnClientClick="AddLink();return false;">AddLink</asp:LinkButton> 
    </form> 
</body> 
</html> 
Phil
Top achievements
Rank 2
 answered on 23 Feb 2011
1 answer
131 views
Hi!
I was working on asp.net application in VS2008 and asp.net ajax controls version 2010.2.929.35 and it was working fine.
A cuple of days ago I installed the lastest version of asp.net ajax controls (ver 2010.3.1317.35) and I upgrade my solution with this version, and after that the site begun to throw javascript exceptions: sys is undefined

The first exception is:
IExplorer error:
  • Línea: 67
  • Error: Error al cargar el marco de trabajo de cliente ASP.NET Ajax.

In Debug mode this is the exception:
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('Error al cargar el marco de trabajo de cliente ASP.NET Ajax.');
//]]>

After that, all exception are: 'Sys' no está definido (sys is undefined).

If I go back to the previous version, It starts to work again.

Thanks in adavnce,
Alejandro
Prangadj
Top achievements
Rank 1
 answered on 23 Feb 2011
1 answer
78 views
Hi,

I am using RadControls for ASP.NET AJAX Q3 2010.
I my application scenario i want to create Sliding Panel Bar & and inside Sliding Panel Bar there is drag drop control.

Drag drop control using <ajaxToolkit:ToolkitScriptManager></ajaxToolkit:ToolkitScriptManager>

but Sliding Panel required <telerik:RadScriptManager></telerik:RadScriptManager>

I am using it like this

<telerik:RadScriptManager ID="ScriptManager" runat="server">
        <Scripts>
            <asp:ScriptReference Name="PreviewScript.debug.js" Assembly="Microsoft.Web.Preview" />
            <asp:ScriptReference Name="PreviewDragDrop.debug.js" Assembly="Microsoft.Web.Preview" />
            <asp:ScriptReference Path="~/Scripts/ItemDragDrop.js" />
        </Scripts>
</telerik:RadScriptManager>


but my application given an error:
Microsoft JScript runtime error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.

If I use <ajaxToolkit:ToolkitScriptManager></ajaxToolkit:ToolkitScriptManager> there is no error with drag drop. But Slider Panel required <telerik:RadScriptManager></telerik:RadScriptManager>.

How to overcome this issue.
Please help me asap.
Regds.
Partha
Prangadj
Top achievements
Rank 1
 answered on 23 Feb 2011
1 answer
74 views
Hi,

I'm not sure where else to submit this so I figure I'd place it here.

There appears to be a minor omission in the JavaScript for the GridAttachmentColumn online example. Visit the example here.

Examine the conditionalPostback function: 

function conditionalPostback(sender, eventArgs)
{
    //The variable 'theRegexp' is never used
    var theRegexp = new RegExp("\.UpdateButton$|\.PerformInsertButton$", "ig");
    var eventArgument = eventArgs.get_eventArgument();
      
    if (eventArgument.indexOf("Update") > -1 || eventArgument.indexOf("PerformInsert") > -1)
    {
        if (upload && upload.getFileInputs()[0].value != "")
        {
            eventArgs.set_enableAjax(false);
        }
    }
}

Draw your attention to the variable named theRegexp which appears to be a Regular Expression container. The variable is defined, but it is never used. I suspect that it was supposed to have been used in the If block that follows, like this:

if (eventArgs.get_eventTarget().match(theRegexp)){
    //Disable AJAX functionality
}

...such that the final block actually reads like this:

function conditionalPostback(sender, eventArgs)
{
    //This is the corrected version 
    var theRegexp = new RegExp("\.UpdateButton$|\.PerformInsertButton$", "ig");
    var eventArgument = eventArgs.get_eventArgument(); //this variable may not be needed either
      
    if (eventArgument.match(theRegexp)) //or eventArgs.get_eventTarget().match(theRegexp)
    {
        if (upload && upload.getFileInputs()[0].value != "")
        {
            eventArgs.set_enableAjax(false);
        }
    }
}

While the code that was there before would work too, it can prove to be a little confusing for people who aren't terribly familiar with JavaScript who would include that variable definition for no good reason.

Cheers,
John
Veli
Telerik team
 answered on 23 Feb 2011
4 answers
246 views
hello,

i am just starting w/ the RadWindow. im using it to load a .ASPX page up, in which the user does some things and clicks a Save Button.

if the operation is successful, how do i close the RadWindow from its source .ASPX's code-behind?


thanks,
matt
Svetlina Anati
Telerik team
 answered on 23 Feb 2011
0 answers
79 views
Hi team,

I am using RadTreeView in my project.the hierarchy is as below.
  • In Master page on Left hand side i am having the treeview.on right hand side having contentpages displaying the information related to the seleted node.
  • In TreeNode from context menu will go and add the records dynamically.when want to add the newnode clicks add from the context menu then the node is added and related content page is displayed on right hand side will fill the details and click on save then the node gets saved in DB.
  • Maintaining the state of the treeview in session by using getXml(),and setXml() of the treeview.
  • As of now in our treeview there is drag and drop functionality the end user will drag and drop the nodes from one parent to another parent and so on......and when clicks on save then only need to update the relations in the DB.how can i maintain the changes done by the user by drag and droping until they clicks on save.what nodes has been changed what nodes to be updated in the database.

 

Naveen
Top achievements
Rank 1
 asked on 23 Feb 2011
1 answer
65 views
Hello.

I am curious if the RadSpell will work for our scenario. I have looked at the demos, but I didn't see anything to determine if it would.

Basically we have 3 html forms: a menu form, that houses buttons such as save, exit, clear controls. This is where I would like for the RadSpell button to be located. The second form is the html content form, which has all of the user controls. The third form has a frame which holds the other two pages. I'm wondering if it would be possible to spell check items on a completely different html page than where the RadSpell control is located, and if so, how hard would it be to set this up?

Thanks
Rumen
Telerik team
 answered on 23 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?