Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
134 views
Hi,

I have a RadCombobox containing a RadTreeView ItemTemplate.  Everything works fine when I use it in a web page.  However, when I move it to a user control, I wasn't able to access to the TreeView client object anymore. Here is how I try to get checked tree nodes displayed in RadCombox's text:

 
    function OnDropDownClosed(sender, eventArgs)  
    {  
        var treeView = $find('<%# RadComboBox1.Items[0].FindControl("RadTreeView1").ClientID %>');  
        var nodes = treeView.get_checkedNodes();  
 
        var str = '';  
        for (var i=0; i<nodes.length;i++)  
        {  
            str += ', ' + nodes[i].get_text();  
        }  
        sender.set_text(str);  
    }  
 

The error message I got was "'null' is null or not an object."  Please help.  Thanks,

Peichung
Veselin Vasilev
Telerik team
 answered on 07 Nov 2008
2 answers
183 views
Dear Telerik Support Team,

    I just want to know that how we can apply the CMYK color format option in "Telerik RadEditor's" menu. Currrently we are using the option which is just same as in your Editor, which is used on Forum Post page.

Regards

Samrat Banerjee
India
Samrat Banerjee
Top achievements
Rank 1
 answered on 07 Nov 2008
1 answer
119 views
just like a click on the tab, how do you detect if the column header was clicked for sorting. beccause i want to capture that action so i could reload the page. i have the 

 

If Not ScriptManager1.IsInAsyncPostBack Then and it doesn't load my data when i click on the column to sort. please help me thank you very much.

 

sorry wrong place to post

Daniel
Telerik team
 answered on 07 Nov 2008
1 answer
138 views
Do you happen to have an end-user manual for your RadGrid?  More specifically, I am looking to provide the end-users of my web app with a help page on how the filters work in the grid.  During initial testing, some of my end users were confused as to how the filters work and what all the filtering options mean.  If you do not have an end-user manual already, please consider creating one.  Thank you very much.
Daniel
Telerik team
 answered on 07 Nov 2008
0 answers
634 views

There is a problem With the RadSplitter for ASP.NET AJAX in RadControls for ASP.NET AJAX Q3 2008 in Internet Explorer (6 and 7) when the VisibleDuringInit property is set to "false" - the content of the RadPanes remains hidden even after the RadSplitter has finished its initialization. The problem does not exist in FireFox, Safari, Opera, and Chrome.

Fix for the problem:

Assign a handler for the OnClientLoaded event of the RadSplitter:

<telerik:RadSplitter ID="RadSplitter1" runat="server" VisibleDuringInit="false"   
    OnClientLoaded="OnClientLoaded" 

and execute the following code in it:

<script type="text/javascript">  
function OnClientLoaded(sender, args)  
{         
    sender.get_element().style.visibility = 'inherit';  
}  
</script> 

The problem is due to a bug in IE which fails to re-render its child elements when a parent's CSS visibility setting is changed.
Essentially the workaround forces IE to re-render these elements.

Screenshots of the page showing the problem and with the applied fix are attached to this thread.

Please accept our sincere appologies for the problem. The omission is clearly on our end, and we are deeply sorry for the frustration caused. This thread provides a workaround, that we believe is fairly easy and in addition to this, should you need a fixed Telerik.Web.UI build, please contact us with a support message, and we will send you a custom build DLL as well.

Note: This topic is for information purposes only and is locked. If there are any additional issues related to this problem, please open a support ticket or use the forums.

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 07 Nov 2008
1 answer
189 views
I have Created Rad Grid as follows:-
            

<

telerik:RadGrid ID="GrdSecurity" AllowPaging="True" ShowFooter="false"

 

 

runat="server" AutoGenerateColumns="False" AllowSorting="True" PageSize="3" Width="925px"

 

 

GridLines="Both" CellPadding="0" Skin="Default" AllowMultiRowSelection="true">

 

 

<MasterTableView ShowFooter="false">

 

 

 

<RowIndicatorColumn Visible="true" UniqueName="RowIndicator">

 

 

<HeaderStyle Width="20px"></HeaderStyle>

 

 

</RowIndicatorColumn>

 

 

<Columns>

 

 

 

<telerik:GridBoundColumn UniqueName="ContactCompanyId" SortExpression="ContactCompanyId"

 

 

HeaderText="" DataField="contactCompanyId" Visible="false" >

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn UniqueName ="FirstName" SortExpression="FirstName"

 

 

HeaderText="UserName" DataField ="firstName" >

 

 

 

</telerik:GridBoundColumn>

 

 

 

 

<telerik:GridTemplateColumn HeaderText="Owner">

 

 

<ItemTemplate>

 

 

<asp:RadioButton ID="rbOwner" runat="server" EnableViewState="true" GroupName="userRights"/>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn HeaderText="Viewer">

 

 

<ItemTemplate>

 

 

<asp:RadioButton ID="rbViewr" runat="server" EnableViewState="true" GroupName="userRights" AutoPostBack="false" />

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn HeaderText="None">

 

 

<ItemTemplate>

 

 

<asp:RadioButton ID="rbNone" runat="server" EnableViewState="true" GroupName="userRights" />

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="true" />

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

here I want to fill my grid with data (coming from database as a result List ) .In a single row of grid  only one radio button must be checked according to rightId column. How can I write my code on ASPX.cs page in C# .please provide solution as soon as possible  

 

Yavor
Telerik team
 answered on 07 Nov 2008
5 answers
288 views
I downloaded the Ajax tutorial zip file that was supposed to have the sample projects but all that was in the zip file was the pdf document.  Are the samples available?

Thanks,
-Sid
Ivo
Telerik team
 answered on 07 Nov 2008
1 answer
164 views
RadChart 2008 Q2.

I build a radchart programatticaly and first setup the styles:

chart.Skin = "";
chart.Legend.Marker.Appearance.Border.Visible = false;
chart.Legend.Marker.Appearance.Border.Color = Color.Black;
chart.Legend.Marker.Appearance.Figure = "Rectangle";
chart.AddChartSeries(series)

On Render, none of the legend modifications hold, ie the markers are round, the border is light blue.   Is there something I need to set to get this to override the defaults?


Thanks,
Jason
Giuseppe
Telerik team
 answered on 07 Nov 2008
3 answers
291 views
Hi
When I'm using the "Paste" command, the "onclientPasteHtml" event is not launched. I have to call the PasteAsPlainText or PasteFromWord to make it work, but PasteFromWord automatically add a linefeed before my text is copied. In my function called from the event, I'm doing a PasteHtml("blabla"). I tried to put a space before, like PasteHtml(" blabla") but I still have the line feed.
 
What can I do to launch the onclientPasteHtml event with the Paste command or to use the PasteFromWord command without the line feed ?

Thanx

Régis
Rumen
Telerik team
 answered on 07 Nov 2008
2 answers
178 views
Hi,
         I am assigning image for treenode on the page load like this 


node.ImageUrl =

"~/App_Images/images/R.ico";

 


          The problem is it doesnt load in the page load .After any event fire in the page only the image will load for the treenode.So initially in the page load there is no image shown only a blank background will show.
           
           Give me the solution for this.

Regards,
Giri
                                   
Giri
Top achievements
Rank 1
 answered on 07 Nov 2008
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?