Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
66 views
Hi there,
I've used demo code to get a list of the submitted check boxes from the tree view:

 private static void ShowCheckedNodes(RadTreeView treeView, Label label)
        {
            string message = string.Empty;
           
            IList<RadTreeNode> nodeCollection = treeView.CheckedNodes;
            foreach (RadTreeNode node in nodeCollection)
            {
                message += node.FullPath + "<br/>";
            }
            label.Text = message;
        }

This is all good, however it only shows the Text (Subject_Place ). Each node has an ID number field (SubjectID). Its this ID number I need, rather than the Text.
How can I get this instead of the Text?
Thanks,
Alan 


** UPDATE **
Seems like I've stumbled on the answer myself,  just needed to add:
message += node.Value + "<br/>";

Thanks.
Alan
Top achievements
Rank 1
 asked on 01 Feb 2012
5 answers
119 views
Hi,
I am getting following error in scheduler. 


Message: '0._preInitialized' is null or not an object
Line: 1144
Char: 1
Code: 0
URI: XXX/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bTelerik.Web.UI%2c+Version%3d2011.3.1115.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3acf16ab29-be3a-4761-9f9e-2c05ea68ff51%3a4c8be21a%3a650fdad%3aef9d9f4a%3aa51ee93e%3a59462f1%3a19620875%3a39040b5c%3af85f9819

This error is intermittent but frequent, I tried reproducing the error in a sample code, but the error is not reproducible there. Few things which might be helpful.
1. I am using the scheduler inside a usercontrol
2. This user control is loaded inside an updatepanel.
3. I am also using RadTooltipManager to show tooltips for appointment 
4. The user control has radajaxmanagerproxy which update the scheduler and tooltipmanager
5. This error usually comes when I try to navigate between views.

  The axd script which throws error is 

