Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
When I set RadScheduler height="100%", it also sets the AdvanceForm modal to 100%.  How do I set RadScheduler height to 100% while keeping modal to an auto height?
Sarah
Top achievements
Rank 1
 answered on 01 Mar 2010
1 answer
86 views
Hi,
 I was trying to work with silverlight line series and i am facing with the following issues:
1. I have 349 records in my list. I have 4 line series and i am trying to attach each one of them individually. But it is extremely slow and sometimes it hangs. I am not using any animation. Just at my xaml i have declared:

<

 

telerikChart:RadChart x:Name="RadChart2" Background="Transparent" UseDefaultLayout="False" Grid.Row="1">

 

 

 

 

<telerikCharting:ChartArea x:Name="webChartHPI"

 

 

 

Margin="0,0,0,1"

 

 

 

HorizontalAlignment="Stretch"

 

 

 

VerticalAlignment="Top"

 

 

 

FontFamily="Calibri"

 

 

 

FontSize="10"

 

 

 

>

 

 

 

 

</telerikCharting:ChartArea>

 

 

 

 

</telerikChart:RadChart>

and my code says ( for each individual series):

 

foreach

 

(xxx.myclass sr in e.Result)

 

{

 

 

DataPoint dataPoint = new DataPoint();

 

dataPoint.XValue =

 

Convert.ToDouble(sr.Year);

 

dataPoint.YValue =

 

Convert.ToDouble(sr.Percent);

 

mySeries.Add(dataPoint);

}

mySeries.Definition =

 

new LineSeriesDefinition();

 

mySeries.Definition.ShowItemLabels =

 

false;

 

mySeries.Definition.Appearance.Stroke = (

 

new SolidColorBrush(Color.FromArgb(255, 252, 237, 64))) as Brush;

 

mySeries.Definition.Appearance.Fill = (

 

new SolidColorBrush(Color.FromArgb(255, 252, 237, 64))) as Brush;

 

mySeries.LegendLabel =

 

"CBSA Level HPI";

 

webChartHPI.DataSeries.Add(mySeries);

 

 

All series have 349 records with the same X axis but the Y axis varies

2. I am not able to display Legends. Do i have to put <telerikcharting: legends > separately to achive this? Also i want the legend to display on the top left of the chart like in excel but not able to do so.

3. My third problem is i am not able to display negative values in a line series. This chart is completely different from that mentioned in 1. It has some 200 values having both +ve and -ve values for Y axis. But it is not displaying the -ve region. The chart was not even displaying and was hanging my machine. But when i put 

 

loanChartControl.AxisY.AutoRange =

 

false;

 

 

 

it started displaying but then again i think this stopped it from displaying the -ve axis.

4. My final problem is with the chart size. I cannot shrink the size of the chart. It is taking the entire cell space. Also does the values displayed in the x axis depend on the space it gets ? I am not able to reduce the line series thickness as well.


The version i am using is 2009.2.812.1030 for Telerik.Windows.Controls.Charting.

Please help me asap.

 

Velin
Telerik team
 answered on 01 Mar 2010
2 answers
127 views
I use the IndentHTMLContent filter. It works very nicely for tables, but it does not do any indenting for nested <div>, <p>, or other elements. So, for example, if I paste the following simple html with a couple of nested <div>s into the editor, it does not get indented.

<div>
<div>
<div></div>
</div>
</div>

Is there a way to get the indentation working for this type of html?
Dan Ehrmann
Top achievements
Rank 1
 answered on 01 Mar 2010
1 answer
82 views
Does anyone know of a way to generate a list of events based on the iCalendar spec and RRULE string that RADScheduler uses?  If I want to send email reminders of events coming up I need to have the scheduled events in some sort of recordset.  Hoping for a stored proc.  I could write it on my own but I've been looking for existing code but with no luck.  Thanks in advance.

Example string...

DTSTART:20100219T060000Z
DTEND:20100219T143000Z
RRULE:FREQ=WEEKLY;COUNT=3;INTERVAL=2;BYDAY=TU,FR
Dimitar Milushev
Telerik team
 answered on 01 Mar 2010
