Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
161 views
Hello,

I'm trying to write an automated test to drive an ASP.NET web app that includes a RadDatePicker control.  I don't really need to drive the date-selection pop-up - I'd be happy with being able to enter the date into the input field.  However, although I can "type" the text into the input field, it would appear that the date isn't really being set in the control, and nothing is being posted back to the server.

I wondered if there was a "trick" I needed to use (like there is for selection from a combo box for example: http://www.telerik.com/community/forums/aspnet/combobox/select-value-in-telerik-combo-box.aspx)

I'm using WatIn, although I imagine a Selenium user would have the same issue.

Can you help?

Thanks!

John
David
Top achievements
Rank 1
 answered on 29 Oct 2013
7 answers
226 views
I have a radrating control in a radgrid to evaluate a series of questions.  In that series of questions are Yes/No questions and those that have at least 3 options for evaluation values.  My question: Is there a way to change the set of evaluation items in the radrating control based on whether the question is a Yes/No question or the other type?  I have a column in the radgrid that indicates the question type.  I also added two separate items in the radrating control with different numbers of rating items.  One set to Yes/No and the other with the other set of selections.  Is there a way to make change the visible property of one of these items to false when the radgrid is populated based on the question type?
John
Top achievements
Rank 1
 answered on 29 Oct 2013
1 answer
44 views
I am using a form with a radUpload and url of the file is stored in the table. Everyting works fine when I am not uploading a file and other information gets stored in table normally.

But when I try to Upload a file, it cause a strange error. (Screenshot attached). Though file gets uploaded in the folder but url and other information doesn't get stored in sql table.
Hristo Valyavicharski
Telerik team
 answered on 29 Oct 2013
1 answer
88 views
We have Q2 2013 of telerik controls we cant upgrade at this stage but is their anyway of making the menu work on mobile devices by that I mean collapse into a small version that can work with sublevels and be visible on tablet device we are converting a existing full screen web application to a responsive design.
Ivan Zhekov
Telerik team
 answered on 29 Oct 2013
7 answers
409 views
I've spent days on this and want to see if anyone else has seen this problem.

I have a tabstrip and multipage.  Tabs and related page views are loaded dynamically.  That functionality seems to work flawlessly, until I introduce tabs/pages with RadGrid and RadListView.

Each RadGrid and the one RadListView have Add/Edit/Delete functionality.  I can run through the tabs/pageViews with RadGrids on them and do everything I need to do without issues.  However, when I click on to the tab/pageview which has the RadListView, then click back to any of the tabs with RadGrid, and try to add/edit/delete, I see a blank pageview (the rmpHiddenView class is applied on the pageview).

Again, if I stay off the tab with the RadListView, everything works great.  But right after I click the tab with the RadListView and try to do anything with a RadGrid on another tab, I get the blank page.

I've attached a JPEG of screen shots. FWIW all of this takes place within a RadWindow.

Has anybody ever run in to anything like this?  I'd rather not get rid of the RadListView of course.

Thank you in advance!

Kevin


Kevin F
Top achievements
Rank 1
 answered on 29 Oct 2013
7 answers
232 views
I have upgraded to the VS 2013 and Radcontrols version 2013.3 1015.  Now when selecting a tab it does not change to the PageView specified by the PageViewID.
 
I used this code which is part of Telerik help to test with and got the same result.
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Test.aspx.vb" Inherits="eNotice.Test" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
    <div>
           <telerik:RadTabStrip ID="RadTabStrip2" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage1" skin="Outlook" CssClass="NoBg">
 <Tabs>
   <telerik:RadTab runat="server" Text="Root RadTab1" PageViewID="PageView1">
   </telerik:RadTab>
   <telerik:RadTab runat="server" Text="Root RadTab2" PageViewID="PageView2">
   </telerik:RadTab>
   <telerik:RadTab runat="server" Text="Root RadTab3" PageViewID="PageView3">
   </telerik:RadTab>
 </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage id="RadMultiPage2" runat="server" SelectedIndex="0" Width="400">
  <telerik:RadPageView id="PageView1" runat="server">
      Name: John Smith<br />
      Birthday: October 20th 1976<br />
      Marital Status: Single
      <br />
  </telerik:RadPageView>
  <telerik:RadPageView id="PageView2" runat="server">
      ...
      Content of the Pageview2
      ...
  </telerik:RadPageView>
  <telerik:RadPageView id="PageView3" runat="server" ContentUrl="http://www.telerik.com">
      This text is never shown
  </telerik:RadPageView>
</telerik:RadMultiPage>
    </div>
    </form>
</body>
</html>
Tina
Top achievements
Rank 2
 answered on 29 Oct 2013
1 answer
127 views
I have an open ticket but so far, no solution. I've confirmed that the start time and end time are reversed upon validating for the appointment insert. I'm using Q1 2013 and I have to use IE 9. Please see the link below for reference:
http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=752311
If I select a start time after the end time, the exception is thrown as expected. If I select a start time earlier than the end time, I get a run time exception.

As far as I know, this validation can't be overriden or bypassed (a bad idea in my opinion).

Does anyone have a solution? I'm using a SqlDataSource and a master page as well.

<telerik:RadScheduler ID="RadScheduler1" runat="server" DataSourceID="SDS_TimeAway"
        DataEndField="Start" DataKeyField="pkid" DataStartField="End" DataSubjectField="Subject"
        DataDescriptionField="Description" DataRecurrenceField="RecurrenceRule"
        DataRecurrenceParentKeyField="RecurrenceParentID" SelectedView="MonthView"
        StartInsertingInAdvancedForm="True" 
        StartEditingInAdvancedForm="true"
        OverflowBehavior="Expand"
        AdvancedForm-Modal="true"
        DisplayRecurrenceActionDialogOnMove="True"
        EnableCustomAttributeEditing="True"
        OnAppointmentInsert="test">
    <TimelineView UserSelectable="False" />
</telerik:RadScheduler>
Matt
Top achievements
Rank 1
 answered on 29 Oct 2013
2 answers
96 views
I am binding the RadGrid with the List of  QuestionManager Object as shown below: 

public class QuestionManager
{
        public FormType FormType { get; set; }
        public Form Form { get; set; }
        public Question Question { get; set; }
}

Question object futher has a property of List<Choice>.

public class Question
{
public int QuestionId{get;set;}
public string QuestionNumber{get;set;}
public List<Choice> ChoiceList{get;set;}}



I am using a stored procedure that gets all the data and so no round trip is required.

The grid shows the FormType,FormName and Question # column.

When the edit button on each question is clicked,I need to populate all data and control available in List<Choice> Object of the respective question.

To achieve this what should I use FormTemplate or NestedViewTemplate?

Is there a way where I can iterate the List<Choice> in markup in a loop?

How should I get the List<Choice> for each question?I dont want to hit the DB again as it will be expensive.

Is there any place in grid to store the List<Choice> collection so that I need not have to hit the DB?

Any help will be appreciated !!!!.
Angel Petrov
Telerik team
 answered on 29 Oct 2013
4 answers
176 views

Hi

Using a Multicolumn Combobox with OpenAccess and trying to insert a blank item - as need to
 have the option of not selecting any item from the list - tried various solutions/posts with no success - code for combobox as below

 

<telerik:RadComboBox runat="server" ID="RadComboBox1" Height="190px" Width="100%"
 
    MarkFirstMatch="true" DataSourceID="OpenAccessLinqDataSource1" EnableLoadOnDemand="true"
 
    HighlightTemplatedItems="true" DataValueField="PartID" DataTextField="PartNumber"
 
    AppendDataBoundItems="True" SelectedValue='<%# Bind("PartID") %>' ItemsPerRequest="10"
 
    EnableVirtualScrolling="True" Filter="Contains" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged"
 
    AutoPostBack="True">
 
    <HeaderTemplate>
 
        <ul>
 
            <li class="col1">Part Number</li>
 
            <li class="col2">Part Description</li>
 
        </ul>
 
    </HeaderTemplate>
 
    <ItemTemplate>
 
        <ul>
 
            <li class="col1">
 
                <%# DataBinder.Eval(Container.DataItem, "PartNumber")%>
 
            </li>
 
            <li class="col2">
 
                <%# DataBinder.Eval(Container.DataItem, "PartDescription")%></li>
 
        </ul>
 
    </ItemTemplate>
 
</telerik:RadComboBox>

Tried online demo http://www.telerik.com/help/aspnet-ajax/combobox-insert-default-item-when-databinding.html 

 Thanks

 

Calsh
Top achievements
Rank 1
 answered on 29 Oct 2013
10 answers
177 views
When testing our new web site in Chrome we found that the EmptyMessage is not clearing when the field is auto filled with information. We have an email field and a password field on a profile page and these fields are being auto filled. The problem is that the EmptyMessage in each of these fields are not cleared.

Server:
Windows 2008 R2
IIS7.5

Site:
.Net 4.5
Telerik.Web.UI 2012.3.1016.45

Environment:
Windows 8
Chrome 23.0.1271.64
Andrew
Top achievements
Rank 1
 answered on 29 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?