Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
99 views
hi

whenever i try to add radtreeview from codebehind i got the error 'script controls cannot be registered after prerender'
how to solve this.

thanks
Rashmi
Helen
Telerik team
 answered on 11 Aug 2011
8 answers
730 views
Hi all.

I have a problem, i hope you can help me.
I am working with Radgrid and one gridTemplateColumn and when I clicked to a row I have to check row value and then change the image about the image button on this GridTemplateColumn, I'm using event ItemCommand and I don't Know how to change the image dynamycally.

Thanks for attention!!!


Jayesh Goyani
Top achievements
Rank 2
 answered on 11 Aug 2011
5 answers
149 views
Hi,

How can I fill a web form with values from the database, based on the selected item of a RadTreeView (Telerik.Web.UI - ASP.NET AJAX ) ... must I do a Server Request of the page or can I do it with AJAX?

Tks, rgds
BSC 
Nikolay Tsenkov
Telerik team
 answered on 11 Aug 2011
2 answers
157 views
Can someone send me the exact steps to click on a button and target a frame named f2 to go to a url.

My menu (radribbonbar) is in frame f1.

I want to store the URI in the button somewhere in frame f1, and when I click on it, frame f2 updates and loads that URI.

I don't see any way to do this easily - this should be very easy to do.

Dan
Top achievements
Rank 1
 answered on 11 Aug 2011
1 answer
130 views
Hey,

After rendering the code below:
_RadTreeNode.Attributes.Add("onclick", "func1('" + _Value + "')");

Looks like:
.. onclick="func1('SomeValue')" ..

apostrophe symbol encoded to ' and javascript crashes.

Thanks, for help.
Nikolay Tsenkov
Telerik team
 answered on 11 Aug 2011
2 answers
122 views
I am using RadGrid in VS2010 and populating it with JSON data from the clientside.
My page allows data entry in a traditional textfield manner and then assembles the data and performs an AJAX POST to store serverside. The page is then refreshed using a typical clientside JSON binding.
This all works well and I can have unlimted(?) number of json dataitems.

However, I need to reach inside and draw a dropdownbox for one of my cells/row.
This also works perfect until I reach the 12th row inside a foreach loop.
my javascript/clientside code is simple in that I have a loop with a counter.
inside the loop i use a RADGrid method (.getRowByIndex) to instantiate the client side object.
 ===============================================================================
var row = tableView._getRowByIndexOrItemIndexHierarchical(i); 
===============================================================================

"i" is within the bounds of my array and the row object does actually get created but the "CHILDREN" count=0.
this should represent the number of cells for that row in which I would index into that collection and then do work on the cell in question.
Error handling prevents the page from crashing and when the grid refreshes it show 12 or more rows of data but I can not access the children for any rows past the 11th one (dataItems 1-11 all have the required dropdown box, 12 and on do not)

any ideas?
(I have set the page size to 50)

Thanks Don
Don
Top achievements
Rank 2
 answered on 11 Aug 2011
1 answer
31 views

I have a tree, and a custom control.  The custom control has several labels that show what its current configuration are. 
I should be able to drag a node from the tree on top of the custom control - which will cause the custom control to update its configuration and show a new state. 
When I started coding, i used a text box - and I was able to drag and drop a node to it just fine. 
I have now started coding the custom control in earnest - which removes the checkbox and puts a bunch of text in its place - and now I can no longer drag the tree node on top of it.  

So, the question is - how can i define a particular area of the page as being "this is a place I can drag RadTreeNodes to". 

Note that I'm currently using  OnNodeDrop, I have not investigated the client-side drag and drop functionality. 
Plamen
Telerik team
 answered on 11 Aug 2011
3 answers
431 views
Hi,

I need to call the item_command event of rad grid on page load event of the same page where its' used.
Can anyone help me with the code to do the above. Is there any event handler with which I can pass the command name and call the item command event on page load.

Thanks.
Pavlina
Telerik team
 answered on 11 Aug 2011
4 answers
224 views
Hi,

I'm using the *Black* skin. Everywhere it uses green as a default (hover and select text in drop-downs, text area borders on select etc.) - I'd like to be able to change it to another color.

I am sure that you have not hard-coded the default green everywhere, and there must be a "master setting" to control it. Where would I find it ?...perhaps a master over-ride setting in the controls properties ?

Thanks,

Bazz
Barry
Top achievements
Rank 1
 answered on 11 Aug 2011
1 answer
48 views
I am having an issue where the e.sourcedragnode on my drop event is not the same node that is highlighted with the client side highlight, and not the one I dragged.  This is persisting with the latest version of the control.  I also find that if I highlight a node, then refresh the control (using ajax) My focused tree node moves up one.  When I drag, the node before the one I have selected is being dragged.

I have sent a request into support, but they don’t know of any known issues, I wanted to check with the community to see if anyone is having this issue?

Note in the attached, I dragged the right most red box with the arrow, and my "sourceDragnodetext" is that of the node just before it.  Very weird.  This does not happen all of the time, it seems like it can get "out of sync".  Anyone?
David Avery
Top achievements
Rank 1
 answered on 11 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?