Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views
Hello
i try the latest evaluation of RadEditor, and i try the Image Manager associate to RadEditor.
The path i want to configure is this:
 "/Neocase.BdC.Web.Front/Storage/DEV.NEOCASE.LOCAL_80/Documents/1025/Editor"

It seems this path result to an issue, the interface don't appears, just the message "Loading"

if i give this path for exemple:  "/Neocase.BdC.Web.Front/Storage" the interface is loading well.
I can't use '.' chars in path?

2 question:
The upload button is disabled, i have put rights everyone can do everything but it don't work, also implemented the FullPermissionsTest method documented, but it gives no exceptions.

In my case Neocase.BdC.Web.Front is IIS a virtual directory.

An idea for this issue?

Best Regards
Rumen
Telerik team
 answered on 09 May 2012
1 answer
43 views
I have a chart in a contentpage of a masterpage.  When I try to use the $find method in the javascript on the page it comes back as null. I put this
var chart = $find("<%= myChart.ClientID %>"); in a javascript function on the content page and 
I just click a button to call it.  But chart comes back as null. What am I doing wrong?
Petar Marchev
Telerik team
 answered on 09 May 2012
1 answer
96 views
I have a context menu on a RadTreeView which appears when a user right clicks on a tree node and all works fine. I also have the OnClientMouseOver and OnClientMouseOut to create a popup RadWindow which which shows meta data about the current node; all works fine.

But when I attempt to have the two processes worki together such as this scenario, it fails
  1. User's mouse enters the node space and the hover brings alive the RadWindow.
  2. User goes to right click the node (hasn't left the node's mouse out boundary)

