Telerik Forums
Community Forums Forum
0 answers
208 views
I'm considering getting a license for the Windows 8 controls, primarily for a bunch of decent chart controls. I see that a subscription is mentioned, the search engine doesn't spit out anything useful about it. Does a subscription mean just regular code updates until it expires, or does it also stop the design mode in Visual Studio from working upon expiration.

Thanks for any information.
-mg

--edit: Found the FAQ, my questions have been positively answered.
Glowtape
Top achievements
Rank 1
 asked on 03 Aug 2012
1 answer
296 views
Hi,

Could anyone list it out what is the main difference between two with functionalities of the controls that we can do with Telerik and we cant do with ASP.NET Controls.

Thanks
Nidhi
Andrey
Telerik team
 answered on 02 Aug 2012
0 answers
87 views
Hi. i want to maintain scroll position of rad panel bar. my rad panel bar is placed in page which is on auto refresh. when i scroll the bar downward of rad panel bar it goes upward on page refresh. it should not. i am trying to handle it with following code but its not working. is am missing some thing? please help.

<script type="text/javascript">
function
SetScrollPositionOnlineContacts() {
                      
                     //var pane = splitter.GetPaneById("RadPanelBarRoster");
                     //document.getElementById("RadPanelBarRoster").scrollTop;
                     
                    var splitter =$find("RadSplitterBottomParent");
                    var intY =  splitter.GetPaneById("RadPanelBarRoster").scrollTop;
 
                    var date = new Date();
                    date.setTime(date.getTime() + (1 * 60 * 60 * 1000));
                    var expires = "; expires=" + date.toGMTString();
                    document.cookie = "cookieDivOnlineContacts" + "=" + intY + expires + "; path=/";
                    //document.title = intY;
                }
                function readCookieOnlineContacts(name) {
                    var nameEQ = name + "=";
                    var ca = document.cookie.split(';');
                    for (var i = 0; i < ca.length; i++) {
                        var c = ca[i];
                        while (c.charAt(0) == ' ') c = c.substring(1, c.length);
                        if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
                    }
                    return null;
                }
    </script>





Html is here
   <telerik:RadSplitter ID="RadSplitterBottomParent" runat="server" Height="100%" Width="100%"
            Orientation="Vertical" BackColor="#ECECFF" Skin="WebBlue" LiveResize="True" SplitBarsSize=""
            HeightOffset="124" Visible="true" BorderSize="0" PanesBorderSize="0">
            <!-- Start Left Roster Panel -->
            <telerik:RadPane ID="RadPaneRoster" runat="server" Width="220px" Scrolling="None">
                <telerik:RadContextMenu ID="RadContextMenuRoster" runat="server" OnClientItemClicked="onRosterContextMenuClick"
                    EnableShadows="True">
                    <Items>
                        <telerik:RadMenuItem runat="server" Text="View Conversation">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="View Properties">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem runat="server" Text="Add to Favourites" Enabled="False">
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadContextMenu>
                <telerik:RadPanelBar ID="RadPanelBarRoster" runat="server" Skin="Metro" Width="100%" onscroll="SetScrollPositionOnlineContacts()"
                    Height="3000px" OnClientItemClicked="onRosterClick" OnClientContextMenu="onRosterContextMenu"
                    PersistStateInCookie="True" Style="width: 100%; border-top: 0; border-bottom: 0;
                    z-index: 2" ExpandMode="FullExpandedItem" EnableViewState="True" ViewStateMode="Inherit"
                    OnItemClick="RadPanelBarRoster_ItemClick">
                </telerik:RadPanelBar>
            </telerik:RadPane>
</telerik:RadSplitter>



  code behind is here
protected void Page_Load(object sender, EventArgs e)
        {
          
if (!IsPostBack)
            {
                StringBuilder sbScript = new StringBuilder();
                sbScript.Append("<script language='JavaScript' type='text/javascript'>");
                //For order Panel
                sbScript.Append("document.cookie = cookieDivOnlineContacts + \"=\" + \"\" + -1 + \"; path=/\";");
 
                sbScript.Append("</script>");
                //// Make use ScriptManager to register the script
                ScriptManager.RegisterStartupScript(this, this.GetType(), "@@@@MyCallBackAlertScript", sbScript.ToString(), false);
            }
 
        StringBuilder sbScript1 = new StringBuilder();
        sbScript1.Append("<script language='JavaScript' type='text/javascript'>");
        //For order Panel
        sbScript1.Append("var strCookOnlineContacts = readCookieRfqOrder(\"cookieDivOnlineContacts\"); " +
        "document.getElementById(\"RadPanelBarRoster\").scrollTop = strCookOnlineContacts;");
 
        sbScript1.Append("</script>");
 
        // Make use ScriptManager to register the script
        ScriptManager.RegisterStartupScript(this, this.GetType(), "@@@@MyCallBackAlertScript", sbScript1.ToString(), false);
 
}


Thanks
Kahloon
Kahloon
Top achievements
Rank 1
 asked on 01 Aug 2012
