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

Dear Support,

I am using the RadSpell control and linking it to a RadTextbox. That part works great.

<telerik:RadSpell RenderMode="Lightweight" Skin="Metro" ID="RadSpell1" runat="server" ButtonType="ImageButton" ControlToCheck="txtDescription" SpellCheckProvider="PhoneticProvider" SupportedLanguages="en-US,English" OnClientDialogClosed="SpellCheckDone" />

However, the font size and font name (Times Roman) in the popup dialog do not match the rest of my screen. I've tried setting the CssClass for the control, the font name and font size properties, and everything else I can think of but with no success. Can you provide a CSS example (or other mechanism) by which I can set the font and font size of the labels and buttons within the dialog. I attached a screenshot with arrows pointing to the text components I am referring to.

Thanks,

Mike

michael
Top achievements
Rank 1
 answered on 10 Feb 2017
1 answer
74 views

Hi,

I'm trying to add a event to a RadPanelBar control in a external js file. But it dosen't work. "Event not found/not known"

In ASPX File:

<script type="text/javascript" src="../Docs.js"></script>

<telerik:RadPanelBar ID="pbResult" ClientID="pbResult" runat="server" ExpandMode="SingleExpandedItem" RenderMode="Lightweight" AllowCollapseAllItems="True" Width="600px" OnItemClick="pbResult_OnItemClick" OnItemDataBound="pbResult_OnItemDataBound" Skin="DOCS" EnableEmbeddedSkins="false"></telerik:RadPanelBar>

 

External JS File:

require(['jquery'], function () {

     $("[ClientID='pbResult']").itemClicked(function () {
     ShowLoadingDialog();
     });

});

I also tryed add_itemClicked method but also not working

Thomas
Top achievements
Rank 1
 answered on 10 Feb 2017
2 answers
200 views

I am attempting to determine the JQuery version and JQuery UI version that is used in Web UI 2013.3.1114.

Vessy
Telerik team
 answered on 10 Feb 2017
18 answers
454 views
when i run the upgrade wizard within VS 2010

i get this error that affects the upgrade

The item .... \BusinessLogic\web.config could not be found in your workspace, or you do not have permission to access it.

the upgrade wizard also shows 3 warnings...

Assembly Reference "C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q1 2012\Bin40\Telerik.Web.UI.dll" was not updated properly. This usually happens in Visual Studio 2010 when an assembly exists both in the GAC and in a local folder. Please, use the GAC reference instead.

how do i find the GAC reference? and use it where? replace my existing references in source and businesslogic with the dll in GAC?

michael
Top achievements
Rank 1
 answered on 09 Feb 2017
1 answer
93 views

Is there anyway in JavaScript to Show/Hide the RadMenu as a whole?  I've been looking in the documentation and I can't find anything.  

(.set_visible does not seem to work.)

Boris
Top achievements
Rank 1
 answered on 09 Feb 2017
1 answer
211 views

In ItemDataBound I do this:

Private Sub grdSummary_ItemDataBound(sender As Object, e As GridItemEventArgs) Handles grdSummary.ItemDataBound         '**************     

    For Each item As GridHeaderItem In grdSummary.MasterTableView.GetItems(GridItemType.Header)                 

               For intLcv = 2 To item.Cells.Count - 1                     

                   If IsDate(item.Cells(intLcv).Text) And Not item.Cells(intLcv).Text.Contains(vbCrLf) Then                      

                       item.Cells(intLcv).Text = item.Cells(intLcv).Text & vbCrLf & CDate(item.Cells(intLcv).Text).ToString("ddd").ToString                     

                    End If                 

              Next             
     Next

End Sub

 

The problem is the Date and day are right next to each other.  I need about 1-2 px between

Is there any way to do this?  I have attached a screen shot.

Mark
Top achievements
Rank 1
 answered on 09 Feb 2017
10 answers
730 views
Is there a way to customize the buttons on the bottom command area?  It seems like you can with the WinForms version but not the ASP.NET Ajax version.  We'd like to add our own buttons into the process (such as 'Skip Step' which will move forward without saving as opposed to 'Next' which would save and move forward).
Peter Milchev
Telerik team
 answered on 09 Feb 2017
0 answers
120 views

Hello,

I have a grid in batch edit/cell mode, and everything works.

