Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
226 views
hi,
In asp.net application, I have the rjs popcalendar control in a multiview control within an update panel
and it works correctly in some web pages and not correctly in other pages
despite of all pages that contain popcalendar are the same
why?how to solve this problem?

I check javascript for pages, the pages are the same.what i can do?
what may cause this problem?there is any idea to solve the problem
Pavlina
Telerik team
 answered on 27 Oct 2009
1 answer
109 views
I have a RadGrid that is setup to update some controls outside the grid when a row is clicked.  It works perfectly except on the first time I click on a row after loading the page.  It will perform a full page postback and every time I click a row after that it just does a partial postback.  Any help on this would be greatly appreciated.

Also, AllowKeyboardNavigation stops working in this scenario.

Thanks,

-- Shawn
Veli
Telerik team
 answered on 27 Oct 2009
1 answer
83 views
Are there any examples of using the RadScriptManager/RadAjaxManager to setup a ScriptService (i.e. an asynchronous call to a webservice)? I'm having a bit of trouble getting this to work...
Nikolay Rusev
Telerik team
 answered on 27 Oct 2009
3 answers
687 views
Hi,

I know rad chart doesn't provide any in-built way of exporting the rad chart to xls/pdf/doc formats. I was just wondering if there is any round about way of doing it?

thanks,
PM
Ves
Telerik team
 answered on 27 Oct 2009
1 answer
252 views
Hi,

I have to get all the row values of a column in to a Array through Javascript. Some one pls help me.

Jidesh
Nikolay Rusev
Telerik team
 answered on 27 Oct 2009
1 answer
70 views

Hi ,
I am using a lienced  version of Telerik controls. I am facing the below problem..
I have a grid with "Form Template Edit Form", i need to display a "RadAjaxLoadingPanel" on click of Edit option in the grid.

I have tried using the below code

 

 

 

 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelGrid" runat="server" Transparency="1"
        IsSticky="true" BackgroundPosition="Center">
        <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/Web20.gif" />       
    </telerik:RadAjaxLoadingPanel>

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>   
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="radmaingrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radmaingrid1" LoadingPanelID="RadAjaxLoadingPanelGrid" />                   
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

 

 

 

I am getting an script error, after loading the RadAjaxLoadingPanel The same code works fine in grid pages without Edit option.

The below is the error message:
Line: 15
Error: Sys.ScriptLoadFailedException: The script 'http://testone.com/ScriptResource.axd?d=b1e1SDKF3vCYtyeiKg73_WLJqaceBWAo1WnKpHN0OF4lWhbWYvj40dZNbjPLahC_Grliil3xH5fS4OqIVYk8xw2&t=21c715f1' could not be loaded.


Please help on the above issue.
Also attached is the screenshot of the error message.


Regards

 

Pavlina
Telerik team
 answered on 27 Oct 2009
1 answer
88 views
I would like to set alignment of column header for tables.
 I've set it to align right. However, it still align left.
 What should I do?
                                                       
---------------------------------------------------------------
<radG:GridBoundColumn DataField="Qty" DataFormatString="{0:##,#0.#0}" DataType="System.Decimal"
                                                            HeaderText="Qty" UniqueName="Qty">
                                                            <FooterStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                                                Font-Underline="False" HorizontalAlign="Right" Wrap="True" />
                                                            <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                                                Font-Underline="False" HorizontalAlign="Right" Wrap="True" />
                                                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                                                Font-Underline="False" HorizontalAlign="Right" Wrap="True" />
                                                        </radG:GridBoundColumn>
Princy
Top achievements
Rank 2
 answered on 27 Oct 2009
3 answers
200 views
Hi,

I was working with ASP.Net menu control.
Currently i had decided to move to menu control for AJAX.
Vertical menu is working fine.
but horizontal menu is not working. I am using the xml string to load the menu

below are my code for aspx page and fopr .cs file

aspx page

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Test.aspx.cs" Inherits="_Test" %>

<%

@ Register TagPrefix="rad" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<

html>

<

head>

<

title>test</title>

</

head>

<

body>

<

form id="frmTest" runat="server">

<asp:ScriptManager runat="server" ID="uiScriptManager" />

<rad:RadMenu id="RadMenuNavigation" runat="server" Width="100%" />

</

form>

</

body>

</

html>



.cs page

using

System;

using

System.Data;

using

System.Configuration;

using

System.Web;

using

System.Web.Security;

using

System.Web.UI;

using

System.Web.UI.WebControls;

using

System.Web.UI.WebControls.WebParts;

using

System.Web.UI.HtmlControls;

using

System.Collections.Generic;

using

Telerik.Web.UI;

public

partial class _Test : System.Web.UI.Page

