Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
404 views
I've been successfully using the RadComboBox autocomplete filter (very nice feature).  But...I've broken it or so it appears.   The symptom is it only matches the first character typed so that entering 'Sm' will jump to 'Sa' (or the first 'S' string match) and no further ?.  

<

asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:edwaydbConnectionString %>" SelectCommand="SELECT [lname], lname+','+fname 'lfname', [StudentID] FROM [Registrations] ORDER BY [lname], [fname]"></asp:SqlDataSource>


<CommandItemTemplate>

<telerik:RadComboBox ID="RadComboBox1" runat="server" Height="140px" Width="250px"

DataSourceID="SqlDataSource2" DataTextField="lfname" DataValueField="StudentID"

ToolTip="Select a student" Skin="Vista" AllowCustomText="true" MarkFirstMatch="True"

Font-Size="Small" ShowToggleImage="true">

<CollapseAnimation Type="InSine"></CollapseAnimation>

<ExpandAnimation Type="InOutSine"></ExpandAnimation>

</telerik:RadComboBox>

<asp:Button ID="btnSearch" runat="server" Text="Search" CommandName="Search" />

<asp:Button ID="btnClear" runat="server" Text="Clear" CommandName="Clear" />

</CommandItemTemplate>

Simon
Telerik team
 answered on 25 Oct 2010
2 answers
147 views
Hi,

When uploading files using RadEditor, is it possible to make a copy of the image in another folder location using the FileUpload event?

For example I use the image manager to upload "Image1.jpg"... it saves to C:\directory1... I would like to make an exact copy in C:\directory2.

Thanks,
Chris.
Conor Morrissey
Top achievements
Rank 1
 answered on 25 Oct 2010
1 answer
90 views
Hi,

Maybe a simple question, but I was wondering how I can store the clicked rate of a user?
I don't want the users to 'rate' again?

Talking about anonymous users that don't have to login.

Thanks,
Daniel
Tsvetie
Telerik team
 answered on 25 Oct 2010
3 answers
133 views
I am using maskedtextbox controls for a phone number.  I have the same code on multiple pages but on one of them, the value of the maskedtextbox controls are cleared on postback.  All the other places with the same exact code (copy and pasted) are working fine but for some reason the values are cleared on one page.  The bug has to do with the control being on the Login page before you login (it is used during registration).  I took out the Forms Authentication, and the values were no longer cleared on the login page on postback.  I am able to get around this by just taking the register page out of the part of my application that needs to be authenticated, but it is a bug that should be fixed.

(<telerik:RadMaskedTextBox ShowSpinButtons="false" IncrementSettings-InterceptArrowKeys="false"
                IncrementSettings-InterceptMouseWheel="false" ID="Telephone1" MaxLength="3" Width="30px" runat="server" Mask="###"></telerik:RadMaskedTextBox>) <telerik:RadMaskedTextBox ShowSpinButtons="false" IncrementSettings-InterceptArrowKeys="false"
                IncrementSettings-InterceptMouseWheel="false" ID="Telephone2" MaxLength="3" Width="30px" runat="server" Mask="###"></telerik:RadMaskedTextBox>-<telerik:RadMaskedTextBox ShowSpinButtons="false" IncrementSettings-InterceptArrowKeys="false"
                IncrementSettings-InterceptMouseWheel="false" ID="Telephone3" MaxLength="4" Width="40px" runat="server" Mask="####"></telerik:RadMaskedTextBox>
Martin
Telerik team
 answered on 25 Oct 2010
3 answers
165 views
Hello everybody !

At the beginning of the page
I have a div with title in the left  and in the right corner of the div I have a combo box with some elements
Under this I have a Radmenu. The problem is when I click combo, the list that is open is under the menu bar.

What I'm doing wrong and how I can fix it?

Thank you !
Hans



Yana
Telerik team
 answered on 25 Oct 2010
4 answers
223 views
Hello

I'm building a blog and each post corresponds to an item in the ListView that is bounded to a sql datasource. Each post is identify for a unique record number.

For each item in the listview I need to show other listview inside the item containing the attached files for this particular post. The records for this second listview should be obtained with "OnNeedDataSource" because this list is builded exploring the directory where the attached files are stored.

Is it possible to do that? Anyone has an example? How can I identify the record number of the post in this event routine.

Thanks in advance


Nikolay Rusev
Telerik team
 answered on 25 Oct 2010
17 answers
247 views
Hi there,
I am working on Sharepoint webpart which query data from document library and display in Radlistview so far worked great.
Now i need multivalue filtering and paging with Ajax mean don't want to post whole page.
well i am using generic list collection as datasource so can i implement paging and filtering on generic list.
can you please guide me to direction ?

