Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
294 views
Hi, i have a chart which normally has a x axis with a date value.
Under certain circumstances, I'd like to group the results and show the monthly accumulated values, and show the month name

In the data I have both a date field and a month field, and I can easily group by the month field, but I can't seem to format it so that it show the month name rather than the month value.

Can you please point me in the right direction?

This is what I have so far:
Private Sub chart1_ItemDataBinding(ByVal sender As Object, ByVal e As EventArgs) Handles Chart1.ItemDataBinding
 
    Chart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = -90
 
    If Me.ReportParameters("Time").Value.ToString.Trim = "Daily" Then
        Chart1.PlotArea.XAxis.DataLabelsColumn = "userlogdate"
    ElseIf Me.ReportParameters("Time").Value.ToString.Trim = "Yearly" Then
        Chart1.PlotArea.XAxis.DataLabelsColumn = "year"
        Chart1.DataGroupColumn = "year"
    ElseIf Me.ReportParameters("Time").Value.ToString.Trim = "Monthly" Then
        Chart1.DataGroupColumn = "month"
        Chart1.PlotArea.XAxis.DataLabelsColumn = "month"
        Chart1.PlotArea.XAxis.Appearance.ValueFormat = Charting.Styles.ChartValueFormat.ShortDate
        Chart1.PlotArea.XAxis.Appearance.CustomFormat = ???
 
    End If
 
 
End Sub

Thanks for you help
Nikolay
Telerik team
 answered on 08 Dec 2011
2 answers
127 views
I am using datasource to bind the tree initially using DataBind() method. I am able to set Text, Image using RadTreeNodeBinding but not able to set custom attributes directly. Is there any way I can add the values to the node using datasource?
Bozhidar
Telerik team
 answered on 08 Dec 2011
1 answer
117 views
Hi,

I am using a Tabstrip with a multipage, navigating between pageviews by clicking the tabs.
On tab2 I placed a usercontrol containing a Radlistbox. This is rendered fine when I open the webpage with tab2 selected, it shows the 8 items inside.

But when I open the webpage with another tab selected, and then switch to tab2, the Radlistbox shows only 2 items. 
This only happens in IE9, other version and browsers work fine. I use Telerik version 2011.2.712.35.

Has anyone seen this before and knows how to solve it?

Annet


Bozhidar
Telerik team
 answered on 08 Dec 2011
4 answers
206 views
Hi,

I need to display limited characters only in grid.I followed the following thread and it is working.
http://www.telerik.com/community/forums/aspnet/grid/display-limited-characters-in-radgrid.aspx


Now for diffreent resolutions and monitors this hardcoded character limit is not going well.

So i want to get the column width and number of characters fit to that .I will give the column widths in %.

I want something like if (no:of characters in the column > column width)  then
column.text=truncate till it fits in that column+"..."

Also if there is any other way  to achieve this plz tell me...

Could any body please help me..
Thanks.
Winni
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
150 views
i have one table like -receipt transaction one coloumn name is headtype within headtype i have like schoolfee duefee and hostelfee is there. i have to bind schoolfee,due fee,hostelfee in rad pi chart
Bartholomeo Rocca
Top achievements
Rank 1
 answered on 08 Dec 2011
1 answer
666 views
Hello,

Telerik ASP.NET Ajax: 2011.3.1115.40
Language. VB.NET

We try to know how to use the web.config settings "Telerik.Web.SkinsAssembly" with a custom skin created by Telerik Style Builder.

For this, we did the following steps:
  1. We created a custom skin by Telerik Style Builder named "MySkin" with all controls skinned.
  2. We transformed the skin "MySkin" into an assembly "MySkinAssembly" with namespace "MySkinNamespace" by the tool of Bryan Boudreau, Telerik-webresourcebuilder:
  3. We add in <appSettings> the lines:
<add key="Telerik.Web.SkinsAssembly" value="MySkinAssembly" />
<add key="Telerik.Skin" value="MySkin" />
<add key="Telerik.EnableEmbeddedSkins" value="false" />
  4. In a web page, we added a <telerik:RadButton id runat ... /> but without the tag Skin, because Telerik adds it with "MySkin" taken from "Telerik.Skin" setting.

The result was that the RadButton was not skinned.

But if we add "RadStylesheetManager" with an entry for the RadButton in the page, like:
<RadStylesheetManager ...>
  <
StyleSheets>
   
<StyleSheetReference Name="MySkinAssembly.MySkinNamespace.Button.MySkin.css" Assembly="MySkinAssembly" />
  </StyleSheets>
</RadStylesheetManager>

it works!

How can we use the web.config settings "Telerik.Web.SkinsAssembly" without "RadStylesheetManager"?

Thank you
Alain
Lini
Telerik team
 answered on 08 Dec 2011
8 answers
752 views
Hi All,

I am using RadTimePicker.

I want to set the time in RadTimepicker from javascript.
Please help me.

Thanks
Princy
Top achievements
Rank 2
 answered on 08 Dec 2011
1 answer
145 views
how to insert ,update and delete Appointments in RadScheduler from my database.
Shinu
Top achievements
Rank 2
 answered on 08 Dec 2011
2 answers
90 views
Hi,
I am referring to this page. In this demo page, the top grid contains various columns. One of the columns is contact details which is created using telerik:GridTemplateColumn. I would like to know how can we create such columns problematically? I know how can we create column with single data item. But in this case its split view which I want to achieve.

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx
abhijeet
Top achievements
Rank 1
 answered on 08 Dec 2011
3 answers
170 views
I am having a difficult time (it's been two days already) trying to prevent the display of a loading panel when a nested control triggers an async/ajax event.

In my situation I have an ASP:Panel that is Ajaxified via adding a declarative AjaxSetting on a page and the loading panel is specified.  This is because normally I want the loading panel to display for anything that updates in the panel, like the markup below:

<telerik:AjaxSetting AjaxControlID="ProblematicArea">
                   <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="ProblematicArea" LoadingPanelID="LoadingPanel" />
                   </UpdatedControls>
</telerik:AjaxSetting>

This is what the panel looks like when defined.
<asp:Panel ID="ProblematicArea" runat="server" >
     <asp:PlaceHolder Runat="server" ID="DynamicControls"></asp:PlaceHolder>
</asp:Panel>


I am adding dynamic controls, user controls, when the page loads to the "DynamicControls" placeholder.  Normally when one of these dynamically added user controls has a drop down or another control, this works great because if I auto-postback the dropdown it gets included in the events that trigger that loading panel.

However, I have a situation where there is a particular button in a particular user control that I do not want it to trigger the appearance of the loading panel when a user clicks the button, because the button has JavaScript to trigger another screen/UI blocking function while a server-side process is running instead of the loading panel (which does not block all controls on the screen normally).  The situation as it stands is that both the ajax loading panel and this other screen/ui blocking (the second one blocks the entire screen and has a different look and feel) load and it's very confusing to the user/redundant.

It is not that I want to remove the AjaxUpdateControl entry for the "ProblematicArea" it's that I do not want the loading panel to display in a particular case and for all other cases I want it to display.
jgill
Top achievements
Rank 1
 answered on 08 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?