Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
281 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
65 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
117 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
179 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
45 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
31 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
86 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
65 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
92 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
1 answer
47 views
hii

i have a simple telerik datagrid bounded with sql database table and i have set paging also to 10 records per page when i click next page on my local pc the ajax icon will come and it will load the next page of 10 more records and seems everything fine

but when i publish this application on my webhosting server and run the application the grid loads first 10 records but when i click "next page"  button the ajax icon comes but there are no other records it shows blank screen at the grid records

so where is the problem ??

Pavlina
Telerik team
 answered on 22 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?