Telerik Forums
UI for ASP.NET AJAX Forum
13 answers
591 views
Hi,

I am using AutoCompleteBox to help user search various data. Now, the data shown to the user might not exactly correspond to what is written in table field. As I saw that AutoCompleteBoxItemData has Text and Value field, I have filled both accordingly, so that I would know what was their search term.

Traversing thorugh AutoCompleteBox.Entries however shows, that AutoCompleteBoxEntry has Value property set to string.Empty, no matter what I inserted in AutoCompleteBoxItemData Value property. Wouldn't it be nice to get Value property of an entry as well? Specially when I set it.

My markup:
<telerik:RadAutoCompleteBox ID="tbSearch" runat="server" InputType="Text" >
    <WebServiceSettings Method="EventSearch" Path="~/services/SearchService.asmx" />
</telerik:RadAutoCompleteBox>
<telerik:RadButton ID="btnSearch" runat="server" Text="<%$ Resources:Global,Search %>" OnClick="btnSearch_Click"></telerik:RadButton><br />

My code behind:
    Protected Sub btnSearch_Click(ByVal sender As ObjectByVal e As System.EventArgs)
        For Each entry As AutoCompleteBoxEntry In tbSearch.Entries
            Dim strValue As String = Nothing
            strValue = entry.Value   'value = string.Empty
        Next
    End Sub

Part of web-service that fills the data:
    Private Function GetDataResultFromSearchIndex(ByVal htIndex As HashtableAs AutoCompleteBoxData
        Dim acdataResult As AutoCompleteBoxData = Nothing
        Dim lstitemAutoComplete As List(Of AutoCompleteBoxItemData) = Nothing
        acdataResult = New AutoCompleteBoxData()
        lstitemAutoComplete = New List(Of AutoCompleteBoxItemData)()
        For Each de As DictionaryEntry In htIndex
            Dim itemAutoComplete As AutoCompleteBoxItemData = Nothing
            itemAutoComplete = New AutoCompleteBoxItemData()
            itemAutoComplete.Text = GetKeyValue(de)
            itemAutoComplete.Value = GetResultValue(de)  'value is filled
            Call lstitemAutoComplete.Add(itemAutoComplete)
        Next
        acdataResult.Items = lstitemAutoComplete.ToArray()
        Return acdataResult
    End Function
Alejandro Genovesi
Top achievements
Rank 2
 answered on 12 Sep 2020
6 answers
610 views
Hi,

I am using this RadEditor and I found that the Editor ContentArea height is little bit more than what i wants. I tried to set the height but no effects. Please the attached screenshot. And let me know how can i do that.

Thanks,
--Jai
Rumen
Telerik team
 answered on 11 Sep 2020
1 answer
128 views

Hi,

On the client, is there a way to get the value of the DataTextField used for binding?   The RadComboBox client object has a property _dataTextField, but this is always empty.

Thanks,

Dave

 

Vessy
Telerik team
 answered on 11 Sep 2020
1 answer
73 views

Hi 

On top of page I have got checkboxes which filter some of columns on the grid but also I got context menu on the other columns in the grid. 

I was wondering can you have both type of filters on a page? Is there way of clearing of filter expression in rad grid?

Alex

Doncho
Telerik team
 answered on 11 Sep 2020
4 answers
564 views
Hi,

I have an application which  has the following functionality.
Uploading an XML file through  RadUpload and displaying the XML Content in a RadEditor.

Problem

I am able to show the content in RadEditor ,but the XML tags and styling is gone :( I need the exact XML with its original structure to be shown in Rad Editor(Refer Attached Image)
Rumen
Telerik team
 answered on 11 Sep 2020
5 answers
153 views

I am using Start time property to keep video thumbnail.. it is working in all browsers but in safari browser those properties are not working like auto Play, Start Time properties can any one has solution for this please suggest.

 

Thanks,

Yogesh Kumar

Rumen
Telerik team
 answered on 10 Sep 2020
2 answers
157 views

I have a tabstrip linked to a RadTreeView via the RadAjaxManager. On a node click handler on server side, I add a new tab and a new PageView with some content on, then I select them:

                RadMultiPageApps.PageViews.Add(pageView);  
 
                RadTabStripApps.Tabs.Add(tab);  
                tab.Selected = true;  
 
                // only now select the pageview; apparently it needs the tab selected first.   
                pageView.Selected = true;  
 


That works fine, except for any existing tab and PageView that were created on previous node clicks. Those PageViews lose their content.
I tried disabling postback for those tabs, on client side in the node click event, on server side, even both - without any effect.

What am I missing?
thanks.

RR
Top achievements
Rank 1
 answered on 10 Sep 2020
1 answer
71 views
Hi sir,

In master page I use RadToolBar 
RadToolBarButton i use item template to display radtextbox we use the event onkeyup in that event i call child page radbutton  the whole  page cannot refresh only grid refresh 
but i use another RadToolBarButton  in that we use the event "OnClientButtonClicking" in that event i call child page radbutton the the whole  page refresh
i use update control also. both radbutton in child page.

please reply ASPA
M Kumar
Top achievements
Rank 1
Iron
Veteran
 answered on 10 Sep 2020
1 answer
48 views

Hi all - Is there a way to reset the my configuration wizard? It renders as a completely unreadable modal of a static size (see attached). It renders this way regardless of the control used. 

Vessy
Telerik team
 answered on 09 Sep 2020
3 answers
154 views

If an object such as a button has an existing cssclass defined, will RadFormDecorator override the definition? Is there a way to force it to override any existing definition? Also, are LinkButtons covered?

Vessy
Telerik team
 answered on 08 Sep 2020
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?