Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
39 views
How to prevents users from dragging and dropping files from a compressed zip folder in upload control
Afroz khan
Top achievements
Rank 1
 asked on 17 Dec 2024
2 answers
70 views

Hello Telerik Team,

Our customers have found that using the tab and arrow keys for navigation through the radmenu is inconsistent.

For example, when a user tabs into a radmenu item, uses the arrow keys to navigate to other menu items, and then hits the tab key again, the selection jumps to the last tab location instead of the current arrow key location.

Is there any way to make the arrow keys behave the same as the tab key, please?

Thanks in advance,

Lan

Rumen
Telerik team
 answered on 16 Dec 2024
5 answers
176 views
Hi,

We have some .Net applications which are using Radcombo box, Radgrid, RadTabstrip ....etc.
Now we are converting our Lotus Notes to Outlook/Exchange in our office for the emails. So does this Rad controls effect on this conversion while sending emails from the .Net applications?
Please Let me know.

Thanks in advance!

Sandhya
brendon
Top achievements
Rank 1
Iron
 answered on 12 Dec 2024
3 answers
64 views

How do I had a "Select All" option to a RadMultiSelect? I've see a couple of pages showing is but I can't find it in the docs or examples.

Thanks for any help.

 

Rumen
Telerik team
 answered on 11 Dec 2024
1 answer
56 views

I'm using server side validation for certain controls on an asp.net web form page, which also contains a RadAsyncUpload control. 

When a user clicks save, I check to make sure these certain controls contain a value.  If this fails, we stop the save process and display a message to the user.  

During this process, any files to be uploaded are lost.  I need to retain them.

In the load event following this post back, the RadAsyncUpload control still has the uploaded files, but after fully loading the page, they're gone.

I'm already using the Post back Triggers property and this save button just happens to be the post back trigger.

How can I capture these files and "re-load" them into the control?

Rumen
Telerik team
 answered on 10 Dec 2024
1 answer
50 views
Hi ,

I’m currently using the RadSpell checker in Telerik AJAX UI and specifically need a TDF (Telerik Dictionary Format) file to support the Latvian language. While researching, I came across mentions of a "Dictionary Configurator Tool" in some of your references, but I couldn’t find this tool in my installation package.

Additionally, I’d like to ask about the availability of TDF files for languages not included in the default installation.. Is there a way to obtain or create these files for unsupported languages? Any suggestions or resources you could provide would be really helpful.
Rumen
Telerik team
 updated answer on 09 Dec 2024
0 answers
84 views

I success show the full length ddl.item.text(selected choice) in limited length ddl. But I want to use it in ddl items too, what should I do?

Form.aspx

<tr>
   <td>
      <asp:Label ID="lblFolderPath" runat="server" Width="75px" Text="Folder Path: " ></asp:Label>

      <ToolTip1>
         <telerik:RadDropDownList ID="ddlFolderPath" runat="server" Skin="Windows7" 
            Width="650px" Height="23px" AutoPostBack="True" 
            onClientSelectedIndexChanged="loadingAnimation">
            <Items>
               <telerik:DropDownListItem runat="server" DropDownList="ddlFolderPath " Text="" />
            </Items>
         </telerik:RadDropDownList>
      </ToolTip1>
   </td>
</tr>

Form.aspx.vb

Select Case GetMMRCode("CueSheetImportSegmentRoot", CurrentSide, ReturnTable) 'CurrentSide = DEV
   Case 0
      '// Get ddl choices from DB
      ddlFolderPath.Items.Clear()  'Prevent do items.add multiple times

      For Each row As DataRow In ReturnTable.Rows
         ddlFolderPath.Items.Add(New DropDownListItem(CType(row.Item("Opt1"), String), CType(row.Item("Code"), String)))  
     Next
End Select



Matthew
Top achievements
Rank 1
 updated question on 09 Dec 2024
1 answer
51 views

I am working with multiple RadAsyncUpload controls, and for each RadAsyncUpload, I use a RadProgressBar to track the progress of the file uploads. However, I am encountering an issue when uploading multiple files to one of the RadAsyncUpload controls. In this case, all the RadProgressArea components display unexpectedly, as shown in the screenshot below.

Can anyone help by providing sample code or advice to handle this case?

Rumen
Telerik team
 answered on 05 Dec 2024
1 answer
37 views

This Telerik aspx-ajax RadScheduler is driving me nuts. Normally i prefer Telerik Web UI to DevExpress anything, but I'm banging my head against a wall here and not getting anywhere.I have two interdependent selections to make when adding an appointment on the scheduler. I need to select a doctor, and I need to select a patient (patients filtered by the selected doctor). The rest is your standard date and time and subject gumpf.For this I'm using the <AdvancedInsertTemplate> and <AdvancedUpdateTemplate> elements of the scheduler:

<AdvancedInsertTemplate>
   <div class="rsAdvancedEdit rsAdvancedModal" style="position: relative; height: 300px;">
       <div class="rsModalBgTopLeft">
       </div>
       <div class="rsModalBgTopRight">
       </div>
       <div class="rsModalBgBottomLeft">
       </div>
       <div class="rsModalBgBottomRight">
       </div>
       <div class="rsAdvTitle">
           <h1 class="rsAdvInnerTitle">
               <%# Container.Appointment.Owner.Localization.AdvancedEditAppointment %></h1>
           <asp:LinkButton runat="server" ID="LinkButton1" CssClass="rsAdvEditClose"
               CommandName="Cancel" CausesValidation="false" ToolTip='<%# Container.Appointment.Owner.Localization.AdvancedClose %>'>
               <%# Container.Appointment.Owner.Localization.AdvancedClose%>
           </asp:LinkButton>
       </div>
       <div class="rsAdvContentWrapper">
           <div class="form-horizontal">
               <div class="form-group">
                   <label class="col-md-2 control-label">Subject</label>
                   <div class="col-md-10">
                       <asp:TextBox runat="server" ID="AppointmentSubject" CssClass="col-md-10 form-control" />
                   </div>
               </div>
               <div class="form-group">
                   <label class="col-md-2 control-label">Start time:</label>
                   <div class="col-md-10">
                       <telerik:RadDateTimePicker RenderMode="Lightweight" ID="StartTime" SelectedDate='<%# DateTime.Now.Date %>' runat="server"
                           EnableSingleInputRendering="false" />
                   </div>
               </div>
               <div class="form-group">
                   <label class="col-md-2 control-label">Doctor:</label>
                   <div class="col-md-10">
                       <asp:DropDownList runat="server" ID="DoctorsList"
                           CssClass="form-control" />
                   </div>
               </div>
               <div class="form-group">
                   <label class="col-md-2 control-label">Patient Name:</label>
                   <div class="col-md-10">
                       <asp:DropDownList runat="server" ID="PatientsList"
                           CssClass="form-control" />
                    </div>
               </div>
           </div>
           <asp:Panel runat="server" ID="Panel1" CssClass="rsAdvancedSubmitArea">
               <div class="rsAdvButtonWrapper">
                   <asp:LinkButton CommandName="Insert" runat="server" ID="LinkButton2" CssClass="rsAdvEditSave">
                       <span><%# Container.Appointment.Owner.Localization.Save%></span>
                   </asp:LinkButton>
                   <asp:LinkButton runat="server" ID="LinkButton3" CssClass="rsAdvEditCancel" CommandName="Cancel"
                       CausesValidation="false">
                       <span><%# Container.Appointment.Owner.Localization.Cancel%></span>
                   </asp:LinkButton>
               </div>
           </asp:Panel>
       </div>
   </div>
</AdvancedInsertTemplate>

Now in all cases, I would prefer a telerik RadComboBox in place of the DropDownList for the Patients selection as I can allow the user to type the patient's name and get an item back, but the damn thing won't bind.If I use the RadComboBox here, the markup errors while creating the form saying that there is no data source for the list.Here's my binding code:


protected void RadScheduler_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
{
	if (e.Container.Mode == SchedulerFormMode.AdvancedEdit || e.Container.Mode == SchedulerFormMode.AdvancedInsert)
	{
		var doctorsDropdown = e.Container.FindControl("DoctorsList") as DropDownList;
		_doctorsList = doctorsDropdown;
		var patientsDropdown = e.Container.FindControl("PatientsList") as DropDownList;
		_patientsList = patientsDropdown;
		DoInitialBindings(doctorsDropdown, patientsDropdown);
		e.Appointment.End = e.Appointment.Start.AddHours(1);
	}
}
private void DoInitialBindings(DropDownList doctorsList, DropDownList patientsList)
{
   var doctorHelper = new DoctorsHelper();
   var doctorItems = new List<DoctorsViewModel>();
   var patientHelper = new PatientsHelper();
   var patientItems = new List<PatientsViewModel>();
   // Gets all the doctors and patients relevant to the Medical Practice
   // where the user is a receptionist.
   if (Roles.IsUserInRole(nameof(UserRole.Receptionist)))
   {
       int.TryParse(Request.Cookies["lcyduh"]["practice"], out int practiceId);
       doctorItems = doctorHelper.ListItemsForParent(practiceId);
       foreach (var doctor in doctorItems)
       {
           patientItems.Add(patientHelper.ListItemsForDoctor(doctor.Id));
       }
   }
   doctorsList.DataSource = doctorItems;
   doctorsList.DataTextField = "Name";
   doctorsList.DataValueField = "Id";
   doctorsList.DataBind();
   patientsList.DataSource = patientItems;
   patientsList.DataTextField = "Firstname"; // Firstname and Lastname fields are concatenated into the Firstname field by the helper function that retrieves the data.
   patientsList.DataValueField = "Id";
   patientsList.DataBind();
}
This works but its just a little bit blegh in terms of user friendly.Any ideas how I can bind this to a RadComboBox?
Attila Antal
Telerik team
 updated answer on 05 Dec 2024
1 answer
69 views

hi,

 

we are looking for a component (client side is preferred) that gets 2 inputs: a json schema and a json data fields that match the schema.

the component should generate a static html component (not inputs) to nicely display the data values according to the schema

for example in case we have 3 items of types string, number and boolean.

Name:  David the king

Age:      38

Married:    Yes

 

do you have such component?  maybe created as PDF?

Rumen
Telerik team
 answered on 03 Dec 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?