At that point the context menu starts displaying but the OnClientMouseOut is called which closes the meta window. Then the context window immediately dissapears and the mouse is now (hasn't moved) over the node's hover zone and the meta window is created a fresh and comes back up.

The expected behavior is that the context window, as with the RadWindow which has been poped up, should exist together until the user chooses an action on the right click menu. At that point I could determine whether to close the RadWindow or not.

Is it possible to not have the context operation generate a call to the OnMouseClose?

advTHANKSance

Bozhidar
Telerik team
 answered on 09 May 2012
1 answer
107 views
Hi,

I am using RadControls Ajax Q3 2010.

I have a very simple graph 
<telerik:RadChart ID="chtPrices" runat="server" DefaultType="Line" Width="500px"
                Height="300px" AutoLayout="true">
                <ChartTitle Visible="false" />
                <Legend Visible="false" />
                <PlotArea>
                    <XAxis Visible="True" />
                    <YAxis ScaleBreaks-Enabled="true" IsZeroBased="false" />
                    <EmptySeriesMessage TextBlock-Text="No Data Selected"/>
                </PlotArea>
            </telerik:RadChart>

and I set its data source dynamically
DataTable prices = PricessManager.GetPrices();
chtPrices.DataSource = prices;
chtPrices.DataBind();

When the data in the data table contains several values (doubles) that are the same (say 91.1, 91.1, 91.1, etc), the graph does not draw the line and instead of centering the graph around 91.1 (since IsZeroBased is set to false), it centers it around 0 which leads me to believe for some reason it's not taking the values at all.

When the same exact data table but with various numbers (say 91, 92, 84.3, 96.1, etc) is used to set the data source, the graph works fine.

Any thoughts?
Petar Marchev
Telerik team
 answered on 09 May 2012
1 answer
112 views
Hey Guys

I am using RadTreeList and doing the hierarchical binding of data by keeping that in the update panel and doing server side binding using AjaxManager and keep the paging enabled.
Whenever I click on any page number or Group(-) Image on the top left of the tree list it throws java script error and treelist got crashed and is unable to find the id of the treeview in update panel and shows control undefined
Is there any other way to group the data on the basis of 'ParentI3D' and having sorting and paging functionality enabled

Here is the design of my treelist:

<asp:UpdatePanel ID="upPanel" runat="server" UpdateMode="Always">                     <ContentTemplate>                           <telerik:RadTreeList ID="gvCustomerMonitorFailures" runat="server" ParentDataKeyNames="ParentI3D"                         ClientIDMode="Static" DataKeyNames="I3D" AllowPaging="true" PageSize="5" AutoGenerateColumns="false"                         AllowSorting="true" ShowTreeLines="false" GridLines="None" AllowMultiItemSelection="true">                         <ClientSettings Selecting-AllowItemSelection="false">                             <ClientEvents OnItemSelected="gvCustomerMonitorFailures_OnItemSelected" OnItemClick="gvCustomerMonitorFailures_OnItemClick">                             </ClientEvents>                         </ClientSettings>                         <Columns>                             <telerik:TreeListBoundColumn DataField="DisplayName" UniqueName="DisplayName" HeaderText=""                                 HeaderStyle-Width="35px" />                             <telerik:TreeListTemplateColumn DataField="IsCheck" UniqueName="IsCheck" HeaderText="">                                 <ItemTemplate>                                     <img src='<%# ProcessMyDataItem(Eval("IsCheck")) %>' id="DisplayIsDeleted" alt=""                                         style="margin-left5pxmargin-top5pxwidth16pxheight16px;" />                                 </ItemTemplate>                                 <HeaderStyle Width="35px" />                                 <ItemStyle HorizontalAlign="Center" />                             </telerik:TreeListTemplateColumn>                             <telerik:TreeListTemplateColumn DataField="IsProblems" UniqueName="IsProblems" HeaderText="">                                 <ItemTemplate>                                     <img src='<%# ProcessMyDataItem(Eval("IsProblems")) %>' id="DisplayIsDeleted" alt=""                                         style="margin-left5pxmargin-top5pxwidth16pxheight16px;" />                                 </ItemTemplate>                                 <HeaderStyle Width="35px" />                                 <ItemStyle HorizontalAlign="Center" />                             </telerik:TreeListTemplateColumn>                             <telerik:TreeListTemplateColumn DataField="IsProcessorPerformance" UniqueName="IsProcessorPerformance"                                 HeaderText="">                                 <ItemTemplate>                                     <img src='<%# ProcessMyDataItem(Eval("IsProcessorPerformance")) %>' id="DisplayIsDeleted"                                         alt="" style="margin-left5pxmargin-top5pxwidth16pxheight16px;" />                                 </ItemTemplate>                                 <HeaderStyle Width="35px" />                                 <ItemStyle HorizontalAlign="Center" />                             </telerik:TreeListTemplateColumn>                             <telerik:TreeListBoundColumn DataField="Description" UniqueName="Description" HeaderText="<%$ Resources:CEntronResource, clmDescription %>">                                 <ItemStyle HorizontalAlign="Right" />                             </telerik:TreeListBoundColumn>                             <telerik:TreeListBoundColumn DataField="StartAsString" UniqueName="StartAsString"                                 HeaderText="<%$ Resources:CEntronResource, clmStart %>" />                             <telerik:TreeListBoundColumn DataField="FinishAsString" UniqueName="FinishAsString"                                 HeaderText="<%$ Resources:CEntronResource, clmFinish %>" />                             <telerik:TreeListBoundColumn DataField="Time" UniqueName="Time" HeaderText="<%$ Resources:CEntronResource, clmTime %>" />                             <telerik:TreeListBoundColumn DataField="FailureReason" UniqueName="FailureReason"                                 HeaderText="<%$ Resources:CEntronResource, clmFailureReason %>" />                         </Columns>                     </telerik:RadTreeList>                                                    </ContentTemplate>                 </asp:UpdatePanel>




Here is the Ajax request event which I used to call on my another control click:

      /// <summary>
        /// Handles the AjaxRequest event of the RadAjaxManager1 control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="Telerik.Web.UI.AjaxRequestEventArgs"/> instance containing the event data.</param>
        protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
        {
              
            //UserControl treelist = (UserControl)this.FindControl("serverComptDetailsView");
            UpdatePanel updPanel = (UpdatePanel)serverComptDetailsView.FindControl("upPanel");
            RadTreeList treelist = (RadTreeList)serverComptDetailsView.FindControl("gvCustomerMonitorFailures");
           
            CEntronRestServiceClient serviceClient = new CEntronRestServiceClient();
            RequestOfint request = new RequestOfint();
            request.Data = Convert.ToInt32(e.Argument.ToString());
            ResponseOfMonitoringDataFailureDTOHGZ00jlC response = new ResponseOfMonitoringDataFailureDTOHGZ00jlC();
            response = serviceClient.GetMonitoringDataFailureDetailByDeviceID(request);

            treelist.DataSource = response.Result;

        
        }
Antonio Stoilkov
Telerik team
 answered on 09 May 2012
1 answer
109 views
Hello,

I am using RadAJAX panel.

I have a radgrid and it has Expand and collapse functionality to expand and collapse rows.

If I expand rows and click on Update button, again it is showing in collapse mode. I want the Grid to appear like it looks before postback

What I have to do ?

TIA
Princy
Top achievements
Rank 2
 answered on 09 May 2012
5 answers
200 views
Hi,
I would like to add a Comboxbox to  New Appointment Window(ComboBox will have 2 values "Development" , "Testing")
So User can able to select value from combobox and save into the database.

How can we add Comboxbox..?
Shinu
Top achievements
Rank 2
 answered on 09 May 2012
3 answers
151 views
I am using your RadTreeview to show my categories in parent child mode with code as

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><br><telerik:RadTreeView ID="RadTreeView1"<br>                                    runat="server" TriStateCheckBoxes="true" CheckBoxes="true" CheckChildNodes="false"><br>                                    <Nodes><br>                                    <telerik:RadTreeNode Text="hello" Value="hello"></telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello1" Value="hello1" Selected="true" Checked="true"><br>                                    <Nodes><br>                                    <telerik:RadTreeNode Text="hello11" Value="hello11"></telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello12" Value="hello12"></telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello13" Value="hello13"></telerik:RadTreeNode><br>                                    </Nodes><br>                                    </telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello2" Value="hello2"></telerik:RadTreeNode><br>                                    <telerik:RadTreeNode Text="hello3" Value="hello3"></telerik:RadTreeNode><br>                                    </Nodes><br>                                </telerik:RadTreeView>


in code behind:
i also checked but its not working

RadTreeView1.ClearCheckedNodes();<br>RadTreeNode trnode = RadTreeView1.GetAllNodes().Where(tn => tn.Text=="hello1").FirstOrDefault();<br>                trnode.Selected = true;<br>               // trnode.Checkable = true;<br>                trnode.Checked = true;


i want to check only parent while binding the data

can anyone please help to tell me if i am doing something wrong, it is not possible or some kind of bug
Princy
Top achievements
Rank 2
 answered on 09 May 2012
6 answers
374 views
if i upload 2 file, and add second file and fileName is same i delete it using
     sender.deleteFileInputAt(sender.getUploadedFiles().length);


It look like delete, but it didn't really delete..

    RadAsyncUpload1.UploadedFiles.Count , it still get 2
Shinu
Top achievements
Rank 2
 answered on 09 May 2012
0 answers
212 views
Hi,
I have node in TreeView, when User gives Node Text, I'm finding that particular node and expanding its path,
Now, I have a Issue I need to fire the event which is occurs OnNodeClick at server side.
Please help me.

Regards
Phaneendra  
Phaneendra
Top achievements
Rank 1
 asked on 09 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?