My name is Albert Cepeda, and I’m a developer at Deloitte
We upgrade Telerik’s controls to 2013 version, but we found a new issue/feature in the RadGrid's GridTemplateColumn, when I set the Visible attribute To false, then
in code-behind the value hold by this column is turn to I tried with the Display attribute obtaining successful results, but in this moment all our sites use the Visible atttribute in many
Radgrids in many Forms.
There is any way to fix this behavior in our sites in a rapid way?
Best Regards,
protected void ItemTree_Init(object sender, EventArgs e){ var browsersniff = Request.Browser; if (browsersniff.IsMobileDevice == true) { this.ItemTree.EnableDragAndDrop = false; this.ItemTree.EnableDragAndDropBetweenNodes = false; }}
(Edit: I should add that the code above does get hit when I run on the debugger. It just isn't disabling Drag/Drop)
Telerik Experts,
We have created some SharePoint Visual Web Parts containing Telerik Rad Control ( RadGrid for ASP .Net Ajax) using Visual Studio 2013. These are simple webparts that consume sharepoint lists as datasource. We sucessfully deployed the Web Parts to SharePoint 2013 and are able to add these WebParts in SharePoint pages.
The solution works fine as long as we are using default SharePoint MasterPage. There is a feature in SharePoint which lets you create custommasterpages for the site from an html file. The details as how it works can be found here:
http://preachingsharepoint.blogspot.com/2012/09/sharepoint-2013-how-to-add-html-master.html
When we use these converted masterpages for the site pages, webparts developed using Telerik Controls for ASP .Net AJAX no longer works and pages start erroring out. Here's the error message the we get
"The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases. "
We tried creating a webpart with standard ASP .Net controls and use them with these custom masterpages. These WebParts works fine, so the problem is isolated to using WebParts containing Telerik controls and using the custom masterpages that are converted from html. We were able to reproduce this issue on multiple SharePoint farms, so its not an one off issue.
<telerik:RadAjaxPanel runat="server" ID="panel" LoadingPanelID="loadingPanel"><asp:DropDownList ID="itemDrop" runat="server"></asp:DropDownList> </telerik:RadAjaxPanel> <telerik:RadAjaxLoadingPanel ID="loadingPanel" BackgroundPosition="Center" runat="server"> <img id="Img1" alt="Loading..." src="~/images/loading.gif" runat="server" style="border: 0px;" /> </telerik:RadAjaxLoadingPanel>function showFields(id) { var dd = document.getElementById(id); var itemArr = (dd.options[dd.selectedIndex].value).split(";;;"); var perDiv = document.getElementById("percentDiv"); var quantDiv = document.getElementById("quantityDiv"); var disValue = itemArr[1]; var item = itemArr[0]; if (item == "-1") { perDiv.style.display = "none"; quantDiv.style.display = "none"; } else { //see if we show quantity as well if (disValue > 0) { perDiv.style.display = "block"; quantDiv.style.display = "block"; } else { perDiv.style.display = "none"; quantDiv.style.display = "block"; }//if disValue > 0 }//if item == -1}
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="1" Skin="BlackMetroTouch" DataSourceID="SqlDataSource1" DataFieldID="id" DataTextField="title"> </telerik:RadTabStrip><telerik:RadMultiPage ID="RadMultiPage1" runat="server"> <telerik:RadPageView ID="<%#Eval("title") %>" runat="server"> </telerik:RadPageView> </telerik:RadMultiPage>This is a bit of a weird one!
We have an MVC application that, at certain points (when the user opts to edit a paragraph), adds an iframe to the DOM. The src of this iframe points at an aspx page that contains the RADEditor. Once content has been edited and the user clicks the save button, we suck out the content, dump the iframe and replace a whole bunch of client HTML from a server call.
Once the HTML has been reloaded in the DOM after the RAD editor has done its business, we’re currently seeing what looks like a massive flashing cursor on the screen (a huge black rectangle). It blinks on and off, uses up maybe 75% of the screen (vertically) and reverses all the colours behind it (white becomes black, black becomes white etc)!
I know this is a bit of a random one, but .. any ideas? Has anyone seen anything similar?
Is it somehow possible to make a orderby with more then one attribute ? I dont want to to something in the code behind if this is possible I would like to do it in the EntityDataSource
What I have tried :
<asp:EntityDataSource ID="dsDossier" runat="server" ConnectionString="name=zevtestEntities" Include="BU,LBU,ZevUser" DefaultContainerName="zevtestEntities" EnableFlattening="False" EntitySetName="Dossier" OrderBy="it.BU.Code , it.LBU.Code DESC "></asp:EntityDataSource>
But somehow this is not working why so ever
Thanks for help and fast answer
