Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
139 views
Hello:

Two quick questions.  Do the DataFieldID and DataFieldParentID have to be numeric (like an integer data type)?  It doesn't seem to work if I have those fields as strings.  I'm trying to generate an org chart, using a string-based employee ID, but it comes up blank.

Second, to make it work, I converted the ID to an integer for the two fields.  It then works fine, but I noticed that I have to set the "root" item to have a "0" for the parent field.  Is this expected?  As an example, I want to generate an Org with me at the top.  In the dataset, the row that represents me has a parent employee ID, but that employee ID is not present in the data since I don't want my supervisor displayed.  In order to get the chart to render, I have to look through the records and ensure that my record as "0" for the parent.

Perhaps this second issue is related to the first.  If a string is in fact supported, does the top level item need to have the parent field set to a particular value?  Perhaps an empty string?

Thanks,
Chris
Christopher
Top achievements
Rank 1
 answered on 12 Mar 2012
1 answer
98 views
Hi,

I'm sure how to use this function clearSelection().  I'm trying the to put a menu item "Clear Selection" on the context menu.

Thanks

Vinh Vu
Rumen
Telerik team
 answered on 12 Mar 2012
3 answers
144 views
i had to upgrade my telerik controls to the latest version..
but this hasnt worked, and now i cant build my project due to lots of build errors.

on running the upgrade wizard i get this error popping up

Error executing cutom action
Telerik.web.ui.vsx.actions.multiprojectupdatereferencesaction: could not find file 'C:\Users\Documents\Visual Studio 2010\Projects\MyProject\Source Code\MyProject\bin\Telerik.web.design.dll'

any idea how i resolve this?
Chavdar Dimitrov
Telerik team
 answered on 12 Mar 2012
3 answers
81 views
Hello again, I have a problem with my timeslots. It works fine when I am using the dayview, but when I am in weekview my timeslots are not displaying. 

I have to timeslots in my weekview and it looks like this, and it's not working. It only shows one big gray field. 

EIDT: I fixed it now, thanks.

if (e.TimeSlot.Start <= new DateTime(2011, 8, 31, 10, 15, 00) || e.TimeSlot.Start >= new DateTime(2011, 8, 31, 15, 00, 00))
            {
                 
                Debug.WriteLine(e.TimeSlot.Start);
                //Debug.WriteLine(e.TimeSlot.Start);
                e.TimeSlot.CssClass = "Disabled";
            }
 
if (e.TimeSlot.Start <= new DateTime(2011, 8, 29, 10, 15, 00) || e.TimeSlot.Start >= new DateTime(2011, 8, 29, 15, 00, 00))
            {
                 
                Debug.WriteLine(e.TimeSlot.Start);
                //Debug.WriteLine(e.TimeSlot.Start);
                e.TimeSlot.CssClass = "Disabled";
            }
Sander
Top achievements
Rank 1
 answered on 12 Mar 2012
2 answers
142 views
I am using a Rad Menu on master page. Take for example, the structure of Rad Menu to be: Root-1: Sub-1,Sub-2,Sub-3 and Root-2:Sub-4, Sub-5.
Now my Sub-2 menu's url is rewritten to point to Root-1 url. If I go to Sub-2 and than if I click on Sub-4 menu, it will show 404 error as the URL is the wrong.

How to fix this?

FYI: Also, I am using UrlRewriter to rewrite rules in web.config.
Naupad
Top achievements
Rank 1
 answered on 12 Mar 2012
3 answers
112 views
I have a problem with selecting a color in the HSB selection mode when opening the HSB panel while the color #ffffff or #000000 is selected. I can reproduce this issue on the telerik demo pages (http://demos.telerik.com/aspnet-ajax/colorpicker/examples/default/defaultcs.aspx).

Select #ffffff or #000000 on the webpalette and open the HSB panel. Now notice that the RGB values are not updated when clicking in the color spectrum. This only happens when first #ffffff or #000000 is selected, any other color works fine.   
Slav
Telerik team
 answered on 12 Mar 2012
8 answers
371 views
I have a panel bar which i use to navigate around my application once the user has logged in.  The problem i have is when the user logs out and then comes back into the application i want ot lose the fact that they clicked on the log out item which is still highlighted and any item that has children remain expanded if they were at the time of log out.  So basically just want to clear the cookie that is holding the fact that the items are selected etc...

If I turn the PersistStateinCookie  to false then this gives me the reaction i want at logout but i want to keep this as true for when the user is in the App so it remembers the state of the panel bar when they are not loggin out.

This is what i have got and have tried:

<

 

telerik:RadPanelBar id="panelbar" Runat="server" ExpandMode="SingleExpandedItem" AllowCollapseAllItems="true" OnClientItemClicked="PanelBarItemClicked" CookieName="TelerikRadPanelBarCookie" PersistStateInCookie="True" EnableEmbeddedSkins="False" Skin="CommuniGatorSkin">

 

 

</telerik:RadPanelBar>

 

 
Tried with no avail on log out.

Session(

"TelerikRadPanelBarCookie") = Nothing

 

Response.Cookies(

"TelerikRadPanelBarCookie").Expires = EmarketingDateTime.Now.AddYears(-30)

 


Also tried to set the items as selected as false in the Xml which i am generating dynamically but this too does not work.
Any ideas?

Thanks Aaron  
Dimitar Terziev
Telerik team
 answered on 12 Mar 2012
2 answers
152 views
Hi,
Scenario:
My asp.net Usercontrol(acsx) is wrapped in radajaxpanel control.

I embedded this control in a aspx page which has RadAjaxManager.

I want to update control using ajax manager. when I pass Control unique ID. It throws exception that ClientID is not availabel for UserControl, 
Manish
Top achievements
Rank 1
 answered on 12 Mar 2012
2 answers
118 views
Hi. I add   radtoolbar. it has 2 buttons. 

When I push the first button, I wanna do this code

 

 

 

 

Vx.Windows[0].NavigateUrl = "number.aspx?no=" + no.Text;
                Vx.Windows[0].VisibleOnPageLoad = true;


Can I do? how?

Sorry for my english.

Thanks

Maksut
Top achievements
Rank 1
 answered on 12 Mar 2012
7 answers
189 views
Is there any work around or when the new version supporting mvc4 will come out?

Thanks.
Peter
Telerik team
 answered on 12 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?