Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
117 views
I have RadDocks with some custom dock commands. On some skins these commands is not displayed properly.
This samle code works well with skins like Hay and Sunset, but displays only 4 commands with skins like Gray and Telerik.

I've tried the latest version of the Telerik.UI. (both SP1 and SP2). Tried in both IE6 and FF2 with the same behaviour.

Default.aspx.cs
using System;  
using System.Collections;  
using System.Configuration;  
using System.Data;  
using System.Linq;  
using System.Web;  
using System.Web.Security;  
using System.Web.UI;  
using System.Web.UI.HtmlControls;  
using System.Web.UI.WebControls;  
using System.Web.UI.WebControls.WebParts;  
using System.Xml.Linq;  
 
namespace TestDock  
{  
    public partial class _Default : System.Web.UI.Page  
    {  
        protected void Page_Load(object sender, EventArgs e)  
        {  
            RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand());  
            RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand());  
            RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand());  
            RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand());  
            RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand());  
            RadDock1.Commands.Add(new Telerik.Web.UI.DockCommand());  
              
        }  
    }  

Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TestDock._Default" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager runat="server">  
    </telerik:RadScriptManager> 
    <div> 
        <telerik:RadDockLayout ID="RadDockLayout1" runat="server" Skin="Telerik" StoreLayoutInViewState="True">  
            <telerik:RadDockZone ID="RadDockZone1" Runat="server" Height="300px" Width="95%" Skin="Telerik">  
                <telerik:RadDock ID="RadDock1" Runat="server" DefaultCommands="None" Skin="Telerik" Width="100%">  
                </telerik:RadDock> 
            </telerik:RadDockZone> 
        </telerik:RadDockLayout> 
    </div> 
    </form> 
</body> 
</html> 
 

Erik Lidman
Top achievements
Rank 1
 answered on 12 Feb 2009
2 answers
345 views
Hi,

Has anyone had any experience using RadAjax to call a server side function?

I have a situation with a Javascript confirm button, and if 'OK' is clicked I need to execute a method in the code behind. I am aware of a ways to 'hack' this, but I was interested if the AjaxManager offered a neater solution?

Thanks
JC
James Crane
Top achievements
Rank 1
 answered on 12 Feb 2009
4 answers
530 views
hi,  I am evaluating the Radeditor. I see that it gives the HTML output for the content entered into editor. I want to convert this to RTF format before storing into database and while showing editor convert back to html format and show in editor. Please let me know if you have any component which converts your radeditor output to rtf format.
Rumen
Telerik team
 answered on 12 Feb 2009
2 answers
208 views
I am using a RadGrid that is populated by a sqldatasource.  I have 2 check boxes on the screen that allow the user to filter how the grid is populated. 

My code in the page_load section looks like:

 

if (chk1.Checked && !chk2.Checked)

{

SqlDataSource1.FilterExpression =

"SUBSTRING([Id],4,1) > 4";

 

 

RadGrid1.Rebind();

}

else

if (chk2.Checked && !chk1.Checked)

{

SqlDataSource1.FilterExpression =

"SUBSTRING([Id],4,1) < 5";

 

 

RadGrid1.Rebind();

}

The filter works fine and the grid is populated with the correct info but I have grouping enabled on the radgrid and when a user goes to expand the group you get the following error:Invalid postback or callback argument.

Any Ideas on how to fix this?  Thank you.

 

 

 

 


Rob

 

 

Amberton
Top achievements
Rank 1
 answered on 12 Feb 2009
1 answer
195 views

We are upgrading Classic RadEditor to RadControls for ASP.NET AJAX 2008.31125. We have been having two issues and thought I will post my questions here.

1. Content Area height issue only on IE7

I read from other message threads that DOCTYPE could cause this issue. Just to let you know, This is the DOCTYPE we have on the page where we are using the RadEditor (RadControls for ASP.NET AJAX 2008.31125)

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

When I delete some content from the content area, the content iframe, the wrapper and the radeditor are getting set to correct heights. But the height of the content area (RadEditor1Center) is much taller than that of the iframe.

so I tried with

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

This time, I could see most of the heights are set to 100%, but still this does not fix the problem I have.

2. This issue is occuring on all browsers.

What I am noticing is that, when I delete the contents from the content area, the height of the radeditor does not go below the initial content height (which is the initial height of the content iframe). Is this working as designed?

Please help and have a good day!

Thanks, Lakshman

Rumen
Telerik team
 answered on 12 Feb 2009
1 answer
77 views
Hi

I work in a company that purchase the product in 2006 and the last version that i have is 2.3 .

How can i get upgrades to this version ?

Thanks in advance !

shay
Petia
Telerik team
 answered on 12 Feb 2009
4 answers
457 views
We have a RadGrid that has the "Add New Record" button in the footer. When we click the link, it adds a new row for inline editing to the grid. This all seems to handled by the grid, as I cannot find any exposed events to override this functionality. That is fine.

What I need to be able to do though is to call the "Add New Record" functionality from outside of the link that is created in the grid. I want to create a javascript shortcut so that when a person presses certain hotkeys, it will postback or do an ajax request to put in a new editable row, just as the "Add New Record" link does.

Is this possible and if so, how?

Thanks,
Adam
Pau
Top achievements
Rank 1
 answered on 12 Feb 2009
0 answers
111 views
Hi!

In my code-bedind the ClientChanges (as well as ClientOperation and ClientOperationType) are undefined for my RadComboBox. I tracked and committed the changes in Javascript, am I missing something here?
Peter
Top achievements
Rank 1
 asked on 12 Feb 2009
5 answers
152 views
Hello!

I doubled the height of a toolbar and it's buttons from the default height. This works fine, but the text on the buttons is no more centered. How can I center the text on the toolbar buttons?

Regards Markus
Markus
Top achievements
Rank 1
 answered on 12 Feb 2009
6 answers
270 views
Hi,

I am using rad editor in firefox 2.0
Image upload tab is disabled in Image manager.
Stanimir
Telerik team
 answered on 12 Feb 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?