Telerik Forums
UI for ASP.NET AJAX Forum
24 answers
746 views
I receive the following error when installing the VS extensions.~3cbr /~3e ~3cbr /~3e Setup~3a~3cbr /~3e - VS 2008 SP1 ~28C~23~29~3cbr /~3e - AnkhSvn~3cbr /~3e - Resharper 4.5 beta~3cbr /~3e - Latest RadControls for ASP.Net Ajax~3cbr /~3e ~3cbr /~3e Error screenshot~3a http~3a//www.rawsoft.nl/img/24-3-2009_95702.jpg~3cbr /~3e

Wow!
Seems that RadEditor is incompatible with Firefox 3.1...

Original message:

I receive the following error when installing the VS extensions: http://www.rawsoft.nl/img/24-3-2009_95702.jpg

My setup:

- VS 2008 SP1 with C#
- AnkhSvn
- Resharper 4.5 beta
- Latest RadControls for ASP.Net Ajax
Erjan Gavalji
Telerik team
 answered on 20 Jul 2009
1 answer
234 views
I am building a fairly simple menu with the RadMenu Control and it works well, but I would like to be able to hide certain menu items based on an attribute in the .sitemap file.  ie.  hideFromMenu="true"

I thought I would be able to do this in a RadMenu_OnItemDataBound type of method where I would just check the attribute of the sitemap node and hide the ones that are set to be hidden. 

This doesn't seem to be the case and I'm sure other people have had a similar issue. 

Has anyone done this yet?

thanks
Atanas Korchev
Telerik team
 answered on 20 Jul 2009
1 answer
153 views
Hello,
The datasource for my combobox is an objectdatasource which is returning a datatable, when i try to assign the DataTextField and the DataValueField i dont see any values in the dropdowns. when i try to type in the values, i get an error. any help would be appreciated. thanks,
Atanas Korchev
Telerik team
 answered on 20 Jul 2009
1 answer
161 views
Hi There;

I'm trying to bind an System.Xml.Linq.XElement to a TreeView. Currently I'm using and XMLDataSource as an intermediary and converting the XElement to a string:

XmlDataSource1.Data = myXElement.ToString(); 
RadTreeView1.DataSource = XmlDataSource1; 
RadTreeView1.DataBind(); 

This works but surley there a more direct, cleaner way of doing this without converting the XElement ot a string?

Can anyone help please?

Thanks in advance

-Pete




Atanas Korchev
Telerik team
 answered on 20 Jul 2009
1 answer
102 views
Hi team ,

How to solve the below


Error 520 Assembly 'Telerik.Web.UI, Version=2008.2.826.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' e:\Foldername of project \bin\Telerik.Web.UI.dll  Projectname
Daniel
Telerik team
 answered on 20 Jul 2009
1 answer
215 views
In your example:

http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/contextmenu/defaultcs.aspx

On Deletion, you delete the node. I want to first check if there are any children for that node, and if so send a alert. How do I check if the selected TreeNode has children? The below treeNode.Nodes.length doesn't work. thanks!

 

case "Delete":

 

 

 

if (treeNode.Nodes.length > 0) {

 

alert(

 

"Please remove content of this directory prior to deletion.");

 

}

 

 

else {

 

 

 

var result = confirm("Are you sure you want to delete the item: " + treeNode.get_text());

 

args.set_cancel(!result);

}

 

 

break;

Shinu
Top achievements
Rank 2
 answered on 20 Jul 2009
1 answer
127 views
I have a button and a texbox in the Edit Template that I need to access from the code behind. I tried the following code and it didn't work, does anyone have an example of this?

 Dim btn As Button = TryCast(sender, Button) 
        Dim btnPanel As Panel = TryCast(btn.Parent, Panel) 
        Dim dataItem As GridDataItem = TryCast(btnPanel.NamingContainer, GridDataItem) 
        dataItem("Button1").Enabled = False 
 
 
        Dim txt As TextBox = TryCast(sender, TextBox) 
        Dim txtPanel As Panel = TryCast(txt.Parent, Panel) 
        Dim dtItem As GridDataItem = TryCast(txtPanel.NamingContainer, GridDataItem) 
 
 
 
 
        If (Utilities.FileExists("GlobalReports\" & dtItem("txtReportFile").Text)) Then 
        'Do some stuff 
End If 

Princy
Top achievements
Rank 2
 answered on 20 Jul 2009
1 answer
148 views
Hello all,

Is there a way for the row click to behave like expand? I ask this because I want the clicking of a RadGrid row to post back and then the CommandName be ExpandCollapse. This way, the ItemCommand event will only be called once.

Thanks
Shinu
Top achievements
Rank 2
 answered on 20 Jul 2009
3 answers
137 views
I need to have the insert row visible at all times, so I do something like the following. The problem is after the user tabs through adding data to the row and hits the insert button, when the insert row gets added again during Pre-Render as shown below, I want to be able to put the user focus back into the first cell of the insert row. Note: I use InsertCommand to actually persist the data into the object collection. Please help.

protected

 

void RadGrid1_PreRender(object sender, System.EventArgs e)

 

{

 

 

if (!RadGrid1.MasterTableView.IsItemInserted)

 

{

RadGrid1.MasterTableView.IsItemInserted =

true;

 

RadGrid1.Rebind();

}


}

Princy
Top achievements
Rank 2
 answered on 20 Jul 2009
1 answer
232 views
I am using a simple Access database. One of the fields contains URLs to images. IE: http://www.company.com/images/photo.jpg

Is there a way to have the image display in the column rather than the text of the field?

Thanks,

Allan
Shinu
Top achievements
Rank 2
 answered on 20 Jul 2009
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?