Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
184 views
I have a RadGrid that groups data based on a column's value, and would like the user to not be allowed to expand/collapse that group (I'm essentially grouping only so I can have a group title).  My RadGrid is defined as follows:

<!-- RadGrid for Articles --> 
<telerik:RadGrid runat="server" ID="rgArticles" AutoGenerateColumns="false" AllowSorting="false" GroupingEnabled="true">  
    <MasterTableView ShowHeader="false">  
      
        <%-- Columns --%> 
        <Columns> 
            <%-- Title --%> 
            <telerik:GridTemplateColumn> 
                <ItemTemplate><a href="<%#Eval("EditionLocation")%>" title="<%#Eval("Summary")%>" target="_blank"><%#Eval("Title")%> (p<%#Eval("EditionPages")%>)</a></ItemTemplate>  
            </telerik:GridTemplateColumn> 
        </Columns> 
          
        <%-- GroupByExpressions --%> 
        <GroupByExpressions> 
            <telerik:GridGroupByExpression> 
                <SelectFields> 
                    <telerik:GridGroupByField FieldName="Edition" HeaderValueSeparator="Edition: " HeaderText="<%=String.Empty %>" /> 
                </SelectFields> 
                <GroupByFields> 
                    <telerik:GridGroupByField FieldName="Edition" /> 
                </GroupByFields> 
            </telerik:GridGroupByExpression> 
        </GroupByExpressions> 
          
    </MasterTableView> 
</telerik:RadGrid> 

How can I make this work?  Thank you!
Mati
Top achievements
Rank 1
 answered on 14 Jan 2017
1 answer
335 views

Hi,

    Is there any possibility of exporting the radgrid to JSON file. If yes please let me know how to do it. Thanks in advance.

Daniel
Telerik team
 answered on 13 Jan 2017
1 answer
175 views

Hi Telerik Team.

I'm using Telerik.Web.UI.2014.2.618.40 in my web application, and i have encountered a problem in chrome (and FF).

I'm using the RadEditor in some of my pages, when I open the document manager, then press the '+Upload' button in the toolbar,

in the popup (or modal) with the title 'Upload' the Select button doesn't respond (in chrome and FF, in IE it works great).

