Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
Is there a list of breaking changes going from Q22009 (2009.2 701) framework 2.0 to Q3 2009 (2009.3 1314) framework 3.5?  So far the only one I've found is within the radwindow for onclientclose.  Are there any others?

Thanks,
Phil DeVeau
Sebastian
Telerik team
 answered on 26 Feb 2010
1 answer
102 views
I would like to sort a column by numerical and alphabetical.
for instance I have a varchar() column that contains mostly numbers and I would like it to be sorted 1,4,7,10,20 instead of 1,10,20,4,7.
I want it this way because the column contains data like "1 Bat", "1 Cat", "1 Dog", "10 Bats", "2 Cats", "5 Dogs".....

Is this possible with the RadGrid?
Princy
Top achievements
Rank 2
 answered on 26 Feb 2010
1 answer
101 views
Hi,

I do the following and my radlistbox truncates the values displayed in my listbox.

List

 

<String> strReportItemsList = new List<String>();

strReportItemsList.Add(

"Bala<12");

 

strReportItemsList.Add(

"Bala<ce");

 

strReportItemsList.Add(

"Bala<ce ref");

 

strReportItemsList.Add(

"test12");

 

strReportItemsList.Add(

"test?123");

 

 

m_radReportLstBox.DataSource = strReportItemsList;

m_radReportLstBox.DataBind();

 

 

 
When you execute this code,
 in my radlistbox , I get the first item to be correctly dispalyed but the 2nd("Bala<ce" ) and 3rd items  gets truncated and only "bala" gets displayed . Pls clarify this.

Am I missing something?

 

Shinu
Top achievements
Rank 2
 answered on 26 Feb 2010
1 answer
426 views
Hi everyone,
I am getting an error that is related to the WebResource.axd, as described in the Event Viewer.. This caused my application pool to stop running because after 5 consecutive errors within 5 minutes, IIS automatically disables the application pool.

This is what I see in the Event Viewer:

Event Code: 4005
Event Message: Forms authentication failed for the request. Reason: The ticket supplied was invalid.
Event Detail Code: 50201

Request Information:
Request URL: https://domain.com:443/AppName/WebResource.axd?d=4rxWZLa16xfVnip0ScOwlSFQgWqV91HZa614kGmY6nu-ls1XMhprh5YkpF3DJTbHlaungWY1ofirz4hip35f3A2&t=63367448160000000
Request Path: /AppName/WebResource.axd

Does this make sense --> /AppName/WebResource.axd?
That file is not physically there, so why is it referencing that?

This is just the first error. The next one, after 3 seconds, points to a RadWindow page, with the same error: Ticket supplied was invalid.  Then the 3rd one goes to my Login page... Same error, Ticket supplied was invalid.  Then it tries the Login page again: Ticket supplied was invalid.. Then the final error goes back to the WebResource.axd with the same error. Then my IIS server just decides to quit because too many errors happened in a span of 10-20 seconds.

Any thoughts on this, anyone?


T. Tsonev
Telerik team
 answered on 26 Feb 2010
1 answer
87 views
Hi guys,

I have a very annoying problem. I have a multipage including radgrids. From one pageview I requests a rebind of a grid in another pageview. The data is rebinded correctly, but something goes wrong in the layout. The grid height becomes so low that the rows disapears. If i resizing my browser window the columns are again become visible, but I do not want to be forced to do this resizing.

Any ideas?!

Best regards,
Ahrensberg
Dimo
Telerik team
 answered on 26 Feb 2010
3 answers
108 views
Hello community

My RadTreeView works with ServerSideCallbacks. In a demo for myself I add a UserControl as a node to the TreeView - which works fine as long as I do not use Telerik components.
However, as soon as I use telerik components in the UserControl I get an error that " " is not a registered client script control.

How I use it:
protected void UrlTreeView_NodeExpand(object sender, RadTreeNodeEventArgs e) 
        { 
            RadTreeNode onDemandNode = new RadTreeNode(); 
            SubdomainProperties sp = LoadControl("~/Controls/SubdomainProperties.ascx") as SubdomainProperties; 
            onDemandNode.Controls.Add(sp); 
            //Configure the node to populate on demand as well 
            onDemandNode.ExpandMode = TreeNodeExpandMode.ServerSideCallBack; 
            //Add the node as a child of the currently expanded node 
            e.Node.Nodes.Add(onDemandNode); 
 
            e.Node.Expanded = true; 
        } 

