Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
41 views
HI,

I am using Telerik Rad Spliiter with Rad Tree control inside (Web Application has simple web page withh Rad splitter and tree with 10 nodes).

Sometimes on slower network and from remote location , page is not displayed (nont rendered completely). However if i just click on intenet explorer maximum button and all is visible(rendered). This is a random behaviour and is not reproducable  always and from all locations/networks.

I have noticed that this is a behavior specific to pages where we have RadSplitter control.  I tried to repaint the  Radspliter contol but no luck.

Please suggest.

Thanks and regards,
Manishkumar Patel

Vessy
Telerik team
 answered on 11 Sep 2012
1 answer
248 views
Hello, 

I have a grid that loads the data through a web-service. This is my code:

Grid:
<telerik:RadGrid runat="server" ID="rgOverzicht" Width="690px" PageSize="10"
                AllowPaging="true" AllowSorting="false" ClientSettings-Scrolling-AllowScroll="false" ClientSettings-Scrolling-UseStaticHeaders="true" AllowFilteringByColumn="false" AllowMultiRowSelection="false" EnableLinqExpressions="false">
                <GroupingSettings CaseSensitive="false" />
                <MasterTableView NoMasterRecordsText="Geen artikelen om te tonen." DataKeyNames="Artikel_Id" ClientDataKeyNames="Artikel_Id" TableLayout="Fixed">
                    <PagerStyle Mode="NextPrevAndNumeric" PagerTextFormat="<b>{4}</b>  Pagina <b>{0}</b> van <b>{1}</b> | Item <b>{2}</b> t/m <b>{3}</b> van de <b>{5}</b>. " ShowPagerText="True" />
                    <Columns>
                        <telerik:GridBoundColumn DataField="IndexNr" UniqueName="IndexNr" HeaderText="Index" HeaderStyle-Width="65px"  />
                        <telerik:GridBoundColumn DataField="Omschrijving" UniqueName="Omschrijving" HeaderText="Omschrijving" />
                        <telerik:GridBoundColumn DataField="Afmeting" UniqueName="Afmeting" HeaderText="Afmeting" HeaderStyle-Width="65px"  />
                        <telerik:GridBoundColumn DataField="Drukklasse" UniqueName="Drukklasse" HeaderText="Drukklasse" HeaderStyle-Width="65px"  />
                        <telerik:GridBoundColumn DataField="Eenheidstarief" UniqueName="Eenheidstarief" HeaderText="Prijs (in €)" HeaderStyle-Width="75px"  />
                    </Columns>
                    <PagerStyle Mode="NumericPages" />
                </MasterTableView>
                <ClientSettings EnableRowHoverStyle="true">
                    <DataBinding SelectMethod="GetDataAndCount"
                    Location="~/CalculatieGrid.asmx"
                        SortParameterType="Linq" FilterParameterType="Linq" >
                    </DataBinding>
                    <Selecting AllowRowSelect="True" />
                </ClientSettings>
            </telerik:RadGrid>

Web-service:
var data = RadGrid.GetBindingData(source, startRowIndex, maximumRows, sortExpression, filterExpression);
 
result.Data = data.Data.ToList();
result.Count = data.Count;
 
return result;

JavaScript filter function:
<script type="text/javascript">
                $("#Search").click(function (e) {
                    if ($('#txtFilterOmschrijving').val() != "" && $('#txtFilterOmschrijving').val() != $('#txtFilterOmschrijving').attr("defaultValue")) {
                        filterExpression = new Telerik.Web.UI.GridFilterExpression();
                        filterExpression.set_fieldName("Omschrijving");
                        filterExpression.set_columnUniqueName("Omschrijving");
                        filterExpression.set_dataTypeName("System.String");
                        filterExpression.set_filterFunction(Telerik.Web.UI.GridFilterFunction.Contains);
                        ItemIdentifier = $('#txtFilterOmschrijving').val();
                        filterExpression.set_fieldValue(ItemIdentifier);
 
                        vFilterExpressions.add(filterExpression);
                    }
                    tableView.rebind();
                    tableViewPlan.rebind();
                });
            </script>

The problem is that the filters are case sensitive. I tried setting the case sensitive option in groupsettings in the grid, but that has no effect. Does anyone have a solution?

Thanks in advance!
Tsvetina
Telerik team
 answered on 11 Sep 2012
4 answers
249 views
Hello,
I faced an issue in Find and Replace functionality.
This can be reproduced on RadEditor demo
1. Switch to HTML mode.
2. Press 'Find And Replace' button. Select 'Replace' tab.
3. Specify
  Find: <td>
  Replace with: <th>
4. Press Replace button.

<td> is replaced with &lt;th&gt;

