Telerik Forums
Community Forums Forum
1 answer
159 views
Whenever I start up Visual Studio (2010) I get a dialog box with the following error message 3 times:

System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Telerik.VSX.Helpers.GlobalAssemblyCache.GacEnumberable..ctor()
at Telerik.VSX.Helpers.GlobalAssemblyCache.AssemblyCache.GetAllGacEntries()
at Telerik..VSX.DistributionDiscovery.GACBasedDistributionSearcher.get_AllGacEntries()
at Telerik..VSX.DistributionDiscovery.GACBasedDistributionSearcher.PopulateDistributionCandidates(IDictionary`2 distrbutionTokenCandidates)
at Telerik..VSX.DistributionDiscovery.GACBasedDistributionSearcher.GetDistributions.(Func`2 distributionTokenCreator)
at Telerik..VSX.DistributionDiscovery.DistributionSearcher.PopulateGACDistributions(IList`1 distributionsToFill)
at Telerik..VSX.DistributionDiscovery.DistributionSearcher.GetDistributions()
at Telerik.Web.UI.VSX.AssemblyDiscovery.WebUIDistributionSearcher.GetDistributions()
at Telerik.Web.UI.VSPackage.VSPackage.GetUpgradeAvailabilityMonitor()
at Telerik..VSX.VSPackage.PackageBase.<>c__DisplayClass3.<OnSolutionOpened>b__0(Object s, DoWorkEventArgs a)
at System.ComponenentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs a)
at System.ComponenentModel.BackgroundWorker.WorkerThreadStart(Object argument)


Any idea what the problem is and how to fix it?

Thanks,
Carl

Chavdar Dimitrov
Telerik team
 answered on 29 Aug 2012
0 answers
82 views
I would like to allow the Original poster to be able to set a post they created as answered if they resolve the post themselves.

I just made a post and then figured out the answer myself. I then posted the answer but I am unable to mark my second post as answer. Others may want the answer but skip my post with the answer becasue I could not mark it as answered.

http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-hide-label-gridtemplatecolumn.aspx#2246768

I have made this suggestion in the past and would really like to see it implemented.
Allan
Top achievements
Rank 2
 asked on 24 Aug 2012
6 answers
250 views
Hi....

I am using a RadTreeView.

- Menu groups collapse when I click a sub menu item.

Expected:
- Menu group should stay open until I
click the divot to collapse the menu group
OR
click the divot to expand a different menu group
OR
go to a different tab.

This is working fine on localhost but not on server. If there is any change to be done in code while loading on server please let me know..
I am storing the value of node in session, to check if the node is clicked or not.
Boyan Dimitrov
Telerik team
 answered on 24 Aug 2012
1 answer
131 views
Hi,
I am doing a site in Sitefinity5. I am using telerik radmenu to display menu items. Here is my code.
public void HorizontalRadMenu_ItemDataBound(object sender, RadMenuEventArgs e)
    {
        string[] strNavigationPages = { "Menu1", "Menu2", "Menu3", "Menu4", "Menu5", "Menu6", "Menu7", "关于我们", "联系我们", "视频", "租赁业务", "客户服务", "手持式 XRF技术" };
        
        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;
                      //e.Item.NavigateUrl
 
                      
                    }
                }
 
                if (flag == -1 && ((Telerik.Sitefinity.Web.PageSiteNode)(e.Item.DataItem)).ParentKey != parentPageId && e.Item.Level < 2)
                {
                    e.Item.Remove();
                }
            }
            else
            {
                e.Item.Remove();
            }
        }
}
  I need to show the language folder appended to the href in menu

<li class="rmItem ">
<a class="rmLink" href="/en/page1/subpage1" /instead of 
<a class="rmLink" href="page1/subpage1" 

Is there any way. Can anybody pls help me.

Thanks,
Surya. 
Ivan Dimitrov
Telerik team
 answered on 24 Aug 2012
0 answers
66 views
Hi team,

when we copy the content from website and paste it in the telerik control, it is distorting the text formatting..
could you let us know if there is any fix for this as we are using this control and creating problems for us

Thanks,
Shankar.
Shankar
Top achievements
Rank 1
 asked on 23 Aug 2012
0 answers
115 views
I am working in telerik grid .but my Problem is how to bind two radio button yes and No and text box in column.my scenario is mentioned below


 1. if yes is clicked then text should be display in grid
 2. if no is clicked then text should not be display in grid
 3. in page load how to visible text box  if radio button  yes is checked

how to achieve this problem in server side or client side
please Provide the best solution
S
Top achievements
Rank 1
 asked on 21 Aug 2012
0 answers
154 views

I have 10 telerik tabs in which each page is a partial view.

 

On click of first tab a grid appears which has few records in it and a row in the grid is highlighted upon some condition.

There are few buttons in the page which has different functionality each.

Onclick of any button an action happens and grid rebinds accordingly(i.e the data in the grid changes based on the button action).

For this I am using grid.rebind();

 

Again I am checking for the condition to highlight the same row which was highlighted before through jQuery like this
var parentTR = $("input:checkbox[class=check-box]:checked").parent().parent();
                                        $(parentTR).addClass("hover_active");

But whichever class I add or delete to grid rows nothing is updated to the grid.

 

May I know the solution for this?

Shruthi
Top achievements
Rank 1
 asked on 07 Aug 2012
0 answers
199 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
289 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
81 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?