after opening the developers tools, I've found out that the file input which is hidden behind the select button and the text input of the file (if I understand correctly) is not wide enough, meaning, the file explorer opens only when i press the textbox input (becuase the file input is behind it) but when i press the select button (which the file input is not behind) nothing happens. I'/ve tried overriding the css and set the file input (it's class is ruFileInput) width to 100% without any success. I did override the css of the document manager popup itself using !important in my view in style tags, but when i did the same thing to the css classes in the file upload popup it changed nothing.

the css code i used:

input.ruFileInput {width: 100%}

to sum up, i'm not able to override the css of the file upload popup

the code for the radEditor

<telerik:RadEditor runat="server" Skin="MetroTouch" ToolsFile="~/*.xml" NewLineMode="Br"
                                                    StripFormattingOptions="MSWordRemoveAll,Css,Font,Span,ConvertWordLists"
                                                    Height="475px" Content='<%#Bind("*") %>'>
                                                    <DocumentManager UploadPaths="~/Files/Announcement"
                                                        DeletePaths="~/Files/Announcement"
                                                        ViewPaths="~/Files/Announcement"
                                                        EnableAsyncUpload="True" MaxUploadFileSize="10485760"></DocumentManager>
                                                </telerik:RadEditor>

Viktor Tachev
Telerik team
 answered on 13 Jan 2017
3 answers
274 views

Hi,

 

For native ASP.Net checkbox de default cheked is False.

For radcheckbox I get an error EG this line:

 

pnl_AfwijkendAfleveradres.Visible = chk_othershipping.Checked

ERROR

Nullable object must have a value.

 

Marc

Rumen
Telerik team
 answered on 13 Jan 2017
1 answer
408 views

Recent upgrade to Telerik.Web.UI runtime version v4.0.30319 started throwing error  "The base class includes the field 'RadCodeBlock1', but its type (Telerik.Web.UI.RadCodeBlock) is not compatible with the type of control (Telerik.Web.UI.RadCodeBlock)."

We also tried the Toolbox to verify the RadCodeblock and it exist. Are there any changes required to execute this during runtime?

 

 

Viktor Tachev
Telerik team
 answered on 13 Jan 2017
1 answer
246 views

On our page we have many RadNumericTextboxes.  I know we can use the 
IncrementSettings-InterceptMouseWheel="false" setting on an individual control.  I'd like to make that the default for all of them on the page.  I attempted to use this

$('.riTextBox').bind('mousewheel DOMMouseScroll', function (e) { e.preventDefault(); alert('abort');return false;});

I get my alert box so I know that the code is finding the correct controls, but it's not bypassing the mousewheel event.

 

 

The issue is that we have many developers working on this project and we don't want to have to remember to set the IncrementSettings-InterceptMouseWheel="false" flag every time that we add a new control.  It would be great if we could just tell all of them to diable it.  Is there another way to do this?

Viktor Tachev
Telerik team
 answered on 13 Jan 2017
1 answer
146 views

I am trying to use a RadDatePicker and when an invalid date is entered only part of the box is actually highlighted in red and the "apostrophe" icon is missing altogether. I am using the Bootstrap skin (applied in web.config). I tried removing the RequiredFieldValidator to make sure the CSS wasn't messing it up but that did not solve the problem. The demo from Telerik seems to work great with this skin. Any help would be appreciated. I have attached the demo screen shot from Telerik and from my page.

 

<div class="row">
     <div class="col-md-6">
         <asp:Label ID="lblEffDate" runat="server" Text="Effective Date:" CssClass="text-muted vendor-label-85"></asp:Label>
    </div>
</div>
        <div class="row">
            <div class="col-md-6">
                <telerik:RadDatePicker ID="rdpEffectiveDate" runat="server" Width="50%"></telerik:RadDatePicker>
                <asp:RequiredFieldValidator ID="rfvEffDate" runat="server" Display="Dynamic"
                    Font-Size=".75em"
                    Font-Italic="true"
                    ErrorMessage="* required" 
                    ForeColor="#F04124"
                    ControlToValidate="rdpEffectiveDate" ValidationGroup="NewItemValidation">
                </asp:RequiredFieldValidator>
            </div>
        </div>

Viktor Tachev
Telerik team
 answered on 13 Jan 2017
7 answers
457 views

Hi Every Body,

 I have made a custom theme with the link Telerik theme builder and downloaded Zip file. Then i have created one webpage in asp.net and imported css file of radcombobox. I changed the setting of Enableembeddedskins to false and rendermode to lightweight. but the downloaded theme is not working. Please guide me in this regard. I am using telerik controls Q1 2014.

 

Screen shot attached

Ivan Danchev
Telerik team
 answered on 13 Jan 2017
2 answers
194 views

Hi Support,

 

I'm looking for Telerik_UI_for_ASP.NET_AJAX_2014_2_724_Dev.msi to install it on my new PC.  Our license has expired but we were licensed at the time and I need that version to build some of my projects.  The latest I can get is 2014.2.423.40.

 

Please advise.

 

Thanks,

 

Kyle

Seth
Telerik team
 answered on 13 Jan 2017
3 answers
167 views

Hi,

 

So I am upgrading the UI of an old product that has a combination of Webcontrols and Web.UI controls. I plan to bring the older controls up to date but need to keep support and CSS for the older controls in place. 

The older controls use a combination of skins and lots of bad css. 

I will be using theme builder to create a custom skin and using lightweight rendering and EnableEmbeddedSkins="False" for new controls. 

I have done one control so far and I am getting issues with the embedded skins overwriting my new skin using the WebResources.axd

I know I can use important to override but that's a very bad approach, especially on a large project... Is there a good approach to increase the specificity for the new skin files so all their properties are applied over the existing base properties where applicable.

I was thinking of using an ID to prefix all new skin selectors with and wrapping each updated control  in a div of that id.. not 100% this is a good approach though.

eg..

#newControls .RadGrid_MyMetro{ ... }

 

and then give updated controls a div wrapped around it with ID="newControls" or something like that.

1. will this work throughout the project

2. Are there better approaches?

 

Thanks

Magdalena
Telerik team
 answered on 13 Jan 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?