Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
How would I edit the text of the error message for the Copy button in the RadEditor? For example, when a user pushes the copy button without selecting any text in the editor first, the warning message they receive reads  "Please use Ctrl + C to Copy." I would like to change that text. Thank you in advance for your help.
Rumen
Telerik team
 answered on 01 Nov 2012
9 answers
432 views
Hi,

I am using Telerik Radgrid in my page.I am providing freezing
  facility to the columns in the grid. It is working fine in IE and Firefox but in Chrome it is not coming for the first time but when a postback occurs from then it is working.Can you please help me.

  <Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true" FrozenColumnsCount="1"> </Scrolling>

Thanks in advance.
Maria Ilieva
Telerik team
 answered on 01 Nov 2012
1 answer
68 views
 

I have a radwindow with a button that opens other radwindow. When I click the button to open the second RadWindow, this lost the skin and the information is not show correctly and the border and icons of the radwindow can wrong. This problem is only  IE.

<telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="false"  Skin="Black"  >
<ContentTemplate>
<div>
<h1>TEST</h1>
</div>
</ContentTemplate>
</telerik:RadWindow


function AddNewDocument(sender, args)
{
var RadWindow = $find("<%=RadWindow1.ClientID%>");
RadWindow.set_modal(
true);
RadWindow.show();
}

        How can I force the second radwindow to use the skin="black" as is defined?
Marin Bratanov
Telerik team
 answered on 01 Nov 2012
4 answers
105 views
Hi

I've got a couple of HTML Charts on my page using the code below which is then databoud on page load.  If I view the application in debug mode from within Visual Studio (Windows 7, IE8) the page looks great.  However if I publish to the application server (IIS, Windows Server 2008r2) the page layout changes dramatically.  Please see the two images to demonstrate, can you advise what is causing this problem???

Cheers
Cliff

<div id="divPriceChangesChart" style="position:absolute; top:180px; left:0px; ">
    <telerik:RadHtmlChart ID="chartPriceChanges" runat="server" Width="250px" Height="300px" Skin="Metro">
        <ChartTitle Text="Price Changes" >
            <Appearance Align="Left" />
        </ChartTitle>
        <Legend>
            <Appearance Position="Bottom" />
        </Legend>
        <PlotArea>
            <Series>
                <telerik:PieSeries DataFieldY="NumberProducts" NameField="Period"></telerik:PieSeries>
            </Series>
        </PlotArea>
    </telerik:RadHtmlChart>
</div>
  
  
<div id="divAccessChart" style="position:absolute; top:180px; left:270px; ">
    <telerik:RadHtmlChart ID="chartAccess" runat="server" Width="250px" Height="300px" Skin="Metro">
        <ChartTitle Text="EPD User Access" >
            <Appearance Align="Left" />
        </ChartTitle>
        <Legend>
            <Appearance Position="Bottom" />
        </Legend>
        <PlotArea>
            <Series>
                <telerik:PieSeries DataFieldY="NumberUsers" NameField="Period"></telerik:PieSeries>
            </Series>
        </PlotArea>
    </telerik:RadHtmlChart>
</div>
Marin Bratanov
Telerik team
 answered on 01 Nov 2012
6 answers
234 views
I am trying to set up a client (or server) side expand/collapse settings for the tree view on File Explorer. Everything is working for the collapse, but my expand code is still having issues.

I tried first on the server side with 'fileExplorer.TreeView.ExpandAllNodes()', but during Page_Load the TreeView is null.

I then switched to trying on the client side. I was able to get the first level of nodes to expand, but then the ajax call prevented further expanding.

Here's my js code which expands the first level:
function treeExpandCollapse(t, b) {
    var nodes = t.get_allNodes();
    for (var i = 0; i < nodes.length; i++) {
        nodeExpandCollapse(nodes[i], b);
    }
}
function nodeExpandCollapse(n, b) {
    var nodes = n.get_allNodes();
    for (var i = 0; i < nodes.length; i++) {
        if (b) nodes[i].expand();
        else nodes[i].collapse();
        //nodes[i].set_expanded(b);
        // Recurse
        nodeExpandCollapse(nodes[i]);
    }
}

