Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
197 views

Hello, I am using code like so to populate a RadAutoCompleteBox in ASP.NET:

RadAutoCompleteBoxNextID.Entries.Add(new AutoCompleteBoxEntry { Text = "ABC" });

RadAutoCompleteBoxNextID.Entries.Add(new AutoCompleteBoxEntry { Text = "DEF" });

RadAutoCompleteBoxNextID.Entries.Add(new AutoCompleteBoxEntry { Text = "GHI" });

 

How do I display a default value of "ABC" --  which is the first item in the Entries list -- in the AutoCompleteBox?

Gopi
Top achievements
Rank 1
 answered on 12 Nov 2019
14 answers
193 views

Hello,

if I press the edit button and the form template comes up modal the entry in the grid looks strange. See attachement.

Best, Rainer

Rumen
Telerik team
 answered on 12 Nov 2019
1 answer
96 views
Error while installing setup. windows cannot find http://www.telerik.com/products/aspnet-ajax.aspx?utm_sourse=tcp'
Vesko
Telerik team
 answered on 11 Nov 2019
5 answers
89 views

sometimes when i clicked the search,always showed the circle.

Can you help me why  Thanks.

Attila Antal
Telerik team
 answered on 11 Nov 2019
9 answers
287 views

My overall goal is to use a raddatepicker where weekend days and federal holidays are disabled. On PageLoad, the date picker is populated with a date which could be as far as 5 years in the future.

So far I have implemented the solution given by Eyup in this thread and get the almost desired result with OnDayRender.

However, by doing this, when i click on the calendar icon to show the calendar popup, it does a full post back. My understand is because the calendar popup wrapper is outside my ajax panel, right under the <body>.

How can i force the calendar popup wrapper to be created in my ajax panel?

Thank you

Gregory

Rumen
Telerik team
 answered on 11 Nov 2019
1 answer
102 views

Hi guys,

Thanks for your support in advance,

I have a user control, which has ajax in it for some dropdownlists. it works fine, but when I add a Radgrid into that page, the new grid doesn't work, maybe I miss to set the ajax settings for the grid.

 

Attila Antal
Telerik team
 answered on 11 Nov 2019
3 answers
254 views

Hello

Please I need help ,first  I am not an expert in Telerik  tools , As you can see in the attachments I have radgrid when User click grid row (context menu 1) appear  when user click Emplyee from cntx1 (Context menu 2) appear and (context menu 1) hide , when user click command from cntx2 call server side method and pass cntx1 & cntxt2  selected values.

 

thank you

Attila Antal
Telerik team
 answered on 11 Nov 2019
0 answers
88 views

I define a DropDownTree in RadAjaxPanel with LoadingPanel.

I open the DropDownTree and use keyborad ↑↓ to find a item, then I press enter key to select some one.

It will trigger Infinite loading.

(Mouse operation is working fine, but keyborad doesn't work.)

 

Can anyone help? THX~

 

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="LoadingPanel1">

     <telerik:RadDropDownTree RenderMode="Lightweight" ID="rddtCustomer" runat="server" Width="300px" Skin="Default" AutoPostBack="true"               EnableFiltering="true" OnEntryAdded="rddtCustomer_EntryAdded" ></telerik:RadDropDownTree>

</telerik:RadAjaxPanel>

n/a
Top achievements
Rank 1
 asked on 11 Nov 2019
3 answers
107 views

I have a page with an AjaxPanel which refreshes (by calling ajaxRequestWithTarget) every 60 seconds through JS timeout.

I have a separate interface which uses javascript page-scope variables which resets to blank/undefined when ajaxRequestWithTarget was called?

elena
Top achievements
Rank 1
 answered on 08 Nov 2019
1 answer
234 views

Hi,

  Pretty new to telerik. I have a radgrid which has a RadMaskedTextBox child control. I have been able to use <ClientEvents OnLoad to get the value typed into the RadMaskedTextBox using the onchanged event using clientside javascript . I also need to pass other values from the Radgrid's datasource which is a datatable. 

   I am trying to get to the radgrid datasource inside of the RadMaskedTextBox declaration using server tags and the clientid. I'm not sure this is possible or if I need to get the values in the javascript code. Here is what I am trying to do and doesn't work. It isn't complete but it's clear that what I've done so far isn't working. The cboCBH.ClientID is not returning a control but the generated RadMaskedTextBox (seen in view source) code shows "cboCBH.ClientID " and not an actual controlid. The demo.getInputValue works as long as I don't pass the $find and pass nothing. I'm trying to pass the radgrid datasource. Here's what I have so far.

 

     <telerik:RadScriptBlock runat="server" ID="whocares"><telerik:RadMaskedTextBox ID="cboCBH" runat="server" Width="80px" Mask="##.##" onchange="demo.getInputValue($find('<%=cboCBH.ClientID %>').NamingContainer)">  <ClientEvents OnLoad="demo.load" /></telerik:RadMaskedTextBox></telerik:RadScriptBlock>

 

Here's the "onload code":

      ; (function () {

            var demoInputControl;

            var id;

            var demo = window.demo = {};



            function getServerId(clientId) {

                return clientId.indexOf("_") > -1 ? clientId.replace(/.+_([a-zA-Z0-9]+)$/m, "$1") : clientId;

            }



            demo.load = function (sender, args) {

                demoInputControl = sender;

                id = getServerId(demoInputControl.get_id()) + " ";

            };



            demo.getDemoInputControl = function () {

                return demoInputControl;

            }



            demo.setInputValue = function (id2) {

                var valueTbx = $telerik.findControl(document.forms[0], id2);

                demoInputControl.set_value(valueTbx.get_value());

            }



            demo.getInputValue = function (other) {

                alert(id + "value is: " + demoInputControl.get_value());
                alert(other);

            }



            demo.setEmptyMessage = function (id2) {

                var valueTbx = $telerik.findControl(document.forms[0], id2);

                demoInputControl.set_emptyMessage(valueTbx.get_value());

            }



            demo.getEmptyMessage = function () {

                alert(id + "EmptyMessage is: " + demoInputControl.get_emptyMessage());

            }



            demo.setMaxValue = function (id2) {

                var valueTbx = $telerik.findControl(document.forms[0], id2);

                demoInputControl.set_maxValue(valueTbx.get_value());

                demoInputControl.clear();

            }



            demo.getMaxValue = function () {

                alert(id + "MaxValue is: " + demoInputControl.get_maxValue());

            }



            demo.showNumberFormat = function () {

                var numberFormat = demoInputControl.get_numberFormat();

                var output = "";



                for (var prop in numberFormat) {

                    output += prop + ": " + numberFormat[prop] + "\n";

                }

                alert(output);

            }

        })();

 

Will this work? Or do I need to get the radgrid datasource from inside a javascript function?

 

 

Eyup
Telerik team
 answered on 08 Nov 2019
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?