Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
92 views
From what I have read it sounds like I need to write a custom provider to access folders or shares that are not directly under my web application.  Is that right?

All the examples I found for custom providers were talking to a database.  If this is the case, are there any examples for a File System?
Fiko
Telerik team
 answered on 09 Mar 2010
3 answers
170 views
How I can disable drag-and-drop functionality in the RadEditor?
Rumen
Telerik team
 answered on 09 Mar 2010
1 answer
57 views
We are using the Telerik Combobox control (ASP.NET AJAX). In some places we use the AutoComplete control, and in some places we use the Filtering Control. 

 

Both versions of the control have a usability problem for our users:

 

If the Telerik control already has a selected option, and if you open the Telerik control via mouse, then start typing, it appends your text to the end of the current selection, instead of replacing it. This is not what the user intends. The user wants to find a match for the text they are entering in, not the previous selection + their typed-in text.

 

It works OK if you tab to the dropdown via keyboard and start typing (it highlights then replaces the current selection with your typed-in text), but not if you activate the dropdown via mouse first and then start typing (it appends your typed-in text to the current selection)

 

This situation also happens if you then make a different selection in the dropdown (via keyboard or via mouse) and then start typing again (your cursor is at the end of the existing selection).

 

On Telerik’s website, the demos have the same problem. Has anyone developed a solution to this problem?

Note: For our implementation of AutoComplete,  MarkFirstMatch is True and AllowCustomText is False. Because the text is added to the end of the current selection, there is no valid match and user does not see the text they are typing. This makes the situation even more frustrating to the users (it seems like the dropdown is unresponsive.)

Kalina
Telerik team
 answered on 09 Mar 2010
1 answer
124 views
Hi  ,

I need a help with a following issue : 


I need to implement a logic similar to outlook. I have a window with a grid and window for displaying a full message.
when you double click a row in a grid a window will be opened and full message will be displayed.

Then  you can press up or down keys and current grid row will be changed, so grid will be remotely controlled from outside.
Also if the message was the last one in the page , I want grid to go to the next page  - something that similar to virtual scrolling feature.


what I need is an example which will demonstrate this functionality ,

thank you 


Veli
Telerik team
 answered on 09 Mar 2010
4 answers
982 views
I have rad datetimepicker control. i want that if user enter date and also time part which is greater than today's date and time then validation message appear.
atif iqbal
Top achievements
Rank 1
 answered on 09 Mar 2010
1 answer
174 views
In the "How to Add" version of this thread the following block of code was posted:
        Dim InputMgr As RadInputManager = New RadInputManager    
        InputMgr.ID = "RadInputManager1"    
        InputMgr.Skin = "Vista"    
            
        Dim DateSetting As DateInputSetting = New DateInputSetting    
        DateSetting.MinDate = New DateTime(1980, 1, 1)    
        DateSetting.MaxDate = New DateTime(2020, 1, 1)    
        DateSetting.ClientEvents.OnError = "onClientDateTxtError"    
        DateSetting.ClientEvents.OnKeyPress = "onClientTextChanged"    
        InputMgr.InputSettings.Add(DateSetting)    
            
        TryCast(InputMgr.InputSettings(0), InputSetting).TargetControls.Add(New TargetInput(TextBox1.UniqueID, True))    
            
 

What I have a is form full of fields and a dropdown list.  By default a certain set of fields are handled through the input manager through the Regular Expression Text Box setting, as well as being set as required.  When certain options are selected in the dropdown list, different sets of fields are required.

So what I'd like to do is if Social Security number is no longer required I'd like to set the SSN Behavior to no longer be required, or if that doesn't work, then I'd like to remove the control txtSSN from the target control list for that Input setting.

In trying to make the input no longer required I tried this:
Dim a As String = RadInputManager1.InputSettings(0).TargetControls.Item(0).ControlID.ToString()  
 
Stop  
 
RadInputManager1.InputSettings(0).Validation.IsRequired = False 

At the stop point I verify that variable a holds the correct control name, which it does, but the final line seems to do nothing.  The control still appears to be required.

In trying to remove the control from the Input Manager behavior all together I tried the following:
Dim a As String = RadInputManager1.InputSettings(0).TargetControls.Item(0).ControlID.ToString()  
 
Stop  
 
RadInputManager1.InputSettings(0).TargetControls.RemoveAt(0) 

