I would like to change the toggle image for just one RadComboBox - instead of a down arrow I would like to display a magnifying glass (search). I am ok with modifying our skin files, etc., but want the scope to affect only one RadComboBox. Even if I hide the entire down arrow and put the icon right up next to it, that's fine. I tried setting ShowToggleImage="false", and it went away, but the background is still there. :(
Not being a UI guy, can someone help me out with this?
Thank you in advance,
John
Hi everyone.
This week I started to use the Telerik RadPivotGrid, and today I need to export the results shown in the Pivot to the Excel.
Ok, no problems for this, but, for my business, I even have to get the row and columns descriptors in the exported File.
As in the files below, in the screen, I see the file: screen.png, but in the report; I see the file: excel.png (without the descriptors and, for some people, without sense).
There is any way to solve it?
Hi
I am working on rad grid having detail grid binding scenario, My requirement is I have to expand detail grid when clicked on first column field, but I have to merge two rows of first column of parent grid and when tried to expand the same it has to show the detail grid under the second row not under the first row of parent grid.
It is explained clearly in the attachment file.
Please let me know how can I achieve this.
Thanks
Rakesh
Hi Dear
I saw a project that implement shamsi date (Jalali date) on RadDateTimePicker with telerik winform at ease.But i can not implement that on asp.net
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TelerikShamsiDate
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
ChangeCulture();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
private static void ChangeCulture()
{
CultureInfo c = new CultureInfo("fa-Ir");
var info = c.DateTimeFormat;
var p = info.GetType().GetField("calendar", BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
p.SetValue(c.DateTimeFormat, new PersianCalendar());
info.AbbreviatedDayNames = new string[] { "ی", "د", "س", "چ", "پ", "ج", "ش" };
info.DayNames = new string[] { "یکشنبه", "دوشنبه", "ﺳﻪشنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه" };
info.AbbreviatedMonthNames = new string[] { "فروردین", "ارديبهشت", "خرداد", "تير", "مرداد", "شهریور", "مهر", "آبان", "آذر", "دی", "بهمن", "اسفند", "" };
info.MonthNames = new string[] { "فروردین", "ارديبهشت", "خرداد", "تير", "مرداد", "شهریور", "مهر", "آبان", "آذر", "دی", "بهمن", "اسفند", "" };
info.AMDesignator = "ق.ظ";
info.PMDesignator = "ب.ظ";
info.ShortDatePattern = "yyyy/MM/dd";
info.FirstDayOfWeek = DayOfWeek.Saturday;
info.ShortestDayNames = new string[] { "ی", "د", "س", "چ", "پ", "ج", "ش" };
System.Threading.Thread.CurrentThread.CurrentCulture = c;
System.Threading.Thread.CurrentThread.CurrentUICulture = c;
}
}
}
Please show me the right way.
Thanks.
function onClickHandler(e) {
var targedNodeName = e.target;
var radwindow1 = ('#RadWindow1');
if (radwindow1[0] != null) {
if ($telerik.isMouseOverElementEx(radwindow1[0], e)) return;
$telerik.
// $telerik.close(radwindow1[0]);
//$telerik.close(radwindow1);
//radwindow1.close();
radwindow1[0].close();
}
Here is my java script:
and my cs code:
RadWindowManager windowManager = new RadWindowManager();
windowManager.ID="RadWindowManager1";
RadWindow widnow1 = new RadWindow();
// Set the window properties
widnow1.NavigateUrl = "Detail.aspx" + "?event_id=" + rb.CommandArgument;
widnow1.ID = "RadWindow1";
widnow1.CssClass = "rdWindow1";
widnow1.Behaviors = WindowBehaviors.Close;
widnow1.Modal = true;
widnow1.Width = 600;
widnow1.Height = 740;
widnow1.VisibleOnPageLoad = true; // Set this property to True for showing window from code
windowManager.Windows.Add(widnow1);
this.form1.Controls.Add(widnow1);
Its failing to do .close() even though I do find the control. Complaining that object doesn't have .close().
Thanks
Hi,
I am using 2015.1.401.40 of your asp.net for ajax controls.
I have a very odd thing happening and am just looking for suggestions.
I have a user control that contains a RadTabStrip and a RadMultiPage and several other controls... I have the SelectedIndex of the TabStrip set to 0, the first tab's Selected property is set to True, and the SelectedIndex of the MultiPage is set to 0.
This user control is in an ASP Panel that has its visible property set to False. The user selects some things and then clicks a linkbutton at which time a RadAjaxManager postback occurs.
When the page loads, the first tab is selected, but all the content from all of the PageViews is displayed.
If I then click on each tab, only the content for each tab is displayed. In other words, the RadMultiPage and TabStrip are working properly.
I use this same asp markup, same layout etc in a different user control, and it works.
If I set EnableAjax="false" in this control, it also works.
It also works fine in IE 10 and Chrome and Firefox.
One odd thing that I notice is that it seems as if the javascript / jQuery (or whatever that is supposed to run that hides the content of the other page views when the page loads) is NOT running. In fact, no script on that user control is running. To test that, I put a very basic jQuery(document).ready line of script in the user control that should run as soon as the page loads upon ajax postback, and it doesn't run.
Q. Can you think of anything that could be causing something like this?
Q. Do you have any troubleshooting ideas for me to try, or any properties I should be setting on any of the controls? I've stripped the page down as much as I can, and it is still happening.
I so much dislike older versions of IE...
Thanks,
Brent
I'm trying to get the enter key to submit a combobox. I tried the following but it doesn't run the btnSave onclick event. It just postback the page without doing anything and I don't see the AjaxManager loading panel.
<script type="text/javascript"> function HandkeKeyPress(sender, eventArgs) { if (eventArgs.get_domEvent().keyCode == 13) { __doPostBack('Button2',''); } } </script>
This executes the onclick event but generates a console error TypeError: sender.raise_SelectedIndexChanged is not a function
function ClientKeyPressingCombo(sender, eventArgs) {
if (eventArgs.get_domEvent().keyCode == 9) { }
else if (eventArgs.get_domEvent().keyCode == 13) {
sender.raise_SelectedIndexChanged();
}
}