Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
70 views
Hi,

We are using RAD controls in one of our application. In RAD Scenario form page AJAX modal extender stops working whereas it is working correctly in ASP.Net web page.
I also added two test pages, in RAD ASP.net Scenario page the ModalPopupExtender AJAX control does not work as expected.
Appreciate if anybody could tell me if we are doing anything wrong...
Erjan Gavalji
Telerik team
 answered on 28 Feb 2011
1 answer
112 views
Following on from this thread:
http://www.telerik.com/community/forums/aspnet-ajax/chart/chart-xaxis-datalabelscolumn-display-problem.aspx

There is another Bug Chart XAxis DataLabelsColumn in telerik reports, If you choose a field of type DataTime Type it also wont bind!

As it wouldnt bind to a field of datetime, the work around I found was to create a Calculated Field Called CompletedDateStr of DataType String, and add an expression to correctly format the date (to the correct locale) in the Telerik Report SQLDataSource.

ie add this to your SQL datasource
= Format("{0:d}", Fields.CompletedDate)
Evgenia
Telerik team
 answered on 28 Feb 2011
3 answers
95 views
I'm loading about 2000 child nodes under a single parent. It works fine with Firefox 3.6 and with Chrome 9, but IE 8 is incredibly slow... not only loading the child nodes, but after the child nodes are loaded the whole interface slows down and turns unresponsive.

I'm using Q1 2010. Any tips to solve this performance issue with IE 8? Should I try to upgrade to Q3 2010?

Thanks,
Santiago.
Dobromir
Telerik team
 answered on 28 Feb 2011
3 answers
638 views
Hi,
I am Yogesh. I am new to asp.net with c#. I am working with asp.net ajax rad controls.... I want display a rad message box. also for confirm and alert.
Could anyone help me to get through this plz.....
yogesh
Top achievements
Rank 1
 answered on 28 Feb 2011
3 answers
93 views
Hi there.

I have a RadComboBox in an EditItemTemplate in a radgrid with SelectedValue='<%# Bind("OrgClassification3") %>'. If the value of OrgClassification3 is empty or matches a value in the combo then everything works fine and I can edit the row and save changes. If the value of OrgClassification3 does not match any of the values in the combo the grid row will not even go into edit mode.

Please help. Thanks.
Nikolay Rusev
Telerik team
 answered on 28 Feb 2011
3 answers
405 views
We have a RadTabStrip + RadMultiPage on our main page. The menu system is loaded once and the menu items create the tabs + corresponding pageview in javascript (i.e. completely client-side). The pages being loaded are full .aspx pages, i.e. the multipage is being used as a tabbed MDI.

However we're having major issues with the client-side pageview function set_contentUrl.

// add the tab
var tab = new Telerik.Web.UI.RadTab();
tab.set_text(name);
mainTabStrip.trackChanges();
mainTabStrip.get_tabs().add(tab);
mainTabStrip.commitChanges();
 
// add the multiview   
var pageView = new Telerik.Web.UI.RadPageView();
pageView.set_contentUrl(url);
mainMultiPage.trackChanges();
mainMultiPage.get_pageViews().add(pageView);
pageView.get_element().id = ("PageView_" + pvCnt);
pvCnt += 1
mainMultiPage.commitChanges();

It does not appear to function well at all. No content is displayed in the pageview at all. However I do believe it is trying to load the page. If I change the url to a secure website with an invalid certificate I can the security warning in IE that the content is being blocked.

If I ignore the set_contentUrl and build the iframe myself (as below), it works perfectly.

var tab = new Telerik.Web.UI.RadTab();
tab.set_text(name);
mainTabStrip.trackChanges();
mainTabStrip.get_tabs().add(tab);
mainTabStrip.commitChanges();
 
// add the multiview   
var pageView = new Telerik.Web.UI.RadPageView();
mainMultiPage.trackChanges();
mainMultiPage.get_pageViews().add(pageView);
pageView.get_element().id = ("PageView_" + pvCnt);
pvCnt += 1
 
pageView.get_element().innerHTML = "<iframe src=\""+ url + "\" frameBorder=\"0\" style=\"width: 100%; height: 100%;\"></iframe>";
 
mainMultiPage.commitChanges();

Is there something I'm missing in the first example, or can't I do that at client-side with the pageview.
Veronica
Telerik team
 answered on 28 Feb 2011