At the stop point I verify that variable a has the correct control name, which it does.  Then I would think the final line would remove that control from the Input Manager, but if I go to that control after this executes the field is still required and the regular expression still restricts my input into that field.
Nikolay Rusev
Telerik team
 answered on 09 Mar 2010
1 answer
142 views
I have a treeview that uses a webservice as its datasource, and is setup to use LoadOnDemand. I am using the context menus to allow users to add, move, or delete nodes. My question is this:

once the user clicks Paste (for instance) to add a node they have copied from another location in the tree, the treeview posts back to my asp.net page and that page calls out to the database to add the node to the appropriate parent node. That all works great but, how do I force the parent node that has just had a node added to it to refresh itself, and show the newly added node?

The same goes for deleting a node. Once my code returns from the database functionality that removes the record from the DB, how do I cause the node to refresh itself, showing that its "child" node has been removed?

Thanks.
Veronica
Telerik team
 answered on 09 Mar 2010
5 answers
342 views
Hello
i  had a problem with time picker(rad).am using 1.2.2.1 version.

<

radCln:RadTimePicker ID="tpArrivalTime" runat="server">

<TimeView runat="server" StartTime="0:0:0" EndTime="23:31:00" Interval="0:30:0" Columns="5" TimeFormat="HH:mm"

Culture="en-US">

</TimeView>

<DateInput DateFormat="HH:mm" Culture="en-US">

</DateInput>

<DatePopupButton Visible="False" />

</radCln:RadTimePicker>
am not getting the selected time .am getting the selected date with time.do this control have property to get time itself or else how to get the value in the textbox field after selecting the time (in code behind not javascript)

regards
Mathews Baby

Sebastian
Telerik team
 answered on 09 Mar 2010
7 answers
191 views
I have a radgrid and I would like to provide checkboxes in first column for each record. If I use 
<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" />

how can I get the checkbox selection on server side so that I know which record to update. the user can do multiple selections. pls provide me an example.
Sebastian
Telerik team
 answered on 09 Mar 2010
2 answers
149 views
I have created a wrapper control around the telerik RadGrid to be able to set some default settings and implement some of my own methods. Within my wrapper user control I added the property ShowEditButton and ShowDeleteButton which implement my own update / delete action. Once this property is set I programmatically add a GridButtonColumn which represents the update and/or delete button in the grid.

I add my custom action column with the following code:

if (!IsPostBack){ 
GridButtonColumn col = new GridButtonColumn(); 
col.CommandName = col.Text = col.HeaderText = "Delete"; 
col.UniqueName = "DeleteColumn"; 
radDataGrid.Columns.Add(col); 
} 



If I execute this code within de Load event of my wrapper the column doesn't get added at all. If I execute the code in the Init event of my wrapper the column is added but with every (ajax) postback the column is being re-added to the grid which results in having multiple delete buttons within the grid.

Implementation (Implementation of custom wrapper, DataGrid, see below):
<myapp:DataGrid ID="grdAdminOverview" runat="server" ShowEditButton="true" ShowDeleteButton="true"> 
    <Columns> 
        <telerik:GridBoundColumn HeaderText="Firstname" DataField="firstname" /> 
        <telerik:GridBoundColumn HeaderText="Lastname" DataField="lastname" /> 
        <telerik:GridBoundColumn HeaderText="Username" DataField="username" /> 
        <telerik:GridBoundColumn HeaderText="Email" DataField="email" /> 
        <telerik:GridBoundColumn HeaderText="Isadmin" DataField="isadmin" /> 
    </Columns> 
</myapp:DataGrid> 

Wrapper (wraps RadGrid with default settings):
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DataGrid.ascx.cs" Inherits="Controls.DataGrid" %> 
<telerik:RadGrid ID="radDataGrid" runat="server" AutoGenerateColumns="false" AllowPaging="true" Height="425px" Width="750px"> 
</telerik:RadGrid> 


As soon as I add my custom columns within the Init event of my custom control the columns are being added, but as said this results in having a column being added with each (ajax) postback. To prevent this from happening I tried checking if the column is already added (also in init event) using: radDataGrid.Columns.FindByUniqueNameSafe("DeleteColumn") but this always returns null.

Am I doing something wrong here?
Renzo Koning
Top achievements
Rank 1
 answered on 09 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?