Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
145 views
Hello,

I Have a Treeview, to which i add dynamically  items.
For some items, i need to juxtapose more then images (the images are choosen in function of  a given conditions).

Using the old telerik components, the code is like this:
...
tmpDoc.Text='';
if (Convert.ToBoolean(rowNode["dot_has_life_cycle"]))
{
  tmpDoc.Text += "<img src='../images/colorDot.gif' alt='" + Convert.ToString(rowNode["sta_text"]) + "' style='margin-left:-5px; margin-top:-9px; background-color:" + Convert.ToString(rowNode["sta_color"]) + "' />";
  if (sIcon != "")
       tmpDoc.Text += "<img src='" + sPathImg + "' style='margin-left:3px' /> " + rowNode["doc_name"].ToString();
}
This code doesn't work for the aspnet-Ajax telerik Components ( neither the text nor the images were displayed). So I try to use the "ImageURL" attribute, but the problem that i have more then one image, and also, i have constraints on the margins.

Thank You for helping,

Best Regards,

Hind
Cat Cheshire
Top achievements
Rank 1
 answered on 01 Nov 2011
2 answers
165 views
I'm using the radsplitter with two sliding panes.

I'd like to open and dock one of the panes automatically when the page loads so that it shows docked by default.

I cannot find any samples on how to do this. Please advise.

Thank you.
Dobromir
Telerik team
 answered on 01 Nov 2011
3 answers
256 views
How do I set the rotator to continuously and smoothly scroll text?

It's scrolling, but because the items are of different lengths this appears to cause it to constantly speed up and slow down to fit the item in within the ScrollDuration I'm assuming.  This gives it a very jerky appearance.

The items are coming off an RSS feed so I won't know ahead of time what the lengths are.
Slav
Telerik team
 answered on 01 Nov 2011
1 answer
69 views
I have a search button in a asp.net page that show a pop-up and by closing that some controls are be added to a panel in my form using AjaxManager of Telerik.
I've used the Telerik:AjaxUpdatedControl to say render the panel everytime a search is done.
But my proble is when search is done for second time the controls that had been adde for first time will be removed.
how can I overcome this problem?
Andrey
Telerik team
 answered on 01 Nov 2011
2 answers
183 views
HI,

I have a radgrid which shows numeric data.

I agregate this data with the sum function and it shows in the footer the total.

Now I need to validate the footer.
When it is negative it needs to be red, and when it is positive in need to be black.

I am doing this in VB.net.

Is there anyway to call the footer text for a specific column on the code behind?
or is there a special data format string that will change the color of the text when it is negative?
Alessandro
Top achievements
Rank 1
 answered on 01 Nov 2011
3 answers
173 views
I am displaying a RadGrid in a popup window and have Context Menus enabled but when I right click on the headers, the Context Menu does not display.  It works fine if I have it within the main document.
Maria Ilieva
Telerik team
 answered on 01 Nov 2011
1 answer
132 views
Hi,

Currently when expanding a node the control performs a Post Back to the "NeedsData" event.  Each response from the server contains all of the HTML needed to rebuild the whole grid - this is making our grid extremely slow when digging into the lower levels. 

Having read the other forum posts it appears its not currently possible to get the control to render and operate fully on the client side.  Can you add this functionality?  

The control is perfect for our needs but due to the performance issues its currently stopping us from using it.

Regards,
Rene 
Iana Tsolova
Telerik team
 answered on 01 Nov 2011
1 answer
188 views
I am writing to learn if it is possible to specify a physical path on a web server, rather than a virtual path in the web application, for the destination of an uploaded file;

Does this type of functionality need to be specified with C#, rather than in the configuration section of the RadFileExplorer?

Thanks in advance for any insight;  Best regards - Rob   

<telerik:RadFileExplorer ID="RadFileExplorer1" Runat="server">
              <Configuration ViewPaths="~/Customers" UploadPaths="~/Customers"
                       DeletePaths="~/Customers" />
       </telerik:RadFileExplorer>
Dobromir
Telerik team
 answered on 01 Nov 2011
1 answer
112 views
Hi,

I developed a generic custom provider for Webdav, UNC paths, and local paths (C:/...) 1 year ago and it worked very well.
I used the 2010 R2 version of the components.

I updated a few days ago and i installed the 2011 R2 and now it's not working anymore. It seems that some functions that need a virtualPath (for example CheckWritePermissions) get a physical path (in case of UNC path).

What is going wrong?

In the URL bar, it's the UNC path which is displayed, instead of the virtual path.

What can I do? Thanks a lot for your help!
Dobromir
Telerik team
 answered on 01 Nov 2011
7 answers
582 views
Hello,

Is there a way to change the images during expanding nodes in treeview?
for instance:

i have a parent node with 5 childs.
the parent has a "close folder" image. when i expand the parent i would like the parent image will be change to "open folder" image.
and when i close the parent the image will be change again to "close folder" image.
the other childs node will have another image lets call it "file" image.

it is exactly like the default plus and minus images in the treeview control.
when i click on the plus it becomes to minus and vice versa.

small example will be very helpful.

Regards,
Oren
Nikolay Tsenkov
Telerik team
 answered on 01 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?