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

I have 24hrs time in time panel like 17:30 pm .. But i need 12 hrs time like 5:30 pm..
please help me with this.

Thank You

Warm Regards
Gokoulane Ravi
Veronica
Telerik team
 answered on 02 Aug 2010
1 answer
65 views
Hi,

I have a scheduler bound and initially displaying a week view. In the calendar interface, I try advancing to the next week using the built-in right and left arrows. If I try advancing to the next week by clicking the right arrow, the dates that display in the calendar interface switch to

1/7/0001 - 1/13/0001


In code behind, the selected date is also this. Any idea why this would happen? Thanks.
Veronica
Telerik team
 answered on 02 Aug 2010
1 answer
68 views
I have a recurring event on my RadScheduler.  In some cases (for the whole Schedular) I would like the double click action (opening the event) to not display the Telerik dialog asking if I would like to edit the occurrence or the series.  That is, I would simply like to have it show the occurrence and not the series.  Is there anyway to do this?
Veronica
Telerik team
 answered on 02 Aug 2010
3 answers
163 views
Hi, is it correct to use the NeedDataSource event handler when the grid is created entirely on code behind (including the datasource) on page init?  Is there any recommendation on how to bind a grid created on page init to an SQLDataSource control created on code behind or initialized in client code but manipulated server side (the datasource)?  Is there any way in which I can prevent the grid from databinding every time page init is invoked (eg: initializing the datasource on Not Page.IsPostBack)?

Thank you,
Manuel
Pavlina
Telerik team
 answered on 02 Aug 2010
4 answers
90 views
Currently when I call set_rangeMaxDate in javascript, the calendar does not update (i.e. apply the change) until a postback occurs. It then properly greys out any dates out of range. How do I get it to apply this effect immediately client side?

Levi
Maria Ilieva
Telerik team
 answered on 02 Aug 2010
4 answers
253 views
I have a standard asp.net validation summary control with the "showmessagebox" property set to "true".  Is there a way to replace the "generic" popup window with the RadAlert?
Georgi Tunev
Telerik team
 answered on 02 Aug 2010
1 answer
180 views
Hi,

I am using telerik RadAjaxManager in my application and trying to build functionality as per demo i found below:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid

What i could see when first time i Open window from javascript after i close my window, my ajax server side event first get call and bind gird and then during databind radgrid_item created event get called, but immediately next time when i perform the same action to add 2nd record to my gird, after i close popup window, instead of calling server side ajax handler, it's calling radgrid_itemCreated first and then ajax handler. so throwing an exception while executing
editLink.Attributes["onclick"] = String.Format("return ShowEditPopUps('{0}','Speaker');", e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["SpeakerID"]); line of code

actually it should first call Ajax request server side event first and then RadGrid_ItemCreated.

any help would be appreciated.

below is my client side  java script code

function ShowProductPopUps(strPopup)
            {
                var strId = "";
                var height = 0;
                height = 150;
                                
                var strRet = ShowPopUp(strPopup, "CityEvent&id=" + strId , height, 600);
                
                 if ((strRet != undefined) && (strRet != ""))
                {
                   alert(strRet);
                   $find("<%=RAM.ClientID%>").ajaxRequest(strPopup + "-" + strRet );
                }
                
                return false;
            }

Rad Ajax Manager:
<telerik:RadAjaxManager ID="RAM" runat="server" OnAjaxRequest="RAM_AjaxRequest" >
         <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RAM">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdSpeaker"/>
                        <telerik:AjaxUpdatedControl ControlID="btnSpeaker"/>
                    </UpdatedControls>
                 </telerik:AjaxSetting>
                 <telerik:AjaxSetting AjaxControlID="grdSpeaker">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="grdSpeaker" />
                        </UpdatedControls>
                  </telerik:AjaxSetting>
                 
         </AjaxSettings>        
    </telerik:RadAjaxManager>

and my server side ajaxHandler and radgrid_itemcreated event handler

 protected void RAM_AjaxRequest(object sender, AjaxRequestEventArgs e)
        {
            //string abc = string.Empty;
            string gridType = e.Argument.Split('-')[0];
            switch (gridType)
            {
                case "Speaker":
                                 EVMSessionManager oSession = new EVMSessionManager();
                                 this.grdSpeaker.DataSource = oSession.SpeakerData;
                                 this.grdSpeaker.DataBind();
                                 break;
                case "SignOff":
                                 break;
            }
        }


RadGrid Item_Created event handler
protected void grdSpeaker_ItemCreated(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridDataItem)
            {
                HyperLink editLink = (HyperLink)e.Item.FindControl("editLink");
                editLink.Attributes["href"] = "#";
                editLink.Attributes["onclick"] = String.Format("return ShowEditPopUps('{0}','Speaker');", e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["SpeakerID"]);
            }
        }

Tsvetoslav
Telerik team
 answered on 02 Aug 2010
1 answer
125 views

Hi, from Bogota, Colombia.

I am testing Telerik ASP.NET AJAX controls Version 2009.3.1103. I use RadGrid and I activate filters using a check box control.

The filter doesn't work fine if expression which filters a column has spaces; if such string is an only word, it works fine.

The column that I want to filter has a GridTemplateColumn template, which has 2 templates inside: An ItemTemplate and an EditItemTemplate. Is that related with this issue?

How can I solve it?

Thaks in advance for your answer.

Best Regards,



CARLOS ALBERTO CASTILLO
Bogota, Colombia.

Pavlina
Telerik team
 answered on 02 Aug 2010
6 answers
104 views
If I'm editing a skin for Grid and have something other than "Grid Wrapper" selected when I hit <CR> I am taken to edit the skin for the Grid's Edit Form. How do I get back?

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 02 Aug 2010
4 answers
122 views
Hi,
I need to identify the date that the user clicked on, in a calendar.
(In addition, I would like to allow him/her to click only selected dates)

The best for me, is to do it on a calendar with: 

PresentationType

 

="Preview"

 

 

 

but this doesn't raise any event, as far as I know.

So, if I work with presentationType = "Interactive", I know how to find a new selected date, but I don't know how to identify the date if the user click on a date that was already selected and now it was thrown out of the SelectedDates collection.
(I have about 100 selected dates - so looping on the list to find the missing one, on every click - is too much)

Another option might be using a DatePicker, but then I don't know how to select or change the appearance of dates in the popup calendar so they look selected.

Any Idea?
Niv.



     

Maria Ilieva
Telerik team
 answered on 02 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?