Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
61 views



Hi,

I have done chart before but this one little complex for me. because first column is "Unit"  should be shown based on Month columns like Dec2012,Jan2013,Feb2013..etc  .  Grand Total no need to display.

Database query output is :



Desired Rad Chart Output is :


Please find the link below for project contains database. please give me code to display result like as above.

https://docs.google.com/open?id=0B2iTYXKyTlBpa0MtOFdDbUZSRjg


Cannot hard code Months in the series,because may have more than 2 columns like Dec2012,Jan2013,Feb2013,Mar2013...etc..  

Cannot hard code Unit also,because may have more than 2 values like 001,002,003....etc..
 

Thank you in advance.










Madhu Palakurthi
Top achievements
Rank 1
 asked on 04 Jan 2013
1 answer
101 views
Is there a code download for the binding to XML demo? I wanted to see what the XML file looked like from this demo:  http://demos.telerik.com/aspnet-ajax/scheduler/examples/xmlschedulerprovider/defaultcs.aspx


Thanks,
Sam

Sam
Top achievements
Rank 1
 answered on 03 Jan 2013
0 answers
115 views
Hi,

We want to build some social aspect into our web application - an Activity Stream to start.
I notice that Telerik has built this feature into their TeamPulse product, but was wondering if anyone has built a similar capability into their web application using RadGrid or RadListView or some other Rad control(s).

I would prefer to use one or more Rad controls rather than pursue another 3rd party solution (or open source), since we are familiar (and happy) with the Telerik ASP.NET AJAX controls.

Thanks in advance.

Jim

jlj30
Top achievements
Rank 2
 asked on 03 Jan 2013
2 answers
117 views

I have set up a custom attribute "CustNo" on the standard AdvancedFormVB.ascx to hold a customer number. This is all working perfectly, and anything I type into this custom attribute's textbox is correctly saving to the database along with the appointment information, and is later being retrieved correctly when I reopen the appointment.

I am opening a RadWindow from a button on my AdvanceFormVB.ascx so that my users can create a customer record.
From my RadWindow's code behind I am:
1. Saving the newly created customer record to my database.
2. Storing the ID (Customer Number) of the newly created record in to a session variable.
3. Calling a clientside javascript function to close the Radwindow.

I have been able to verify from a javascript alert window that after the RadWindow closes my session variable still contains the correct ID (Customer Number).

What I would like to be able to do is, when the RadWindow closes,
1. put this ID straight into the "CustNo" Attribute Textbox of the still open AdvancedForm.
2. Call a refresh/postback of the AdvancedFormVB so that I can do some additional display stuff.

I'm assuming that populating the custom attribute textbox and calling a postback on the AdvancedForm must be done using javascript/jquery? But I'm a javascript/jquery newbie and have no idea how to go about it.



Arlety
Top achievements
Rank 1
 answered on 03 Jan 2013
