Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
216 views
Hello,

I am replacing my ASP.NET AJAX ModalPopupExtender panels with the RadWindow.

I am attempting to use the 'Border' and 'CssClass' attributes of the RadWindow to create a custom window without the default borders provided with the TitleBar. This would be the equivalent of using a regular Panel and setting its CssClass to define the borders.

I have attempted to set EnableEmbeddedSkins="false", VisibleTitleBar="false", and then set the BorderStyle, BorderWidth, CssClass, etc., to customize the window. Unfortunately this results in a window with no styling or borders at all. I don't want to create a custom skin to achieve a simple CSS-based theme. Is there any way to achieve this?
Georgi Tunev
Telerik team
 answered on 25 Nov 2009
3 answers
209 views
Hi,

Thanks in advance for any help. This is going to basically decide if I can use the Telerik controls for a big project I am working on (and thus, whether or not we buy licenses).. So any help is greatly appreciated!

What I want to do is dynamically add docks to a dock zone, and then add child controls into these docks based upon user selection. I have followed along with the example @ http://www.telerik.com/help/aspnet-ajax/dock_dockwidgets.html and I have this basically working. However, the problem that I am running into is that I cannot seem to get those child components to persist. Since all of the dock actions do an ajax postback, I end up losing all but my last dock's child controls.

Essentially I want to be able to do these steps:
1. Click a button/linkbutton to dynamically create a dock within a dockzone.
2. Create child controls within that new dock, type depending upon which button was clicked,
3. Continue steps 1-2 until the user has added all of the docks they need (these correspond to fields for a database table).
4. The user should be able to go through the docks and set values into the various child controls and then be able to submit it to the server where I can then access all the various controls and process it from there.

It is the child control persistence that has me stumped.

I hope my explanation makes sense; I'm new to the Telerik suite of tools and still finding my way around. Any help or example code (even a very simple example) would be massively appreciated. I might even send you a cookie! :)

Thanks in advance!
Pero
Telerik team
 answered on 25 Nov 2009
2 answers
115 views
I'm sure that this will sound like a ridiculous question to experienced c# programmers, but here goes.  I would like to be able to dynamically create splitter panels from database table entries, but cannot name the new instance of the RadSlidingPlane class as the correct type.  The logic of what I want to do is below. 

 

 

_conn.Open();

 

SqlCommand command = new SqlCommand("SELECT ID,TabTitle,Description FROM WidgetTypes", _conn);

 

 

SqlDataReader widgettypelist = command.ExecuteReader();

 

 

if (widgettypelist.HasRows)

 

{

widgettypelist.Read();

 

 

RadSlidingPane "SlidingPane" + widgettypelist["ID"].ToString() = new RadSlidingPane();

 

SlidingPaneX.Scrolling =

SplitterPaneScrolling.None;

 

SlidingPaneX.Title = widgettypelist[

"TabTitle"];

 

Radslidingzone1.Controls.Add(SlidingPaneX);

 

WidgetGalleryControl1.WidgetType = widgettypelist[

"ID"];

 

}

_conn.Close();

All help greatfully received.

Paul
Top achievements
Rank 1
 answered on 25 Nov 2009
2 answers
234 views

In my project I need to set right to left at page load time. Is there a way to access RADControl collection on current page so I can use a general function to set all controls’ RTL property?

Here is my unsuccessful code snippet:

 

        protected void Page_Load(object sender, EventArgs e)  
        {  
            //testing Right-to-left layout for Rad Control  
            SetRControlsRightToLeftLayout(this, true);  
 
        }  
 
        protected void SetRControlsRightToLeftLayout(Control context, bool isSetRightToLeft)  
        {  
            foreach (Control c in context.Controls)  
            {  
                Control rControl = c as Control;//RadControl rControl = c as RadControl;  
                if (rControl != null)  
                {  
                    if (rControl.GetType().ToString().StartsWith("Telerik.Web.UI",StringComparison.Ordinal))  
                    {  
                        System.Diagnostics.Debug.WriteLine(rControl.GetType());  
                    }  
                    if (rControl.HasControls())  
                    {  
                        SetRControlsRightToLeftLayout(rControl, isSetRightToLeft);  
                    }  
                }  
            }  
        } 

Waleed Seada
Top achievements
Rank 2
 answered on 25 Nov 2009
3 answers
138 views
Hi Telerik,

I am currently developing a webapplication using a RadColorPIcker. Everything looks great, but I have one problem though.
I can't seems to change the "Apply" button's text in the HSV and HSB tabs. The website itself is not in English, that is why it would be great if I can change the "apply" text. I'm looking forward to hearing from you. Thanks.

Regards,

Thomas
Svetlina Anati
Telerik team
 answered on 25 Nov 2009
4 answers
118 views
Hi All,

I have a RadGrid with 10 columns, when i click edit i need to show only some columns in edit mode, howto do this.
pradeep k
Top achievements
Rank 1
 answered on 25 Nov 2009
14 answers
353 views
Have a basic setup on this one, nothing complex.

I have a Radgrid that has 30 columns that needs to be scrolled so I set the AllowScroll to True.

I also need the first column to be frozen so I set the FrozenColumnsCount to 1.

When I do this only 26 columns are shown out of my 30 columns, the last 4 columns to the left are not shown (but they are there because I can see part of the 27 column it's just not letting me scroll more).

If I set FrozenColumnsCount to 0 all my 30 columns are shown.

All my columns are auto-generated.

Daniel
Telerik team
 answered on 25 Nov 2009
4 answers
116 views
Hello,

I'm trying to paste Html at the position of the cursor but it is always pasted at the begining. If I select something, my selection is deleted.
This happened when I hide and show RadEditor Control.
Here is my code :

function ShowTelerikAndPaste(text) {
    editor.set_visible(true);
    editor.pasteHtml(text);
}
function HideTeletik() {
    editor.set_visible(false);
}
Nicolas BAILLY
Top achievements
Rank 1
 answered on 25 Nov 2009
4 answers
200 views
I am having an issue that should be avoidable.  Here is my scenario:

I have a splitter with two panes (left and right).  The splitter has collapse direction of both.  In each pane is a grid.  The right grid loads 1000 records.  The left grid loads 200 records.

I am noticing a significant delay when attempting to resize or move the browser window.  Are there any best practices we can use to increase this performance?

- Adam
Sebastian
Telerik team
 answered on 25 Nov 2009
4 answers
165 views
I'm trying to figure out if there is a way to convert the SEO grid paging links to something like below:

domain.com/Category-Page2

I know you can do like below, but this isn't what I want:
domain.com/Category?page=2

I am using a URL rewriter and I will have my URLs setup like my example at the top and I'm wondering if there is any way to get the RadGrid to spit out links that match my request?
Sebastian
Telerik team
 answered on 25 Nov 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?