Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
418 views

I really don't know this question belongs to this category. But I think this will be most suitable place for this question.

Here is my situation.

I am making a dynamic form with a help of this article article.

Here you can see it use kendo template . 

      <script id="fieldsTemplate" type="text/x-kendo-template">
            <li>
                 <label data-bind="attr: { for: name}, text: label"></label>
                 <input data-bind="attr: { type: type, name: name, class: css}" # if (get("required")) {# required #} # />
           </li>
      </script>

 

After form generated this form is just use HTML5 make the form. It does't have kendo attribute. for a example if I bound data-role attribute and value is numerictextbox It doesn't give me a numeric text box(Think  its' type is number). It doesn't have those properties.( if I type a number it doesn't show the default decimal point. It only shows that number.)

But in this example says if we add data-role attribute and value as numerictextbox it will be a numeric text box.

But in documentation or in this , it seems I have to call kendoNumericTextBox method to make a numeric text box.

Even I try to add this code to template but it doesn't work(Please assume that I add this correctly with this ).

 

          $("#mytextboxid").kendoNumericTextBox();​

 

So what option do I left ??
Thank you very much.

Rasika
Top achievements
Rank 1
 asked on 07 Sep 2015
1 answer
82 views
Hi, 

We've had a bug come back from UAT that the Edit Appointment menu has no Save and Cancel button. I've just tested this on an iPhone 6 and it's true, on small screens the edit appointment popup has no save and cancel. I also tested your demo, is there a work around / plans to fix this in the near future?
Dimitar
Telerik team
 answered on 07 Sep 2015
1 answer
72 views

Hi,

I have one appointment for two time slots on same day for example

Subject : Appointment 1

Id : 1218

Start time : 8 AM

Date : 09/03/2015

Subject : Appointment 1
Id : 1218
Start time : 11 AM

Date : 09/03/2015

when I try to delete 11 AM appointment, scheduler is deleting 8 AM appointment. Even in AppointmentDelete event am getting start time as 8 AM.

Can any one please help me out to resolve this issue. 

Regards,

Maddela

 

 

Plamen
Telerik team
 answered on 07 Sep 2015
1 answer
86 views

I'm using the scheduler with webservice databinding.

Is it possible to enable the context menu for some appointments, but not for all? If so, how could that be accomplished?

Plamen
Telerik team
 answered on 07 Sep 2015
2 answers
103 views
Here I add custom validation. Here is the code. But it don't give error message.
What should I do for it ??
Rasika
Top achievements
Rank 1
 answered on 07 Sep 2015
2 answers
202 views

RadImageGallery is not  displaying any image. 

<telerik:RadImageGallery ID="rigRMA" runat="server" OnNeedDataSource="rigRMA_NeedDataSource" DataImageField="FILE_PATH" DataThumbnailField="FILE_PATH" DataKeyNames="FILE_PATH" Visible="false"
              DataTitleField="FILE_NAME" Width="647px" Height="480px" LoopItems="true">
              <ThumbnailsAreaSettings ThumbnailWidth="120px" ThumbnailHeight="80px" Height="80px" />
              <ImageAreaSettings Height="400px" />
              </telerik:RadI
protected void rigRMA_NeedDataSource(object sender, ImageGalleryNeedDataSourceEventArgs e)
    {
           rigRMA.DataImageField = "FILE_PATH";
            rigRMA.DataSource = GetView();
}
mageGallery
>

Atif
Top achievements
Rank 1
 answered on 05 Sep 2015
5 answers
828 views

I have a RadGrid that is bound to a SQL database.  On the select statement I generate a column that is not in the table.  "SELECT '-' as [CheckBox] ...".  I then use the ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) event on the RadGrid to add a column of check boxes (one on each row).  The user selects certain check boxes (specifying a row) and presses a submit button.  How can I read what rows were selected?  

I do not use the information to update the database.  The database is used for management and does not change.  If I can't read the selection is there a different way to do this?  Using a RadGrid is just so nice so I would like to keep using that, but I don't need to bind it to a database.  

 

Thanks,
 Scott

Viktor Tachev
Telerik team
 answered on 04 Sep 2015
3 answers
271 views

Hello,
I've been working with radgrids lately and they are working very inconsistently for me. 
Here is my latest grid:

 [CODE]          <telerik:RadGrid ID="PermissionsGrid" runat="server" AllowPaging="True"              CellSpacing="0" GridLines="None" AutoGenerateColumns="false" OnPageSizeChanged="PermissionsGrid_PageSizeChanged"             OnPageIndexChanged="PermissionsGrid_PageIndexChanged" OnNeedDataSource="PermissionsGrid_OnNeedDataSource"             EnableLinqExpressions="False" Skin="Tabbed" EnableEmbeddedSkins="False" AllowCustomPaging="True"             OnPreRender="PermissionsGrid_PreRender" OnInit="PermissionsGrid_Init">             <ClientSettings>                 <Selecting AllowRowSelect="false"></Selecting>                 <Scrolling AllowScroll="True" UseStaticHeaders="true"></Scrolling>                 <Resizing AllowColumnResize="True" />             </ClientSettings>  [/CODE]

However the pageindexchanged event was not fiiring, therefore I added rebind on postback, which then fired onneeddatasource which made the page index changed event fire only then, which was very weird, as well it only worked if i did databind on the radgrid once again (rebind was not working).
Now I am having problem with PageSizeChanged event, was not inteding to put it, but it is not working for me at all. However this time it's neither fiiring even after rebinding on postback and I cant seem to find why.  

Init and prerender are only for nestedViewTemplate purposes, therefore there is nothing interesting there.

I am using one of the newer telerik controls (2015.2.623.35)

As well as the pager dissapears even if I set pager style on mastertableview as always visible, on in the grid itself and even in the code, it does not intend to stay even with all this code on its back. I am out of ideas and I need help with this.

Viktor Tachev
Telerik team
 answered on 04 Sep 2015
1 answer
128 views

I love the look of the mobile version of radgrid paging so I want to use it regardless if the client is on a desktop. I don't want to use the "auto" render mode.

In the header I have the following Javascript which works correctly if RenderMode=Mobile is NOT set:

 

<script type="text/javascript">
 
        function CheckAll(checkAllBox, checkboxName, allcheckboxName) {
 
            //var frm = document.form1;
            var frm = document.getElementById('form1');
            var ChkState = checkAllBox.checked;
 
            for (i = 0; i < frm.length; i++) {
                e = frm.elements[i];
                if (e.type == 'checkbox' && e.name.indexOf(checkboxName) != -1)
                    e.checked = ChkState;
            }
 
        }
 
     </script>

 

A simple radgrid I created on a new webform clean of any of my own javascript and css:

<telerik:RadScriptManager ID="RadScriptManager1" Runat="server"></telerik:RadScriptManager>
 
    <telerik:RadGrid BorderStyle="None" Width="100%"  ID="dgrTestGrid"   runat="server" AllowPaging="True" AllowSorting="True"  AutoGenerateColumns="False"  GridLines="None" PageSize="20" RenderMode="Mobile"  >
                       <pagerStyle Mode="NextPrevNumericAndAdvanced"  />
                        
                       <MastertableView EnableNoRecordsTemplate="True" >
                            <Columns>      
                                
                <telerik:GridTemplateColumn   UniqueName="TemplateColumn">
                    
                       <ItemStyle HorizontalAlign="Center" CssClass="TableBodyLight"></ItemStyle>
                       <HeaderTemplate>
                            <asp:CheckBox ID="ckbSelectAll" runat="server"  />
                       </HeaderTemplate>
 
                       <ItemTemplate>
                           <asp:CheckBox ID="ckbSelect" runat="server" />
                            
                       </ItemTemplate>
               </telerik:GridTemplateColumn>
 
             
            
                           </Columns>
 
                             <NoRecordsTemplate>
                               <div class="NoRecords">You have no Records.</div>
                            </NoRecordsTemplate>
 
                        </MastertableView>
   

 

                   </telerik:RadGrid>

 

 Bind your own data to this and you'll see what I mean. You can't check the checkbox in the header (you can but it doesn't toggle the checkboxes in the rows).

 Any suggestions on how to set the pager to be mobile and have the check all functionality (without ajax.. I want it to be client side) other than just recreating the look with a custom pager or going with a simple ASP datagrid (which defeats the purpose of me using Radcontrols in the first place).

 

 

 

 

Viktor Tachev
Telerik team
 answered on 04 Sep 2015
3 answers
131 views

Hello

As the classic telerik controls are no more supported by telerik I try my luck here...

The problem occurs with a user control that dynamically creates a dialog
using some RadComboBox (version V2.8.8) controls. The problem occurs only when there are
items with umlaut (eg. 'Enhält') in the drop down box.

Is this issue known and is there a workaround for this? As for now we suggest to our customer to use another browser.

Here you find a working project demonstrating the issue with IE 11: http://www.filedropper.com/webcontrols-manualtests
There is also video and a word document showing the result in IE (not working) and firefox (working as expected).

Changing the code to use the latest telerik controls would be also an option, but I didn't manage to convert the code.

Hope someone can help!

Regards,
Tonino.

Tonino
Top achievements
Rank 1
 answered on 04 Sep 2015
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?