{

protected void Page_Load(object sender, EventArgs e)

{

RadMenuNavigation.Flow =

ItemFlow.Horizontal;

string menuXml = "<Menu><Group><Item Text='Home' Href='Test.aspx' originalAttribute="Href" originalPath="Test.aspx" originalAttribute="Href" originalPath="Test.aspx" ToolTip='This is a tooltip' AccessKey='H'></Item><Item Text='Set Working Club' Href='default.aspx' originalAttribute="Href" originalPath="default.aspx" originalAttribute="Href" originalPath="default.aspx" ToolTip='Set Working Club' AccessKey='W'></Item><Item Text='Set Working Member' Href='default.aspx'></Item><Item Text='MembershipPackages' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='MembershipPackages" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='MembershipPackages" Href='default.aspx'></Item><Item Text='Renew Membership' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Renew Membership" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Renew Membership" Href='default.aspx'></Item><Item Text='Membership History' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Membership History" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Membership History" Href='default.aspx'></Item><Item Text='View Prior Orders' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='View Prior Orders" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='View Prior Orders" Href='default.aspx'></Item><Item Text='My Details' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='My Details" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='My Details" Href='default.aspx'></Item><Item Text='Benefits' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Benefits" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Benefits" Href='default.aspx'></Item><Item Text='Create New Member' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Create New Member" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Create New Member" Href='default.aspx'></Item><Item Text='Manage Products' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Manage Products" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Manage Products" Href='test1.aspx' originalAttribute="Href" originalPath="test1.aspx" originalAttribute="Href" originalPath="test1.aspx" ToolTip='Manage Products' AccessKey='P'><Item Text='Packages' Href='default.aspx'></Item><Item Text='Performances' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Performances" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Performances" Href='default.aspx'></Item><Item Text='Merchandise' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Merchandise" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Merchandise" Href='default.aspx'></Item><Item Text='Memberships' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Memberships" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Memberships" Href='default.aspx'></Item><Item Text='Fees' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Fees" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Fees" Href='default.aspx'></Item><Item Text='Categories' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Categories" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Categories" Href='default.aspx'></Item><Item Text='Price Types' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Price Types" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Price Types" Href='default.aspx'></Item><Item Text='Waitlist Shows' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Waitlist Shows" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Waitlist Shows" Href='default.aspx'></Item><Item Text='Selections' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Selections" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Selections" Href='default.aspx'></Item><Item Text='Groups' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Groups" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Groups" Href='default.aspx'></Item><Item Text='Site Content' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Site Content" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Site Content" Href='default.aspx'></Item><Item Text='Manage Payments' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Manage Payments" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Manage Payments" Href='default.aspx'><Item Text='Process Payments' originalAttribute="Href" originalPath="default.aspx'><Item Text='Process Payments" originalAttribute="Href" originalPath="default.aspx'><Item Text='Process Payments" Href='default.aspx'><Item Text='Report' originalAttribute="Href" originalPath="default.aspx'><Item Text='Report" originalAttribute="Href" originalPath="default.aspx'><Item Text='Report" Href='default.aspx'><Item Text='Order' originalAttribute="Href" originalPath="default.aspx'><Item Text='Order" originalAttribute="Href" originalPath="default.aspx'><Item Text='Order" Href='default.aspx'></Item><Item Text='Member' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Member" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Member" Href='Default.aspx'></Item><Item Text='Allocation' originalAttribute="Href" originalPath="Default.aspx'></Item><Item Text='Allocation" originalAttribute="Href" originalPath="Default.aspx'></Item><Item Text='Allocation" Href='default.aspx'></Item></Item></Item><Item Text='Change Credit Card' originalAttribute="Href" originalPath="default.aspx'></Item></Item></Item><Item Text='Change Credit Card" originalAttribute="Href" originalPath="default.aspx'></Item></Item></Item><Item Text='Change Credit Card" Href='default.aspx'></Item></Item></Item><Item Text='Manage Allocations' originalAttribute="Href" originalPath="default.aspx'></Item></Item></Item><Item Text='Manage Allocations" originalAttribute="Href" originalPath="default.aspx'></Item></Item></Item><Item Text='Manage Allocations" Href='default.aspx'></Item><Item Text='Manage Groups' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Manage Groups" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Manage Groups" Href='default.aspx'><Item Text='Manage Delegations' originalAttribute="Href" originalPath="default.aspx'><Item Text='Manage Delegations" originalAttribute="Href" originalPath="default.aspx'><Item Text='Manage Delegations" Href='default.aspx'></Item></Item><Item Text='Seating Preferences' originalAttribute="Href" originalPath="default.aspx'></Item></Item><Item Text='Seating Preferences" originalAttribute="Href" originalPath="default.aspx'></Item></Item><Item Text='Seating Preferences" Href='default.aspx'><Item Text='My Preference Groups' originalAttribute="Href" originalPath="default.aspx'><Item Text='My Preference Groups" originalAttribute="Href" originalPath="default.aspx'><Item Text='My Preference Groups" Href='default.aspx'></Item></Item><Item Text='Fast Renewals' originalAttribute="Href" originalPath="default.aspx'></Item></Item><Item Text='Fast Renewals" originalAttribute="Href" originalPath="default.aspx'></Item></Item><Item Text='Fast Renewals" Href='default.aspx'></Item><Item Text='Member Upload' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Member Upload" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Member Upload" Href='default.aspx'></Item><Item Text='Manage Club' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Manage Club" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Manage Club" Href='default.aspx'><Item Text='Details' originalAttribute="Href" originalPath="default.aspx'><Item Text='Details" originalAttribute="Href" originalPath="default.aspx'><Item Text='Details" Href='default.aspx'></Item><Item Text='Contacts' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Contacts" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Contacts" Href='default.aspx'></Item><Item Text='Portal' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Portal" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Portal" Href='default.aspx'></Item><Item Text='Category Seating Options' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Category Seating Options" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Category Seating Options" Href='default.aspx'></Item><Item Text='Workflow Configuration' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Workflow Configuration" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Workflow Configuration" Href='default.aspx'></Item><Item Text='Payment Schedules' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Payment Schedules" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Payment Schedules" Href='default.aspx'></Item></Item><Item Text='Contact Us' originalAttribute="Href" originalPath="default.aspx'></Item></Item><Item Text='Contact Us" originalAttribute="Href" originalPath="default.aspx'></Item></Item><Item Text='Contact Us" Href='default.aspx'></Item><Item Text='Logout' originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Logout" originalAttribute="Href" originalPath="default.aspx'></Item><Item Text='Logout" Href='default.aspx'></Item></Group></Menu>";

RadMenuNavigation.LoadXml(menuXml);

}

}

