Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
225 views
Hi,

I have a RadListBox on my page with the CheckBoxes set to "true". How can you set the RadListBox that when a user selects an item, the checkbox is set as well and when a user checks a CheckBox, the item gets selected?

Tnanks,
Sigma
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2013
4 answers
182 views
How to setting z-index of DropDownSettings?
Michele
Top achievements
Rank 2
 answered on 05 Mar 2013
4 answers
517 views
Hi All,

I am using Telerik RadTreeview control for the navigation purpose in DotNetNuke (DNN) custom module. Below is the look and feel of the RadTreeview control on my portal and RadTreeview control displayed on each and every page of the portal.

First time when ever page get loaded its display as below though Page 2 and Page 5 contains sub-pages

Page 1
Page 2
Page 3
Page 4
Page 5

What I want is if I click on Page 2.1 then it will redirect to page Page 2.1 (which is working fine)  and the RadTreeview control will display as below on page Page 2.1.

Page 1
Page 2
     Page 2.1
     Page 2.2
Page 3
Page 4
Page 5

After that if I click on Page 5.2 then it will redirect to page Page 5.2 (which is working fine)  and the RadTreeview control will display as below on page Page 5.2.

Page 1
Page 2
Page 3
Page 4
Page 5
     Page 5.1
     Page 5.2

After that if I click on Page 4 then it will redirect to page Page 4 (which is working fine)  and the RadTreeview control will display as below on page Page 4.

Page 1
Page 2
Page 3
Page 4
Page 5

I mean the selected page's parent should be in expand mode and the selected page should be highlighted.

Kindly let me know how we can achieve this functionality through programmatically.

Below is the code what I have with me right now.

.ASCX Code

<telerik:RadTreeView ID="RadTreeView1" runat="server" OnNodeClick="RadTreeView1_NodeClick" Skin="NGR"  EnableEmbeddedSkins="false" ShowLineImages="false">
    <databindings>
        <telerik:RadTreeNodeBinding Expanded="False"></telerik:RadTreeNodeBinding>
    </databindings>
</telerik:RadTreeView>


C# Code


protected void Page_Load(object sender, EventArgs e)
{
            if (!Page.IsPostBack)
            {
                BindLeftNavigation(RadTreeView1);
            }
}
 
private void BindLeftNavigation(RadTreeView treeView)
{
            MenuController objController = new MenuController();
 
            DataSet ds = new DataSet();
 
            ds = objController.Get_Menu(this.PortalId);
 
            if (ds.Tables[0].Rows.Count > 0)
            {
                treeView.DataSource = ds;
                treeView.DataTextField = "TabName";
                treeView.DataValueField = "TabID";
                treeView.DataNavigateUrlField = "";
                treeView.DataFieldID = "TabID";
                treeView.DataFieldParentID = "ParentID";
                treeView.DataBind();
            }
}
 
protected void RadTreeView1_NodeClick(object sender, RadTreeNodeEventArgs e)
{
        Response.Redirect(DotNetNuke.Common.Globals.NavigateURL(Convert.ToInt32(e.Node.Value.ToString())));
}
Bozhidar
Telerik team
 answered on 05 Mar 2013
1 answer
167 views
Hello All,

There are few entries in my RadAutocompletebox which is in Text mode and all those entries are seperated by semicolon. I would like that semicolon to be replaced by , (coma) in between the items added.

Please help,
Saira.
Princy
Top achievements
Rank 2
 answered on 05 Mar 2013
3 answers
104 views
Hi,
I'm working on an existing application that uses an old version of telerik controls (version 2008.3.1125.35). After migrating to net framework 4.0 i get an error when changing the value of the combobox.

"Microsoft JScript runtime error: Object doesn't support this property or method"

The issue seems to be related to an incompatibility of the radajaxmanager with the current framework.

Any workaround to solve this issue?

Any help would be really appreciated

Thank you in advanced
Kate
Telerik team
 answered on 05 Mar 2013
2 answers
605 views
Hi, I want to set focus on RadDateControl(either in text or popup button) after validating Client side.
I have tried many examples after googling/forum.

e.g. From http://www.telerik.com/community/forums/aspnet-ajax/calendar/raddatepicker-focus.aspx


     var DatePicker5 = $find("<%= RadDatePicker5.ClientID %>"); 
       DatePicker4.get_dateInput().focus();     

But all such lines/codes are obsolete. I do not want to add any default date for select method(for focus purpose)
.
Sanjeev
Top achievements
Rank 1
 answered on 05 Mar 2013
1 answer
57 views
Hi.
although clearly stated here (http://www.telerik.com/help/aspnet-ajax/asyncupload-drag-and-drop-upload.html) that dropzone property is available starting Q3 2011, while using Q2 2012 version I do not see the dropzones attribute available in the RadAsyncUpload. 
Obviously I tried to ignore it and simply add that attribute, but that did not work either.
my control looks like

<div class="upload-panel">
<rad:RadAsyncUpload ID="fileAsyncUpload" runat="server" MultipleFileSelection="Disabled" Dropzone =".DropZone1"
                        TemporaryFileExpiration="00:10:00"
                        AllowedFileExtensions="pdf,ppt,pptx,doc,docx"
                        HttpHandlerUrl="FileUpload.ashx"
                        OnClientFileSelected="fileSelected"
                        OnClientFileUploaded="fileUploaded"
                        OnClientValidationFailed="fileValidationFailed"
                        OnClientProgressUpdating="fileUploading"
                         
                        >
                        <FileFilters>
                            <rad:FileFilter Description="Document files (.PDF, .PPT, .PPTX, .DOC, .DOCX)" Extensions="pdf,ppt,pptx,doc,docx" />
                        </FileFilters>
                    </rad:RadAsyncUpload>
                    <div class="DropZone1" draggable="true">
            <p>Custom Drop Zone</p>
            <p>Drop Files Here</p>
        </div>
                        <div id="DropZone2">
            <p>Custom Drop Zone</p>
            <p>Drop Files Here</p>
        </div>
                </div>

Plamen
Telerik team
 answered on 05 Mar 2013
1 answer
105 views
Hi,

I want to make a column in a RadGrid readonly dependent of the value of a different field in the dataset. This field is not shown in the grid. How do I do this?

Paul
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2013
1 answer
119 views
I have an application where I populate the RadGrid from a CSV file (ie using it in unbound mode).  I define the columns as

Dim dt As New DataTable()

dt.Columns.Add("Date") 
etc
and populate them using

 

Value = {Dte$, Item$, Type$, Recordid$}

dt.Rows.Add(Value)

All this works fine.

I now need to add a checkbox and image column.  Can you direct me to a sample. I was not able to find any.

Thanks

Allen

 

 

 

 

 

Shinu
Top achievements
Rank 2
 answered on 05 Mar 2013
1 answer
230 views
Hi,

Is it possible to change the style of the RadToolBar button once it is clicked?

Thank you,
Ivy.
Princy
Top achievements
Rank 2
 answered on 05 Mar 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?