Since the client isn't aware of the subfolders until the ajax call returns, nodeExpandCollapse does not recurse. After I load all the folders using ajax, the collapse and expand buttons work correctly.

I thought that by attaching to the OnClientNodePopulated event of the treeview, I could determine that a node has been populated and then run it through the expander, but this event (using tree.add_nodePopulated()) does not fire at all when the tree is expanded, even doing a manual expand. My first thought is that the FileExplorer tie in is blocking my tie in (if I check get_events(), it shows two handlers for OnClientNodePopulated) but if anyone has any ideas it would be much appreciated.
Vessy
Telerik team
 answered on 01 Nov 2012
1 answer
49 views
Is it possible to achieve to get tooltips for both onmouseover and onfocus when using AutoTooltipify="true"?
Marin Bratanov
Telerik team
 answered on 01 Nov 2012
4 answers
435 views
I am trying to implement few things on Pie Chart how can i do that?
1. I want to assing the full pie chart as a value like
Total = The Whole pie Chart
and Used will be a part
so Total will be 100%
and Used will be 30 then the pie should so me as
Total 100 and Used 30%
Whole value of pie should be 100
I can only add items now.

2. How do i modify the position of the pie Chart,the margins of the chart diagram, the position of the legends through server coding.

Any help will be highly appreciated Please
Marin Bratanov
Telerik team
 answered on 01 Nov 2012
2 answers
63 views
I'm trying to write my first web app using RadGrids.  

As far as design is concerned, the grid data source is set in the NeedDataSource event.  The editing of records is done in a FormTemplate popup that contains conventional ASP.Net DropDownlists.  The DropDowns are bound in the ItemCreated event.

All of this works so far.  I can both add and edit records.  

First of all, is the above conventional design practice?  

My problem is that I'm trying to trigger a shift to Add mode when initially loading the page, to immediately display the template popup.  My first test using PreRender and RadGrid1.MasterTableView.IsItemInserted = true went well, but that was with a simple screen with default Popup.  When I try to do this anywhere in the code with the above screen, I get crashes related to the dropdowns no matter where I put the IsItemInserted.

Suggestions?
Boris
Top achievements
Rank 1
 answered on 01 Nov 2012
3 answers
266 views
Hi,

I'm trying to use the RadFilter control with entities from Entity Framework that have Navigation Properties (collections). The RadFilter works very well on 'normal' Properties (string, int, date, etc.) but I couldn't find a solution for 'enumerable' Properties (list, array, etc.).

For example:
- Entity 'Article' has a navigation property 'Items'
- Entity 'Item' has a property 'Name'

How can i use the RadFilter control to find all 'Articles' with 'Items' that have the property 'Name' set to "whatever"?

Doe's anybody know a solution how to filter these kind of properties?

Regards,
Martin
Andrey
Telerik team
 answered on 01 Nov 2012
1 answer
102 views
I'm trying to install a RadUpload component in the FormTemplate of a RadGrid.  I'm looking at the instructions in http://www.telerik.com/help/aspnet-ajax/upload-getting-started.html.

I see what looks like a discrepancy between steps 1 and 4. 

The image in Step one shows an httpModules item = <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" /> 
Step 4 states that the item should be <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" />

Why the extra part?  (Come to think of it, there's the same feature in step 6.)

Also, I think I have it installed well enough to test (at least as far as getting a file into the default Files folder.)  Still I wonder if I have it exact.  When I have the FormTemplate open for editing, the RadLoad control is the one thing I cannot directly select on the screen.  (I can select it in the Properties dropdown.)  Is this normal?
Plamen
Telerik team
 answered on 01 Nov 2012
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?