6 answers
386 views
Hi,

I will explain what behavior I want and would like to know if that is possible or if there is any workaround.

I have a RadNumericTextBox control called txtNumber created. But from the backend-code, I'd like to feed any type of variable(string, double, int) instead of just numeric types and still be able to display the string value in the textbox. But from the UI, user should only be able to type numbers and as user loses focus from the textbox, number inside the textbox should do the reformatting (putting thousand separators and decimal points, etc. like regular RadNumericTextBox). Is there a way I can do this? or is there a way I can use other types of textbox so it can have string value but limit user inputs to numeric types and do the reformatting?

Thank you very much in advance.
Ryan Kim
Top achievements
Rank 1
 answered on 01 Mar 2010
1 answer
204 views
I have multi-page grid and no something special about it.
However, when i try to use 'grouping' feature to group my records visually by one of columns (server_id, integer type) - I am getting 'Arithmetic overflow' error!

I tried another column, string type - vain, the same error!

What is wrong?

p.s. I will not show sample of the code here, because there is really nothing especial about it. It's a working grid, no bugs, sorting, paging - this is all correct. SelectFields, GroupByFields are correct also.
Tsvetoslav
Telerik team
 answered on 01 Mar 2010
8 answers
954 views
Hi
          I need to set the visibility of <div> tag placed inside the EditFormTemplate.
Ex: I have a Show button in the EditFormTemplate, and i also have <div id="divSearch" runat="server">. I just need to show this div tag when only the Show button clicks.

I used to apply the style tag for div dynamically like 

divSearch.Style[

"display"] = "block";    and i also tried

 

divSearch.Visible=true;

But the above scenarios doesnt work for me. I could not get control over the div and also i am not able to show the div tag.

--Thanks

Dimo
Telerik team
 answered on 01 Mar 2010
1 answer
156 views

i am using a tabstrip, some tabs of which are inintially disabled via markup code:

<Tabs>
    <telerik:RadTab Text="Arrangement" Value="Arrangement" />
    <telerik:RadTab Text="Specials" Value="Specials" Enabled="false" />
    <telerik:RadTab Text="Monthly Commitments" Enabled="false" Value="MonthlyCommitments" />
</Tabs>

i then have client code that enables the tabs based on certain client-side events like so:

function SelectSpecialsTab() {
    Page_ClientValidate();

    if (Page_IsValid) {
        var Tab = GetTab("Specials");
        Tab.enable();
        Tab.click();
    }

    return false;
}

this works fine.  however, everytime the server is hit via postback or ajaxmanager request client code (.ajaxRequest(string), for example), the tabs revert back to their initial enabled property settings, disabled in this case.

i've even tried taking the enabled = "false" property out of the markup and setting it in the codebehind in a !ispostback block, but it still disables the tabs.  when i take the enabled = "false" logic out completely from the markup and codebehind, the tabs stay enabled.

any idea on how to keep this from happening?

Schlurk
Top achievements
Rank 2
 answered on 01 Mar 2010
5 answers
130 views
hi

i want to fire a click event of a button from code behind w/o making a post back using radajaxmanager..

here is what i want to do:

from my master page i open a pop up

then the pop up window on close will register some session which i want to retrieve..

at pop up close i want to fire the btn click event

w/o making post back

is thath possible?.

cn u provide me the code plz?

thanks in advance

regards
webster
Iana Tsolova
Telerik team
 answered on 01 Mar 2010
9 answers
272 views
I am having an issue with loading a RadComboBox from a Web Service.  I have attempted to use the code from the demo with no luck. When I click on the RadComboBox I get an error in the ScriptResource.axd and do not know how to correct this.  Any insight would be great.

The error I get is this: 

Line: 1218
Error: 'length' is null or not an object

Thank you in advance,

Chris Salas

 

Bogdan Cucosel
Top achievements
Rank 1
 answered on 01 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?