Telerik Forums
UI for ASP.NET AJAX Forum
14 answers
179 views
I created a new style with the builder and ran it thru the assembly builder so now I have a Folder with the Images/CSS and a dll file.  Where do I put these files now?  App_Code?
Bozhidar
Telerik team
 answered on 18 Apr 2012
4 answers
837 views
Hello,

I have a page with a drop-down. Based on the selection in the drop-down, data gets loaded and populates a RadGrid. I am using a custom user control for the EditTemplate, so I can't use radGrid.DataBind(). Instead, I have to use radGrid.MasterTableView.Rebind() in association with a NeedDataSource event handler.

My problem is that when I load the page initially, I populate the drop-down and automatically select a value (first item in the list) which triggers the databinding on the RadGrid. I can step through the code in debug mode and see that the grid is being populated with data (both when the DataSource is being set and when a derived property is visited when it's displayed as a column in the grid), but when the page displays, the grid doesn't get rendered. I can then manually choose an item from the drop-down, which triggers the same grid databinding code, it displays properly the second time.

How do I get it to display the grid the first time the page loads?

Erik
Top achievements
Rank 2
 answered on 18 Apr 2012
1 answer
195 views
Hi.

i have a user control that has a RadXmlHttpPanel and a Grid however when I click on the row to load the detail I get an error message saying that the callback could not be found or implements ICallbackHandler. Could you assist.

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
    <script type="text/javascript">
        function RowSelected(sender, eventArgs) {
            var grid = sender;
            var MasterTable = grid.get_masterTableView();
            var row = MasterTable.get_dataItems()[eventArgs.get_itemIndexHierarchical()];
            var id = eventArgs.getDataKeyValue("C_n_Id");
            alert(id);
            var oXmlPanel = $find("<%= RadXmlHttpPanel1.ClientID %>");
            oXmlPanel.set_value(id);
        }
 
          
    </script>
</telerik:RadScriptBlock>
<div class="ordersContainer">
    <asp:Label runat="server" ID="ordersTitle" CssClass="ordersTitle">Orders for</asp:Label>
    <telerik:RadXmlHttpPanel ID="RadXmlHttpPanel1" runat="server" OnServiceRequest="RadXmlHttpPanel1_ServiceRequest"
        RenderMode="Block" EnableClientScriptEvaluation="true">
       <asp:TextBox ID="TextBox1" runat="server" /><br />
    </telerik:RadXmlHttpPanel>

Slav
Telerik team
 answered on 18 Apr 2012
6 answers
145 views
Hi there,

Is the StyleBuilder working correctly? I tried to use it this morning to set a custom TabStrip style for a particular customer but kept running into an issue where the custom colour is not applied as the base colour. Everytime I tried to set the colour, the base colour would just appear as white for all of the TabStrip items.

The colour that i had selected was #DEF7CE (not available from your colour picker) - is this ok?

Although I have been using Firefox to get it working, I have also tried the other major browsers with no luck...

Really hope you can clarify this for us.

Regards

A.
Mak
Top achievements
Rank 1
 answered on 18 Apr 2012
7 answers
323 views
I love the "warning icon" when using RadInputManager to validate a required field, rather than the asp:RequiredFieldValidation text message. But somehow i can't validate RadDatePicker with RadInputManager.
I've been looking the solution for this but the example that i found always use asp:RequiredFieldValidation.

Could you provide an example to validate RadDatePicker with RadInputManager ?
or how can I get the "warning icon" when the RadDatePicker is required?
Ivan
Top achievements
Rank 1
 answered on 18 Apr 2012
2 answers
84 views
Hi,

Simple page

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm47.aspx.cs" Inherits="fTest.WebForm47" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>       
    <telerik:RadSplitter ID="RadSplitter1" runat="server" Height="100%" Width="100%" BorderSize="0" PanesBorderSize="0"
         Skin="Office2010Silver">
        <telerik:RadPane runat="server" ID="RadPane1" Width="350px" MaxWidth="350">
        abc
        </telerik:RadPane>
         <telerik:RadSplitBar runat="server" ID="RadSplitbar1" CollapseMode="Forward" ResizeStep="50" />
         <telerik:RadPane runat="server" ID="RadPane2" Width="350px" MaxWidth="350">
        cde
        </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>

but it renders incorrectly in Chrome (in IE it's fine) - please find attachments below.

I know I could set style directly (as described in Removing the border of RadSplitter panes and the RadSplitter) but the question remains in what scenario property BorderSize is actually working? 

Jacek
Top achievements
Rank 1
 answered on 18 Apr 2012
2 answers
123 views
I am probably missing something incredibly simple. I am retrieving a datatable and binding it to the org chart. I set the top level nodes to have a parent of null, and then the rest are set up referencing their parent. The nodes all render in the correct hierarchy, but the alignment is screwed up.

Screenshot attached.
Peter Filipov
Telerik team
 answered on 18 Apr 2012
8 answers
211 views
Hello,
How can I add new fonts to "Add Text" in ImageEditor?
(I have added the new fonts by customizing Add Text dialog, but it doesn't apply on the text) 
Thank you
Niko
Telerik team
 answered on 18 Apr 2012
6 answers
248 views
I have 2 buttons setup to export to CSV and XLS respectively. I used this example as a basis but when i click the buttons, nothing happens. The code is hit but nothing appears. My code is:

public void ConfigureExport()
    {
        radgrdResultDetail.ExportSettings.ExportOnlyData = true;
        radgrdResultDetail.ExportSettings.IgnorePaging = false;
        radgrdResultDetail.ExportSettings.OpenInNewWindow = false;
    }
 
 
    protected void xlsExport_Click(object sender, EventArgs e)
    {
        ConfigureExport();
        radgrdResultDetail.MasterTableView.ExportToCSV();
    }
    protected void csvExport_Click(object sender, EventArgs e)
    {
        ConfigureExport();
        radgrdResultDetail.MasterTableView.ExportToExcel();
    }
Shinu
Top achievements
Rank 2
 answered on 18 Apr 2012
1 answer
254 views
I have a MegaMenu that is populated dynamicly from the database. I have the following layout set for level 0

RepeatColumns

="4" RepeatDirection="Vertical" AlignRows="false"

The problem is level 1 has uneven items, ideally I want each rows filled as close as possible to the maximum height before moving to the next column, whats is happening is its trying to create and even number of rows resulting in lots of empty spaces at the bottom. Is there a way to turn this off.


Attach is a sample of whats happening and what I want.
Kate
Telerik team
 answered on 18 Apr 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?