Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
188 views

hi all,

i need to align the title of the dock from right that can support arabic language

i try put direction : rtl (right to left) in css file but dont change any thing

i need the title of the dock as following format

[ Corner-Image|CollapseCommand | Close                Title |Corner-Image ]

and the width of title must be as width of the zone we move dock to it

Petio Petkov
Telerik team
 answered on 05 Mar 2009
2 answers
224 views
Is is possible to have rounded corners on the RadDock?  It does not look like the CSS for the Dock would support this but I was wondering if there was an example of how this could be achieved.  The documentation on how to create your own skin does not go into the level of detail necessary to create a dock with rounded corners.  Any help would be greatly appreciated.   Thanks,
Petio Petkov
Telerik team
 answered on 05 Mar 2009
1 answer
118 views
Hi,

I have a RadGrid :

   <telerik:RadGrid ID="rgShowAll" runat="server" OnItemDataBound="RadGrid1_ItemDataBound" 
      Skin="Vista" AutoGenerateColumns="false" ClientSettings-Resizing-AllowColumnResize="true" 
      OnSelectedIndexChanged="RadGrid1_SelectedIndexChanged" OnSortCommand="RadGrid1_SortCommand" 
      ShowHeader="true" Visible="false" SortingSettings-SortedAscToolTip="Sort Ascending">  
      <MasterTableView ShowFooter="false" HierarchyDefaultExpanded="false" AllowSorting="true" AllowFilteringByColumn="true">  
         <HeaderStyle /> 
         <Columns> ...</Columns> 
      </MasterTableView> 
      <ClientSettings EnablePostBackOnRowClick="true">  
         <Selecting AllowRowSelect="true" /> 
         <ClientEvents OnRowContextMenu="RowContextMenu" /> 
      </ClientSettings> 
   </telerik:RadGrid> 

With a context menu :

<telerik:RadContextMenu ID="ContextMenu" runat="server" Skin="Outlook" OnItemClick="ContextMenu_ItemClick">  
</telerik:RadContextMenu> 

Which has items added programatically :

 ContextMenu.Items.AddRange(ContextMenuHelper.GetButtonsForView(MenuOwnerTypes.ContentItemView.ToString())); 

The problem I am experiencing is a display issue after selecting an item from the context menu.
Functionally all is well, but as the context menu hides after the click, it momentarily jams, show a number of the menu items on screen before disappearing completely.  This is undesirable and I would like to remove this effect.

Any suggestions?

Regards,

Sean Duffy
Yavor
Telerik team
 answered on 05 Mar 2009
3 answers
123 views
Hello,

I have a grid that has the GroupsDefaultExpanded property set to false.  When I expand a group and click the edit button for a record, all the groups collapse as if the page just loaded again keeping me from being able to edit any items.  Is there a way to prevent this?  It seems as if every postback none of the current states for the grid are kept.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 05 Mar 2009
6 answers
215 views
Hi

I have a problem with the Rad inputmanager when using it to generate numeric textboxes.

If I use the inputmanager to create a numeric textbox and default the value to 0 and the wants to save that zero it simply disappears. I need the zero, because an empty textbox has another meaning than a 0.

Is there a setting or something else that I am missing.

Thank you in advance
Dennis

A simple example:

<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ProductManager.Pages.Products.WebForm1" %>

 

<%

 

@ 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">

 

 

 

<div>

 

 

 

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">

 

 

 <

/telerik:RadScriptManager>

 

 

 

<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>

 

 

 

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>

 

 

 

<asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />

 

 

 

<telerik:RadInputManager ID="RadInputManager1" runat="server">

 

 

 

<telerik:NumericTextBoxSetting MinValue="0" Type="Number" AllowRounding="true" DecimalDigits="0">

 

 

 

<TargetControls>

 

 

 

<telerik:TargetInput ControlID="TextBox1" />

 

 

 

</TargetControls>

 

 

 

</telerik:NumericTextBoxSetting>

 

 

 

</telerik:RadInputManager>

 

 

 

</div>

 

 

 

</form>

 

 

 </

body>

 

 

 </

html>
 

 

 

namespace

ProductManager.Pages.Products

{

 

public partial class WebForm1 : System.Web.UI.Page

 

 

 

{

 

 

 

protected void Page_Load(object sender, EventArgs e)

 

 

{

 

if (!IsPostBack)

 

 

 TextBox1.Text = "0

";

 

 

 

}

 

protected void Button1_Click(object sender, EventArgs e)

 

 

 

 

{

Label1.Text = TextBox1.Text;

}

}

}

 

 

 

Yavor
Telerik team
 answered on 05 Mar 2009
1 answer
92 views

Hi.

My RadMenu controli in a user control and the user control is placed in a master page. OnItemClick is firing fine. I am redirecting to another page inside on itemclick and the menu loads again (part of master page) and I am loosing selected menu item. How can I retain the selected item.

Thanks
Sean

Shinu
Top achievements
Rank 2
 answered on 05 Mar 2009
5 answers
705 views
Hi Princy,
    I have implemented the On Demand Loading . There is a provision in my tree view control user can right click and select the option "Add a New Node" context menu item and can add a new items . But I want some thing like if the current node on which the mouse curse is not expanded( That means it is displaying the '+' symbol ) I have to inform the user to expand the node or I have to expand the node when user right clicks on the node . Can you please suggest me how can I able to know whether the current node is expanded or not ?

With Regards
Manoj
Manoj
Top achievements
Rank 1
 answered on 05 Mar 2009
9 answers
662 views
Here's what I'm looking to do.  I have a web based app that displayes all available images to be used in a CMS.  A section of which loads directly into a flash slide show.  Some of the images that are uploaded are way too big for the slide show.  So I wanted to be able to give the user the ability to reduce and crop the image directly on the site. 
Using the RADEditor I am able to click on the image and open the ImageEditor using a dialogopener.
How can I now load the selected image into the image editor?  It's seems simple, but I can't find any place to put content.  Thanks.
Premnath
Top achievements
Rank 1
 answered on 05 Mar 2009
1 answer
121 views
Good evening:

I have a need to send plain text emails using content generated using the RadEditor.  The content is stored in the database in RichText/HTML format with lots of markup, mainly because our clients paste from Word.

I'd like to know if anyone knows a way to clean the strings in the database of their HTML markup on the server side, without the use of the RadEditor control.  Meaning, I want to pull the information out of the database, clean it, and then insert it into an email body.  I've tried some RegEx expressions I found online but they're very unsuccessful due to the complexity of the HTML that they are pasting into the control.

I hope I'm making sense.

Brad
Paul
Top achievements
Rank 1
 answered on 05 Mar 2009
0 answers
102 views
Hello all,
 I have a treeview which dynamically loaded fine, but when the onNodeClick event was raised it doesn't do anything instead it gave me an error "Sys.Webforms.PageRequestManagerServerErrorException; object reference not set to an instance of an object".
 i don't know what i am doing wrong. It should be pretty simple right? you drop the treeview, you add the nodes and you should be able to use the onnodeclick event and do something.. but it looks like its not that easy huh?

i'll appreciate all of your help....

thanks,
Fernando
Fernando
Top achievements
Rank 1
 asked on 05 Mar 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?