Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
144 views
hello,
how to Access NoRecordsTemplate control Using Javascript/jquery?
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Sep 2012
5 answers
648 views

Hi

I have a RadComboBox with a EmptyMessage and want to clear the content, I've tried:

cboSearchGenre.Text = null;
cboSearchGenre.clearSelection();
and
cboSearchGenre.Text = "";
cboSearchGenre.clearSelection();
and
cboSearchGenre.set_text(cboSearchGenre.get_emptyMessage());
cboSearchGenre.clearSelection();

But I always get a empty ComboBox without the EmptyMessage or in the last example I get a ComboBox with the EmptyMessage as Text content not empty, how can I clear the CombBox and get the EmptyMessage from Client Side?

/Keivan

 

 

Krishna Chaitanya
Top achievements
Rank 1
 answered on 04 Sep 2012
8 answers
347 views
I am using RadSplitter on my master page for layout. My layout is similar to layout in THIS demo. Thea only difference is that I have one extra pane at the bottom for footer. So, my master page layout would be something like this:
<%@ Page Language="C#" AutoEventWireup="true" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head runat="server">
    <title>FullWindow</title>
    <style type="text/css">
    html, body, form
    {
        height: 100%;
        margin: 0px;
        padding: 0px;
        overflow: hidden;
    }
    </style>
     <asp:ContentPlaceHolder ID="HeadContent" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>
    <form id="form2" runat="server">
        <asp:ScriptManager ID="ScriptManager" runat="server" />
        <div id="ParentDivElement" style="height: 100%;">
            <telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%"
                Orientation="Horizontal" Skin="Outlook">
                <telerik:RadPane ID="TopPane" runat="server" Height="100" MinHeight="85" MaxHeight="150"
                    Scrolling="none">
                    <!-- Place the content of the pane here -->
                </telerik:RadPane>
                <telerik:RadSplitBar ID="RadsplitbarTop" runat="server" CollapseMode="Forward" />
                <telerik:RadPane ID="MainPane" runat="server" Scrolling="none" MinWidth="500">
                    <telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="Outlook" LiveResize="true">
                        <telerik:RadPane ID="LeftPane" runat="server" Width="200" MinWidth="150" MaxWidth="400">
                            <!-- Place the content of the pane here -->
                        </telerik:RadPane>
                        <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" />
                        <telerik:RadPane ID="ContentPane" runat="server">
                            <asp:ContentPlaceHolder ID="MainContent" runat="server" />
                        </telerik:RadPane>
                                    <telerik:RadPane ID="FooterPane" CssClass="footer" Height="35px" runat="server">
                                       My footer © 2012. All rights reserved.
                                  </telerik:RadPane>
                    </telerik:RadSplitter>
                </telerik:RadPane>
            </telerik:RadSplitter>
        </div>
    </form>
</body>
</html>


I want NestedSplitter to resize according to ContentPane height, with no vertical scroll bar within ContentPane. I've also found THIS article describing how to accomplish that but I keep getting some JavaScript error: "undefined" is null or not an object. Could you please help me?

asimptota
Top achievements
Rank 1
 answered on 04 Sep 2012
3 answers
146 views
Hello,
we are using RadEditor in SharePoint 2010.
If we put the below tags:

<figure class="freestyl
e left">
       <img src="/csvstories-cookingcaravan.jpg"/>
       <figcaption class="caption">
               Caption Arial Regular 11px #666666<br />
               Image format: Landscape 300 x 180 px
       </figcaption>
</figure>

RadEditor will remove it the final tags and we are not able to use it.
Is there some specific configuration we are missing?

thanks

manuel

Rumen
Telerik team
 answered on 04 Sep 2012
8 answers
356 views

see the attachment i have bind image in radlistview ,
after that which image i click that image how i get that id

<telerik:RadListView ID="RadListViewAttachment" runat="server" ItemPlaceholderID="ListViewContainer"
                                        OnNeedDataSource="RadListViewAttachment_NeedDataSource" DataKeyNames="RecordID"
                                        OverrideDataSourceControlSorting="true">
                                        <LayoutTemplate>
                                            <asp:PlaceHolder runat="server" ID="ListViewContainer" />
                                        </LayoutTemplate>
                                        <ItemTemplate>
                                            <table>
                                                <tr>
                                                    <td>
                                                        <telerik:RadBinaryImage Style="cursor: pointer; display: block;" runat="server" ID="RadBinaryImage1"
                                                            AutoAdjustImageControlSize="false" Width="15px" Height="15px" DataValue='<%#Eval("SaveFile") %>'
                                                            AlternateText="<%$ Code:Resources.Articles.Article_LargeImage %>" ToolTip="<%$ Code:Resources.Articles.Article_LargeImage %>"
                                                            onclick="<%#CreateWindowScript() %>" />
                                                    </td>
                                                    <td>
                                                        <label>
                                                            <%#Eval("OrgFileName")%></label>
                                                    </td>
                                                </tr>
                                            </table>
                                        </ItemTemplate>
                                    </telerik:RadListView>


