Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
182 views

Can anyone help with how to set name attribute within button element of Rad Combo Box?  

The button appears when html is rendered - <button class="rcbActionButton" tabindex="-1" type="button">

Either client side or server side will work.

Valentin Dragnev
Telerik team
 answered on 20 Jan 2023
0 answers
182 views

 

Using RadMenu's, submenu is getting expanded on click but if I click on other submenu previous one is not getting collapsed and it remain open only.

 I tried below javascript, got it from Telerik forums. It is working for level 1 menu items not for submenu items (level 2 menu items) and sub-submenu items(level 3 items) also.

I have to click twice on level 2 items to open level 3 items.

 

Code:

    <script type="text/javascript">

        function onClientItemClicked(sender, args) {
            sender.close(true);
        }
        function OnClientMouseOverHandler(sender, eventArgs) {
            if (eventArgs.get_item().get_parent() == sender) {
                sender.set_clicked(false);
            }
        }
     </script>

 

<telerik:RadMenu ID="SampleMenu" runat="server" Skin="Product" RenderMode="Lightweight"  ShowToggleHandle="true"   AppendDataBoundItems="true" EnableEmbeddedSkins="false" EnableRoundedCorners="true" EnableShadows="true" ExpandDelay="300" ExpandAnimation-Type="InSine"  Flow="Vertical" OnClientItemClicked="OnClientItemClicked"     OnClientMouseOver="OnClientMouseOverHandler">
                                 
</telerik:RadMenu>

 

Snehal
Top achievements
Rank 1
 asked on 20 Jan 2023
11 answers
1.0K+ views
Hi. Is there a good example anywhere of how to use the AsyncUpload control (ideally with mutiple file selection set to auto), but where the uploaded files are not just saved to the file system but are handled as a stream for the purposes of saving to a database. Many thanks in advance for you help.
Doncho
Telerik team
 updated answer on 20 Jan 2023
1 answer
127 views

Greetings,

I have noticed today that the following demo pages are broken when using the latest versions of Chrome & Edge:

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/appearance/configuringappearance/defaultcs.aspx

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/dateaxis/defaultcs.aspx

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/multiline-labels/defaultcs.aspx

https://demos.telerik.com/aspnet-ajax/htmlchart/examples/functionality/pan-zoom/defaultcs.aspx

Each of these have a series of JavaScript errors that prevent the page from working:

RadHtmlChart.js:79 Uncaught SyntaxError: Invalid or unexpected token
    at b.RadHtmlChart._parseObject (RadHtmlChart.js:79:46)
    at b.RadHtmlChart._configurePlotArea (RadHtmlChart.js:128:47)
    at b.RadHtmlChart._getMainConfig (RadHtmlChart.js:96:20)
    at b.RadHtmlChart._getChartConfig (RadHtmlChart.js:82:3)
    at b.RadHtmlChart._createStandardChart (RadHtmlChart.js:74:57)
    at b.RadHtmlChart.createChart (RadHtmlChart.js:59:3)
    at b.RadHtmlChart._initialize (RadHtmlChart.js:40:3)
    at b.RadHtmlChart.initialize (RadHtmlChart.js:34:7)
    at b.RadHtmlChart.endUpdate (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a5bc44d53-7cae-4d56-af98-205692fecf1f%3aea597d4b%3ab25378d2:6:53689)
    at Sys.Component.create (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_QsfScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a5bc44d53-7cae-4d56-af98-205692fecf1f%3aea597d4b%3ab25378d2:6:55151)

 

Hope this helps ....

Doncho
Telerik team
 answered on 20 Jan 2023
0 answers
105 views
How can I use user interface expressions for find in Telerik asp.net core grid?
Vasily
Top achievements
Rank 1
 updated question on 20 Jan 2023
0 answers
92 views

We have multiple RadGrids with the MasterTableView configured thusly:

<MasterTableView EditFormSettings-PopUpSettings-KeepInScreenBounds="true" EditMode="PopUp" TimeZoneID="Central Standard Time">

If a record from the database has a null datetime value, the min value of DATETIME data type is used (01/01/0001). When the grid tries convert UTC to CST, we get the error: The added or subtracted value results in an un-representable DateTime.
Parameter name: value.

How can this be handled so the Grid display an empty cell when a null datetime is encountered?

Allan Erickson
Top achievements
Rank 1
 asked on 19 Jan 2023
0 answers
130 views

hello

in google chrome if we have "google translate extension" installed and the "Immediately display popup." option is enabled, by double clicking a word normally a pop up would display the translation; but in telerik editor, chrome extension's pop up will get inserted in the editor as html.

it even happens in the telerik demo page: https://www.telerik.com/products/aspnet-ajax.aspx 

how can we fix that?

thanks

maral
Top achievements
Rank 1
Iron
 asked on 19 Jan 2023
0 answers
162 views

Trying to add a text box and button into a Column Group Header server side and can't seem to get to the cell of the specific header.  I know how to set the text and all but want to place controls into the header.

protected void RadGrid1_PreRender(object sender, EventArgs e)
{

foreach (GridColumnGroup cg in RadGrid1.MasterTableView.ColumnGroups)
{
if (cg.Name == "HeaderGroupName")
{
cg.HeaderText = "TEST";
}

}

}

Jerry
Top achievements
Rank 2
Iron
Iron
 asked on 18 Jan 2023
0 answers
128 views

We have a development partner that create a custom component for us.  It is using an older version of Telerik.  What would be the recommended version to use now.  We are looking to move to an Azure environment using containers.  Below is the version information of the DLL.

 

Thanks!

Version information

Product Name - Telerik.Web.UI
Product Version - 2015.1.401.45
Original filename - Telerik.Web.UI.dll
Howard
Top achievements
Rank 1
 asked on 18 Jan 2023
0 answers
120 views

Hello
I'm asking you a question because there's a tricky screen.
The screen consists of Grid and Dialog, as shown below.

[StudentGrid]


[StudentDialog]

Hello,

I'm trying to organize the screen, so I'd like your help.

If I press "Add" button to add a new Editable row to Grid[StudentGrid]
And then, go to StudentNo in the added row and press the "Enter" key.
I press "Enter" Key, the [StudentDialog] visible
If I put the student number and press "Enter" key in [StudentDialog], the information of the students corresponding to the grid below will be printed out (for example, if the search term is "10", students with 101, 1001, and 10 will print out as search results)
And [StudentDialog] disappears when selecting one of the rows of the retrieved results.
Insert student's information into [StudentGrid] currentEditRow, which was selected in [StudentDialog].

I am currently using html and javascript.
I'm asking you a question because I couldn't find and try data on where the current Row of grid is 
and how to put the value in each column of grid's current EditRow when selected from dialog.
Please let me know if there is an example or reference for that part.


WoorimartDEV
Top achievements
Rank 1
Iron
Iron
 asked on 18 Jan 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?