Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
99 views
Hi,

I've tried everything I can think of to get this to work and can see no examples, so hopefully somebody can help here.  My RadTreeView is situtated within a RadPane which is within a RadSplitter.  I just want to load the page into another RadPane when an item is clicked in the RadTreeView.  How can I achieve this if I want to load the page into ContentPane when a node in PageListTreeView is clicked in the example below?

<telerik:RadPane ID="OuterContentPane" runat="server" Scrolling="None" BorderSize="0">  
    <telerik:RadSplitter ID="EntityPaneSplitter" runat="server" Orientation="Vertical" BorderSize="0" VisibleDuringInit="false">  
        <telerik:RadPane ID="EntityPane" runat="server" Height="100%" Width="250px" MinWidth="250" Scrolling="None">  
            <telerik:RadTreeView ID="PageListTreeView" runat="server" ExpandAnimation-Type="Linear" ExpandAnimation-Duration="250" EnableEmbeddedSkins="false" Skin="KSSG" /> 
        </telerik:RadPane> 
    <telerik:RadSplitBar ID="MainPaneSplitBar" runat="server" CollapseMode="Both" /> 
        <telerik:RadPane ID="MainPane" runat="server" Scrolling="None">  
            <telerik:RadSplitter ID="MainPaneSplitter" runat="server" Orientation="Horizontal" BorderWidth="0" VisibleDuringInit="false">  
                <telerik:RadPane ID="ContentPane" runat="server" ContentUrl="Administrator.aspx" BorderWidth="0"></telerik:RadPane> 
            </telerik:RadSplitter> 
        </telerik:RadPane> 
    </telerik:RadSplitter> 
</telerik:RadPane> 

Thanks in advance.
Jonathan
Top achievements
Rank 1
 answered on 15 Jul 2008
3 answers
86 views
Hi all,

In my grid I have a column with DataField = "Topic". Because I'm using a list of objects and the object's topic is retrieved via a method call I use the ItemDataBound event to fill this field.

Now I would like to group by this topic so I do

rgLog.MasterTableView.GroupByExpressions.Add("Topic [Topic] Group By Topic");

This generates an error saying "Field Topic not found in the source table. Please check the expression syntax". This had me puzzled for a few hours. I think the error occurs because it can not find the property "Topic" in my object.

Is this correct?

Is there a way of grouping on a column which gets it's value in the ItemDataBound event?

Without adding the GroupByExpression the grid shows OK, including the "Topic" column.

Thanks,

Vincent.
Yavor
Telerik team
 answered on 15 Jul 2008
1 answer
111 views
When I use the ImageUrl property for the Black skin, the image is vertically aligned to the top and I can't seem to fix it.  For other skins, the image is correctly aligned.  Also, on the black skin, there is a big gap between the image and the menu text in IE 7.  In Firefox, it displays correctly without the gap.

 Has anyone found a way to correct these issues?
Alex Gyoshev
Telerik team
 answered on 15 Jul 2008
1 answer
139 views
Hi,

I have a page on which i have an iframe. On page i have a button and on its click i call a javascript method which loads a another page in the iframe.
Say the page loaded in iframe is named "MyPage".
On the page load event of MyPage i register a javascript method named "DisableDatePicker" that disables DatePicker control on MyPage. But when i try to access the Rad DatePicker inside this method i get it as null.
I am using Prometheus 2008 controls. 
i tried accessing DatePicker with following methods:
1.      <%= datePicker1.ClientId %> (this used to work for arlear rad controls)
2.      window['<%= datePicker1.ClientId %>']
3.      $find('<%= datePicker1.ClientId %>')

but nothing seems to work.
however if i access it as: document.getElementById('<%= datePicker1.ClientId %>') 
I get the object but that is does not possess the required properties and methods.

The same implementation used to work properly when we had old rad controls.
However if I access the controls after page load it works fine with new rad controls.

Please suggest me some solution.
Thanks,
 Manoj Dwivedi  
Svetlina Anati
Telerik team
 answered on 15 Jul 2008
