Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
781 views
how to fire selected index change in page load
ClaimNo_SelectedIndexChanged

Thanks Advance,
Mohamed

mohamed
Top achievements
Rank 1
 answered on 07 May 2013
1 answer
144 views
Hi

I have a radgrid in which I am performing inline editing with some custom validations and would need to alert with the validation messages using RadWindow. Please help me resolve this.

Thanks
Arun
Shinu
Top achievements
Rank 2
 answered on 07 May 2013
3 answers
235 views
Is it possible to have a checkbox inside the editform template of a radgrid that will make a radtextbox visible when checked, and not visible when unchecked? All these controls would be in the EditFormTemplate of the radgrid and should be able to appear it and disappear it while still in EditForm. I am working with VB and I have looked at the examples, but none explain about checkbox, since they are different than radcomboboxes or dropdownlists.
Shinu
Top achievements
Rank 2
 answered on 07 May 2013
2 answers
304 views
hello
i have problems with radmenu and radcombo box  i dont know why they are always top of other component and other element. here i attached as an example one picture :) here is 2 menu and rad window , window must be on top of other element but it is not ;)
i hope you can help me :)
best regards
hesam
hesam
Top achievements
Rank 1
 answered on 07 May 2013
8 answers
750 views
Hi,
I am using Telerik Radgrid with inline Editing feature.

Grid in the edit mode shows update/cancel commands as images.
I would like to disply both updateimage and updatetext.
Currently when I set the UpdateText with updateimage, it shows the text as tooltip when user hovers over the updateimage. I would like to display the updatetext even without hovering over the image.

I would appreciate help on this.

Thanks,
Manisha

Lobna
Top achievements
Rank 1
 answered on 07 May 2013
2 answers
179 views
Hi there,

i need someone to point me on how if i set  the predefined layout of RadListView on Code behind ?

well actually it does not matter if it has to be on code behind or not the only constraint is that i need to customize my data table (which will be datasource for the list view) on the fly and therefore i think i need to set the predefined lay out on code behind..


is this possible or i just have to create custom layout that will replicate the predefined lay out?

By predefined layout i mean the single row lay out..


thanks in advance guys...
Nahwin
Top achievements
Rank 1
 answered on 07 May 2013
2 answers
525 views
Hi,

I am using RadTreeView with server side load on demand. The issue I am having is I don't want the '+' sign to be displayed for a node if it doesn't have a child node. How can I achieve this with server side load on demand. Below is the code I am using to create root and child nodes.

 ASPX code:

<telerik:RadTreeView runat="server" ID="RadTreeView1" OnNodeExpand="RadTreeView1_NodeExpand" >
                 <ContextMenus>
                <telerik:RadTreeViewContextMenu ID="CM" runat="server">
                <Items>
                <telerik:RadMenuItem Value="CreateSibling" Text="Create Sibling">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Value="CreateChild" Text="Create Child">
                </telerik:RadMenuItem>
                </Items>
                </telerik:RadTreeViewContextMenu>
                <telerik:RadTreeViewContextMenu ID="EmptyCM" runat="server">
                </telerik:RadTreeViewContextMenu>
                </ContextMenus>
    </telerik:RadTreeView>

c# code:

protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                if (!Page.IsPostBack)
                {
                    LoadRootNodes(RadTreeView1, TreeNodeExpandMode.ServerSide);
                }
                
            }
            catch (Exception ex)
            {
                RadAjaxManager1.Alert(ex.ToString());
            }
        }

