Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
244 views

I have set up a fairly complex notification system that is working pretty well... except for one small problem, whenever the update interval fires(with or without a notification to display) it interrupts the user.  For example if you are typing into a text box and the update fires as you are typing, the typing either stops and then catches up in dumber controls, or is lost all together in controls like the RadEditor.  In other words it is not firing asynchronously, it seems to freeze the browser as it calls the NotificationUpdate (server side) method.  I have ajax timers in other places that don't seem to have this behavior and thought this should behave the same way.

 

The Notification is in the Master page (see control below), I have tried registering it in various ways with the Script/Ajax manager however it does not seem to make a difference... but I feel like maybe I am missing something there?  What is the correct way to set this up so that it does not interrupt page load?

 

I think I amdoing the same thing as the demo here: http://demos.telerik.com/aspnet-ajax/notification/examples/updateinterval/defaultcs.aspx

except I can't really tell if it has the same behavior as there is nothing to type into there, and I am also doing more on the server side that would be taking longer.

 

<telerik:RadNotification ID="rnNotice" ShowCloseButton="false" runat="server" Skin="Black" LoadContentOn="TimeInterval" EnableRoundedCorners="true" EnableShadow="true" OnCallbackUpdate="NotificationUpdate" UpdateInterval="3500" Title="Notification" onclientupdated="OnClientUpdated" Font-Strikeout="False" Opacity="95"  AutoCloseDelay="0" TitleIcon="App_Themes/Blue/Images/bell.png">
      <ContentTemplate >
          
        <div class="NoticeBody"><asp:Literal ID="lMessage" runat="server"></asp:Literal></div>
          <telerik:RadButton ID="rbDismiss" runat="server" Text="Dismiss" OnClick="rbDismiss_Click" SingleClick="true" SingleClickText="Dismissing Notice(s)...">
              <Icon PrimaryIconCssClass="rbRemove" />
          </telerik:RadButton>
      
    </ContentTemplate>
</telerik:RadNotification>
Ianko
Telerik team
 answered on 16 Jan 2017
3 answers
217 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
359 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
198 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
298 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
437 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
268 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
164 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
492 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
231 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?