Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
88 views
I am putting together a grid with an expanding details grid. When a row is expanded that is near the bottom, the details chart expands beyond the limits of the grid as shown in the attached image.

How can I make the expansion stay within the boudaries of the grid and give scroll bars when needed.
Andrey
Telerik team
 answered on 22 Dec 2011
4 answers
93 views
I am using telrik RAD ASP.net control asp.net 2.0
This conotrols are not working on safari ? Is that rad controls dont provide safari support?
What we need to do for same ? to support safari ?
Ritesh
Top achievements
Rank 1
 answered on 22 Dec 2011
8 answers
517 views
Hi,  im creating a GridEditCommandColumn in the Page_Init and I have AutoGenerateEditColumn = false set for my grid.   When I run the page the edit command shows but when I hit edit I get the following error.  The rad grid tag is in the aspx page so im not creating the grid programiclly just the columns and settings the values for the radgrid.

[HttpException (0x80004005): Multiple controls with the same ID 'EditButton' were found. FindControl requires that controls have unique IDs.]
   System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +273
   System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +320
   System.Web.UI.Control.EnsureNamedControlsTable() +61
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +222
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +327
   System.Web.UI.Page.FindControl(String id) +38
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +629
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1743

Here is the code.  If I remove this and set AutoGenerateEditColumn to true it works.

       GridEditCommandColumn editCommandColumn = new GridEditCommandColumn(); 
        RG1.MasterTableView.Columns.Add(editCommandColumn); 
        editCommandColumn.HeaderText = ""
        editCommandColumn.UniqueName = "EditCol"
        editCommandColumn.Display = true
        editCommandColumn.HeaderStyle.Width = Unit.Pixel(30); 
        editCommandColumn.ItemStyle.Width = Unit.Pixel(30); 
        editCommandColumn.FooterStyle.Width = Unit.Pixel(30); 
        editCommandColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Center; 
        editCommandColumn.HeaderStyle.HorizontalAlign = HorizontalAlign.Center; 

Why am i getting this error when the grid goes into edit mode.

Thanks in advance
-Keith


Tsvetina
Telerik team
 answered on 22 Dec 2011
1 answer
135 views
I am exporting to Excel using HTML format from a radGrid and I am trying to:

1. Put the columns in a certain order, is this possible?
2. I need to add a column that just puts the increment on 1. So row 1 would have 1 and row 2 would be 2 and so on. Is this possible?

These are the two things I'm stuck on, so any help would be great!

Thanks!
Andrey
Telerik team
 answered on 22 Dec 2011
7 answers
388 views
Hi,

My requirement is to highlight the entire row when user hovers over any part of the row( i.e. either at plus/minus icon or node image or node text or even the empty space left in the row). But, the problem is that row is highlighted only when user hovers over the input text of the node, when user hovers over any other part of node the row is not highlighted.
I am using this style
.RadTreeView_Default .rtHover
{
color: #000;
border-color: #a79d87 #b89f73;
background-color: #FFE086;
padding: 0px 2px 0px 2px;
}
.RadTreeView_Default .rtSelected
{
color: #000;
border: 0;
background-color: #fcdb89;
}

Is there a way to achieve this?
Pooja
Top achievements
Rank 1
 answered on 22 Dec 2011
1 answer
94 views
Dear Telerik,

Could you please help me with the following problem:

I use web wervice binding for my RadScheduler. It has only day view and uses only one resource type. But the exact set of resource values is different for each day.

Thus, when I first load the page the data I see is correct. But when I walk to the next day and further I see the wrong data because the set of resource remains the same, becoming incorrect...

How can I fix this?

I use ResourcePopulationMode="ServerSide"

Many thanks!

- Stepan.
Peter
Telerik team
 answered on 22 Dec 2011
3 answers
347 views
Hi,

I'm getting this error when I do the following :
var events = App.WorkWith().Events()
.Where( n => ( n.Status == ContentLifecycleStatus.Live ) && ( n.Owner == Base.BrokerInformation.BrokerId ) )
.Get()
.ToList();

