Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
231 views
I have a requirement to display only one detail table at a time so when a user expands a parent item and I have to collapse all open detail tables on the server-side (HierarchyLoadMode = ServerOnDemand ). Ideally, I need to unbound all this data as well.
How to do it?
miksh
Top achievements
Rank 1
Iron
 answered on 24 Sep 2008
1 answer
155 views
Hi All,

I am using RadSchedular.

I want to print the RadSchedular appointments


How can it be possible to print the RadSchedular.

Thanks
Peter
Telerik team
 answered on 24 Sep 2008
1 answer
181 views
Over the last few weeks i have been working on a dynamic CMS that is widget based , and a thing that has been puzelign me for a while was how to make the layout of the zone orientation dynamic so a single page can have diferent orientation for docking zones.

There is an example of the method I use to retireve my zones in a dynamic layout style

 /// <summary>  
        /// Get a Rad Tab Layout 1  
        /// </summary>  
        /// <param name="zone1"></param>  
        /// <param name="zone2"></param>  
        /// <param name="zone3"></param>  
        /// <param name="zone4"></param>  
        /// <param name="zone5"></param>  
        /// <returns>A table with RadDockZones oriented 1 Cell row, then 3 column rows then a single cell row</returns>  
        public static Table GetLayout1(RadDockZone zone1, RadDockZone zone2, RadDockZone zone3, RadDockZone zone4, RadDockZone zone5)  
        {  
            Table table = new Table();  
            TableRow tr1 = new TableRow();  
            TableRow tr2 = new TableRow();  
            TableRow tr3 = new TableRow();  
 
            TableCell td1 = new TableCell();  
            TableCell td2 = new TableCell();  
            TableCell td3 = new TableCell();  
            TableCell td4 = new TableCell();  
            TableCell td5 = new TableCell();  
 
            td1.Controls.Add(zone1);  
            td2.Controls.Add(zone2);  
            td3.Controls.Add(zone3);  
            td4.Controls.Add(zone4);  
            td5.Controls.Add(zone5);  
 
 
            tr1.Controls.Add(td1);  
            tr2.Controls.Add(td2);  
            tr2.Controls.Add(td3);  
            tr2.Controls.Add(td4);  
            tr3.Controls.Add(td5);  
 
            table.Controls.Add(tr1);  
            table.Controls.Add(tr2);  
            table.Controls.Add(tr3);  
 
            table.CellPadding = 0;  
            table.CellSpacing = 0;  
            table.Style["width"] = "100%";  
 
            td1.ColumnSpan = 3;  
            td5.ColumnSpan = 3;  
 
            return table;  
        } 

As you can see applying more methods with diferent implementations of the table control the possibilities are endless.
Sophy
Telerik team
 answered on 24 Sep 2008
1 answer
152 views

Hi all, 

I created some raddock dynamically, all raddock has two controls, radtoolbar and radeditor, if i change selectedindex in radtoolbar i would like to get radeditor content. How can i make this in client - side?

Thanks 

Sophy
Telerik team
 answered on 24 Sep 2008
1 answer
166 views
Hi.

I have this problem with calling the $find function (inside a web user controL). I have a situation where a change of dirent radcontrols (specifically a combobox) will set the selected index of a multipage control and other operations. And it works fine client side. But if i want to reflect changes made on serverside (for instance after a page load) I run into problems

The following type of code works when hooking up to the OnClientSelectedIndexChanged event of a RadCombobox:

function

OnClientSelectedIndexChanged(sender, eventArgs) {

var index = sender.get_selectedIndex();

var multipage = $find("<%=RadMultiPageParameterValueKind.ClientID %>");

multipage.set_selectedIndex(index);

}

However if the same type of code is called from OnClientLoad event. The $find function returns null.

NB! In the top Hierachy there is a MasterPage with a RadScriptManager. And this code is inside a Web User Control.


Paul
Telerik team
 answered on 24 Sep 2008
1 answer
181 views
Hi.

I have RadWindow and have close button inside it.
I want to close the radwindow when i click on close button, and same time, refresh the parent page.

I'm using this code..
parent page:
<script type="text/javascript">
                function ShowEditForm(id, rowIndex,tabID) {
                    var grid = $find("<%= RadGrid1.ClientID %>");

                    var rowControl = grid.get_masterTableView().get_dataItems()[rowIndex].get_element();
                    grid.get_masterTableView().selectItem(rowControl, true);

                    var oWnd = window.radopen("EditTable.aspx?autoRowID=" + id + "&tabID=" + tabID, "UserListDialog");
                    oWnd.add_close(OnClientClose);
                    
                }
function OnClientclose(oWnd) {
                    
                }



Georgi Tunev
Telerik team
 answered on 24 Sep 2008
0 answers
101 views
when i click on any date, one form is coming with "more", when i click, it shows the default form, how I can change that with my own ascx, or how can I call one aspx from there ?
please help
arijit
Top achievements
Rank 1
 asked on 24 Sep 2008
2 answers
308 views
Hi!

I'm currently working on implementing the RadEditor in a MOSS project when I came upon the following questions;

  • I want to edit a field in SharePoint using the RadEditor. Having a fixed number of layouts available I want to replace the RichHtmlField with the RadEditor. However, the RadEditor does not have the FieldName property and therefore might be a viable solution. Therefore I'm using the RadHtmlField control instead, which has the FieldName property. Is this correctly understood and a good solution?
  • Also, I would like to change the language of the control, but, as could be read above, when using the RadHtmlField, the language property is not available as it is in the RadEditor. I was thinking of replacing the default resource files with my own, fully aware of the problems that might arise when upgrading the product. Is there a better way of accomplishing this task?
  • Spellchecking is not at all available with the RadHtmlField that I can see. Is there a way to incorporate this functionality with the RadHtmlField, or do I have to use the RadEditor?

Best regards

Sebastian

Sebastian
Top achievements
Rank 1
 answered on 24 Sep 2008
1 answer
116 views
Hi,

I am trying to render the RadHtmlField on to the page. I want to use this control as we use TextArea html control where in the user gives the data and this data is captured into the database. I want to use this control in the admin page of my site which is being developed using MOSS 2007.

The assembly that I am using in this case is:

RadEditorSharePoint, Version=4.5.1.0, Culture=neutral, PublicKeyToken=1f131a624888eeed

I am unable to render the control on to the page.  An error is thrown everytime i try to render it which states "InvalidConfigFileException".  I am checked the ConfigFile.xml in the path specified in another post. Everything seems to look fine. Yet the control is not rendered in to the page.

Any help will be greatly appreciated.

Regards,

schwartz


George
Telerik team
 answered on 24 Sep 2008
5 answers
133 views
Hi,$0I am using the tabstrip, the first level contains tabs like 'Home','List' etc. When clicking on 'List' the second level tabs under this has to be displayed and it is displaying correctly. But when I clicked on any of those second level tabs where we have setted navigateurl property, those second level tabs is disappearing.Means it is disappearing on Page refresh.Any help is appreciated.$0$0$0$0$0Regards,$0$0Jincy$0
jincy
Top achievements
Rank 1
 answered on 24 Sep 2008
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?