Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
82 views
Hi,

We use RadEditor. Toggling to FullScreen works fine. Toggling back to design mode is not working correctly. The input field is getting huge (two screen pages) and scrolling will not work anymore.

Using F11, everything works fine. Even back from fullscreen mode work! Any hints?
Version is 2013.1.417.35.

Is there a way to simulate F11 instead?

Best Regards, Claude
Ianko
Telerik team
 answered on 05 Nov 2013
1 answer
271 views
Hello,

Is is possible to use a RadEditor control as Web Browser control? I want to show a second web side inside the one of my web pages. At this time I use IFRAME but there is java script issue : access is denied when use second site. I also tring to use Windows Forms Web Browser control but don't have any success to display it. Also try to create a class library and use it as object inside asp.net but warning message is shown every time.
So is is possible to use RadEditor as Windows Forms Web Browser control?

Thank you
Ianko
Telerik team
 answered on 05 Nov 2013
4 answers
195 views
Greetings!

I am unable to get a consistent header/column width in my radgrid (see attachment).

The columns are auto generated. After viewing a number of posts, it appears the best practice is to merely set the the HeaderStyle Width, and set the TableLayout to Fixed. And this I have done:

<MasterTableView EditMode="InPlace" CommandItemDisplay="Top" AutoGenerateColumns="True" TableLayout="Fixed">
    <HeaderStyle Width="100px" />

Is there something else I need to do?

Thanks,

Karl
Karl
Top achievements
Rank 1
 answered on 05 Nov 2013
1 answer
55 views
We are having issues with grabbing user content from a rad editor when inside a Rad Update panel using IE.  it works fine in firefox and chrome.  I have read and applied the fixes listed in other articles but they have not worked.  I am using Q3 2013 version of the controls.

please let me know if there is something else i can be doing.
Rumen
Telerik team
 answered on 05 Nov 2013
1 answer
87 views
Hi,

I am trying to create a page similar to the below demo page, that load the data from webservices. When the webservices returns the data after 10-12 seconds, and the grid doesn't show any loading panel. I tried attaching an AjaxLoadingPanel to the grid, but the request is in not a ajax request and hence it wasn't displayed. Also, I don't see any api for data service in client side to manually show the loading panel. Can anyone recommend a way to display a loading panel?

http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/declarative/defaultcs.aspx


Thanks,
Shhan
Maria Ilieva
Telerik team
 answered on 05 Nov 2013
1 answer
194 views

I am receiving this error if I fetch data from view which has column names in arabic.
Steps to reproduce:

Provide  following query on RadPivotGrid1_NeedDataSource
 
string query = "SELECT شهر, الوفيات FROM [ViewName]";
(sender as RadPivotGrid).DataSource = GetDataTable(query);

if we provide one arabic name this pivot table renders successfully, If there are more than one arabic columns, page crashes with following message

Multiple controls with the same ID 'rc_' were found. FindControl requires that controls have unique IDs.



[HttpException (0x80004005): Multiple controls with the same ID 'rc_' were found. FindControl requires that controls have unique IDs.]
   System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +233
   System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls) +311
   System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +306
   System.Web.UI.Control.FindControl(String id) +12
   Telerik.Web.UI.PivotGridFieldsWindow.AddAttributesToRender(HtmlTextWriter writer) +76
   System.Web.UI.WebControls.WebControl.RenderBeginTag(HtmlTextWriter writer) +20
   Telerik.Web.UI.RadWebControl.RenderBeginTag(HtmlTextWriter writer) +36
   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +20
   Telerik.Web.UI.RadWebControl.Render(HtmlTextWriter writer) +92
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +10
   Telerik.Web.UI.RadCompositeDataBoundControl.RenderContents(HtmlTextWriter writer) +115
   Telerik.Web.UI.RadPivotGrid.RenderContents(HtmlTextWriter writer) +94
   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +32
   Telerik.Web.UI.RadCompositeDataBoundControl.Render(HtmlTextWriter writer) +92
   Telerik.Web.UI.RadPivotGrid.Render(HtmlTextWriter writer) +275
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   Telerik.Web.UI.RadAjaxPanel.RenderChildren(HtmlTextWriter writer) +218
   System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +10
   Telerik.Web.UI.RadAjaxPanel.RenderContents(HtmlTextWriter writer) +45
   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +32
   Telerik.Web.UI.RadAjaxPanel.Render(HtmlTextWriter writer) +80
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   Telerik.Web.UI.ControlRenderer.Render(HtmlTextWriter writer) +161
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) +248
   System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) +37
   Telerik.Web.UI.OurUpdatePanel.Render(HtmlTextWriter writer) +464
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   Telerik.Web.UI.PreControlToAjaxify.Render(HtmlTextWriter writer) +208
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +216
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer) +17
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +106
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +1222
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Adapters.ControlAdapter.Render(HtmlTextWriter writer) +17
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +106
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1386