private static void LoadRootNodes(RadTreeView treeView, TreeNodeExpandMode expandMode)
        {
            DataTable data = GetData(new SqlCommand("select Description,ID from Table1"));

            foreach (DataRow row in data.Rows)
            {
                RadTreeNode rootnode = new RadTreeNode();
                rootnode.Text = row["Description"].ToString();
                rootnode.Value = row["ID"].ToString();
                rootnode.ContextMenuID = "CM";
                rootnode.ExpandMode = expandMode;
                treeView.Nodes.Add(rootnode);
            }
        }

 protected void RadTreeView1_NodeExpand(object sender,RadTreeNodeEventArgs e)
        {
            if (e.Node.Nodes.Count == 0)
                PopulateNodeOnDemand(e, TreeNodeExpandMode.ServerSide);
        }

        private static void PopulateNodeOnDemand(RadTreeNodeEventArgs e, TreeNodeExpandMode expandMode)
        {
            DataTable data = GetChildNodes(e.Node.Value,e.Node.ContextMenuID);

            foreach (DataRow row in data.Rows)
            {
                RadTreeNode childnode = new RadTreeNode();
                childnode.Text = row["Description"].ToString();
                childnode.Value = row["ID"].ToString();
                if (!(childnode.Value == e.Node.Value))
                {
                    e.Node.Nodes.Add(childnode);
                    childnode.ExpandMode = expandMode;
                }

                childnode.ContextMenuID = "CM";
                
            }
            if (e.Node.Nodes.Count > 0)
            {
                e.Node.Expanded = true;
            }
            else
            {
                
               e.Node.ExpandMode = TreeNodeExpandMode.ClientSide;
                //e.Node.Expanded = false;
            }
        }
Bob
Top achievements
Rank 1
 answered on 06 May 2013
3 answers
269 views

Hi,

I have a Telerik Rad Grid and it has Export to excel functionality implemented in it .I am able to export to excel witt out any formatting options.

Now I want to add formatting into excel sheet which is being exported.

I am using telerik rad grid built in method to apply the formatting in Excel.
ie : ExcelMLExportStylesCreated , ExcelMLExportRowCreated

with this method I am unable set the background color to alternating item in excel file.

I want to give back ground color to alternating rows in excel sheet.

Attached image is the result i wanted

Please help me

Thanks,
A2H

A2H
Top achievements
Rank 1
 answered on 06 May 2013
6 answers
161 views
I am using a RadEditor to enable a (pretty unsophisticated) user to generate emails
I have Removed a number of the icons ("tools") that she won't know what to do with i.e. html validator
but I think she will want to incorporate the css she provided us with the site the page is part of
the css renders on the page but when I write the content of the control this is what I get
<span class="navigation">first line<br />
</span><span class="body_text_Heading">second line<br />
</span><span class="main">third line<br />
</span>and an image<br />
<img alt="" src="cid:UniqueID1" />
what do I have to do to get her css into the emails - and how do I tell she has added css styling to her text?
Elliott
Top achievements
Rank 2
 answered on 06 May 2013
1 answer
150 views
We are having an issue where the checkboxes in a RadComboBox are not checkable in Chrome on an Android tablet.  All other browsers on all other devices we support appear to be working fine.  We are on revision 2012.3.1380.40 of the controls.  Is this a known issue with this version?  Has it been fixed in a newer version?

Thanks,
Kevin

Kevin M. Betts
Lead Microsoft Developer
Kimball Midwest
<telerik:RadComboBox runat="server" ID="selJobTitles" DataTextField="DisplayText"
    DataValueField="JobTitleID" Width="95%" CheckBoxes="true"
    EnableCheckAllItemsCheckBox="true" EmptyMessage="No Job Titles Selected!"
    EnableEmbeddedSkins="false" Skin="KMBlack"
    OnItemDataBound="selJobTitles_ItemDataBound"
    OnClientDropDownClosed="FlushDropdownCheckboxCache">
    <Localization AllItemsCheckedString="All Job Titles" CheckAllString="Check All Job Titles"
        ItemsCheckedString="Job Title(s) Selected" />
</telerik:RadComboBox>

function FlushDropdownCheckboxCache(s) {
    btnHdnReloadFromChecks.click();
}

John Fetherolf
Top achievements
Rank 1
 answered on 06 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?