The inner exception is :
line 1:152: expecting "TOK_UNSIGNED_INTEGER", found '3.' ("3." is a reserved word.)
Original Query: DEFINE EXTENT extnt FOR Telerik.Sitefinity.Events.Model.Event; SELECT * FROM extnt AS t1  WHERE t1.appName =  $1 AND (t1.status =  $2 AND t1.owner =  $3.BrokerId )

The stacktrace is :
   at Telerik.Sitefinity.Data.Linq.Oql.OqlQueryProvider`2.ExecuteKnownType[TResult](IObjectScope scope, String queryText, Boolean isEnumerable, Int32 skip, Int32 take, IList parameters, ElementOperator op)
   at Telerik.Sitefinity.Data.Linq.Oql.OqlQueryProvider`2.Execute[TResult](Expression expression)

I did check, the "Base.BrokerInformation.BrokerId" is a valid Guid.

What is wrong? How do I fix this error?

I'm Using Sitefinity 4.0.

Thanks for your help in advanced.

Kind Regards,
Gerrit
Gerrit
Top achievements
Rank 2
 answered on 22 Dec 2011
2 answers
88 views
Hello,
   We have recently started testing our web application that uses RadControls for ASP.NET Ajax, version 2011.2.915.35, in IE9.  In one of our pages, we have a RadGrid scenario with row selection enabled. The user can select a row and move it up/down through server-side logic. When the server-side operation completes, we are aiming to keep the moved row selected, so we mark it as selected. This works fine in all browsers except IE9, where the selected row does not show as selected anymore after postback, even if it seems to preserve its selected row style:
<tr class="rgRow rgSelectedRow" id="grdChecklistItems_ctl00_ctl06_Detail10__0:0_2">

.RadGrid_Office2007 .rgSelectedRow {
  background: url("/WebResource.axd?d=8HlVixFI-spNm-i_LFPasnVS_PojK2TSIabUxEYpUsHu5V57kdDAVYkjLodU_glW8AsQ5_hjFOFKnXEPtCIPa3WhlhM761rRfCedIlI8jhRSX9aSuc9w_zw1S9OGOkzz6r1EQIaZIJYmuoGaFYFFHdz17Lk1&t=634516086000000000") repeat-x scroll 0 -3900px #FFCB60;
}  

Are you aware of this kind of problems in IE9 and do you know what could fix it?
 
Thank you.
Alan
Top achievements
Rank 1
 answered on 22 Dec 2011
3 answers
148 views
In the chart attached how do I remove the ".00" from the numbers on the left side. 

Using this code. 

<telerik:RadChart ID="rcGrowth1000" runat="server"
    AutoLayout="true"
    AutoScale="true"
    Width="750"
    ChartTitle-Visible="false"
    IntelligentLabelsEnabled="True"
    Skin="Vista"
    >          
    <PlotArea>
        <XAxis DataLabelsColumn="dataMonth" Appearance-LabelAppearance-RotationAngle="-45" LabelStep="3" />
        <YAxis AxisLabel-Visible="false" AutoScale="false" Step="50" Appearance-ValueFormat="Number" />
    </PlotArea>
    <Legend Visible="true" Appearance-Position-AlignedPosition="Bottom" />
</telerik:RadChart>


Seems simple but can't seem to find a way to do it. 

Thanks. 
Giuseppe
Telerik team
 answered on 22 Dec 2011
1 answer
211 views
I am currently setting up a RadChart with custom filters and can not seem to get the chart to clear if there is no data when ViewState is enabled. When I set ViewState to false it works great, the only problem is the chart OnClick event does not fire if ViewState is set to false, and the click event is something this chart has to have.

For example, this should clear the chart so it shows the error message if there is no data returned:

dataPoints= bll.GetAllCustomerDataPoints(param1, param2);
 
if (dataPoints.Count > 0)
{
     UpdateCustomerChart(dataPoints);
}
else
{
     RadChart1.Clear();
}
Giuseppe
Telerik team
 answered on 22 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?