4 answers
262 views
I have a main aspx page with window manager that calls a radWindow.  window1.  this window then calls window2.  I want to set the call_back funtion to a function in window1, but i cant refrence it.

I am using this.

var

parentPage = GetRadWindow().BrowserWindow;
var dialogB = parentPage.GetRadWindowManager().GetWindowByName("taxesPaid");
oWindow.add_close(dialogB.GetContentFrame().contentWindow.CallBack1300);
oWindow.Close();

I get a stack overflow at 0.  any advice?

Svetlina Anati
Telerik team
 answered on 15 Jul 2008
4 answers
132 views
I am trying learn where the embedded RadSpell skins are located so we can deliver them within a web application to our clients. 

In order to deliver a skin for RadTabStrip we created a custom skin and embedded it in our application.  What is the best way to deliver a skin for RadSpell?  From a prior thread (3/18/08 "Custom Themes") I don't believe it is possible to create a custom skin for RadSpell.

Thanks.
Rumen
Telerik team
 answered on 15 Jul 2008
2 answers
136 views
Hi,

I have installed the rad controls using the setup file
RadControls_for_ASP.NET_AJAX_2008_1_415_dev.

After installing the rad controls, i got all the rad controls into my toolbox.

I placed the rad editor onto my aspx page by drag and drop from toolbox.

After that in the codebehind file in page_load event, I have set the toolsfile path as below:

RadEditor1.ToolsFile =
"~/RadControls/Editor/BasicTools.xml";

BasicTools.xml file is available in that path.

When I run the page in browser, i am getting the editor with all the controls but none of the controls were working.

I think the scripts for the editor were not working.

How to inform the editor to use the script...

So please help me to overcome this problem

Regards,
chandu




chandra kanth
Top achievements
Rank 1
 answered on 15 Jul 2008
2 answers
96 views
Is there a way to do this? I found in the documentation that there is a get_targets method that you can get the targetted items. I am adding items dynamically on the client side that I need to attach the same context menu to.

Thanks
Robert Bross
Top achievements
Rank 1
 answered on 15 Jul 2008
5 answers
381 views

I have an admin page designer, where I let users pick colors for the display of their site.  I do this by writing a custom style sheet that is served for all visitors.

I would like to dynamically change the page color based on the color picker choice for body background color or certain divs that are all specified by class names.

I am using a Master page with the style sheet and I define default body attributes as well as custom class names that affect header colors, table backgrounds etc.


So I guess the questinon is - how can I override the values in the style sheet based on the color picker values.

I have a start by adding a javascript for the onClientColorSelecting event

function

ChangeBackground( xxcolorxx )

{document.getElementsByTagName(

"body")[0].style.background = xxcolorxx ;}

How do I pass the selected color to this function ?

Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 15 Jul 2008
2 answers
129 views
Here i am using RadControl ASP.NET Q3 2007 .

The code are as follows.
---------------------------
<radW:RadWindowManager ID="rWindowManager" ClientCallBackFunction="CallBackFunction_AssignWizard" OnClientClose="UncheckGridRow" runat="server" Height="4px" Left="" NavigateUrl="" SkinsPath="~/RadControls/Window/Skins" Title="" Top="" Skin="winxpluna" >
            <Windows>
                 <radW:RadWindow ID="rWindowVoiceMsgContactAssignWizard" runat="server" Left="1px" NavigateUrl="" SkinsPath="~/RadControls/Window/Skins"
                 title="Voice Message Contact Assign Wizard" Top="2px" Modal="true" VisibleStatusbar="false" ReloadOnShow="true" Width="425px" Height="350px" />
            </Windows>
        </radW:RadWindowManager>
---------------------------
Query
1>
I want to upgrad the code in RadControl ASP.NET AJAX 2008.
 In RadControl ASP.NET AJAX 2008 , i didn't get the skin with name="winxpluna".
How can i modify the above code for ASP.NET AJAX 2008 control.

2>How can i upgrade the RadControl ASP.NET Q3 2007 to RadControl ASP.NET AJAX 2008 (Control like grid,toolbat,tabstrip,datetimepicker,window,combobox)


Svetlina Anati
Telerik team
 answered on 15 Jul 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?