Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
168 views
Is there a way to get access to the commanditem from with the RowSelected() client side event on the grid (using the sender or eventargs params)?

Thanks

Yavor
Telerik team
 answered on 08 Aug 2008
1 answer
152 views
Hi,

May I know how can I control the input box text vertical alignment to middle?

I could so something like this in the CSS to make the text align center, but, I can't find the way for text vertical alignment.
 
    text-align:center;


Please advice.
Dimo
Telerik team
 answered on 08 Aug 2008
5 answers
169 views
After upgrading to the new ASP.NET Ajax version of RadChart, my chart's PlotArea no longer positions itself correctly according to the Position-X and Position-Y values I had previously set.  Changing these values seems to do absolutely nothing.  Is this a bug or perhaps there's a no property setting that is overriding my X/Y offset values.

Click this link to see a screenshot of what I mean.  The PlotArea used to be more to the bottom-right, using Position-X="60" and Position-Y="70", but now it's way to the top-left and the title overlaps it.

Screenshot of PlotArea Layout Problems

And here's my code...
-Aaron

<

telerik:RadChart ID="chartReport" runat="server" TempImagesFolder="~/RadControls/Temp" SeriesPalette="">

<charttitle>

<appearance dimensions-margins="2%, 2%, 2%, 2%">

<fillstyle maincolor="">

</fillstyle>

</appearance>

<textblock Text="">

<appearance textproperties-color="102, 137, 186">

</appearance>

</textblock>

</charttitle>

<series>

<telerik:ChartSeries Name="Series1" YAxisType="Primary" DataYColumn="DataValue1" />

<telerik:ChartSeries Name="Series2" YAxisType="Primary" DataYColumn="DataValue2" />

</series>

<appearance border-color="103, 136, 190">

<fillstyle maincolor="249, 250, 251">

</fillstyle>

</appearance>

<PlotArea SeriesOrientation="Vertical" intelligentlabelsenabled="True">

<DataTable visible="True">

<Appearance RenderType="PlotAreaRelative" TextVerticalAlign="Middle" TextHorizontalAlign="Center"></Appearance>

</DataTable>

<emptyseriesmessage>

<textblock text="No records to display.">

</textblock>

</emptyseriesmessage>

<XAxis LayoutMode="Between" VisibleValues="All" autoscale="False" datalabelscolumn="DataField" maxvalue="0" minvalue="0" step="1">

<appearance color="165, 190, 223" majortick-color="165, 190, 223" labelappearance-position-auto="False" labelappearance-position-x="0"

labelappearance-position-y="10" labelappearance-rotationangle="30" labelappearance-visible="False" majortick-visible="False">

<majorgridlines color="165, 190, 223" />

</appearance>

</XAxis>

<YAxis AxisMode="Normal" VisibleValues="All">

<ScaleBreaks LineStyle="Sinusoid"></ScaleBreaks>

<appearance color="165, 190, 223" majortick-color="165, 190, 223" minortick-color="165, 190, 223">

<majorgridlines color="165, 190, 223" />

<minorgridlines color="165, 190, 223" visible="False" />

<textappearance textproperties-color="Black">

</textappearance>

</appearance>

</YAxis>

<YAxis2 AxisMode="Normal" VisibleValues="All">

<ScaleBreaks LineStyle="Sinusoid"></ScaleBreaks>

</YAxis2>

<appearance Position-Auto="false" Position-X="70" Position-Y="60" seriespalette="" border-color="165, 190, 223" dimensions-margins="2%, 2%, 2%, 2%" dimensions-autosize="False">

<fillstyle filltype="Solid" maincolor="249, 250, 251">

</fillstyle>

</appearance>

</PlotArea>

<legend visible="False">

<appearance border-color="165, 190, 223" visible="False">

<fillstyle maincolor="231, 241, 255">

</fillstyle>

</appearance>

</legend>

</telerik:RadChart>

Ves
Telerik team
 answered on 08 Aug 2008
1 answer
101 views
Do you fully support development with Visual Studio 2008 using Q1 2008 and Q2 2008 releases of RadControls for ASP.NET AJAX?

