<telerik:RadComboBox ID="rdCombotxtToUser" runat="server" Width="397px" Height="140px" Enabled="false"
EmptyMessage="Please enter your contacts (e.g John Doe;Jane Doe)" AllowCustomText="true" AutoCompleteSeparator=";" EnableAutomaticLoadOnDemand="true" EnableItemCaching="true" MarkFirstMatch="true" OnClientKeyPressing="OnClientKeyPressing">
<WebServiceSettings Method="GetContactName" Path="~/WebServices.asmx" />
</telerik:RadComboBox>
When users enters ; im firing following below javascript
function OnClientKeyPressing(sender, e)
{
var strSelecteditem
if (e._domEvent.keyCode == "186")
{
var combo = $find("<%= rdCombotxtToUser.ClientID %>");
strSelecteditem = combo._selectedItem;
if (strSelecteditem == null) {
var mdlPopup = $find("mdladdContactPopupBId");
document.getElementById(
"<%=txtName.ClientID %>").value = combo._filterText;
mdlPopup.show();
}
}
Can anyone suggest me any other method or solution to prompt user only when mail id or items not in combo is entered.
I have a XML file for users to click a link to display a help pdf. The XML is using Node Text = Course and I can use Text to display the PDF in an iframe. The XML has attributes of PDFFile and Permissions, also.
A part of the xml file:
<Node Text="System Software Requirements" PDFName="SystemSoftware" Permissions="Administrator,Installer">
<Node Text="Client PC System Software" PDFName="SystemSoftwareClientPC" Permissions="Administrator,Installer"/>
<Node Text="Server System Software" PDFName="SystemSoftwareServer" Permissions="Administrator,Installer"/>
</Node>
In the C# code behind, I am using Telerik.Web.UI.RadTreeNodeEventArgs e
string PDFName = e.Node.Text
to display the pdf file
I would like to use PDFName to display the PDF file and remove the link if the person is not an Administrator or Installer. I have tried selectedName.Attribute("PDFName"), but it is giving me an error. What attribute should I use?
Thanks,
Jeff
Hi
Is it possible to edit treelist view only for a few row ??
After searching, i did not find a way to view my gantt row...
I would like to edit some value of row from one column and represented them by a different color.
Thanks
Salvatore
I have a problem where after I dragged Branch ID into the Row Area and update, the pivotgrid will load for some time and show empty result. Results will show if Branch ID is not dragged into row area.
I have tried the same scenario in Visual Studio 2008 SSAS and it successfully shows the result.
Thanks.
Hi,
I am playing with Radmenu on multiple devices, including desktop and mobile devices. I realize i can set "RenderMode" to "Auto" and it will adapt to devices automatically.
However, one issue i noticed is that once it is set to "Auto", it renders desktop menu in "Lightweight" mode. According to my research, it is the default behavior: if there is lightweight mode available, use lightweight mode for desktop and using Mobile mode for mobile devices. I also realized the lightweight mode has different HTML layout than the Classic one. That cause some styling issue cross my web application. I would prefer to show "Classic" on desktop, and "Mobile" for mobile devices. Is there any setting/configuration that can help with that?
In addition, is there any specific CSS files for lightweight mode that I need to download and add to my web application (because this is my first time play with lightweight render mode)?
Thanks
Kan
Hello All,
I'm using the self hierarchy rad grid, in the second and third level I'm hiding few columns programmatically but the grid render is not happening.
please help me on this, its bit urgent.
Attached the image for reference.
With Thanks
Amjath
Hi guys,
I have created a Pie Chart for my application but appearance does not look good. If I have at least 6 items the % is squeezed and cannot be seen.
Please see attached file.
Help me with this issue.
Thanks so much.
I am very new to Telerik, so forgive my nearly total lack of knowledge in this area. I am coming from Selenium and having a difficult time trying to find the equivalent ways to do things in Telerik.
One example is simply invoking JavaScript by reference elements that are available in c#. For example,
C# fake code of what I'm trying to accomplish:
var inputbox = myclass.FindElement.ByXPath<HtmlInputText>("//*[@id='someid']//input[@type='someotherid']");
mybrowser.Actions.InvokeScript( inputbox.HowToReferToThisInJS?? +".some_method_like_click_or_whatever_in_js()" );
Sorry if this isn't clear and I'm missing something super obvious. This was relatively straight forward in Selenium (at least I was used to it) and I'm sure there is an easy way to do this using Telerik, I'm just having a hard time bridging the gap.
Something similar that works in Java+Selenium (the arguments[0-1] are magically brought in from the parameters in the method call - this is essentially what I'm trying to accomplish):
WebElement dropdown = driver().findElement(By.xpath(xpath)); // A dropdown box
int index = 5;
((JavascriptExecutor)driver()).executeScript("var select = arguments[0]; select.options[arguments[1]].selected = true;", dropdown, index);
Thanks.