See the attachment.

Thanks Advance,
Mohideen.
New
Top achievements
Rank 1
 answered on 04 Sep 2012
5 answers
119 views
hi telerik team,

with client-side databinding the feature "GroupLoadMode=Client" does not work. Do you plan to provide this feature in future?

best regards,

bernhard
Radoslav
Telerik team
 answered on 04 Sep 2012
9 answers
936 views
Guys,

Apologies if this has been asked before however I've been searching for a while and couldn't find an answer.

I have a RadGrid with grouping. The gird does not posts back when a group is expanded and collapsed. I have checkboxes  for each row in the grid. What i need to achieve is to have a checkbox in header of each group and when that checkbox is checked/unchecked all the items of the group should be checked/unchecked. I wish to accomplish this with client side code. No Post-backs

Any suggestions most appreciated. Thx in advance 
Amit
Top achievements
Rank 1
 answered on 04 Sep 2012
1 answer
265 views
Hi,
    I have problem in mastertableview and detailtableview.When we click on the mastertable row checkbox means i want the actual output should be check all the checkbox displaying in the detail table view for that particular master row.
I have used this javascript which i mentioned below but its not working properly.

 

 

function MarkCheckBox(cntrl, CmdtType) {

 

 

 

var rgBarcodeGen = document.getElementById('<%=rgBarcodeGen.ClientID %>');

 

 

 

var gvRow = rgBarcodeGen.getElementsByTagName('tr');

 

 

 

for (var i = 1; i < gvRow.length; i++) {

 

 

 

var gvCntrl = gvRow[i].getElementsByTagName('input');

 

 

 

for (var j = 0; j < gvCntrl.length; j++) {

 

 

 

if (gvCntrl[j].type == "checkbox") {

 

 

 

if (CmdtType == 'master') {

 

gvCntrl[j].checked = cntrl.checked;

 

 

break;

 

}

 

 

else if (CmdtType == 'detail') {

 

gvCntrl[i = j].checked = cntrl.checked;

 

 

break;

 

}

}

}

}

}

 

Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Sep 2012
1 answer
55 views
I want to show A pane contains a RadGrid  above scheduler when i right click in Scheduler Appointments ...i think the default behavior for that is to show context menu i want to show A pane contains RadGrid Instead of Context menu.
Princy
Top achievements
Rank 2
 answered on 04 Sep 2012
3 answers
144 views
When I edit a record with a RadCombox control in RadGrid, the height of dropdown item is so height(in attached image). Normaill, if the RadCombox bound two record, it should only show the height of two record. Don't know why it sill have so many blank space?

My Code is:
 protected void RadGridFunction_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
        {
            if (e.Item is GridEditableItem)
            {
                GridEditableItem editedItem = e.Item as GridEditableItem;
                if ((e.Item as GridEditableItem).IsInEditMode)
                {
                    GridEditManager editMan = editedItem.EditManager;

                    GridDropDownListColumnEditor editor = editMan.GetColumnEditor("RuleType") as GridDropDownListColumnEditor;
                    RadComboBox ddl = (RadComboBox)editedItem["RuleType"].Controls[0];
                    ddl.Width = Unit.Pixel(100);


                    ddl.Items.Add(new RadComboBoxItem("dd1"));
                    ddl.Items.Add(new RadComboBoxItem("dd2"));                 
                }
            }           
        }

 <telerik:GridDropDownColumn DataField="RuleType" UniqueName="RuleType"
                                    HeaderText="Rule Type" ItemStyle-Width="100px">
                                    <FilterTemplate>
                                        <telerik:RadComboBox runat="server" Width="100px" ID="RadComboBoxRuleType" AutoPostBack="true">                                                                                   
                                        </telerik:RadComboBox>
                                    </FilterTemplate>
                                </telerik:GridDropDownColumn>
Shinu
Top achievements
Rank 2
 answered on 04 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?