Ronak
 
Ronak
Top achievements
Rank 1
 answered on 25 Oct 2010
7 answers
153 views
I have a radgrid with numerous rows.  If you click on a row it expands to reveal a tab control with two tabs.  Each tab then has a user control with related data.

My question is this: I would like to prevent the user controls from activating and loading their data until the user clicks a row.  Then I would like the system to fetch the data... I call this lazy load, but I know this is not the correct term...


Any suggestions on where to find how to do this?
Mira
Telerik team
 answered on 25 Oct 2010
2 answers
147 views
i have a radgrid which i want to filter using the radfilter control.

it kind of works but i guess i'm missing something.

i have a textbox which filter three columns of the radgrid, i then have two radcomboboxes that filter a column each.

i want to combine these filters together so the user can filter down to the record they want.

protected void Filter_Click(object sender, EventArgs e)
    {
        if (QuickSearchBox.Text != "")
        {
            RadFilterContainsFilterExpression expression1 = new RadFilterContainsFilterExpression("Synopsis");
            SearchRadFilter.RootGroup.AddExpression(expression1);
 
            SearchRadFilter.RootGroup.GroupOperation = RadFilterGroupOperation.Or;
 
            RadFilterContainsFilterExpression expression2 = new RadFilterContainsFilterExpression("Title");
            SearchRadFilter.RootGroup.AddExpression(expression2);
 
            SearchRadFilter.RootGroup.GroupOperation = RadFilterGroupOperation.Or;
 
            RadFilterContainsFilterExpression expression3 = new RadFilterContainsFilterExpression("Text");
            SearchRadFilter.RootGroup.AddExpression(expression3);
 
            expression1.Value = QuickSearchBox.Text;
            expression2.Value = QuickSearchBox.Text;
            expression3.Value = QuickSearchBox.Text;
        }
 
         
        RadFilterGroupExpression group = new RadFilterGroupExpression();
        group.GroupOperation = RadFilterGroupOperation.And;
        RadFilterContainsFilterExpression expr = new RadFilterContainsFilterExpression("ClassDisplayName");
        expr.Value = TypeFilter.SelectedValue;
        SearchRadFilter.RootGroup.AddExpression(group);
        group.AddExpression(expr);
 
        RadFilterGroupExpression group2 = new RadFilterGroupExpression();
        group2.GroupOperation = RadFilterGroupOperation.And;
        RadFilterContainsFilterExpression expr2 = new RadFilterContainsFilterExpression("NodeParentID");
        expr2.Value = NodeValue.Value;
        SearchRadFilter.RootGroup.AddExpression(group2);
        group.AddExpression(expr2);
         
        SearchRadFilter.FireApplyCommand();     
    }

i'm not getting any errrors, but if you use the textbox and the classdisplayname filter i won't it to come back with the textsearch but only display the records in that class. at the moment its displaying the textsearch and all classes regardless of what i select

what am i doing wrong
Nikolay Rusev
Telerik team
 answered on 25 Oct 2010
4 answers
276 views
Hello, I started with the AJAX evaluation download and was able to get several controls running on my Windows 2003 server.
It has .NET frameworks 1.1, 2.0, 3.5 installed.  Then I decided to integrate the Silverlight RadChart to my aspx page.
I applied VS2008 SP1, Silverlight SDK, and installed the Silverlight trial download, which prompted me to install Silverlight 4 plugin.
I was able to get the Silverlight Radchart demo to appear in my aspx page, but could not see where the data for the bars came from.
the demo worked but I saw no component with ID=RadChart1  The chart just ran out of ~\Images\RadChart.xap
I wanted to manually bind the chart data to a sqldatasource so I looked for a sample project.  So I found a telerik sample that implements:   Namespace Telerik.Chart.Examples.DataBinding.Automatic

I added references to Telerik.Web.UI and Telerik.Web.Design dlls to my project (from the Bin35 directory of the Telerik downloads)

I added the following imports to the project.
Imports

 

Telerik.Charting

 

Imports

 

Telerik.Web.UI

 

Imports

 

Telerik.Web.Design

But I get this error:  Type 'Telerik.Web.UI.RadChart' is not defined.
I used gacutil to look in the GAC and saw that no Telerik dll is registered in the Framework 1.1 GAC.
web.config contains:

 

<

 

controls>

 

<

 

add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>

 

<

 

add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>

 

</

 

controls>

 

 

 

Any help would be very appreciated.

mariano
Top achievements
Rank 1
 answered on 25 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?