Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
118 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
122 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
580 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
88 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
263 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
73 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
848 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
133 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
2 answers
136 views
Hi,

I want to add something like telerik top menu which currently includes Product Families and account info and about us to my site. I want to have a box on top of my master page to show help of each page. is there any solution?!

I want something like PRODUCT FAMILIES to slide in and out. thanks for any help.
farzad
Top achievements
Rank 1
 answered on 03 Jan 2013
0 answers
59 views
Hi, 

http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/templateformupdate/defaultcs.aspx

In the above example when we click on the edit button it opens the form below the item. Can we open that item on the top instead of below the item??


Thanks,
Nimmy
Nirmala
Top achievements
Rank 1
 asked on 03 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?