Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views
I have two related menu's a horizontal top menu and a vertical childmenu

In the top menu I only want to show one level of items ie. those that are child of root! (level1)
and in the vertical menu I want to show child items of current selected item (level2,3 and 4 in a treeview)

when I select an item level1 in the radmenu it gets highlighted and when I select an item level 2,3 or 4 in the treeview I want the level 1 parent item in the radmenu to be highlighted as this does work when I dont have MaxDataBindDepth="1" in the Radmenu but then I get the dropdown menu showing all child items which I dont want. Is there a way of solving this with another function than MaxDataBindDepth="1" I saw MaxLevel in the documentation but it didnt work. (My client has RadControls ASP.NET-AJAX 2011Q1)

(MasterPage)
<
tr:RadMenu ID="mnuNavRoot" runat="server" MaxDataBindDepth="1" Flow="Horizontal" DataSourceID="smdsNav" /> 
<asp:SiteMapDataSource ID="smdsNav" runat="server" ShowStartingNode="false" SiteMapProvider="AspNetSqlSiteMapProvider" /> 
  
(ASPX Page)
 <tr:RadTreeView ID="tvNaviMain" runat="server" ShowLineImages="false" DataSourceID ="smds1">
</tr:RadTreeView
<asp:SiteMapDataSource ID="smds1" runat="server" ShowStartingNode="false" SiteMapProvider="AspNetSqlSiteMapProvider" /> 

If root = true Then 
     tvNaviMain.MaxDataBindDepth = 1
Else 
     smds1.StartingNodeOffset = 1 
End If

 

 

Any suggestions?

 

 

 

 

 

 

Magnus
Top achievements
Rank 2
 answered on 29 Apr 2011
1 answer
154 views
Good day,
Is it possible to call a tooltip on checkbox click and then call different content inside said tooltip when the checkbox is unchecked? - How exactly would I go about that?
Thanks so much!
Marin Bratanov
Telerik team
 answered on 29 Apr 2011
1 answer
229 views
I'm a Chinese ,My English is not good,sorry!

I tried to set a RadTextBox focus when the page loaded,but failed,why?
I used many of method
1.RadTextBox.Focus();
2.Page.SetFocus(RadTextBox.ClientID);
3.page.SetFocus(RadTextBox).
all failed.
who can help me? thanks.
Shinu
Top achievements
Rank 2
 answered on 29 Apr 2011
3 answers
69 views

When i want to delete an instance of a recurring event, the fuction "theScheduler_AppointmentUpdate" will  fired . My code is as bellow ,

void theScheduler_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
{
  Appointment appointment = e.Appointment; 

  // People resizing 
  SPListItem li = GetListItem(appointment);
 
  if (appointment.RecurrenceState == RecurrenceState.Master)
  {
     // This means somebody try to delete an instance of recurring event                    
     RecurrenceRule recRule;
     RecurrenceRule.TryParse(appointment.RecurrenceRule, out recRule);
     if (recRule != null && recRule.Exceptions.Count > 0)
     {
        // The last exception is the DateTime of the deleted appointment
        DateTime deletedDateTime = recRule.Exceptions[recRule.Exceptions.Count - 1];
        CreateDeletedAppointment(deletedDateTime, appointment, li);
     }
   }
}
I find that the recRule.Exceptions always equal to 0 . Can somebody help me with this issue ? (I know that the "Exceptions" is created when we edit a recurring appointment)
william
Top achievements
Rank 1
 answered on 29 Apr 2011
2 answers
73 views
Hi,

We are getting the following error message while trying to install 2011 Q1 RAD controls. We un-installed the previous version and then tried to install the new version. ( Error is attached)

The system is running Windows XP - SP3

Thanks and Regards

Rajendran Menon
Rajendran
Top achievements
Rank 1
 answered on 29 Apr 2011
1 answer
162 views
PHello,

I have a problem in opening a window form after opening the radtooltipmanager..
Please view the webpage http://israel-jewelry-center.com/Pages/Categories/Bracelets.aspx. By coming over any item, a radtooltipmanager opens, and by clicking the big image, a radwindow opens.
The requirements is to change the radwindow control with a window (using the javascript command window.open). 
I added the following code to the Bracelets.aspx page:
function CloseActiveToolTipAndOpenUrl(path) {
            setTimeout(function () {
                var tooltip = Telerik.Web.UI.RadToolTip.getCurrent();
                if (tooltip) {
                    tooltip. hide();
                    window.open(path, "mywindow", "status=1");
                }
            }, 1000);
             
        }

But unfortunatily, just the command tooltip.hide() is executed, but the window.open(path, "mywindow", "status=1") didn't.
I dont understand why is that.

Please download the sample application from http://www.israel-jewelry-center.com/ToolTipSampleApplication.rar 

Please, I need your help,
It is appreciated to send me the modified code with an explaination,

Regards,
Bader
Marin Bratanov
Telerik team
 answered on 29 Apr 2011
3 answers
132 views
Hi

I’m building up a job site, and would like the visitor to upload their cv if they apply for one of the jobs. Data’s are stored to a SQL Server database, and upload is stored in a directory.  All works fine if I run it locally inside Visual Studio. Once published it doesn’t run any more. Data’s can properly be stored if I comment out RadUpload, when I reactivate RadUpload functionalities noting is stored to the database, and the file is not uploaded. There is no error coming up just nothing happens. Is there a step by Step instruction what has to be installed or be activated server side in order to use RadUpload?

Some how I can’t find the cause of my problem.


Enviroment:  Visual Studio 2010
Server: Win 2003 

Please give me some hint where to start searching for the problem.

Thanks and regards

Andrea
Peter Filipov
Telerik team
 answered on 29 Apr 2011
1 answer
81 views
Is there a Theme Gallery from other users so we dont have to reinvent the wheel.

Is there any centralized location of User Submissions on themes developed in Visual Style Builder?
Vasil Yordanov
Telerik team
 answered on 29 Apr 2011
1 answer
355 views
Hi,

I am using TreeView inside a fixed-size Div on one of my aspx pages. Whenever there are more nodes that exceed the fixed hieght, the treeview appears with vertical scrollbars.

When I click on one button, it opens(Expands) the corresponding file with highlighed in the treeview. But file is not visible and you have to scroll down to find it. Is there any way to show selected highlited Node in the treeview by default, without scroling down or up?

Thanks, Malli
Kate
Telerik team
 answered on 29 Apr 2011
1 answer
136 views
Hi,
 I am using RadCalendar contron in my project (VS 2005, Windows 7 OS and IIS 7.5 and IIS 6). I have updatedas per your suggested ways. I have gonethrough all the forums related to 'telerik' is undefined error. Also tried all the ways. Finally i found one solution. But its bit not suit for my requirement. Problem caused due to the

EnableEmbeddedScripts

 

="false"

 

 If i set it true then there is no issue. But on mouse over and click events color changes are not working as i change in the client side.

<

 

telerik:RadCalendar ID="calCurrentMonth" FirstDayOfWeek="Sunday" DayNameFormat="Short"

 

 

runat="server" ShowRowHeaders="False" EnableEmbeddedScripts="false" EnableEmbeddedBaseStylesheet="False"

 

 

EnableEmbeddedSkins="False" EnableViewState="true" EnableMultiSelect="false"

 

 

Skin="Custom">

 

 

</telerik:RadCalendar>

 



I have consumed 2 more days already. but no luck. so please provide me a solution.

Thank you,
Kevin.
Radoslav
Telerik team
 answered on 29 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?