Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 views
Hello,

There is a ListBox control in my user page and I want to change the color of the ListBox item based on the checked state of the item. Suppose if the item is checked the font color should change to blue and on unchecking the font color must change to the original color. I want this to be done from client code.

Thank you,
Teena  
Princy
Top achievements
Rank 2
 answered on 05 Mar 2013
1 answer
159 views
Hi,

How to set an empty message when the user attempt to search without entering any search key in the textbox?

Thank you,
Freddy.
Princy
Top achievements
Rank 2
 answered on 05 Mar 2013
3 answers
135 views
I need to be able to capture when a user clicks on an appointment and work with server side code when an appointment is selected in my RadScheduler. However, the onAppointmentClick never seems to fire. I have read other posts that suggest setting ReadOnly to true/false to see if that makes a difference, as well as setting AllowEdit on both the control and the appointments and yet nothing seems to make any difference. I have also read that this event is only raised when the user double clicks the appointment, but this doesn;t work either for me.

My scheduler is sat within an ASP.Net update panel and uses an ASP.Net ScriptManager, but apart from that, its all pretty basic with no javascript or anything.

Does anyone have any ideas why this doesn;t work for me that I haven't tried yet?

Thanks,
Karl

Karl
Top achievements
Rank 1
 answered on 05 Mar 2013
1 answer
206 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
171 views
How to setting z-index of DropDownSettings?
Michele
Top achievements
Rank 2
 answered on 05 Mar 2013
4 answers
491 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
153 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
87 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
575 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
48 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
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?