I have a list box, with a lengthy list of items (Interests List Box). A user selects which Interests are likes, and they populate into a different list box for Likes (Likes List Box)
To make searching for specific things easier, I would like to use a search box to help narrow down results. Here is a quick snippet of examples of some of my items:
<telerik:RadListBoxItem runat="server" Text="Music-Country" />
<telerik:RadListBoxItem runat="server" Text="Music-Rap" />
<telerik:RadListBoxItem runat="server" Text="TV-Cartoons" />
<telerik:RadListBoxItem runat="server" Text="TV-Drama" />
So if I type "Music" in the search box, I would like it to filter down and show results that start with "Music-" so they do not have to scroll all the way through the Interests List Box to get there. Once they find what they are looking for, I want them to be able to click the option they were looking for and add it to the Likes List box. I am having trouble finding a way to link the list box and search box together, is this possible?
Hello,
How can you implement subheadings in RadListBox ?
For example:
HEADING 1
ListItem A
ListItem B
HEADING 2
ListItem C
ListItem D
Thank you.
We have a nested tabstrip with dynamically created tabs from the code behind. The parent tabstrip is also dynamically created and populated. When the page first loads both the parent tab pageviews and child tab pageviews are correct and both can be navigated. But when the child tabstrip has a postback created by a contained form, the pageviews for the parent tabstrip clear (except for the current open tab with the form). The parent tabs remain but no content underneath (except the current page with the child tabs). The content can only be repopulated by reloading the full page. Note that a form postback at the parent page level does not clear the tab pageviews.
We've tried variations of loading the tabs at postback and not postback but can't seem to find a combination that works.
Is there a way to correct this issue?
thanks!
Hi,
I experience rather low quality results on scaling hires JPG image (2900x2900) to a size of 400x400
I can find that InterpolationMode.HighQualityBicubic is used but from my point of view the result should be better then.
Where can I send source photo (3.3MB), just try to scale to 400x400 and you 'll see what I mean.
Something changed in the scale procedure?
Marc
I have a web-site project that I needed to convert to
web-application. After I resolved all the compilation errors I hit a
runtime exception in a piece of code I got from Telerik's Website.
In the part where I de-serialize the grid settings data I get an exception
System.ArgumentExceptionHResult=0x80070057Message=The serialized data is invalid.Source=BMS.WebAppInner Exception 1:SerializationException: Unable to find assembly 'App_Code.5gd62bdt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
public static GridSettingsCollection LoadFromSerializedData(string data)
{
LosFormatter formatter = new LosFormatter();
// the line that throws the exception: formatter.Deserialize(data)
return (GridSettingsCollection)formatter.Deserialize(data);
}
This works no problem when it was a Web-Site project. I am guessing assemblies that start with an App_Code.* usually means that it is compiling at runtime. I tried clearing all the ASP temp folders.
Any help is greatly appreciated. Thanks.
<%@ Page Language="C#" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<script runat="server"> |
</script> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title></title> |
<script type="text/javascript"> |
function rmMode_ItemClicked(sender, args) |
{ |
sender.close(); |
} |
</script> |
</head> |
<body> |
<form id="form1" runat="server"> |
<div> |
<telerik:RadScriptManager |
id="RSM" |
runat="server" |
> |
</telerik:RadScriptManager> |
<telerik:RadMenu |
id="rmMode" |
runat="server" |
Flow="Horizontal" |
OnClientItemClicked="rmMode_ItemClicked" |
width="100px" |
> |
<Items> |
<telerik:RadMenuItem |
Text="Menu" |
> |
<Items> |
<telerik:RadMenuItem Text="Item1" Value="1" /> |
<telerik:RadMenuItem Text="Item2" Value="1" /> |
</Items> |
</telerik:RadMenuItem> |
</Items> |
</telerik:RadMenu> |
</div> |
</form> |
</body> |
</html> |
HtmlForm
form = new HtmlForm();
form.Controls.Add(MyRadGrid1);
StringWriter sw = new StringWriter();
HtmlTextWriter hTextWriter = new HtmlTextWriter(sw);
form.Controls[0].RenderControl(hTextWriter);
I am getting several errors during the 'form.Controls[0].RenderControl(hTextWriter)' .
This code is unable to render all the telerik controls in the RadGrid.
Is there any other way that this could be achieved? Should i look into other options that will be better than itextSharp ?
Thanks in advance.