Few more issues with Find&Replace:
'Replace All' does not seem to work at all.
When "find" string is not found it replace all the text.

Could you please reply if it can be fixed?
Vessy
Telerik team
 answered on 11 Sep 2012
1 answer
90 views
Hi,

we use HTML format for exporting to Excel.

In principle, we are ok with "pseudo-excel" format of file (HTML), except that popup warning about inconsistency of extension and actual format of the file and - as result of this? - inability to open it in GoogleDocs.

is it possible to fix somehow?
Daniel
Telerik team
 answered on 11 Sep 2012
1 answer
194 views

Hi,



We tried following css in the EditorCssFile but it is not working in the editor rendering.



1. Child selector (first descendant).

.rb-inner-small > div .rb-text-small strong{font-size:12px}



2. Pseudo class

div[class^="r-header-small"]{position: relative; width:207px; height:134px}



Is it supported in the editor or there is other way to do this?



Thanks.

Rumen
Telerik team
 answered on 11 Sep 2012
2 answers
77 views
Hello

Can i use the exporting built in radgrid to export all columns even if the collumn is display = false?

best regards

gilberto
Gilberto
Top achievements
Rank 1
 answered on 11 Sep 2012
0 answers
130 views

We've created an extended version of the RadEditor to use locally.  What we need to do is set the values for the dictionarypath to a single path that all instances of the control will use.  We also need to disable the custom dictionary in the global version, but allow local versions to override in the markup.

We aren't using the markup interface in the extended version, so I can't set any values under <telerik:RadEditor/>.  I'm working in C#.  What I'm trying to do to start with looks like this:

 

 

 

public ExtendedRadEditor() : base()  

base.SpellCheckSettings.AllowAddCustom = false;  

base.SpellCheckSettings.SpellCheckProvider = SpellCheckProvider.TelerikProvider;  

base.SpellCheckSettings.DictionaryPath = System.Web.HttpContext.Current.Server.MapPath("~/Embed/TDF");

}


So, what am I missing here???

EDIT:  So I've tried exploring the various ways in which I can set the DictionaryPath.  Since this is NOT a web application, I can't use Server.MapPath(); since it's not a Windows app, I can't use GetCurrentExecutingPath.  I've tried using GetCurrentAssembly().Codebase, but since this compiles into the Visual Studio executable path at runtime, NOT the local code path (which would parallel the path utilized at deployment), I've hit a wall on trying to get the correct DictionaryPath set.  I even tried a basic Windows path ("../Embed/TDF") and THAT didn't work.

Could really use some ideas.
Paul
Top achievements
Rank 1
 asked on 11 Sep 2012
1 answer
114 views
Hello

I am using RadEditor for SharePoint 2010 on an application page for editing HTML content of specific publishing pages (getting the value from field 'PublishingPageContent' of corresponding SPListItem and setting property Content of RadEditor control).

After saving HTML content everything looks alright on corresponding target page with following HTML in 'PublishingPageContent' (as an example):
<span class="ms-rtestate-read  ms-reusableTextView" id="__publishingReusableFragment">
Copyright&copy; 2012&nbsp;XXX - All
Rights Reserved
</
span>

But when opening page in "normal" edit mode or editing properties (in Pages library) the HTML gets transformed after saving:
<span id="__publishingReusableFragment"></span>

This problems occurs independenly from RadEditor beeing activated as default HTML editor for site (in Site Features). And RadEditor reacts differently concerning reusable content if used in "normal" page edit mode compared to context in application page. It is only concerning readonly content (automatic update).

Does anybody know, how to overcome this issue? Are there for example specific JavaScript files / libraries, which have to be added to application page?

Thank you and best regards,
Roger
Rumen
Telerik team
 answered on 11 Sep 2012
3 answers
71 views
I have a SQL data source that I need to present in SharePoint 2010 and I need to allow users to select multiple values from one of the columns (several Clients for exanple) and show the items pertaining to those.  I do not see how to do this with the SPRadGrid...so I am thinking it must be done from scratch?
Tsvetoslav
Telerik team
 answered on 11 Sep 2012
4 answers
93 views
please check your demo  and just scroll your browser window 

then just try to resize the appointment, sometimes its not ready for resizing, sometimes its resize but after post back when we click on the resize icon of the appointment(Time > 11:00 AM to 12:30 PM) suddenly goes to its start time to starttime+15 minutes(modifies appnt time > 11:00 AM to 11:15 AM)...

scheduler have the main role in my application, but still its not working properly.. i already posted this problem many times, but still not get any response from your side,  we are still waiting for your completely working scheduler then only wish to buy.. so here we are just looking for some others who provide the scheduler like obout, componentOne etc etc.. 

expecting your immediate response.
Ivana
Telerik team
 answered on 11 Sep 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?