Part of the UserControl itself:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SubdomainProperties.ascx.cs" 
    Inherits="XSite.XIS.Web.UI.Controls.SubdomainProperties" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:Panel ID="subdomainPropertiesPanel" runat="server" style="padding:10px;"> 
... 
<telerik:RadDateInput runat="server"></telerik:RadDateInput> 
... 
</asp:Panel> 

I'd definitely appreciate any kind of help!

Thanks in advance
Best
Roman



Roman
Top achievements
Rank 1
 answered on 26 Feb 2010
1 answer
224 views
Has anyone tried a radlistbox with checkboxes in a filter template?
I'm trying to used the radlistbox checkeditems to filter a column...
Princy
Top achievements
Rank 2
 answered on 26 Feb 2010
7 answers
120 views
Hi

I'm creating a grid where I'd like to be able to delete a row client-side and have the delete command sent to the server using AJAX. What I did was to add a GridClientDeleteColumn to the grid, set AllowAutomaticDeletes=true on the MasterTableView and hook the RowDeleting client event. However when I click the Delete link nothing happens. The event isn't raised and the row isn't removed. I'm using client-side data binding through a web-service.

If I instead create a button column and set the command name to Delete, the Command event is fired correctly (but with no reference to the row in question). So apparently the command system is working, and if I place a breakpoint in the onclick of the Delete link emitted by the GridClientDeleteColumn I can see that it is called, but returns false before reaching my event handler.

Any ideas?

I'll try to recreate the problem in a smaller example, and post my finding, but wanted to post the question in case anyone had experienced similar problems.

/kim
Kim Birkelund
Top achievements
Rank 1
 answered on 26 Feb 2010
3 answers
298 views
I am building a web application in Visual Studio Team System 2008 using VB.NET 3.5 and RadControls for ASP.NET AJAX 2009 3 1314. My web page has a RadTreeView on one side and a number of fields on the other side, these fields being populated from a database when a node is clicked.

I am attempting to provide a similar functionality with RadTreeView when Javascript is disabled.

However, the AutoPostBack property (mentioned in http://www.telerik.com/help/aspnet/treeview/radtreeview-telerik.webcontrols.radtreeview-autopostback.html) is not recognised as a valid property by my RadTreeView, nor does it appear in the Visual Studio Object Browser. Can you assist in this regard?

In addition, would you have any suggestions as to how to cause the nodes to expand and cause the postback when Javascript is disabled?

Thanks in advance.
Yana
Telerik team
 answered on 26 Feb 2010
2 answers
135 views
Hello,
        I create a RadGrid programmaticaly with a RadContextMenu, however, it always popup script error. The code is below:
       
        1. Generate the RadContextMenu:
                    RadContextMenu RadMenu1 = new RadContextMenu(); 
                    RadMenu1.ID = "RadMenu1"; 
                    RadMenuItem viewItem = new RadMenuItem("View", "#"); 
                    RadMenu1.Items.Add(viewItem); 
                    RadMenuItem editItem = new RadMenuItem("Edit", "#"); 
                    RadMenu1.Items.Add(editItem); 
                    RadMenuItem deleteItem = new RadMenuItem("Delete", "#"); 
                    RadMenu1.Items.Add(deleteItem); 
                    this.Controls.Add(RadMenu1); 
          2. Bind to RadGrid:
grid.ClientSettings.ClientEvents.OnRowContextMenu = "RowContextMenu"; 
          3. Register the script:
                   string script = @"<script type='text/javascript'> 
                                        function RowContextMenu(sender, eventArgs)   
                                        {   
                                            var menu = $find('<%=RadMenu1.ClientID %>'); 
                                            var evt = eventArgs.get_domEvent(); 
                                            menu.show(evt); 
                 
                                            evt.cancelBubble = true; 
                                            evt.returnValue = false; 
 
                                            if (evt.stopPropagation) 
                                            { 
                                               evt.stopPropagation(); 
                                               evt.preventDefault(); 
                                            } 
                                    </script>"; 
 
                    if (!this.Page.ClientScript.IsStartupScriptRegistered(typeof(String), "RowDblClick")) 
                    {                         
                        this.Page.ClientScript.RegisterStartupScript(typeof(String), "RowDblClick", script);                         
                    } 
How to add a RadContextMenu for dataitem? When users click a menu item, RadMenu1_ItemClick will be fired, how to get the column data as I need to set the navigationUrl for menu item?

TIA
BR
Jerry
Radoslav
Telerik team
 answered on 26 Feb 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?