Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
195 views
Ok, I'm really  new to Telerik and I'm trying to do a few things with the .NET AJAX controls to get my feet wet. I'm already hitting a wall with something that I'd like to put on a website of mine.

Here's what I want. I hope that someone can tell me how to get here or point me in the right direction. (The online documentation for the Scheduler control isn't helping me so far):

I have a SQL database with some projects. These projects have start and end dates, and can last from months to a year or so. I want to make a project schedule of my active projects, showing the start and end dates along side each other for reference with a scale of maybe 2 years total. I'm not having any luck configuring the TimeLine view for the Scheduler object to do this. Help!
Boyan Dimitrov
Telerik team
 answered on 11 Sep 2012
1 answer
48 views
Can I use SavedOldValues() for a GridEditableDataItem if I am using External Form ? If not, how do I create a business object with the old values from Selected Grid Data Item that is up for Editing ?

Shinu
Top achievements
Rank 2
 answered on 11 Sep 2012
1 answer
199 views
Hi 
I have two questions regarding the 'RadSchedulerRecurrenceEditor' control.

1) I want to hide the 'No end date' and have 'End by' selected as default.
for this I used the following script

function pageLoad() {
var $ = 
$telerik.$;
$(".RecurrenceEditor").children().each(function (i) {   
        //by default set the 'End by' radio selected
           
var chkEndAfter = 
            document.getElementById('MainContent_UCReccuranceControl1_ffRecurrenceEditor_RepeatUntilGivenDate');  
          chkEndAfter.checked = true;

          //hide the 'No end date' radio option
              $telerik.$(".rsAdvOptionsPanel ul li:first-child").hide();       
             });

so as a default set the 'End by' radio selected, is there a better way to get to the  'End by' control and have it selected.

2) Secondly the other scenario is if I select the 'End after' radio option I would like to use a client side custom validator to check if the 'end after' text box is not empty or null  

Please let me know ASAP and its kind of urgent.
Thanks in advance.

Tejas
Princy
Top achievements
Rank 2
 answered on 11 Sep 2012
1 answer
83 views
Hello All,
Greeting of the day!

I am facing some problem in Telerik RadChart Control.

My requirement is this:
I am using radchart control for displaying company different ranking.
I want to make link and show tooltip description on mouseover on each item.
I am not getting any for this.
I attached image file according my requirement.
Please have a look this and suggest me how we will do this on PIE RadChart.

My another question is that I am using DNN 6.2 version and I am not getting RadHTMLChart control on the telerik DLL.
Please let me know how we will get RadHtmlChart control in DotnetNuke 6.2 version.

Thanks
Viky
Evgenia
Telerik team
 answered on 11 Sep 2012
