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

hi !
I am working on a project that I receive data by schema via datasource . after receiving this data from specific URL I have to send one of these them (that is an id) to another URL to receive a name . now the problem is template is not working here cause connecting to 2nd URL takes time and grid is ready by that time  ...
what should I do ?
any guides ?

 

regards

Eyup
Telerik team
 answered on 10 Aug 2018
11 answers
4.1K+ views
I have a Link Button in my Rad grid, and am able to capture the Item_Command event when clicking.  However, I cant figure out how to access the other values within the row from in the item command.  I dont need just the data key values, and the other examples for the update command and delete command, i need access to the data in all columns.

Basically i have a url with some special variables that the page will redirect to when clicked, and i need to basically loop through all the columns,and replace the url variables dynamically with the values associated with the correct column.

For example, say my url has a parameter {orderNumber}.  I want to replace that value in the string with the value from the orderNumber column thats in my row. 

I am aware of the hyperlink button, but cant go that route because under certain circumstances we're not allowed to show the querystring.

So, all that said, in an item command does anyone know how to loop through and grab the values from the other columns?
Eyup
Telerik team
 answered on 10 Aug 2018
1 answer
334 views
We have a column header that looks like this:
    <telerik:GridTemplateComlumn DataField="Venues" HeaderText="Venue">

 

I would like to add a tooltip to this column header but have been having a hard time figuring out a way to do this in JavaScript.
I have tried using the following scripts:

document.querySelectorAll("[value=Venue]").setAttribute('title', 'this is a tooltip');
$("[value=Venue"]).prop('title', 'this is a tooltip');
$("[HeaderText=Venue").prop('title', 'this is a tooltip');

I understand that telerik has findControl() and findElement() to help with element selection, but haven't had too much luck with those either.

Does anyone know a way that I can select this specific column header with JavaScript and apply a tooltip (title)?

Marin Bratanov
Telerik team
 answered on 09 Aug 2018
1 answer
178 views
Hi, i have requirement to add Raddropdowntree programmatically to form. Also i am using Load on Demand approach to load data to raddropdowntree because i have more that 40,000 rows of data from sql server. 

but i have a problem here if i hardcode raddropdowntree control in aspx page then load on demand works fine (i have copied that code from user 'Boyan Dimitrov' from telerik forum).

If i am creating raddropdown programmatically in .cs file (see the below code) then that code gives a error 'There was an error in the callback' when i try to expand any parent node.



RadDropDownTree datatreeview = new RadDropDownTree();
datatreeview.ID = raddptreename;
datatreeview.Attributes["CssClass"] = "radwidth";
datatreeview.Attributes["runat"] = "server";
datatreeview.Attributes["OnLoad"] = "RadDropDownTree1_Load";
datatreeview.EmbeddedTree.NodeExpand += embeddedTree_NodeExpand;
form1.Controls.Add(datatreeview);
loadtreeview(RadDropDownTree1, TreeNodeExpandMode.ServerSideCallBack);


Please guide me in fixing this problem.
 

Tsvetomir
Telerik team
 answered on 09 Aug 2018
15 answers
710 views
Hi,
I want to Populate Parent Nodes from the Database in RadDropDownTree When Page being Load..
When you Expand i want to Populate Child Nodes from the Database..
How can i do this?
I went through this example but could not achieve(i am using Database not the Webservice)
http://demos.telerik.com/aspnet-ajax/dropdowntree/examples/populatingwithdata/webserviceandclienttemplates/defaultcs.aspx 

Thanks In advance
Tsvetomir
Telerik team
 answered on 09 Aug 2018
4 answers
287 views
We have recently added a large set of videos which show how to accomplish some of the most common scenarios with RadCalendar. Please check out the tutorials at http://tv.telerik.com/home.

We hope this will further facilitate your development with RadCalendar.

Do not hesitate to send us any feedback you might have. Are the videos helpful? What can we improve/add?
Rumen
Telerik team
 answered on 09 Aug 2018
1 answer
240 views

Hi,

I want to make a multiple sorting + natural sorting column. Multiple sorts are working fine but not for natural sort.

May refer to attached image.

Thanks.

Rumen
Telerik team
 answered on 09 Aug 2018
5 answers
123 views

Hi everyone,

 

I have a RadGrid with batchedit mode in a usercontrol, and I want to have different editors based on the type of the parameter. For example : if the parameter is a string, the editor should allow to write strings, or datetime, boolean, integer, even files so the user can download the file and also images so they can appear on the radgrid !

I found something similar to what I want but it's using Kendo UI : https://docs.telerik.com/kendo-ui/knowledge-base/grid-different-editor-based-on-column-value

Any suggestions ?

 

Thank you

Vessy
Telerik team
 answered on 09 Aug 2018
7 answers
593 views
Hello...I am using the latest build of Promethius controls. My problem is with the Rad window. I am generating a large page which loads variable numbers of images in various sections. These images are enclosed in links which invoke the RadWindow so that the images can be viewed in another image viewer control. That all works fine...However, as I mentioned, the page can be rather large, so for example if I scroll to the bottom of the page and click on one of those links, then the parent window scrolls automatically to the top before displaying the radwindow...worse yet, since the radwindow opens relative to where it was clicked, then the window is completely out of view and the user must scroll down to see the popup. The only thread I found that comes close to addressing this is http://www.telerik.com/community/forums/thread/b311D-bahgmt.aspx but did not solve my problem.
This behavior is the same in IE, FF, and Safari.
A temporary work around is to do a MoveTo and move the window to the top of the page, but I would prefer that the main page stay in place and the the window open where it was clicked...so that when the window is closed, the user doesnt have to scroll back down to where they were when they originally clicked on the link....make sense?
Any help on this would be greatly appreaciated.

Thanks!
Rumen
Telerik team
 answered on 09 Aug 2018
4 answers
127 views

I build Sharepoint webpart with RadScheduler on one server, then I deployed with sharepoint package on another server, why I get different layout for both server?

 

How to make it default like documentation on this link https://docs.telerik.com/devtools/aspnet-ajax/controls/scheduler/recurrence-editor/overview

Rumen
Telerik team
 answered on 09 Aug 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?