1 answer
469 views
I'm attempting to utilize the client side functions of the RadGrid to indicate to users viewing a grid of items they currently "have" (pre-selected when databinding on the server side), and items they are attempting to "add".  To do this my idea was to have the grid show all possible items and have a checkbox column for selecting rows.  The items that the user already has are pre-selected (the checkbox is checked and the row is highlighted in the default rowSelected style).  All of that works so far.  What I want to happen is have any additional rows that are selected to have a different highlight color.  I've hooked up the RowSelected function and tried using jQuery to add a class to the newly selected row, but that doesn't seem to do much.  Using the IE Developer toolbar or Firebug, I can see that the new css class gets added to the selected row but the background color doesn't change.  In other words what I want to do is have one style for "pre-selected" rows and another style for rows selected by the user.  Is there a way to do this? I've attached a screenshot with a visual explanation of what I'm attempting.  Here is my code so far:
ASPX:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GridRowColors.aspx.cs" Inherits="TestTelerik.GridRowColors" %>

<!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" >
<head runat="server">
    <title></title>
    <style type="text/css">
        .rgSelectedRow, .rgSelectedRow td
        {
            background-color: #c5c5c5;
            background-image: none;
        }
        .add {
            background-color: green;
        }
    </style>
    <script type="text/javascript">
        function RowDeselected(sender, eventArgs) {
            var row = eventArgs.get_gridDataItem();
            $(row.get_element()).removeClass("add");
        }
        function RowSelected(sender, eventArgs) {
            var row = eventArgs.get_gridDataItem();
            $(row.get_element()).addClass("add");
        }
        function RowCreated(sender, eventArgs) {
        }
        function pageLoad() {
            //colorRows();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <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.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <div>
        <telerik:RadGrid ID="RadGrid1" AllowMultiRowSelection="true" Width="700px" Skin="Outlook"
            runat="server" AllowSorting="false" GridLines="None" AutoGenerateColumns="false" ShowGroupPanel="true">
            
            <MasterTableView>
                <Columns>
                    <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" ItemStyle-Width="20px" />
                    <telerik:GridBoundColumn DataField="DataId" HeaderText="ID" ItemStyle-Width="200px" />
                    <telerik:GridBoundColumn DataField="DataName" HeaderText="Description" />
                </Columns>
            </MasterTableView>
            <ClientSettings EnableRowHoverStyle="false">
                <Selecting AllowRowSelect="true" UseClientSelectColumnOnly="true" />
                <ClientEvents OnRowDeselected="RowDeselected" OnRowSelected="RowSelected" OnRowCreated="RowCreated" />
            </ClientSettings>
        </telerik:RadGrid>
    </div>
    </form>
</body>
</html>

Code behind:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;

namespace TestTelerik
{
    public partial class GridRowColors : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ArrayList myDataItems = new ArrayList();
                for (int i = 1; i <= 10; i++)
                {
                    myDataItems.Add(new MyDataItem(i, "Item " + i));
                }
                RadGrid1.DataSource = myDataItems;
                RadGrid1.DataBind();

                // select some default rows - items the user already "has"
                RadGrid1.Items[5].Selected = true;
                RadGrid1.Items[7].Selected = true;
            }
        }
    }

    public class MyDataItem
    {
        public int DataId { get; set; }
        public string DataName { get; set; }

        public MyDataItem(int dataId, string dataName)
        {
            DataId = dataId;
            DataName = dataName;
        }
    }
}
Radoslav
Telerik team
 answered on 28 Feb 2011
1 answer
99 views
I would like to apply this to all RadEditor controls on the page without having to assign to each RadEditor explicitly.
What is the CSS syntax for this?   Thanks.

Font-Names="Arial" Font-Size="Small"
Shinu
Top achievements
Rank 2
 answered on 28 Feb 2011
3 answers
81 views
Hai,

I tried to access the documentation of RadCombobox, RadToolTip etc. But it is not loading. It is only showing the heading like 'RadToolTip for ASP.Net AJAX'. One search box also there on the page. Nothing else. I tried in IE 8, Mozilla Firefox 3.6, Opera 10.62, safari, Google Chrome.

Thanks & regards,
Regeesh Joseph
Rumen
Telerik team
 answered on 28 Feb 2011
3 answers
149 views
Hi,
I have a simple radgrid with two records.
Please look at the attached file and see that grid has three lines.
How can i remove the unnecessary third line ?
Thanks,
Gerry
Martin
Telerik team
 answered on 28 Feb 2011
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?