Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
177 views

We changed our skin from Metro to Glow.But the font size of Skin:Glow is larger than Metro, and its line height is higer as well. This has caused wrapping issue in our page. How do we change its font size and line width?

Thank you

Pavlina
Telerik team
 answered on 09 Apr 2015
1 answer
178 views

I am using the panel bar on a site that is for mobile devices and am experiencing  a problem with scrolling the screen when the expanded item completely fills the screen height. The panel has a width of 100% and a lot of controls in the content template which makes the height of the panel exceed the height of the screen. When this happens you can't swipe up or down to scroll the page when the only area visible is the item panel. Any idea on how to make swiping capture the page scroll bar so that scrolling works in this situation?

 

Thanks

Charles

Charles
Top achievements
Rank 1
 answered on 09 Apr 2015
7 answers
814 views
Hi,
dear all,

i have ready use control telerik RadTextBox and RadNumericTextBox ,
I want accept Only Number Using Javascript,
I have Followed thread
http://www.telerik.com/community/forums/aspnet-ajax/input/i-need-a-text-box-that-only-accepts-numbers.aspx
and 
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/radtextbox-need-to-be-restricted-only-for-integers.aspx

I am following that trick,
In IE is Fine and Work, But in FireFox is Not Work..

some body can help....
Kaos45
Top achievements
Rank 1
 answered on 09 Apr 2015
1 answer
113 views

HI There

I'm working with a Radgrid and I'm having an issue whereby a checkbox in a TemplateColumn's InsertItemTemplate section is not storing it's value in the DB.

The Textbox in another column is working fine, and I can go and edit the Row afterwards and select the checkbox if I wanted to, that works. But, on Insert, the checkbox's checked state is not stored in the DB.

 

