Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views
Hi

I have not used rad ajax before and I am just trying to learn how it works. I am trying to emulate a common scenario whereby you have a user form outside an update panel and this has a submit button which, when clicked, updates the display which are  some sort of results inside an update panel. The submit button is an asych postback trigger for the updatepanel.

I wasn't sure how to achieve this set up using rad ajax. My first thought was the rad panel but this wasn't really suitable because the rad panel is triggered by controls inside the panel which meant I had to have had my submit button inside the panel and this didnt look good when i incorporate a loading panel as the loading image is displayed over the button as well as the results section.

The way I choose to implement it was to have a rad manager and then enclose all of the controls that comprise my results form within an asp.net panel. I then set the submit button to update the asp.net panel in the ajax manager. When the button is clicked, the results form inside the panel is updated and the loading image is only shown on top of the results section and not the submit button

This seems to work but is this the correct way? I guess I am confused because I thought i would use the rad panel but i didn't. Most of my web pages have this same organisation section set up so I want to get the rad ajax side of things right before I apply it to all my other pages.


thanks in advance
Tsvetoslav
Telerik team
 answered on 04 Jun 2009
3 answers
170 views
Hi,

I would like to use the editor like a textbox but use the spell checking facility.  Therefore I have a few questions:

1. Is it possible to remove the toolbar?  If so, how is this done?

2. Is it possible to simply highlight mispelt words as the user is typing instead of forcing them to click on a button to perform the spell check?

Thanks,
J
Rumen
Telerik team
 answered on 04 Jun 2009
1 answer
130 views
Hi,
I have a RadGrid in a RadWindow that has a couple of time entries in it.
I have a form template with 2 RadTimePiickers on it to enter/edit data & everything is going fine.

However, the RadTimeView is opening in the bottom left of the windo and some of the times are getting cut off by the modal window edge.

What I would like to do is similar to the help file on positioning the time view. The example shows how to do this from a keypress (ie have an OnKeyPress client event in the TimePicker while the button is rendered invisible) but there is nothing to say how to do it from the button press. I was thinking of adding my own button & adding the javascript but how do I get the Telerik button image.

I have found a really good article on finding a control in a form template Access FormTemplate controls from javascript when using UpdatePanel by Ruth Dahan but still having problem with the actual positioning code.

function showStartTimePopUp(sender, eventArgs) {  
            var picker = $find(pickerStartClientID);  
            showTimePopUp(picker, eventArgs);  
        }  
        function showEndTimePopUp(sender, eventArgs) {  
            var picker = $find(pickerEndClientID);  
            showTimePopUp(picker, eventArgs);  
        }  
        function showTimePopUp(picker, eventArgs) {  
            var popup = eventArgs.get_popupControl();  
            var textBox = picker.get_textBox();  
            var popupElement = picker.get_timePopupContainer();  
            var dimensions = picker.getElementDimensions(popupElement);  
            var position = picker.getElementPosition(textBox);  
            picker.showTimePopup(position.x, position.y - dimensions.height);              
        }    

The pickerStartClientID and pickerEndClientID were provided by Ruth's code but all the javascript does is loop. I tried  using a eventArgs.set_cancel(true); in both showStartTimePopUp and showEndTimePopUp but this did nothing.

Any ideas?

Regards
Roger
Sebastian
Telerik team
 answered on 04 Jun 2009
1 answer
215 views
Hi,
         I am using command item template in radgrid.
In my command item template i am using Radcombobox.
I set 

CommandItemDisplay

="TopAndBottom"

on both sides
RadCombobox conatins various items
Eg "DELETE"
     "Convert"
    "Add to Cart"
When i select any item from combo it sholud be reflect in both the top and bottom combos.
when i select "Delete"  from top combo ,bottom combo should also display "Delete"

How can i access the same combos in javascript differently.
So that i can change their value on their 

 

OnClientSelectedIndexChanged event.
Or Is their any way to do that?
Please let me know as soon as possible.
Thanks

Princy
Top achievements
Rank 2
 answered on 04 Jun 2009
1 answer
236 views

Hi,

As I want modified vista skin so I use Custom skin for grid.

I have added below code in grid section
Skin="Vista" EnableEmbeddedSkins="false"

Added css file into Theme folder and also include
<link href="App_Themes/Default/Grid.Vista.css" rel="stylesheet" type="text/css" />

All work fine in grid except filter button when I click on filter button it popup with all option (NoFilter, EqualTo, NotEqualTo....) but background display transparent instead of similar vista skin.

I am stuck with this problem so please help me as soon as early.

Dimo
Telerik team
 answered on 04 Jun 2009
13 answers
687 views
Hi,
In version 2008.1.416.35 of the controls I've noticed that the RadGrid's gridlines are missing when the grid first loads. When you click another row, all the gridlines magically re-appear.

Any idea why?

Cheers,
Daron
Dimo
Telerik team
 answered on 04 Jun 2009
1 answer
55 views
Hi,

I'm using telerik editor for my development. when the cursor in the editor is on the last charter of the string then the bullet point is not working. i wonder if this is a bug from the control or there is way to fix this issue.

interestingly, i have notice if you have  few characters in the editor then you delete them all. then bullet point works fine. that is the only place that bullet point works correctly when the cursor is on the last character of the string in editor.

is there any way to over come is problem ?


Thanks,
Sami
Rumen
Telerik team
 answered on 04 Jun 2009
2 answers
149 views
I  have Radcombobox inside Radgrid . I want it change focus to the next cell when enter key is pressed . I tried following the client events to blur the combobox but it does not work .


function blurComboBox(comboBox)
{
    if (comboBox.get_dropDownVisible() && comboBox.get_closeDropDownOnBlur())
        comboBox.hideDropDown()  ;
        comboBox.get_tableElement().className = "";
        comboBox._selectItemOnBlur() ;
        comboBox._focused = false ;
}

function HandkeKeyPress(sender, eventArgs) {
 
  
    if (eventArgs.get_domEvent().keyCode == 13) {

         blurComboBox(sender ) ;
            
            
            }
        }

 Please kindly help me .




Tsvetoslav
Telerik team
 answered on 04 Jun 2009
1 answer
111 views
Hi

My table have the columns

EventID
EventName
StartTime
EndTime
Location
Speakers

This is my radScheduler control code

<

 

telerik:RadScheduler ID="RadScheduler1" runat="server" Skin="Mac" Style="position: static">

 

 

</telerik:RadScheduler>

 


RadScheduler1.DataKeyField =

"EventID";

 

RadScheduler1.DataSubjectField =

"EventName";

 

RadScheduler1.DataStartField =

"StartTime";

 

RadScheduler1.DataEndField =

"EndTime";

 

RadScheduler1.DataBind();


What i want is Event Name should be display as a link .When i click on the link it will go to event edit page instead of reoccurrence page and also when i mouse over the event name it will display all the  information about the event(Location,Speakers,StartTime,EndTime) in tooltip.How can i do this?


Regards
Vairam


Peter
Telerik team
 answered on 04 Jun 2009
1 answer
130 views
Hello everyone,
I use RadChar with SqlDatasource and its working fine but when i try to use RadChart control with LINQ2Entity Model, It gives some error like  "Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index" .Can anyone guide me that how i can use RadChart control with Linq Entity Model. Because in our application i use LINQ2Entity model so i am trying to use it also with RadChart. Waiting for immediate reponse.

Regards,


Ves
Telerik team
 answered on 04 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?