Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
156 views
Good day to all 

I have the following code: 

telerik:RadSearchBox ID="RadSearchBox1" runat="server" Width="250px" Skin="MetroTouch" DataSourceID="OpenAccessLinqDataSource1" CssClass="" DataTextField="user_firmaname"
    DataValueField="user_id" Culture="de-DE" onsearch="RadSearchBox1_Search" ShowSearchButton="False">
 <DropDownSettings Height="400" Width="670" >
    <HeaderTemplate>
                    <ul>
                        <li class="col1">Firma</li>
                        <li class="col2">Ort</li>
                       
                    </ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <ul>
                        <li class="col1">
                            <%# DataBinder.Eval(Container.DataItem, "user_firmaname") %></li>
                        <li class="col2">
                            <%# DataBinder.Eval(Container.DataItem, "user_ort") %></li>
                     
                    </ul>
                </ItemTemplate>
                  </DropDownSettings>
</telerik:RadSearchBox>


protected void RadSearchBox1_Search(object sender, SearchBoxEventArgs e)
        {
            if (e.Text  != null)
            {
                string firmenname = e.Text;
                firmenname = firmenname.Replace("+", "und");
                Response.Redirect("/firmen/" + e.Value + "/" + firmenname);
            }
            else
            {
                RadSearchBox1.EmptyMessage = "keine Firma gefunden";
            }
        }

The problem is that if the client does not pick from the dropdown but simply hits enter e.value of course is not what I am looking for.

So I need a way to disable enter and have the client force to pick from dropdown.

You can try it here: http://zuol.ch.mserver4.arvixevps.com/firmen/ left side 

Markus


Plamen
Telerik team
 answered on 14 Oct 2016
1 answer
322 views

Hi

How to get checkbox input in multiple auto generated columns ? picture attached for understanding.

Few points there

- number of columns of grid are dynamic depending upon dates filter selection of user. (start date, end date). so i use auto generate columns option to  implement it. is there any better approach for this? 

- can i  make clientcheckboxcolumn autogenerated ? i have gone through many articles in the forum related to clientcheckboxcolumn selection. 

- is there any better solution for implementation of this task ? 

Regards,

Zain

Eyup
Telerik team
 answered on 14 Oct 2016
2 answers
235 views

Hello,

I have an image that is not showing for a radimagebutton. I have attached to thread, but I'm not able to see anything wrong.

 

[ASP.NET Markup]

<telerik:radimagebutton id="radimagebutton_AddNewItem" runat="server" autopostback="false" tooltip="Click to add item">

<image url="Includes/images/project.jpg" />

</telerik:radimagebutton>

 

steve
Top achievements
Rank 2
 answered on 14 Oct 2016
1 answer
208 views

Hi all,

    I am new to the UI for ASP.NET AJAX. I am still learning. I am interested in using RadSchedulerRecurrenceEditor alone, not with RadScheduler. The problem I encounter now is that I see only the Recurrence label, and "Never" is selected in the dropdown box. I write the logic that reads the RecurrenceRule from Appointments.xml and assigns it to RecurrenceRuleText of the RadSchedulerRecurrenceEditor control, but the control does not show the entries from my RecurrenceRule. Can you please help? Thank you very much.

David
Top achievements
Rank 1
 answered on 13 Oct 2016
1 answer
66 views

In a vb.net web form 2010 application that uses the rad editor, the development workstation uses windows 7 currently. In the near future, they will be using windows 10 workstations for development. The skin  value for the radeditor uses a skin that points to windows7 as listed below:

  <telerik:RadEditor ID="reLetterEditor"
            runat="server"
            Skin="Windows7"
            ContentFilters="DefaultFilters,PdfExportFilter"
            NewLineMode="Br"
            EditModes="Design,Preview,html"
            Width="100%"
            Height="800px"
            >

When the development workstation is changed to using windows 10, is there anything I need to be aware of concerned about?

Will changing the skin value to be "Windows10" be enough? Is that all I need to do except for testing the application?

 

Marin Bratanov
Telerik team
 answered on 13 Oct 2016
1 answer
131 views

I am currently using version 2016.3.914.45 of ASP.Net Ajax control.

My grid is inside a page layout control.

The problem is that on my development machine a asp checkbox appears in the grid as expected. but when published

the checkbox does not appear on any browser I check with. if I place a letter "S" in the text portion of the checkbox I can

see the "S" and select the grid row with the "S" but I still see now checkbox.

 

