Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
144 views
I am facing a strange problem with my selenium webdriver qa automation 
project. 

FindElementByXPath(element).Click(); seems to work fine when running it in my local machine but then does not work when i try to run the same code 
on test controller machine. Actually it runs fine when you see the tests running on the test controller machine and if you minimize the test controller window it fails the test. The application uses telerik rad grids. I have implemented a code to right click on grid header. After right clicking on the grid header i am supposed to click on Reset Columns from the context menu. But in this case FindElementByXPath(resetElement).Click(); does not work. It works 

when you view it but does not work when minimize the mstsc window.The error shown is Open.QA.Selenium.ElementNotVisibleException: Cannot 

click on element. It is able to find the element but can't click on it. 

How do I solve this ??

Madhu
Top achievements
Rank 1
 answered on 06 May 2013
2 answers
147 views
This is my ComboBox:

<telerik:RadComboBox ID="cmbLocationDCVL" runat="server" AutoPostBack="false" CheckBoxes="true"
    OnClientBlur="OnClientBlurHandler" Width="150" DropDownWidth="300px">
    <CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>

When I check two items, it should say "2 items checked" in the text field, but it shows nothing until another control forces a postback. the documentation I found does not specify that a postback is required for this functionality. Can someone please confirm that a postback is required? Other than this requirement, a postback isn't necessary, so I was hoping to avoid it.
Kim
Top achievements
Rank 1
 answered on 06 May 2013
4 answers
203 views
In my web application I have multiple RadTimePicker controls. The user will select a value in the first control, then based upon that value, I need to set the value of the second control to that value minus x minutes. I then need the popup for the second time picker to display in intervals of n minutes for the first full hour prior plus any increment up to the hour in the first control.

I don't need help writing the code, just understanding the underlying control so I can make this happen.

Scenario: (Interval is 5 minutes, minutes to subtract is 15 minutes) TimePicker1 - User selects 7:30am - TimePicker2 is filled in with the value of 7:15am - User selects TimePicker2, popup should display all possible times between 6:00am to 7:30am in 5 minute increments.

The user settings will eliminate most of the need to actually select a time in the seond time picker, but in the event a custom value is needed, they will have that option.

I know that I can set the values server-side, but because I cannot afford the round-trip with the volume of data being processed and because I cannot ajaxify a single control on a multipageview, I am left with client-side processing.

Is there any way to manage this using the constructs of the TimePicker client side object?
Keith
Top achievements
Rank 2
 answered on 06 May 2013
1 answer
67 views
Anybody help me?

when i change my css, editor change too :((

https://lh5.googleusercontent.com/-W438ARrW1dM/UYYHjq8EpyI/AAAAAAAAF5Y/bbrKnCY6Shw/s1600/www.Aloxovn.com-Untitled.png
Rumen
Telerik team
 answered on 06 May 2013
1 answer
591 views
I have a flat SQL table and i'm wondering if there is an easy way to use that data to populate a RadTreeView control. Currently I take the flat sql table and create a new sql table that is more tree structured, then i use the asp.net treeview with the loadondemand property. i'd like to move to using the RadTreeView control and use the flat sql table without having to create a new table.

Example data i have:
| id  |  company_name|  product |  ...
  1      company1     product1
  2      company1     product3
  3      company3     product1
  4      company2     product1
  5      company3     product2

Using a Select * FROM Tablename query can i possibly get that data into a radtreeview so it would look like below.

company1
  * product1
  * product3
company2
  * product1
company3
  * product1
  * product2


thanks
jason
Bozhidar
Telerik team
 answered on 06 May 2013
1 answer
121 views

 I have enabled  CdnSettings-TelerikCdn="Enabled" in RadStyleSheetManager which is used on sharepoint 2007  page

<telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" CdnSettings-TelerikCdn="Enabled" />

i get the follwoing css files loaded on the page . I want the following css to be combined to singel file  and load on the page . I have even enabled EnableStyleSheetCombine="true"  but that dint combine the css

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/Menu.css" type="text/css"

    rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/Outlook/Menu.Outlook.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/TabStrip.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/Default/TabStrip.Default.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/ListBox.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

<link href="http://aspnet-skins.telerikstatic.com/ajaxz/2009.3.1203/Hay/ListBox.Hay.css"

    type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

 

we have even other css to load on the page . it would be helpful if we can combine  aspnet-skins.telerikstatic.com CSS in single file. please help me in resolveing the issue

Rumen
Telerik team
 answered on 06 May 2013
1 answer
214 views
Hey all,

I would like to know, if it's possible to click on a node with an OnNodeClick attribute, but without a page reload.

My situation:
I have a treeview with multiple nodes and a label for some text.
Now I want to click on a node and my CodeBehind c#-code should work with the value of the node I clicked.
After it finished the work, I want to get a text in my label and the treeview should be at the same position as it was, when I clicked.

But when I click a node the page reloads. The CodeBehind, will be executed and my label shows different text, but my treeview is collapsed, because the paged reloaded.

So, is there any way to block the reload?

Greetz
Lucas
Bozhidar
Telerik team
 answered on 06 May 2013
20 answers
879 views
Question for the team:
I'm pretty positive that Telerik will be moving towards HTML5. Since your ASP.Net Ajax product seem to be the most mature and complete, I've chosen to use it v.s. ASP.Net MVC. However, as the next generation of ASP.Net is moving towards HTML5, my question is, will you be incorporating HTML5 into your AJAX product or MVC product?

Secondly, when do you expect us to see the first signs of HTML5 in your product?

Thanks!
..Ben
Anna
Top achievements
Rank 1
 answered on 06 May 2013
1 answer
103 views
Hi,
When I create a recurrence appintments in scheduler, I can't see the appointments besides this week.
Here is my recurrence rule:

DTSTART:20130429T050000Z
DTEND:20130429T060000Z
RRULE:FREQ=DAILY;UNTIL=20130502T160000Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU           

I don't hava any idea about this.
Please help to solve the problem.
Thanks.

MK

Bozhidar
Telerik team
 answered on 06 May 2013
5 answers
154 views
I've got a simple popup implemented in my RadGrid.  This is called by double-clicking on a grid row, which results in a client side call of window.radopen(filename, etc).  

What I've been trying to do is add a RadEditor and I've found the hard way that this does not work.  Even though the editor is enabled and getting the right data, nothing is displaying and I cannot edit.

I have looked at this (http://www.telerik.com/help/aspnet-ajax/window-troubleshooting-radeditor-in-radwindow.html) but this is not the overall scenario I'm using.  I've also tried doing this in the aspx but that has no effect.

    $(document).ready(function () {
                fixEditor();
            })




Is there any way to fix this or do I need to completely rethink my scenario?
Rumen
Telerik team
 answered on 06 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?