1 answer
83 views
hello,
I'm using Telering Reporting ultimate 2012 for designing reports.

When i bind my report with and a chart on my report with a same data source, the report work parfectly while the chart throws an exception related to the datasource.
Can anybody help me about this?
Steve
Telerik team
 answered on 31 Jul 2012
1 answer
105 views
Hello All

Currently I am using the RadScheduler in my project.I want to show the dates in the Hebrew Language.
I have used the Culture property of the RadScheduler but it will show the month names and days names in the Hebrew language but I want to show the dates in the Hebrew Language. See the next image


Here is the calendar and on the place of the the "Black Box" I want to show the Hebrew date. So is there any way of doing this?

Thanks in Advance to all.


Peter
Telerik team
 answered on 24 Jul 2012
1 answer
74 views
Hi,
     I am new to telerik controls.I trying to use this skin concept in telerik But i am not able to get this how to use .skin file.And to apply custom CSS  to Rad controls what we have to do:
ex: i have to work with Radmenu and radpanelbar.  i am not able to appy forecolor for radmenu controls. Plzzzz help me
and can place usercontrol in radpanelbar???
Pavel Benov
Telerik team
 answered on 20 Jul 2012
0 answers
93 views
Hi,

Where can I get Telerik.Framework.dll and Telerik.Cms.Tools.WebControls.dll

Thanks.
Surya CD
Top achievements
Rank 1
 asked on 18 Jul 2012
0 answers
122 views
Hello All,

I am currently using Rad Scheduler in my project and I am displaying it in different languages using the "culture" property.

I am also using the Hebrew culture but now I want to show the scheduler control in Hebrew format.

For example currently in Hebrew format it is year 5772 and in English Calender it is year 2012.
So i want the whole scheduler to be converted in the Hebrew calender. I don't want to show the scheduler in the Hebrew language but in Hebrew format.

Thanks in advance
Hardik
Hardik
Top achievements
Rank 1
 asked on 16 Jul 2012
3 answers
132 views
All,

I'm trying to turn on the media manager for use in the telerik control - and it appears no matter what I do when I select the media manager in the control - even though - I have some files which meet the filter requirements - I don't see any media to add. Therefore, to date to turn this item on I've edited:

RadControls\Editor\ConfigFile.xml so it has the following items in it - the files/uploads/media path does exist and it has the proper permissions for the website user:

<property name="MediaPaths">
  <item>~/files/uploads/Media</item>
 </property>
 <property name="UploadMediaPaths">
  <item>~/files/uploads/Media</item>
 </property>
 <property name="DeleteMediaPaths">
  <item>~/files/uploads/Media</item>
 </property>
 <property name="MediaFilters">
  <item>*.avi</item>
  <item>*.mpeg</item>
  <item>*.mpg</item>
  <item>*.mov</item>
 </property>

I also edited the ToolsFile.xml so this property is enabled (it was commeneted out at one time)

 <tool name="MediaManager"/>

Therefore, any guidance on how to get this to work would be great.

Rumen
Telerik team
 answered on 12 Jul 2012
0 answers
185 views
Hi,
In our project the menu is done using the telerik radmenu. For some pages that are not shown in navigation, it is throwing an exception.

The website id done using the cms Sitefinity.

'SiteMap.CurrentNode.NextSibling' threw an exception of type 'System.ArgumentNullException' System.Web.SiteMapNode {System.ArgumentNullException}.
It is the same error with PreviousSibling.


public void HorizontalRadMenu_ItemDataBound(object sender, RadMenuEventArgs e)
{
string[] strNavigationPages = { "Home", "About", "Product", "Sales", "Marketing", "Partners", "Resources", "...", "...", "...", "...", "...", "..." };
if (e.Item != null)
{
 
 
if (e.Item.Level == 0)
{
parentPageId = ((Telerik.Sitefinity.Web.PageSiteNode)(e.Item.DataItem)).Id.ToString();
}
 
 
 
 
string currentPageId = ((Telerik.Sitefinity.Web.PageSiteNode)(e.Item.DataItem)).Id.ToString();
string findThisString = e.Item.Text;
 
 
 
 
int strIndex = -1;
int flag = -1;
if (!String.IsNullOrEmpty(findThisString) && ((Telerik.Sitefinity.Web.PageSiteNode)(e.Item.DataItem)).ShowInNavigation)
{
for (int strNumber = 0; strNumber < strNavigationPages.Length; strNumber++)
{
strIndex = strNavigationPages[strNumber].IndexOf(findThisString);
if (strIndex > -1)
{
flag = 1;
}
}
 
 
if (flag == -1 && ((Telerik.Sitefinity.Web.PageSiteNode)(e.Item.DataItem)).ParentKey != parentPageId && e.Item.Level < 2)
{
e.Item.Remove();
}
}
else
{
e.Item.Remove();
}
 
 
}
}



When does the SiteMap.CurrentNode.NextSibling and the PreviousSibling becomes null? 
Can anyone please help me.


Thanks,
Surya.
Surya CD
Top achievements
Rank 1
 asked on 03 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?