Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
69 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
259 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
60 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
110 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
168 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
1 answer
41 views
Hi

Is it possible, to use RadAjaxPanel, RadAjaxManager, RadScriptManager and RadWindowManager at the same time on the same page?

I have a RadAjaxPanel and a Usercontrol

    <rada:RadAjaxPanel ID="RadAjaxPanel1" runat="server">                
          <uc1:Control1 ID="Control1_1" runat="server" />         
     </rada:RadAjaxPanel>

    The Usercontrol contains a RadWindow that show a RadGrid if there is any error when the user do a postback. All seems work fine, but the radgrid never appears.
        
What is the problem?

Thanks
Emiliano.
Antonio Stoilkov
Telerik team
 answered on 22 Dec 2011
1 answer
27 views
Hello,

I have two pages (MasterPage.aspx and ChildPage.aspx) with rad elements.
On the MasterPage.aspx I call the ChildPage.aspx through ajax (jQuery) and place the response (the entire ChildPage.aspx page) inside the MasterPage.aspx. My problem is that the MasterPage.aspx elements work but those (elements) that were generated on the ChildPage and placed in the MasterPage don't.
Which would be the best practice to load a page into another one with ajax, both pages containing rad elements that need RadScriptManager and RadAjaxManager?

Regards!
Maria Ilieva
Telerik team
 answered on 22 Dec 2011
1 answer
79 views
Hello All

I have one page having the RadGrid and i am doing the CRUD operation on that grid.
I am inserting and updating the records using the popup that is EditMode as popup. I have also created Edit form.

I am using the Ajax AsyncFileUpload to upload the file but when I insert the record I am not getting the file in AsyncFileUpload in the Insert command event of the grid.

So can any one give me the example having the having the AsyncFileUpload inside the telerik radGrid. ??

Thanks to all in advance.
Maria Ilieva
Telerik team
 answered on 22 Dec 2011
1 answer
61 views
So I was hoping someone could explain some more details about this example:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/ribbonbarandeditor/defaultcs.aspx?product=editor

What I'm trying to understand is the role of the "strip" tag within the .xml file.  I've been playing with the order a bit and it simply isn't doing what I think it should be doing.  Just trying to control the behavior of the buttons a little better.

Thanks,

Richard
Rumen
Telerik team
 answered on 22 Dec 2011
1 answer
82 views
Hi All,

I have  a requirement to localize Rad Calender in my Web App. I was able to localise the calender
by setting the Calender.CultureInfo to specific culture whcih i Need. this will take care of localising entire calender control.
Now my req got changed and I need Each month values to localized thorough coding.
ie : i want calender controls to be localized from values in Resource files.

How can I acheive this
Princy
Top achievements
Rank 2
 answered on 22 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?