Here are the 2 columns (first one works fine, the other doesn't):

<telerik:GridTemplateColumn Reorderable="true" UniqueName="TemplateColumn" FilterControlAltText="Filter TemplateColumn column" DataField="typeofhardware" SortExpression="typeofhardware">
             <HeaderTemplate>
                 <asp:LinkButton Text="Type of HW" ID="HWSortbutton" ToolTip="Click to Sort" CommandName="Sort" CommandArgument="typeofhardware" runat="server" />
             </HeaderTemplate>
 
             <ItemTemplate>
                 <asp:Label Text='<%# Bind("typeofhardware") %>' ID="lblTypeofHW" runat="server" />
             </ItemTemplate>
             <EditItemTemplate>
                 <table style="width: 100%">
                     <tr>
                         <td>
                             <asp:Label Text="Type of Hardware" runat="server" />
 
                         </td>
                         <td style="width: 25px;"></td>
                         <td>
                             <asp:TextBox runat="server" ID="txtTypeOfHardware" Width="100%" Text='<%# Bind("typeofhardware") %>' />
                         </td>
                     </tr>
                 </table>
 
             </EditItemTemplate>
             <InsertItemTemplate>
                 Type of Hardware:
                 <asp:TextBox runat="server" Text='<%# Bind("typeofhardware") %>' ID="txtTypeOfHardware" />
             </InsertItemTemplate>
         </telerik:GridTemplateColumn>
 
 
         <telerik:GridTemplateColumn Reorderable="true" DataType="System.Boolean" UniqueName="HidemeColumn" FilterCheckListEnableLoadOnDemand="false" DataField="hideme" SortExpression="hideme">
             <HeaderTemplate>
                 <asp:LinkButton Text="Hidden?" ID="HiddenSortbutton" ToolTip="Click to Sort" CommandName="Sort" CommandArgument="hideme" runat="server" />
             </HeaderTemplate>
             <ItemTemplate>
                 <asp:CheckBox Checked='<%# Bind("hideme") %>' Enabled="false" ID="chkHidden" runat="server" />
             </ItemTemplate>
             <EditItemTemplate>
                 Hidden?:
                 <asp:CheckBox ID="chkHidden" runat="server"  />
             </EditItemTemplate>
             <InsertItemTemplate>
                 Hidden?:
                 <asp:CheckBox   ID="chkHidden" runat="server" />
             </InsertItemTemplate>
             
         </telerik:GridTemplateColumn>

I've tried many things to solve this, firstly tried Binding the checked property of the checkbox in the InsertItemTemplate like this:

<asp:CheckBox Checked='<%# Bind("hideme") %>' ID="chkHidden" runat="server" />

That produces a cast error though.

Doing this doesn't cause any error:

 

<asp:CheckBox Checked='<%# DataBinder.Eval(Container.DataItem, "hideme") is DBNull ? false : Eval("hideme") %>' ID="chkHidden" runat="server" />

The problem is however that when I submit the Insert Form, the value of the checkbox is not stored in the DB. 

Any ideas?

Regards

JohannS

Johann
Top achievements
Rank 1
 answered on 09 Apr 2015
6 answers
1.3K+ views
Hi everybody,
I want display only years in RadDatePicker or RadDateTimePicker or RadMonthYearPicker same Image attach, please check image and help me
Thanks,

Javier
Top achievements
Rank 1
 answered on 09 Apr 2015
1 answer
81 views

Hi,

 We currently have a SP2010 farm and I have installed a new SP2013 test farm. Is there any documentation on specific Telerik Web Parts For SharePoint upgrade for this scenario, do I simply run the 2010 installer on the new farm or should I download the 2013 version instead? Some guidance would be appreciated

 We have premium support but thought I would try here first

Thanks in advance

Pavlina
Telerik team
 answered on 09 Apr 2015
1 answer
44 views

Hi,

 

I am trying to send Slider value to a textbox using AjaxManager. I want the value to be displayed in the textbox OnValueChanged. I do not want to use OnClientValueChanged as I want to use a codebehind method.

The issue is that the slider value is not updated consistently in the textbox every time I drag the slider handle. Sometimes it responds after two clicks or more and sometimes it starts working fine.

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
 
      <telerik:RadAjaxManager ID="RadSlider1" runat="server" EnableAJAX="True" >
           <AjaxSettings>
               
               <telerik:AjaxSetting AjaxControlID="DbgSlider1">
                   <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="Slider1Text" UpdatePanelRenderMode="Inline"></telerik:AjaxUpdatedControl >
                          </UpdatedControls>
                   </telerik:AjaxSetting>
                             </AjaxSettings>
       </telerik:RadAjaxManager>
 
 
<telerik:RadSlider runat="server" ID="DbgSlider1" Width="400px"
 
                        IsSelectionRangeEnabled="false" MinimumValue="0" MaximumValue="50000" Step="5000"
 
                        OnValueChanged="SetValue"
 
                        AutoPostBack="true" ShowDecreaseHandle="false" ShowIncreaseHandle="false" EnableDragRange="true"
 
                        EnableServerSideRendering="true" >
     
    </telerik:RadSlider>
   <dbg:DbgTextBox ID="Slider1Text" runat="server">
    </dbg:DbgTextBox>

Slav
Telerik team
 answered on 09 Apr 2015
1 answer
48 views

Hello,
My problem is that an appointment that covers multiple days is not displayed correctly in Week View (see WeekView.PNG) while it is displayed correctly in the Monthly View (see MonthView.PNG).
As you can see the appointment does not cover the entire box, does not cover all days for his duration and more is moved to the right. The code in both cases is the same.
For more information I have inspected the item and there is a margin-left which, I believe, has no reason to be there. Also witdh calculated element is obviously wrong (see InspectElement.PNG).
I tried everything, but nothing.
Many thanks for the support.

Andrea

Andrea
Top achievements
Rank 1
 answered on 09 Apr 2015
13 answers
354 views

Hi all,
I have a Rad grid with a column template like the following:

<telerik:GridTemplateColumn HeaderText="Actions" UniqueName="Actions">
 <ItemTemplate>
 <div class="sfBasicLangs">
  <asp:ImageButton runat="server" CommandName="delete" OnCommand="Delete" />
 </div>
</ItemTemplate>
</telerik:GridTemplateColumn>

the Delete method present in the OnCommand is never fired.... how can  have radGrid fire it.
I've already tried to enable viewstate on the grid

Thanks,
Mattia
bharath
Top achievements
Rank 1
 answered on 09 Apr 2015
6 answers
102 views
I am using a Rad grid to display some information where the checkboxes mark items and using a rad drop down you can pick you action and press a button. One of the items is to send a email to all the checked rows.

In the button click call back I enumerate the checked rows from the grid and put their emails together in a string buffer and then add script to execute the email on postback.
ClientScript.RegisterStartupScript(this.GetType(), "mailto",
 "<script type = 'text/javascript'>parent.location='mailto:" + emailToBuffer.ToString() + "'</script>") ;

The results in the line
<script type = 'text/javascript'>parent.location='mailto:dana@here.com; '</script>
to be put just in front of the all Telerik rad javascript code.

Somehow this innocent little line of javascript causes the master checkbox on the header line and the drop down to stop functioning. The parent.location is no where in the html except my email line.

I cannot figure out a solution to this problem, it feels like bug that Telerik objects would break so easily form a little self contained scripting. Perhaps another way to send email on a browser set on the server would get around the issue.

George
Viktor Tachev
Telerik team
 answered on 09 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?