1 answer
99 views
Hi,
I want to achieve such scenario.
I`m invoking CreateColumnEditor and want it to show different edit controls, depending on actually editable rows control(data inside the control).

Any ideas to get me going? Some small code sample?
Marin
Telerik team
 answered on 11 Sep 2012
1 answer
174 views
have Implemented telerik Tree-view in page and populating node using web-service.
Source code look like
<telerik:RadTreeView ID="tvNodes" runat="server" EnableDragAndDrop="false" ExpandAnimation-Type="OutExpo" ExpandAnimation-Duration="800" EnableDragAndDropBetweenNodes="false" CollapseAnimation-Type="OutElastic" CollapseAnimation-Duration="800" Skin="Windows7" OnNodeDrop="tvNodes_HandleDrop" ClientNodePopulating="nodePopulating">
       <ContextMenus>
           <telerik:RadTreeViewContextMenu ID="NodesTreeMenu" runat="server" CssClass="MenuGroup" Skin="Windows7">
               <CollapseAnimation Type="none" />
           </telerik:RadTreeViewContextMenu>
       </ContextMenus>
       <WebServiceSettings Path="../ManageNode.asmx" Method="GetNodes">
       </WebServiceSettings>
   </telerik:RadTreeView>
Javascript
function nodePopulating(sender, eventArgs) {
       var node = eventArgs.get_node();
       var context = eventArgs.get_context();
       SelectedType = '1'//selected node id.
       SearchText = ''
       context["ParentID"] = node.get_value();
       context["AllowDragAndDrop"] = allowDragDrop;
       context["SelectedType"] = SelectedType;
       context["SearchText"] = SearchText;
   }
webmethod
[WebMethod]
   public RadTreeNodeData[] GetNodes(RadTreeNodeData node, object context)
   {
       IDictionary<string, object> contextDictionary = (IDictionary<string, object>)context;
       List<RadTreeNodeData> nodes = new List<RadTreeNodeData>();
       int parentID = Convert.ToInt32(contextDictionary["ParentID"]);
       bool AllowDragAndDrop = Convert.ToBoolean(contextDictionary["AllowDragAndDrop"]);
       int selectedType = Convert.ToInt32(contextDictionary["SelectedType"]);
       string SearchText = Convert.ToString(contextDictionary["SearchText"]);
       dsNodes = NodeBLL.GetAllRecordsByNodeDefinition(selectedType, parentID, SearchText.Trim());
       for (int rowCount = 0; rowCount < dsNodes.Tables[0].Rows.Count; rowCount++)
       {
           DataRow childRow = dsNodes.Tables[0].Rows[rowCount];
           RadTreeNodeData childNode = new RadTreeNodeData();
           if (Convert.ToInt16(childRow["StatusID"]) == Convert.ToInt16(Common.NodeStatus.Archieve))
           {
               childNode.Text = Common.DecodeXML(Convert.ToString(childRow["Name"])) + Common.deleteFlag;
           }
           else
           {
               childNode.Text = Common.DecodeXML(Convert.ToString(childRow["Name"]));
           }
           childNode.Value = Convert.ToString(childRow["ID"]);
           childNode.Attributes.Add(Common.virtualIDAtt, Convert.ToString(childRow["virtualID"]));
           childNode.Attributes.Add(Common.isVirtualExist, Convert.ToString(childRow["isVirtualExist"]));
           childNode.Attributes.Add(Common.NodeDefinitionID, Convert.ToString(childRow["NodeDefinitionID"]));
           childNode.Attributes.Add(Common.ParentNodeID, Convert.ToString(childRow["ParentID"]));
           childNode.Attributes.Add(Common.Position, Convert.ToString(childRow["Position"]));
           childNode.Attributes.Add(Common.NodeDefinition, Convert.ToString(childRow["NodeDefinition"]));
 
           childNode.ExpandMode = (Convert.ToInt32(childRow["ischildexists"]) > 0) ? TreeNodeExpandMode.WebService : TreeNodeExpandMode.ClientSide;
           nodes.Add(childNode);
       }
    return nodes.ToArray();
   }
When I click on expand arrow then through javascript function web method is called to populate child node, it's worked perfect, I have issue in performance when parent node have 1000+ child nodes, I want to implement in batch mode like when user click on expand arrow then load 200 child node with more button then click on more button then load next 200 node. can any one have idea to achieve this feature.

Thanks,
Mohmedsadiq.
Plamen
Telerik team
 answered on 11 Sep 2012
8 answers
214 views
I have a radgrid where I want the user to be able to just click to select multiple rows.  Not click and drag, and not ctrl-click.  Instead, every time they click a row it either selects that row, if it's not already selected - or it deselects it if it's currently selected.  So in the end you end up with a grid with multiple rows selected. 

I would need to intercept the rowclick because I need to check to see if there are 6 rows selected yet.  Once there are 6 rows selected, I'll need to grab the values from the 6 rows and redirect the user to another page where I use those values.

Is this possible with RadGrid?  I currently do this with a GridView, but it's all done on the client side...  It would be nice to be able to use some of the built-in functionality in RadGrid to accomplish this, but I've been working on it for a couple hours and haven't been able to get it to respond the way I thought it would...

Thanks for the help!

Eddie
Radoslav
Telerik team
 answered on 11 Sep 2012
0 answers
54 views

Hi

BinaryImage doesn't resize after change ImageUrl image instead previous  BinaryImage or image with  ImageUrl when ResizeMode="Fit"

Please fix this.

mastermehdi
Top achievements
Rank 2
 asked on 11 Sep 2012
1 answer
468 views
Hello,

Its very urgent.

I have 2 radlistbox in radpageview.
Definition is as below:

<telerik:RadPageView ID="rpvAssignProcess" runat="server">
 <table cellpadding="0" cellspacing="0">
 <tr>
 <td>Available Process</td>
 <td>Assign Process</td>
 </tr>
<tr>
<td>
    <telerik:RadListBox ID="rlboxAvailableProcess" runat="server" AllowTransfer="True" 
        DataSourceID="SqlDataSource_Process" DataTextField="ProcessName"   Skin="WebBlue" 
        TransferToID="rlboxAssignProcess" Height="200px" Width="300px" DataValueField="ProcessName"  
        >
        <ButtonSettings TransferButtons="All" />
        <ItemTemplate>
                <div>
                    <span style="float:left;padding:10px">
                        <%# DataBinder.Eval(Container.DataItem, "CustomerID")%>
                   <br />
                        <%# DataBinder.Eval(Container.DataItem, "ProcessName")%>
                    </span>
                </div>
            </ItemTemplate>
            
  
        <WebServiceSettings>
            <ODataSettings InitialContainerName="">
            </ODataSettings>
        </WebServiceSettings>
    </telerik:RadListBox>
      
    </td>
<td>
 <telerik:RadListBox ID="rlboxAssignProcess" runat="server" AllowDelete="false" AllowReorder="true" 
         Skin="WebBlue" Height="200px" Width="300px" DataSourceID="SqlDataSource_Process1"
         DataTextField="ProcessName" DataValueField="ProcessName">
        <ButtonSettings Position="Right" VerticalAlign="Top" />
            
</telerik:RadListBox>
  
  
 </td>
</tr>
  </table>
    
</telerik:RadPageView>

Code behind code:

Protected Sub RadTabStrip1_TabClick(sender As Object, e As Telerik.Web.UI.RadTabStripEventArgs) Handles RadTabStrip1.TabClick
  
        If RadTabStrip1.SelectedIndex = 4 Then
            Try
                Dim CustomerID As String = ""
                For Each item As GridDataItem In rgView1.MasterTableView.Items
                    If item.Selected = True Then
                        If CustomerID = "" Then
                            CustomerID = item.Item("CustomerID").Text
                        Else
                            CustomerID += "','" + item.Item("CustomerID").Text
                        End If
                    End If
                Next
                SqlDataSource_Process.SelectCommand = "SELECT CustomerID,ProcessName FROM tbl_Process where CustomerID IN ('" & CustomerID & "')"
                rlboxAvailableProcess.DataBind()
            Catch ex As Exception
  
            End Try
        End If
  
    End Sub

It shows multicolumn in first radListbox with values CustomerId, ProcessName. Also i can transfer it to second radlistbox. I tried to transfer data from second to first radlistbox. Data is transfering but it is not visible, transfered row in first listbox is not visible properly. Why it happens? Guide me

Jayanthi
Princy
Top achievements
Rank 2
 answered on 11 Sep 2012
1 answer
105 views
hello,

i would to know how i'm hide the chart label "Series xx" from the chart and how can i positioning this label (without hide it) to the buttom
Princy
Top achievements
Rank 2
 answered on 11 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?