4 answers
575 views
We have a RadToolTip containing a RadScheduler and two RadGrids. We want to keep these objects in sync, so we've employed a RadAjaxManager. Unfortunately, the events that we want to sync after are fired from controls within the NestedViews of the RadGrids. When EnableAjax is set to false, the following error is thrown:

Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: ItemHierarchicalIndex

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: ItemHierarchicalIndex]
   Telerik.Web.UI.GridItemCollection.get_Item(String hierarchicalIndex) +153
   Telerik.Web.UI.GridDataItemCollection.get_Item(String hierarchicalIndex) +50
   Telerik.Web.UI.RadGrid.LoadClientState(Dictionary`2 clientState) +7307
   Telerik.Web.UI.RadCompositeDataBoundControl.LoadPostData(String postDataKey, NameValueCollection postCollection) +305
   Telerik.Web.UI.RadCompositeDataBoundControl.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +73
   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +1068
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2773

What can we do? Thanks.
Matthew
Top achievements
Rank 1
 answered on 03 Jan 2013
1 answer
84 views
I have an autoCompleteBox with InputType="Token" and AutoPostBack="True". When I click the "x" in a token the EntryRemoved event does not fire server side - client EntryRemoving event works. Anyone else running into this? Thanks.
Kalina
Telerik team
 answered on 03 Jan 2013
5 answers
252 views
Hi,

   I have used RadEditor and its associated tools group.. i had faced a problem such that, i entered the text one below another using enter key and selected one text to make it right aligned.. The Problem is all the texts displayed one below other is also getting right aligned, not the particular text alone which i have selected.. It is not only for right alignment, also includes left,justify...The following is the code i used,
<telerik:RadEditor TabIndex="4" ID="radEditorDescription" OnClientLoad="OnClientLoad" EnableResize="false"
                                       runat="server" Width="640px" CssClass="marginBottom20 maarginleft10">
                                       <Tools>
                                           <telerik:EditorToolGroup Tag="MainToolbar">
                                               <telerik:EditorTool Name="AjaxSpellCheck"  />
                                               <telerik:EditorTool Name="Print" />
                                               <telerik:EditorTool Name="StrikeThrough" />
                                               <telerik:EditorTool Name="InsertUnorderedList" />
                                               <telerik:EditorTool Name="InsertOrderedList" />
                                               <telerik:EditorTool Name="Subscript" />
                                               <telerik:EditorTool Name="Superscript" />
                                               <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" />
                                               <telerik:EditorTool Name="Undo" ShortCut="CTRL+Z" />
                                               <telerik:EditorTool Name="Redo" ShortCut="CTRL+Y" />
                                               <telerik:EditorTool Name="Indent" />
                                               <telerik:EditorTool Name="Outdent" />
                                               <telerik:EditorTool Name="TableWizard" />
                                               <telerik:EditorTool Name="InsertSymbol" />
                                               <telerik:EditorTool Name="JustifyLeft" />
                                               <telerik:EditorTool Name="JustifyRight" />
                                               <telerik:EditorTool Name="JustifyFull"/>
                                           </telerik:EditorToolGroup>
                                           <telerik:EditorToolGroup>
                                               <telerik:EditorTool Name="Bold" />
                                               <telerik:EditorTool Name="Italic" />
                                               <telerik:EditorTool Name="Underline" />
                                               <telerik:EditorSeparator />
                                               <telerik:EditorTool Name="ForeColor" />
                                               <telerik:EditorTool Name="BackColor" />
                                               <telerik:EditorSeparator />
                                               <telerik:EditorTool Name="FontName" />
                                               <telerik:EditorTool Name="RealFontSize" />                                                                                              
                                           </telerik:EditorToolGroup>                                                                                      
                                       </Tools>                                        
                                       <CssFiles>
                                           <telerik:EditorCssFile Value="~/App_Themes/Web20/Editor.css" />
                                       </CssFiles>
                                   </telerik:RadEditor>

Please guide me to proceed further..

Thanks,
Hema.
Rumen
Telerik team
 answered on 03 Jan 2013
3 answers
71 views
I am having a problem with the Image Editor. When we resize and/or crop an image it is not reflected in the saved image. Basically, a copy of the image is created, but none of the changes are there. I am using Firefox 16.0.2 and we are using:

Telerk.Web.UI_2012_3_1113_Dev_hotfix

Any help would be greatly appreciated!
Vessy
Telerik team
 answered on 03 Jan 2013
3 answers
841 views
is there a tutorial that explains how to create a pie chart programatically.
Danail Vasilev
Telerik team
 answered on 03 Jan 2013
4 answers
131 views
Hi,
when the grid is in insert mode, I cannot set dafault value for the RadDatePicker.
This method doesn't work:
<telerik:GridTemplateColumn DataField="DateOper" HeaderText="DateOper" SortExpression="DateOper" UniqueName="DateOper" ColumnEditorID="0">
<ItemTemplate                                   
<
asp:Label runat="server" ID="DateOper" Text='<%# Bind("DateOper","{0:d}") %>'></asp:Label>
 </ItemTemplate><                       
<
InsertItemTemplate>                                   
<
telerik:RadDatePicker runat="server" ID="DateOper" DbSelectedDate='<%# Bind("DateOper","{0:d}") %>'></telerik:RadDatePicker>



protected void rgKsOper_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
   {       
if (e.Item is GridEditFormInsertItem && e.Item.OwnerTableView.IsItemInserted)
      {    GridEditFormInsertItem insertItem = (GridEditFormInsertItem)e.Item;
           RadDatePicker dateOper = (RadDatePicker)insertItem.FindControl(
"DateOper");
           date.SelectedDate = DateTime.Today;
      }
   }

help me understand...
Jayesh Goyani
Top achievements
Rank 2
 answered on 03 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?