please help urgently.

Regards

Sujith

Yana
Telerik team
 answered on 27 Oct 2009
1 answer
146 views
Hello,
    I was wondering if it is possible to bind a grid client-side when it has been generated on the server with the use of GridTemplateColumns and ItemTemplateColumns.  This is currently not working for me.  Am I missing something or is this functionality simply not supported?  Is the grid binding but not updating on the page?  When I try to do the client-side binding on a grid that has simply been dropped on the page it does work.
Thanks very much in advance!

This is my code:

var weeks = null
var tableView = null;

        function pageLoad(sender, args)

        {
                $.ajax({

 

                    type: "POST",

                    url: "test.aspx/GetData",

                    data: "{}",

                    contentType: "application/json; charset=utf-8",

                    dataType: "json",

                    success: refreshControls,

                    fail: onFail

                });

 

        }

 

        function refreshControls(result)

        {

            weeks = eval(result.d); 

        }

        function GridCreated(sender, eventArgs) {

           

            if (sender.Control.id == "<%= Grid1.ClientID %>")

                tableView = $find("<%= Grid1.ClientID %>").get_masterTableView();

              

        }

        function ReDrawGrid()

        {

            weeks[0].amount = 82;

            tableView.set_dataSource(weeks);

            tableView.dataBind();

        }

On Server

 

private void DefineGridStructure(int columnCount)

        {

            Grid1.AutoGenerateColumns = false;

            Grid1.AllowSorting = false;

            Grid1.AllowPaging = false;

            Grid1.GridLines = GridLines.None;

            Grid1.NeedDataSource += new GridNeedDataSourceEventHandler(doiGrid_NeedDataSource);

            Grid1.ClientSettings.ClientEvents.OnGridCreated = "GridCreated";

            //scrolling

            Grid1.ClientSettings.Scrolling.AllowScroll = true;

            Grid1.ClientSettings.Scrolling.UseStaticHeaders = true;

            //Master Table

            Grid1.MasterTableView.TableLayout = GridTableLayout.Fixed;

            Grid1.MasterTableView.HierarchyLoadMode = GridChildLoadMode.Client;

            Grid1.Width = Unit.Pixel(columnCount * 88);

            Grid1.Height = Unit.Pixel(126);

            //Columns

            GridTemplateColumn templateColumn = new GridTemplateColumn();

            templateColumn.AllowFiltering = false;

            templateColumn.ShowFilterIcon = false;

            templateColumn.HeaderTemplate = new HeaderTemplate(columnCount);

            templateColumn.ItemTemplate = new ItemTemplate(columnCount);

            Grid1.MasterTableView.Columns.Add(templateColumn);

 

        }

 

Tsvetoslav
Telerik team
 answered on 27 Oct 2009
1 answer
72 views
Is it possible to maintain the text selection when the user changes between the Design, and HTML views? (e.g. I select the first two words of the sentence in the Design view and then click the HTML view, the first two words would still be selected) I am told Dreamweaver does this and my customer wants to know if it's possible for your control to do this as well. 
Rumen
Telerik team
 answered on 27 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?