Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
145 views
I have a raddockzone in a page.  Each dock has a usercontrol in its contenttemplate.  If I make a change in the usercontrol, how can I update the parent raddockzone that is in the parent page?
Richard M
Top achievements
Rank 1
 answered on 24 Jun 2011
3 answers
226 views

The RadCombox I am using has only two values "AND" and "OR". How do I make the combo box shorter?
Please have a look at the attached screen shot and the corresponding code block below:

<telerik:RadComboBox ID="drpFilterType" runat="server" AutoPostBack="true" EnableViewState="true"
           Width="100px" Skin="Default"  MarkFirstMatch="True">                              
  <Items>
      <telerik:RadComboBoxItem Text="AND" Selected="true" Value="AND"/>
      <telerik:RadComboBoxItem Text="OR" Value="OR"/>
   </Items>
</telerik:RadComboBox>
Kate
Telerik team
 answered on 24 Jun 2011
2 answers
109 views
Hi All,

 Is it possible to remove the listbox backword button. i want the button that move from left list box to right listbox, but I don't want the button that moves from right listbox to left. Is it possible to remove that particular button. Also, once the user moves the item from left listbox to right listbox, I don't want the items to disappaer from the left listbox.

Can I acheive this.

Please let me know

Any help will be appreciated.
Anjali
Top achievements
Rank 1
 answered on 24 Jun 2011
1 answer
59 views
I cannot get image listing to show in the Image Manager of the Editor control.  It just shows nothing.  I verified that my virtual directory is correct because it is showing image listing in IIS7 Server Manager.

I linked it to a virtual directory however it does not work when using a virtual directory link to a remote server directory.  If I link it to a local folder on the web hosting server it works fine.

I followed the instructions on this link: http://www.telerik.com/support/kb/aspnet-ajax/editor/uploading-images-and-files-to-a-shared-drive.aspx
however the instructions seems specific to IIS6.

Is these a different technique used for IIS7?    Is this a permissions problem?
Dobromir
Telerik team
 answered on 24 Jun 2011
3 answers
391 views
Hello,

I'm having issues when setting the selected and minimum dates on a RadDateTimePicker client-side.

I've two RadDateTimePickers, one for setting the starting datetime (dtpBegin) and other for the ending (dtpEnd) declared as follows:
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
        ......
    <telerik:RadDateTimePicker ID="dtpBegin" runat="server">
        <ClientEvents OnDateSelected="startDateTimeSelected" OnPopupClosing="startDateTimePopupClosing" />
    </telerik:RadDateTimePicker>
    <telerik:RadDateTimePicker ID="dtpEnd" runat="server">
        <ClientEvents OnPopupClosing="endDateTimePopupClosing" />
    </telerik:RadDateTimePicker>
</telerik:RadAjaxPanel>
 
<telerik:RadScriptBlock runat="server">
    <script type="text/javascript">
        var endDateTimePickerId = "<%= dtpEnd.ClientID %>";
    </script>
</telerik:RadScriptBlock>


When selecting the starting datetime, I'd like to set the selected value as minimum on the ending control and also would like to set a valid value for that control (say the starting datetime plus 1 minute). To do that, I've the following code client-side:
function startDateTimeSelected(sender, e) {
    if (e.get_newDate != undefined && e.get_newDate() != null) {
        var startDate = e.get_newDate();
        var endDateTimePicker = $find(endDateTimePickerId);
 
        endDateTimePicker.set_minDate(e.get_newDate());
        if (endDateTimePicker.get_timeView().getTime() < startDate) {
            var timeView = timePicker.get_timeView();
            timeView.setTime(newDate.getHours(), newDate.getMinutes() + 1, newDate.getSeconds(), newDate);
        }
    }
}

Now, even though the calls to set_minDate and setTime are not throwing any errors, the selected date on dtpEnd is not changed neither is the minimum date time set. One thing I find weird is that after setting the time on dtpEnd, if I run on Firebug's console:
$find(endDateTimePickerId).get_timeView().getTime()
 I get null.

And regarding the minimum date, if I run on Firebug's console:
$find(endDateTimePickerId).get_minDate()

I get the expected value (even though the calendar allows to select any value).
One extra thing that might be useful for troubleshooting is that I'm also setting the MinDate server-side for these two controls (setting it to DateTime.Now to forbid users selecting past datetimes).

Thanks a lot,
Diego.
Maria Ilieva
Telerik team
 answered on 24 Jun 2011
4 answers
113 views
Hi.
I´ve got some problem to get my template manager dialog to fit my needs.
As below I set with / height of the dialog from code-behind, but i also need to set new width / height to the iframe that holds "preview".

protected override void OnInit(EventArgs e)
{
    base.OnInit(e);
    this.Page.PreRenderComplete += new EventHandler(Page_PreRenderComplete);
}
void Page_PreRenderComplete(object sender, EventArgs e)
{
    Telerik.Web.UI.DialogDefinition TemplateManager = bloggEditor.GetDialogDefinition("TemplateManager");
    TemplateManager.Height = Unit.Pixel(500);
    TemplateManager.Width = Unit.Pixel(1020);
}

How can i access Template Manager dialog iframe "templateIframe" to set my own width / height?

/Mattias
Rumen
Telerik team
 answered on 24 Jun 2011
1 answer
125 views
Hi

I use editor insert text ( Example : <b>abcdefghr </b> ) I was format "Bold" for Text. But when i insert in Database, It remove tag HTML become "abcdefghr" not Bold.

Please help
Dobromir
Telerik team
 answered on 24 Jun 2011
1 answer
117 views
Hi there , 
Can i call a Ajax request on the content page when i close the rad pop up window from the 'X' on the pop up window and not a button on the pop up window ?
Please advise if anyone has done this 
Thanks
Tsvetoslav
Telerik team
 answered on 24 Jun 2011
1 answer
111 views
I want to use RadMenu to show a tree of pages as an indented list of links. The basic markup that it generates is perfect, but I don't need the slide effects for child items: I want them to always be displayed. Is there any way of switching the slide feature off?
Kate
Telerik team
 answered on 24 Jun 2011
1 answer
301 views
Hi Guys,

I just download this control and I'm trying to walk through the tutorial pdf. All of the screen shots are different from the one that I that I have? I pretty much figured out most of it, however, I'm having trouble with getting the RadGrid to Edit, Add and Delete. The tutorial tells me "Go into the Property Builder, select the Master Table, select the Columns collection and then expan the Button Column tree in the Available Columns area." The button is not expandable??? It further says "You will see three options there. Go ahead and add all three." Again, nothing to add???

Can anyone help me out with this? Any help would be greatly appreciated.

William
Princy
Top achievements
Rank 2
 answered on 24 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?