Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
202 views
Hi,

I want to use a RadDatePicker clientside that I add dynamically to my page using a PageMethods.

I was wondering if it is possible to achieve this. I don't want to do any postback with it, so I don't care about the server code, I only want to use it client side.

I want to do something like this:

<telerik:RadButton runat="server" ID="btnTest" Text="test" AutoPostBack="false" OnClientClicked="click">
    </telerik:RadButton>
    <div id="divTest"></div>

VB
<System.Web.Services.WebMethod()> _
Public Shared Function AddDatePicker() As String
    Dim sw As New StringWriter()
    Dim writer As New HtmlTextWriter(sw)
    Dim rdp As New RadDatePicker()
    rdp.RenderControl(writer)
 
    Return sw.ToString()
End Function

JS
<script type="text/javascript">
    function click(sender, args) {
        PageMethods.Test(
            function(response) {
                $("#divTest").html(response);
            },
            function(error) {
                alert(error);
            });
    }
</script>

And then be able to use the value and client side events.

Thanks!
Jocelyn
Top achievements
Rank 1
 answered on 04 Jul 2013
1 answer
82 views
Hi,
I am using telerik RadGrid in my asp.net web application. I have 14 columns in which 4 columns are frozen. When i run my app using IE 9  browser everything works fine but, when i run the same using IE 9 compatibility view, only the frozen columns are displayed.

Can any one let me know how to resolve this issue?



Angel Petrov
Telerik team
 answered on 04 Jul 2013
2 answers
102 views
Hello!

Love the scheduler control developed by you guys! I just am trying to to do one little thing and would like some help

I need a separate functionality for cancelling an appointment as well as deleting it. For example: sometimes a user makes a mistake and makes an appointment and those need to be deleted, however other times the appointment is valid but the person calls in cancelling the appointment so I want to record those separately. I can't seem to find any functionality in the scheduler that deals with cancelling an appointment you can only delete it. Can anyone point me in the right direction as to how i can achieve that? Thanks!
Plamen
Telerik team
 answered on 04 Jul 2013
1 answer
78 views
Hi,

I've tried:
  
function RadEditorOnClientLoad(editor) {
    var style = editor.get_contentArea().style;
    style.color = '#000000 !important';
}

and in css, I tried:
.Glow.RadEditor .reContentCell {
    color: #000000 !important;
}
.reContentCell {
    color: #000000 !important;
}
div.reContentCell {
    color: #000000 !important;
}

note that when using the Glow theme, in my main CSS I have the below (else "normal" page text appears black on the Glow's default dark blue")
html, body, form, #wrapper
{
     color:#c1c7ca ;
}


Ianko
Telerik team
 answered on 04 Jul 2013
3 answers
129 views
Hi guys,

I have a raddatepicker in my page and I want to open the calendar once the mouse is over the control textbox. So please help me with this.

Regards
Karl
Shinu
Top achievements
Rank 2
 answered on 04 Jul 2013
1 answer
254 views
Hi All,

I am facing an issue with Rad date picker.

I have a basic simple page with a RadDatePicker and another control(say a textbox). I want to show the textbox if I select any date from date picker. By default the text box is hidden. So, what I have done is, I wrote 'OnSelectedDateChanged' event of date picker and marked 'AutoPostBack' to true. Written the code to show the text box in 'OnSelectedDateChanged' event.
Something like; TextBox.Visible = !String.IsNullOrEmpty(DateRadDatePicker.SelectedDate.ToString());

Now, the issue is; when I'm viewing the page by default the selected date of date picker is blank. Now, I click on date picker to actually select some date. But as per standard behavior of rad date picker it selects today's date as default date on clicking the picker. So, today's date is populated in the text box of the date picker. Now, as I have written the date change event; it posts back and displays my text box because it gets selected date not blank(today's date). Up til now all is well. But the issue is; as the page is posted back, it closes the date picker again. Means, I have to again open the picker to select another date. Ideally it should remain open as I haven't manually selected any date; but just opened the picker to select some date(In a way it selected today's date, but still end user haven't selected the date).

This may be frustrating for end user. I want the default date to be selected as today's date when clicking the picker and also want the picker to be opened even after the date change event is fired.

Is there any solution for this??..

Thanks in advance..:)..
Ketan
Top achievements
Rank 1
 answered on 04 Jul 2013
2 answers
181 views
Hi all,

We're using the tilelist control and trying to create the tiles in the codebehind and so far we built the tiles and show them on the page.
We want to also show a title / text for each title, we're trying to do this by mimic the markup with c# code.

            <telerik:RadImageTile Name="Istanbul" ImageUrl="../images/Tiles/Wide/Istanbul.png" Shape="Wide"
                NavigateUrl="http://en.wikipedia.org/wiki/Istanbul" Target="_blank">
                <Title Text="Istanbul"></Title>
                <PeekTemplateSettings AnimationDuration="700" ShowInterval="6000" CloseDelay="4000"
                        Animation="Fade" Easing="easeInQuint" ShowPeekTemplateOnMouseOver="true" 
                    HidePeekTemplateOnMouseOut="true" />
            </telerik:RadImageTile>

Our issue here is that we aren't able to add the Title on the RadImageTile control. We've already tryed the:
1. Title property on the RadImageTile, 
2. Name property on the RadImageTile
3. Adding the TileTitle control to the RadImageTile child controls (the tiletitle doesn't inherit from control).

How can we achive this?

Thanks and regards,
Hugo Figueira
Marin Bratanov
Telerik team
 answered on 04 Jul 2013
3 answers
128 views

The ajax loading panel in our project fails to display. It was working, and although we have not modified the settings, it is now no longer working.

Relevant code:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" 
    DefaultLoadingPanelID="RadAjaxLoadingPanel1" >
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnShowAll">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="Content" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Black" MinDisplayTime="1000">
</telerik:RadAjaxLoadingPanel>


The panel is rendered correctly in the html code however, the panel does not display on postback.

This was working last week. It stopped working after updating the Telerik controls on Monday.
Konstantin Dikov
Telerik team
 answered on 04 Jul 2013
7 answers
292 views
Hello,
I have a hierarchical radgrid with two levels.
Insert,update and delte commands are not automated.
  
My proble is that i want the insertedItem to be expanded just right after insert is done.
Could you please help?
  
thanks in advance,
Eva Xanthou
Princy
Top achievements
Rank 2
 answered on 04 Jul 2013
1 answer
92 views
Hi,
How would I go about hiding the display of the width size as one resizes the column width?
Thanks, Anton
Jayesh Goyani
Top achievements
Rank 2
 answered on 04 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?