Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
555 views
Hello All,

   I have a RadGrid with EditCommand Column  as the first column in the grid. I have a edit image set for all the rows in that column. I did this by putting the editImageURL property.
Now. My question is, Is there a way to change the Image of that column dynamically based on the value of other column in the grid?

I want to change the first column's image of a grid based on other column value. Can i do it in the aspx page or Is it best way to do it from code behind?

If I have to do it from Code behind, How can I access the image folder( which has all the images  I am using in the project) in my project from code behind. If it is aspx page we can set the property like editImageUrl .
Jagat
Top achievements
Rank 1
 answered on 30 Jun 2011
10 answers
1.2K+ views
On one of my pages I'm getting this error when I click on the calender control on my page...

Error: [Exception... "'Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500' when calling method: [nsIDOMEventListener::handleEvent]"  nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "<unknown>"  data: no]

It doesn't give the error when I run from VS 2008 but when I promote to any other server I get the error. It only happens when I click on the calender control.

I searched these forums (and others) and have tried all of the suggestions (there are no response.writes, response.transfers, or anything like that).
Sérgio
Top achievements
Rank 1
 answered on 30 Jun 2011
3 answers
132 views
Hi. I was wondering how I could export data that's been rendered in a Treelist, into an Excel file, maybe not with the methods included with control, but some other class which I could use.

Could anyone help me? 
Thanks in advance.
Daniel
Telerik team
 answered on 30 Jun 2011
2 answers
84 views
Hi,

I am opening a radWindow on click on a radgrid column. When RadWindow displayes, the background gets blur and can not read the things on it. How can I keep the background clear so that user can read it.

Please help,
Smiely
Smiely
Top achievements
Rank 1
 answered on 30 Jun 2011
2 answers
103 views
I am using the RadColorPicker in an asp.net repeater control.
Everything works well except that the browser (any browser) is consuming approximately 500MB of memory 
with only 13 items loaded into the repeater.
If I comment out the radcolorpicker, memory consumption drops to around 60-70MB...  which is a little 
more appropriate.

Memory usage is the same regardless of whether or not I handle the OnClientColorChange event, so I'm 
pretty sure that whatever is going in is happening as a part the control's default behavior.  

I am using the latest available controls.

Are there any known issues with this control and memory leaks/consumption?

Thanks...
Niko
Telerik team
 answered on 30 Jun 2011
2 answers
287 views
Hi
How do i change the mouse cursor for the menu so that  it is a hand when the user hovers over a menu item rather than an arrow?
thanks
NetGuru
Top achievements
Rank 1
 answered on 30 Jun 2011
5 answers
2.2K+ views
Hello,

I am using RadGrid from RadControls for ASP.NET v2008.1.619 to display and edit TEXT fields from a Microsoft SQL Server database.

I am trying to insert line breaks in the text using an ASP.NET TextBox (multi-line) in an EditFormTemplate.  When I press Enter the line break works as expected.  When I update the RadGrid the text in the RadGrid is not honoring the line break.  I also tried using Shift-Enter which works in the ASP.NET TextBox but when displayed back in the Grid after updating does not work.  I tried using <br> tags but they just render in grid as <br> and do not break the line.

Is there a way to enter line breaks and have them work in the RadGrid?

Thanks,

Randall Price
Randall
Top achievements
Rank 2
 answered on 30 Jun 2011
3 answers
150 views
I've been searching around and I can't find anything pointing me in the right direction to do this. I need to add a custom attribute to each checkbox associated with a RadTreeNode inside of a RadTreeView. Not every node is checkable, but for the ones that are I need to figure out a way to add a custom attribute to those checkboxes. Does anyone have any suggestions?

Let me know if you need more info to help me out.
Dave
Top achievements
Rank 1
 answered on 30 Jun 2011
6 answers
657 views
Hi,

I am using radgrid for a long time now. Earlier I simply use to throw exceptions which occurred in RadGrid ItemCommand or InsertCommand or UpdateCommand and they use to appear as alerts in IE.

I don't know whether it was IE version update or rad grid version update or did I missed some property of RadGrid because of which instead of alerts all my validations are appearing as IE errors.

I just wish to catch exceptions inside RadGrid ItemCommand or InsertCommand or UpdateCommand and show them as alerts. Please help me out with this.

Thanks
Dante696
Top achievements
Rank 1
 answered on 30 Jun 2011
2 answers
133 views
Hi,

When MasterTableView is Set with HierarchyLoadMode="Client" HierarchyDefaultExpanded="true", the custom edit form on DetailsTable does not load. And also all the items within that hierarchy disappear with edit button is clicked.
<MasterTableView GridLines="None" Width="100%" GroupLoadMode="Client" DataKeyNames="Title" AllowMultiColumnSorting="True" HierarchyLoadMode="Client" HierarchyDefaultExpanded="true" ExpandCollapseColumn-ButtonType="ImageButton" ExpandCollapseColumn-CollapseImageUrl="/_layouts/images/minus.gif" ExpandCollapseColumn-ExpandImageUrl="/_layouts/images/plus.gif">

Can you please let me know how to load the edit form (UserControl) on child items with HierarchyLoadMode="Client" HierarchyDefaultExpanded="true" set on master tableview?

Regards,
Kalyan
Kalyan
Top achievements
Rank 1
 answered on 30 Jun 2011
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
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
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?