b.RadScheduler._preInitialize=function(p,o,m,k,l){var n=d("#"+p);
if(n[0]._preInitialized&&!$telerik.isIE){return;
}
Please let me know if this is a known issue or at least what this script is trying to do
Peter
Telerik team
 answered on 01 Feb 2012
1 answer
60 views
I am evaluating the controls and so far I absolutely love them!

I am not sure how to explain it so i will just show you.

Go to http://www.iytworldwide.com

From the top menu select | Master Files | Courses

Move your mouse over any of the text in the Description column (make sure you are over text) Double click the row (again make sure you are over text). A rad window should popup. Just click Save or Cancel. Note that ALL the text in all the rows grid become selected.

If you double click in an area where there is no text its fine.

How can I stop this?

Thanks.

Marin
Telerik team
 answered on 01 Feb 2012
2 answers
335 views
Installed "RadControls for ASP.NET AJAX" yesterday.

Went sort of smoothly.
Started on RadControlsAJAXCourseware Chapter 2 Navigation.
Got that to work OK i.e. Set the Skin property to "WebBlue". worked OK

So started a new project this morning.
When I drag a docklayout I get a popup about "A file name with 'Bin/Telerik.Web,UI.dll already exists. Do you want to replace.
Tried both Yes and No. Allows me to continue.

Then tried to select a skin and get an error about "no skin assmebly found"
The Solution Explore show in bin
Telerik.Web.UI.dll
Telerik.Web.UI.Skins.dll
Telerik.Web.UI.xml
Tried a complete deinstall and reinstall of Telerik AJAX , didn;t solve it.

I am sure that I could select skins yesterday.

Any ideas, have a trashed something ???
Jim

Rumen
Telerik team
 answered on 01 Feb 2012
2 answers
86 views
Hi
please consider this simple UserControl :
ASCX :
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs" Inherits="WebUserControl" %>
<telerik:RadUpload ID="up" runat="server"></telerik:RadUpload>
<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />

C# :
    protected void Button1_Click(object sender, EventArgs e)
    {
        int c = up.UploadedFiles.Count;
        int i = up.InvalidFiles.Count;
    }
I always get 0 for both UploadedFiles , and InvalidFiles 
it seems this problem is in UserControls !!
have I done anything wrong
if no , can I fix the problem

Thank you for your feedback
reza
Top achievements
Rank 1
 answered on 01 Feb 2012
0 answers
71 views

Am using radgrid in which am binding my sp ... in my sp am using  dynaimic pivot 

Name  Block Name       Type    2012/1/1   2012/1/2 2012/1/3   till 31 for monthly status    ....total 

xyz      IT                   dom        1                  1            1                                                    3

abc      f.s                   dom        3                  3           3                                                     9

pqe      Finance            sea         4                  1           2                                                     7

how can i bind dynamic dates to rad grid please help me ..


telerik:RadGrid ID="grdBlock" runat="server" GridLines="None" AllowFilteringByColumn="True"
                                           
AllowPaging="True" AllowSorting="True" AutoGenerateColumns="True" ShowGroupPanel="True"
                                           
PageSize="25" OnNeedDataSource="grdBlock_NeedDataSource" Skin="Office2007" OnItemCommand="grdBlock_ItemCommand">
                                           
<GroupingSettings CaseSensitive="false" />
                                           
<ExportSettings HideStructureColumns="true" IgnorePaging="true" FileName="Block"
                                               
ExportOnlyData="true" OpenInNewWindow="true">
                                               
<Excel Format="ExcelML" />
                                           
</ExportSettings>
               
<MasterTableView>
                                               
<Columns>
                                                   
<telerik:GridTemplateColumn UniqueName="Block_Master_Id" SortExpression="Block_Master_Id"
                                                       
DataField="Block_Master_Id" Visible="false">
                                                       
<ItemTemplate>
                                                            <asp:Label ID="lblBlockId" runat="server" Text='
<%# Bind("Block_Master_Id") %>'>
                                                           
</asp:Label>
                                                       
</ItemTemplate>
                                                       
<ItemStyle HorizontalAlign="Center" />
                                                   
</telerik:GridTemplateColumn>
                                                   
<telerik:GridBoundColumn ItemStyle-HorizontalAlign="Center" UniqueName="Block_Name"
                                                       
DataField="Employee_Name" HeaderText="Employee Name" ReadOnly="true" SortExpression="Employee_Name">
                                                   
</telerik:GridBoundColumn>
                                                   
<telerik:GridBoundColumn ItemStyle-HorizontalAlign="Center" UniqueName="Block_Name"
                                                       
DataField="Block_Name" HeaderText="Block Name" ReadOnly="true" SortExpression="Block_Name">
                                                   
</telerik:GridBoundColumn>
                                                   
<telerik:GridBoundColumn ItemStyle-HorizontalAlign="Center" UniqueName="BlockType"
                                                       
DataField="BlockType" HeaderText="BlockType" ReadOnly="true" SortExpression="BlockType">
                                                   
</telerik:GridBoundColumn>

                                               
</Columns>
                                           
</MasterTableView>
                                     
                                       
</telerik:RadGrid>

Kshitiz
Top achievements
Rank 1
 asked on 01 Feb 2012
1 answer
212 views
I have a page with RadAjaxPanel and RadAjax Loading Panel.
I also have a modalpopup extnder with a RAdGrid inside it. Everytime i Page the radgrid,It take about six seconds to page(since page is quite heavy with dynamic cntrls) and in the mean time the loading panel falls behind the modal popup and not over it.
Is there an way to overlay the Modalpopupextender with the Loading panel while paging  etc?
Mira
Telerik team
 answered on 01 Feb 2012
1 answer
118 views

hi

how to call serverside textbox changed event from javascript client side
pls help..............
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 Feb 2012
4 answers
95 views
I'm using a user control to insert new records into a grid. How can I control the sorting of the grid after the insert has completed?
Frank
Top achievements
Rank 2
 answered on 01 Feb 2012
1 answer
99 views

Hi,

I'm trying to create a menu item like the one in the mega dropdown example.

Mega Drop Down

I've added my own html code to one of my RadMenuItem elements which is working fine.

My only problem now is how i can remove the skined background (I'm using the WebBlue skin) and

replace it with a plane white background. The realy importent css classes used in the example 

(like "Products") unfortunately are not part of the source code.

Best regards

Martin Horst

Kate
Telerik team
 answered on 01 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?