I Investigated and found that issue is because when generating span id RadPivotGrid uses column name as part of control name
and it does not consider the arabic character for the id attribute.

If arabic character can not be used then PivotGrid should append a counter with the id so that it does not generate the duplicate id.

Following is the HTML generated with one arabic column and one english column

<td class="rpgFilterZone" colspan="2">
<
span id="RadPivotGrid1_ctl00_ctl00_SpanPanelFieldsPopup" class="rpgFieldsPopup">
<
span class="rpgFieldsPopupWrapper">
<
span id="RadPivotGrid1_ctl00_ctl00_rc_" class="rpgFieldItem">شهر</span>
<
span id="RadPivotGrid1_ctl00_ctl00_rc_Year" class="rpgFieldItem">Year</span>
</
span><span class="rpgGroupedFieldsTitle">All Fields</span></span>
</
td>

Deyan Enchev
Telerik team
 answered on 05 Nov 2013
1 answer
210 views

I have two RadButtons in a FooterTemplate of a RadGrid. The RadGrid has the Metro skin.

Both buttons showed the 'Default' skin appearance, which is the desired effect, despite not having their Skin="Default" attribute set.  I thought they would inherit the Metro skin, but I was mistaken.

However, when I changed one of the button types to LinkButton the button shows a Metro-like skin (see attached image).  How do I get the link button to have the Default skin appearance?  Setting Skin="Default" does not do the trick. 

 

Danail Vasilev
Telerik team
 answered on 05 Nov 2013
3 answers
172 views
Hi,

I'm attempting to filter a grid on a field that contains a file name and path.  It appears that radgrid does not like filter strings that use the backslash (\) character.  I have found a workaround (see code below) that intercepts the filter, escapes any backslash characters, and then aplies the filter.  The code appears to work in that the filter is correctly applied.  But for some reason, the text in the filter radtextbox gets cleared when the grid refreshes to apply the filter. 

Is there a way to prevent the text box from being cleared?

Or alternately...is there a way to replace the text after the grid gets refreshed?

Below is the filter template, including the javascript codeblock, that applies the filter.

<telerik:GridTemplateColumn

UniqueName="Include"

DataField="Include"

SortExpression="Include"

HeaderText="Include"

HeaderStyle-Width="200px"

ShowFilterIcon="false"

FilterControlWidth="95%"

CurrentFilterFunction="Contains"

AutoPostBackOnFilter="true"

>

<EditItemTemplate>

<asp:textbox ID="txtInclude" runat="server" width="190px" Text='<%#Eval("Include")%>' />

<script type="text/javascript">

registeredElements.push('<%# Container.FindControl("txtInclude").ClientID %>');

</script>

</EditItemTemplate>

<ItemTemplate>

<div class="WordWrap" style="width:190px">

<asp:label ID="lblInclude" runat="server" CssClass="WordWrap" Text='<%#Eval("Include")%>' />

</div>

</ItemTemplate>

<FilterTemplate>

<telerik:RadTextBox ID="txtIncludeFileFilter" Width="100%" runat="server" >

<ClientEvents OnBlur="IncludeFileFilterChanged" />

</telerik:RadTextBox>

<telerik:RadScriptBlock ID="RadScriptBlock4" runat="server">

<script type="text/javascript">

function IncludeFileFilterChanged(sender, eventArgs) {

var filterValue = "";

var filterFunction = "NoFilter";

var s = sender.get_value();

if (s != "") {

filterValue = s.replace("\\", "\\\\");

var filterFunction = "Contains";

}

var tableView = $find("<%# TryCast(Container, GridItem).OwnerTableView.ClientID %>");

tableView.filter("Include", filterValue, filterFunction);

}

</script>

</telerik:RadScriptBlock>

</FilterTemplate>

</telerik:GridTemplateColumn >

Princy
Top achievements
Rank 2
 answered on 05 Nov 2013
1 answer
67 views
I have a problem displaying large data, when i'm scroll to the right the data displays
a little sliding to the left, please see picture below



but when I slide a little to the left  the data appear correctly



Please help me...

Thanks
Eyup
Telerik team
 answered on 05 Nov 2013
3 answers
123 views
Hi,

Since i install IE11, the header context menu don't check column on this menu. See attachment with printScreen with IE11 et chrome.

ty
Angel Petrov
Telerik team
 answered on 05 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?