Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
144 views

I have a GridTemplateColumn like following.

When I click the first edit image button, it work fine, but when I click the second one, it alert an error message,” Microsoft JScript runtime error: Object doesn't support this property or method.”

How to solve this problem?

Many thanks for your helping.

function EditCategory()
{
 var grid = $find("<%=RadGrid_Category.ClientID %>");
 var MasterTable = grid.get_masterTableView();

 var selectedRows = MasterTable.get_selectedItems();
 for (var i = 0; i < selectedRows.length; i++)
 {
  var row = selectedRows[i];
  var cell = MasterTable.getCellByColumnUniqueName(row, "CategoryID");
  var CategoryID= cell.innerHTML; //holds the value of the cell
 }

 window.radopen("EditCategory.aspx?
 CategoryId="+CategoryID, "EditCategory");   
}

<telerik:GridTemplateColumn HeaderText="Edit"  
 UniqueName="TemplateColumn">
 <ItemTemplate>
  <asp:ImageButton ID="ImageButton_Edit" runat="server"
  OnClientClick="EditCategory(); return false;"
  ImageUrl="/EditorPr.gif" />
 </ItemTemplate>
</telerik:GridTemplateColumn>

Yavor
Telerik team
 answered on 29 Apr 2008
5 answers
215 views
Hi, I have a grid with a child heirarchy grid. I'm also using custom skins.

Can anyone tell me how to change the default expand and collapse buttons to the image specified in the skin?
Kia
Top achievements
Rank 1
 answered on 29 Apr 2008
1 answer
148 views
If the data is paged, is there any simple way of getting the group footers to show the aggregate data for the entire group rather than just the group data on the current page?

e.g. I apply a "Sum" on a column for data that extends onto two pages, is there any way of always showing the complete sum of the entire group or not showing the sum on the first page, but showing the total sum on the second page?
Yavor
Telerik team
 answered on 29 Apr 2008
2 answers
109 views
protected void RadGrid_Category_SelectedIndexChanged(object sender, EventArgs e)
{
    //codes here please
}

Many thanks for your replying.
Vinix
Top achievements
Rank 1
 answered on 29 Apr 2008
4 answers
306 views
Odd, converting to the rad /ajax Q12008 and replaced the assembly and the prefix on an existing (functional ) toolbar - I get 


Parser Error Message: Unknown server tag 'telerik:RadToolBar'.

Source Error:

Line 24:     <tr align="left" bgcolor="#EFEFEF">
Line 25:       <td > <i><asp:Label ID="label1" runat="server" Text="Label"></asp:Label></i>
Line 26: <telerik:RadToolBar runat="server" id="toolbar1" AutoPostback="true" Skin="Office2007" UseFadeEffect="True" >


<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin-Registration-Account-Master.aspx.cs" Inherits="_Default" %>

<%

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

<%

@ Register TagPrefix="edway" TagName="HeadTag" Src="HeadTag.ascx" %>

<!

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>Registration Master</title></head>

<

edway:HeadTag runat="server" ID="Headtag"></edway:HeadTag>

<

body>

<

form id="form1" runat="server">

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

<table align="left" class="style1">

<tr align="left" bgcolor="#EFEFEF">

<td > <i><asp:Label ID="label1" runat="server" Text="Label"></asp:Label></i>

<telerik:RadToolBar runat="server" id="toolbar1" AutoPostback="true" Skin="Office2007" UseFadeEffect="True" >

<items>

<telerik:RadToolBarButton Width="120px" DisplayType="TextOnly" AccessKey="n" Tooltip="New (Alt+N)" CommandName="New Student" />

<telerik:RadToolBarButton Width="120px" DisplayType="TextOnly" AccessKey="r" Tooltip="Return (Alt+R)" CommandName="Account Detail" />

<telerik:RadToolBarButton Width="120px" DisplayType="TextOnly" AccessKey="a" Tooltip="Accounts (Alt+A)" CommandName="Accounts" />

<telerik:RadToolBarButton Width="120px" DisplayType="TextOnly" AccessKey="s" Tooltip="Students (Alt+S)" CommandName="Students" />

</items>

</telerik:RadToolBar >

John Davis
Top achievements
Rank 2
 answered on 29 Apr 2008
1 answer
136 views
hi all,

Can any one tell, is there any posiblities to load charts from Client Side.i.e., i want to display chart on a div tag can we do That.

Actually in my application i am using Ajax which will reaturn data in text frmat and that data i am displaying on a divTag.

Thanks
Jagadish

Giuseppe
Telerik team
 answered on 29 Apr 2008
1 answer
114 views
I would like for the bars in my RadChart bar graph to be colored as if they were series (meaning that each bar would be a different color from the active chart skin).  Is this possible?  If not, what's the next-best method?  I really don't want to have to define color schemes manually since the chart's skin may be changed dynamically, and finding color schemes that work with all the skins is going to be difficult...
Giuseppe
Telerik team
 answered on 29 Apr 2008
1 answer
103 views
I found a small bug in the radEditor. When the spellchecker is active and a user right clicks on the text inside the editor a Javascript error occurs. This error occurs in IE7, I haven't tested any other browser. This error occurs also on the radEditor demo page http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/SpellChecker/DefaultCS.aspx
George
Telerik team
 answered on 29 Apr 2008
1 answer
132 views
No matter what I do I can't seem to affect the "style" of the tooltip text.  Changing the "FONT" settings in TooTip Manager or adding a CSSCLASS don't seem to do anything.

Is this a common issue?  Or is the external stylesheet I'm forced to use in the page in question causing the issue?  What outside CSS might causes issues w/ styling tooltip text?
Svetlina Anati
Telerik team
 answered on 29 Apr 2008
1 answer
237 views
I have a 3 server MOSS farm consisting of 2 front ends and 1 application server. Both front end servers are 64 bit, the application server is 32 bet, all running Server 2003EE, sp2. Both front end servers use MS Network Load Balancing and are ssl.

I've read the deployment and config manual and am not clear on the following:
  1. Any known issues with running on a farm? I found this link, Moss Farm issue, any thing else to be careful of?
  2. Is RadEditor Lite compatabile with both 64 and 32 bit OS's?
  3. Any issues with running RadLite in the mixed OS environment?
  4. Any issues with running RadLite using MS load balancing?
  5. Where should the stsadm command be run from? My guess would be from either of the front end servers would be best?

Thank You,

Don C

George
Telerik team
 answered on 29 Apr 2008
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?