My problem is that one of the fields is very large - potentially two or three paragraphs of text. I'd like to move this onto it's own row, if possible. I've tried using a radtextbox within a NestedViewTemplate and DetailItemTemplate, and I can get the data to display in both, but I can't figure out how to include it in batch saves. <%#Bind("FieldName")%> doesn't work. 

What would be the best way to accomplish this?

Here's a sample of what I have:

<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticUpdates="true" AutoGenerateColumns="false" DataSourceID="DataSource1">
     <MasterTableView CommandItemDisplay="TopAndBottom" DataKeyNames="ItemNumber" EditMode="Batch" AutoGenerateColumns="false" 
        DataSourceID="DataSource1">
        <BatchEditingSettings EditType="Cell" HighlightDeletedRows="true" />
        <NestedViewTemplate>
             <telerik:RadTextBox ID="txtDesc" runat="server" Text='<%#Bind("Desc")%>' />
         </NestedViewTemplate>
         <Columns>
             <telerik:GridBoundColumn UniqueName="ItemNumber" DataField="ItemNumber" HeaderText="Item Number" />
         </Columns>
     </MasterTableView>
 </telerik:RadGrid>
 <asp:SqlDataSource runat="server" ID="DataSource1" ConnectionString="(ConnectionString)" ConflictDetection="OverwriteChanges"
     SelectCommand="SELECT * FROM [Table]"
     InsertCommand="INSERT INTO [Table] ([Name], [Desc]) VALUES (@Name, @Desc)"
     UpdateCommand="UPDATE [Table] SET [Name]=@Name, [Desc]=@Desc WHERE [ItemNumber]=@ItemNumber">
     <InsertParameters>
         <asp:Parameter Name="Name" Type="String" />
         <asp:Parameter Name="Desc" Type="String" />
     </InsertParameters>
     <UpdateParameters>
         <asp:Parameter Name="Name" Type="String" />
         <asp:Parameter Name="Desc" Type="String" />
         <asp:Parameter Name="ItemNumber" Type="Int32" />
     </UpdateParameters>
 </asp:SqlDataSource>
josh
Top achievements
Rank 1
 asked on 09 Feb 2017
7 answers
254 views

Is there a way to specify the height when in inline mode?  That is, a fixed height?

 

<telerik:RadEditor ID="RadEditor1" runat="server" Height="100px" EditType="Inline"></telerik:RadEditor>

 

I'm using Inline mode in order to subscribe to OnClientInlineEditCompleted to cause a postback when the user changes the value of the control.

Rumen
Telerik team
 answered on 09 Feb 2017
11 answers
314 views
hi,

I am trying to extract the info of an attribute once the drop action is done.

I tried doing "var selectedStaffID = scheduler.getAppointmentFromDomElement(htmlElement).get_attributes("StaffID");"
However, that didn't help me.
How can i get the data of the scheduler's attribute on a spot where the appointment is dropped ?
thank you
01.function rowDropping(sender, eventArgs) {
02.                    // Fired when the user drops a grid row
03.                    var htmlElement = eventArgs.get_destinationHtmlElement();
04.                    var scheduler = $find('<%= RadScheduler2.ClientID %>');
05. 
06.                    if (isPartOfSchedulerAppointmentArea(htmlElement)) {
07.                         
08.                        // The row was dropped over the scheduler appointment area
09.                        // Find the exact time slot and save its unique index in the hidden field
10.                        var timeSlot;
11.                        //var selectedStaffID = scheduler.getAppointmentFromDomElement(htmlElement).get_attributes("StaffID");
12.                        //alert(selectedStaffID);
13.                        if ($telerik.$(htmlElement).parents(".rsApt").length != 0)
14.                            timeSlot = scheduler.getAppointmentFromDomElement(htmlElement).get_timeSlot();
15.                        else
16.                            timeSlot = scheduler._activeModel.getTimeSlotFromDomElement(htmlElement);
17.                        $get("<%=TargetSlotHiddenField.ClientID %>").value = timeSlot.get_index();
18. 
19.                        // The HTML needs to be set in order for the postback to execute normally
20.                        eventArgs.set_destinationHtmlElement("<%=TargetSlotHiddenField.ClientID %>");
21.                    }
22.                    else {
23.                         
24.                        // The node was dropped elsewhere on the document
25.                        eventArgs.set_cancel(true);
26.                    }
27.                }
Vessy
Telerik team
 answered on 09 Feb 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?