Are there any benefits to using Visual Studio 2005 instead of Visual Studio 2008 when working with RadControls?

Thanks,
-Eric 
Sebastian
Telerik team
 answered on 08 Aug 2008
5 answers
200 views
Hello,
RadEditor does not work inside an IFrame.
Do we have a fix for this plz?


Thx in advance.
Hanno
Top achievements
Rank 1
 answered on 08 Aug 2008
16 answers
770 views
I always render my grid in edit mode.
I am calculating the total to be displayed in the footer in the ItemdataBound event.

My code looks like this:

protected

void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)

{

if
(e.Item is GridEditableItem && (e.Item as GridEditableItem).IsInEditMode)

{

GridEditableItem editItem = e.Item as GridEditableItem;

RadNumericTextBox

txt01 = (editItem.FindControl("txt01") as RadNumericTextBox);

sum += (

string.IsNullOrEmpty(txt01.Text) ? 0 : double.Parse(txt01.Text));

}

}

The problem is after an update the total in the footer gets doubled.

I am not sure if my understanding is right but I suspect that my ItemDataBound event is called and then it's called again after the NeedDataSource event is fired. And since I am storing the total in a global variable sum it gets doubled.

What can i do to avoid it?

Sebastian
Telerik team
 answered on 08 Aug 2008
1 answer
158 views
I have a standard treeview and I want the nodes to be sorted alphabetically. The treeview is built dynamically from a database. In some instances, I would like for a particular node's child nodes to not be sorted alphabetically. In other words, for a particular branch to be listed in the order it was built.Is there any way to do this, or is the sorting only possible on the whole tree? I can, of course, turn sorting off, and presort my data according to my needs and then populate the tree. However, I really like the sort property in instances where I need to insert a node in response to a client-side action.

My scenario is as follows. I have a tree of "Folders". Some folders have child nodes that represent "Person Names". These can be sorted by node text and everything is fine. However, some other folders have sub nodes which represent time-stamped objects, and I would like these to be sorted by the timestamp (according to the order retrieved from the database), rather than alphabetically by the node text.
Atanas Korchev
Telerik team
 answered on 08 Aug 2008
4 answers
108 views

I have a big problem!!!

I have a aplication develoment in asp.net 2008, I create a Master Page and put in this diferent controls of Ajax (menu..RadTabScript..), when I create a WebForm and this has a relation with the MasterPage I can't use de RadAjaxControl because , this control  doesn't allow  configure Ajax Manager, this when the WebForm has a MasterPase. Becouse when I create other WebForm than haven't a MastePege and I put a Rad AjaxManager, this control allow configure Ajax Manager.

Please If any can helpme

Konstantin Petkov
Telerik team
 answered on 08 Aug 2008
11 answers
345 views
I am trying to create a new skin for our development shop. What I have done so far is copy a skin from the \RadControls for ASPNET AJAX Q1 2008\Skins folder - vista in this case - and renamed it and all of the other instances of vista with MySkin. When I try to access this skin I get this error

"Telerik.Web.UI.RadWindowManager with ID='RadWindowManager1' was unable to find embedded skin with name 'MySkin'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false."

I want to be able to type skin="MySkin" on my WindowManager. I have been looking for an extended period of time for any documentation or examples on this even searching the example solution that comes with the controls with no results.

Where do I match up the folders in the skin with embedded skin. It is like the "Hay" skin in the example project.

Please help.
Stuart Hemming
Top achievements
Rank 2
 answered on 08 Aug 2008
1 answer
179 views
All;

I have installed RadControls_for_ASP.NET_AJAX_2008_2_723_dev and integrated the RadControls for ASP.NET AJAX into Visual Studio 2005. When I try to use an Ajax control in an .ascx page, I recieve the error:

The system cannot find the file specified. (Exception from HRESULT: 0x80070002) and The operation could not be completed. Invalid FORMATETC structure.

The Ajax tools from Q32007 worked fine. What is different and what is the problem with these new tools?

Thanks in advance.

Chris
Konstantin Petkov
Telerik team
 answered on 08 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?