if I place all the code inside a simple html page with no page layout the checkbox is displayed correctly.

 

Thanks for any help

Viktor Tachev
Telerik team
 answered on 13 Oct 2016
7 answers
294 views
I am trying to get the combobox to load on demand and be searchable but am having problems.  I have followed the demos but can get it to work.
Here is what I have.

Aspx page:

<telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="True" CollapseDelay="0"
                            ExpandDelay="0" Filter="StartsWith" ItemsPerRequest="10"
                            MarkFirstMatch="true" EnableAutomaticLoadOnDemand="True" EmptyMessage="-New Menu-"
                            ShowMoreResultsBox="True" EnableItemCaching="false" EnableLoadOnDemand="True" EnableVirtualScrolling="True">
                            <HeaderTemplate>
                                <table style="width: 275px" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 175px; height: 13px">Name
                                        </td>
                                        <td style="width: 60px; height: 13px">ID
                                        </td>
                                        <td style="width: 40px; height: 13px">Grade
                                        </td>
                                    </tr>
                                </table>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <table style="width: 275px" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 175px;">
                                            <%# DataBinder.Eval(Container.DataItem, "FullName")%>
                                        </td>
                                        <td style="width: 60px;">
                                            <%# DataBinder.Eval(Container.DataItem, "StudentID")%>
                                        </td>
                                        <td style="width: 40px;">
                                            <%# DataBinder.Eval(Container.DataItem, "DisplayGrade")%>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </telerik:RadComboBox>

C# to bind
RadComboBox1.DataTextField = "FullName";
    RadComboBox1.DataValueField = "StudentID";
    RadComboBox1.DataSource = dt_students;
    RadComboBox1.DataBind();


I get this error when I click on it.
"There was an error in the callback.s[]_$$__$$__$$_False_$$_"

Any help would be great thank you.
Matt
Nencho
Telerik team
 answered on 13 Oct 2016
7 answers
330 views
how can i Cancel Drap & Drop in RadFileExplorer?
Vessy
Telerik team
 answered on 13 Oct 2016
5 answers
72 views
I have a RadListView control, which has a asp button in Itemtemplate to delete the Item . I have a requirement to make all my controls in page read only. Intially in Page_PreRender event i am traversing through the all controls and their child controls and disabling them. Everything is working as expected. But when i change page of RadListView The asp controls which i have disabled them earlier are again getting enabled. Is this expected behaviour with RadListView combining with RadPager. Below are the properties i have set.
<telerik:RadAjaxManagerProxy ID="ADCleintsRadAjaxManagerProxy" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ClientsRadAjaxPanel">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ClientsRadListView" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
        </telerik:RadAjaxManagerProxy>
 
<telerik:RadAjaxPanel ID="ClientsRadAjaxPanel" runat="server"
              LoadingPanelID="RadAjaxALoadingPanel" ViewStateMode="Disabled">
 
            <telerik:RadListView ID="ClientsRadListView" runat="server"
                ItemPlaceholderID="DrugsContainer"
                AllowPaging="True" PageSize="4" DataSourceID="ClientsDataSource" 
                OnItemDataBound="ClientsRadListView_OnItemDataBound"
                ViewStateMode="Disabled" OnNeedDataSource="ClientsRadListView_OnNeedDataSource"  OnItemCreated="RadListView1_ItemCreated" >

 

 

I have checked the Button enable property in different events when i changed the page. Below are the sequence of page flow.
When i changed the RadListView page>
RadListView1_ItemCreated> Button.enabled property is true
PageLoad > Button.enabled property is true
Page_PreRender > first disabling all the form elements with a function > I found my Button enabled property is false here after disabling means my function is working fine.
RadListView1_ItemCreated> This event is fired again and my button.enabled is true here. Please can any one help me with this?

Kostadin
Telerik team
 answered on 13 Oct 2016
6 answers
1.2K+ views

I have an ASP.Net page with VB.net code-behind.

I have a number of telerik controls on the page like the RadMenu, RadButtons, RadTextBox, RadLabel, etc.

The page has a dark near black background.

I have just added the telerik RadioButtonList.  My default skin for all my ASP.Net pages is Office2007.

With the Office2007 skin, the text of the items in the RadioButtonList is Black.  I need the text of the items to be White.

How to override the forecolor of the text of the items without affecting the other telerik controls on the page?

 

Sincerely,

Keith Jackson

Loïc
Top achievements
Rank 1
 answered on 13 Oct 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?