Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
167 views
I am using the example here:


to preserve the expanded states of groups across postbacks. I am finding a situation where it is failing and I'm not sure why. For example, if I populate the grid, and expand a group, then refresh the page, the groups are expanded as expected. See Image 1. But, I have the grid set for AllowRowSelect in the ClientSettings of the grid. If I display the grid, expand a group and select a row, the row highlights as expected and the group stays expanded. If I then cause a refresh by clicking on a button on the page that rebinds the grid, the grid is expanded, and the group stays expanded. So far so good. But, after that, if I select a row, the grid group collapses, with the indicator left in the expanded state. See image 2. Even if the SelectedIndexChanged method is not set, the expanded state of the grid reverts to all groups collapsed, but the expanded buttons showing they're expanded.
neebs
Top achievements
Rank 2
 answered on 25 Jan 2010
2 answers
183 views
Hey everyone,
We have been having issues with Telerik RadGrid in Firefox and also IE8 to some degree. I wasn't aware that using Telerik controls required any special behavior in making them cross browser compatible but I am constantly told to go in and tweak this style class and that style class. It's getting a bit much.

1. First, we get odd column widths and readability when using IE8 and NOT in Compatibility mode? Anyone running into this?

2. Second, in FF we get really odd behavior where the columns seem to be displaying all of the text but just overlapping the next column over. (I have attached a screen shot)  
    a. Notice in the screen shot that the column headers for Download, Print, and View are larger. I was told I needed to  override the Telerik style in my master.css to fix this? 
    b. Column text just flows into the next cell and doesn't seem to obey the boundaries or wrap
    
Any help is appreciated.

Jay
Top achievements
Rank 1
 answered on 25 Jan 2010
4 answers
114 views

Is there aneasy way to turn off LoadOndemand feature?


We have auser control which build on radComboBox with default LoadOnDemand value to true,and we like to disable the LoadOnDemand if recordset has less than 3000records. So thecombobox will look like regular list box.

David
Top achievements
Rank 1
 answered on 25 Jan 2010
6 answers
204 views
Using DNN 5.1.4 and the Rad Editor.

A critical error has occurred.
Could not load RadEditor! Check your provider configuration for errors (folders, links, or CSS) ! StartIndex cannot be less than zero. Parameter name: startIndex


To recreate, with LinksUseTabNames="false" in the web.config file, add a new page to the portal. In the advanced settings for the page, set the Link Type to URL (A link to an external resource...) and put in any URL.

Then go to any page and edit a text module. You will get the above error. The theory on this end is that the page with the external url link cannot be built by the radeditor when it's building the Custom Links dropdown.



Rumen
Telerik team
 answered on 25 Jan 2010
2 answers
127 views
Hey guys how do I get a handle to call a function when the Document Managers Insert Button is clicked then passing the variable of the file selected?
Rumen
Telerik team
 answered on 25 Jan 2010
1 answer
114 views
Hi,

I am building my Grid structure in the code-behind (Page_Load when !Page.IsPostBack). I am using advanced data binding via the OnNeedDataSource event.

When I first load my page, the structure and data are fine. However, on a post-back the meta data of the columns is lost so I am left with no headers, and no data types on my columns. So all the rows just show "System.Data.DataRowView" as the value for each column
ViewState is enabled.

Any ideas? Am I missing an event handler to rebind the column data?

Thanks,
Dewang
Dewang Shah
Top achievements
Rank 1
 answered on 25 Jan 2010
1 answer
71 views
I'm seeing some unexpected and unintuitive behaviour regarding the saving of the End By Date.
There seems to be some faulty logic that will always increment the user selected date by 1 day (or to the next day) therefore if the user keeps viewing the appointment data and doesn't update anything but clicks save, the End By Date will always increment by 1.

The bug seems to be in the _getRange function of the advanced form, which is easily enough modified since i am using the custom advanced form approach.

The code in question is as follows in the getRange js method:

 
                if (!this._getElement("AllDayEvent").checked) 
                    range.set_recursUntil($DateTime.add(range.get_recursUntil(), timePerDay)); 

The problem is that you take the date the user selected and you add an entire day which sets it to midnight, the beginning of the next day all the time so if the user goes to just view the data in edit mode, doesn't change anything but clicks save, as most users will, the end by date shouldn't change but in the current case it will.

It seems to me you need to subtract a second to always put the end by date at the end of the user selected date (just before the day rolls over).
T. Tsonev
Telerik team
 answered on 25 Jan 2010
1 answer
123 views

I want to use jQuery to assign an event handler for MouseUp on nodes in the treeview, like this:

$("div.issuesTree span.issueTitle").mouseup(handleMouseup);

[I gave the tree a css class of "issuesTree" and the nodes a css class of "issueTitle"]

In the handleMouseup function, I want to be able to access the attributes of the node, similar to this example, from:

http://www.telerik.com/help/aspnet-ajax/tree_attributesclientside.html

function onNodeClicked(sender, args)  
{  
     var node = args.get_node();  
     alert(node.get_attributes().getAttribute("ScientificName"));  
     //you can also set attributes, like:  
     //node.get_attributes().setAttribute("ScientificName");  
}  
 

 

The above example includes setting the RadTreeView property, OnClientNodeClicked, in which the Telerik RadTreeNode is in the args object.

Within my mouseup handler, is there a way to access this node, so that I can access its attributes?

 

Also note: My page already has jQuery 1.3.2 referenced directly, and I read that including the RadTreeView will also include jQuery, but with $telerik.$ as the default alias. Trying to use $telerik.$(“selector”).mouseup(…) didn’t seem to help… $telerik.$ is shown as undefined in my debugger.

I got the idea to try the $telerik.$ alias from reading, "Using jQuery," here:
http://www.telerik.com/help/aspnet-ajax/using-jquery.html

I’m using Visual Studio 2008.

Telerik.Web.UI.dll
File/product version: 2008.2.1001.20

Thanks in advance for any help or tips to accomplish what I need, by whatever method you might suggest.

Veselin Vasilev
Telerik team
 answered on 25 Jan 2010
1 answer
45 views
I have a rad grid on which i was trying to do automatic operations. I had set the datasourceid on the master table view, however inserts/edits/deletes were not working. it only worked when i set the datasourceid on the telerik:RadGrid level as well

Is this correct behaviour?
Martin
Telerik team
 answered on 25 Jan 2010
1 answer
95 views
Hello,

I would like to create Navigation Menu, but would like items to keep some distance to each other.
How will I accomplish that?
Schlurk
Top achievements
Rank 2
 answered on 25 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?