Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
99 views
Hi, I've built a scheduler very simlar to the first look demo and I'm having a problem setting the scheduler date to the date selected on the second calendar. The same behavior happens on the first look demo schedule. If you select a date on the second calendar the schedule displays the prior month. I'm using the same javascript as the demo. The date passed to the schedule is the correct date, but the scheduler doesn't seem to use it. If you select a date on the first calendar it works ok.

Thanks, all help is appreciated.
Ivana
Telerik team
 answered on 13 Mar 2012
5 answers
608 views

Hello,

I am developing a web application with telerik rad control. I Use the RadTreeView in my application. The all nodes are generate   from (server side) DB. This demo: http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/contextmenu/defaultcs.aspx

I need to hide/visible false the root node of the tree.  How can I do this?

Thanks and Regards
Nahid

Nikhil
Top achievements
Rank 1
 answered on 13 Mar 2012
4 answers
146 views

I have a problem to display images in a RadRotator.

The image is saved in database.

When i display images in a repeater it works perfectly but when i do the same thing within a radRotator, the image is not displaying

<asp:Repeater runat="server" ID="Repeater1" DataSourceID="SqlDataSource1">
    <ItemTemplate>
        <fieldset style="float: left; width: 350px; height: 150px;">
            <legend><b>Company Name</b>:
                <%#Eval("ImageID")%></legend>
            <div class="details">
                <div class="photo-container">
                    <telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" DataValue='<%#Eval("Image") %>'
                        AutoAdjustImageControlSize="false" Width="90px" Height="110px" />
                </div>
            </div>
        </fieldset>
    </ItemTemplate>
</asp:Repeater>


and within the radrotator ( not working )

<telerik:RadRotator ID="RadRotator1" runat="server" Width="224px" Height="112px"
    CssClass="rotatorStyle" ItemHeight="112px" ItemWidth="112px"
    DataSourceID="SqlDataSource1" >
    <Items>
        <telerik:RadRotatorItem>
            <ItemTemplate>
                    <telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" DataValue='<%#Eval("Image") %>'
                        AutoAdjustImageControlSize="false" Width="90px" Height="110px"  />
 
            </ItemTemplate>
        </telerik:RadRotatorItem>
 
    </Items>
</telerik:RadRotator>

Thanks for your help!

Shinu
Top achievements
Rank 2
 answered on 13 Mar 2012
4 answers
173 views
Hi,
i have a grid with dynamically created DateTime column. Since it was a DateTimeColumn i have datePicker  as a filter control. now the problem is that i want to restrict that filter control as read only. i tried with following code in item created

protected void grid_itemCreated(object sender, GridItemEventArgs e){
DatePicker datePicker = null;
// Code here to find GridFilterControl
datePicker.DataInput.ReadOnly = true;

above code works fine but i can not  choose date from calender popup too.  i am expecting output like user can choose date from calender popup but should not enter date from keys. Kindly suggest to solve this problem
thanks  in advance

regards
Venkat  
Venkat
Top achievements
Rank 1
 answered on 13 Mar 2012
1 answer
224 views
If I do not set the TargetFolder property on the RadAsyncUpload control, what happens when a control on the page causes a post back? I see the "temp" files show up in the TemporaryFolder, then if I do a post back the are gone from the UX but are still in the temp folder.

Are they not going anywhere? I wanted to make sure they aren't getting put somewhere on the server as I am manually uploading them via the UploadedFiles property when a certain button on the page is clicked.

Thanks!
Richard
Top achievements
Rank 1
 answered on 12 Mar 2012
1 answer
119 views
I have a line graph that I dynamically create. I'm trying to make the line thicker but I can't figure it out. Here's what I've tried so far

mySeries.Appearance.PointDimentions.Width = Styles.Unit.Pixel(60)
mySeries.Appearance.PointDimentions.Height = Styles.Unit.Pixel(60) 

Esentially, my line is really thin and I just want to make it thicker. thanks,
Richard
Top achievements
Rank 1
 answered on 12 Mar 2012
2 answers
149 views
Appointment labels cut off when TimeLine.EnableExactTimeRendering is Enabled.
Is this functionality on purpose?
We'd like to have time rendered exactly, but also be able to read the labels, is this possible?
They aren't being cut off by the resource header either, as if you turn it off the labels are stil l cut off.
I have attached a picture to give you a better idea of what's going on.
Thanks,
Edward
Edward
Top achievements
Rank 1
 answered on 12 Mar 2012
1 answer
180 views

I have a problem with setting the width of an RadDatePicker contro and set the SelectedDate property via the codebehind.
Her is my sample code APSX:

<telerik:RadDatePicker ID="DatePicker1" runat="server" Width="30px" AutoPostBack="true">
<Calendar CultureInfo="en-US" FirstDayOfWeek="Monday" ID="Calendar1" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x" runat="server"/>
<DateInput ID="DateInputFrom" DateFormat="dd.MM.yyyy" DisplayDateFormat="dd.MM.yyyy" runat="server"/>
</telerik:RadDatePicker>

And here the Codebhind:

protected void Page_Load(object sender, EventArgs e)
{
DatePicker1.SelectedDate = DateTime.Now;
}

Is there any workaround to set the correct Width?

 

Richard
Top achievements
Rank 1
 answered on 12 Mar 2012
1 answer
189 views
Hi all,
I am using In place edit mode. I want to add filtering option in this. How is it possible?
Richard
Top achievements
Rank 1
 answered on 12 Mar 2012
8 answers
188 views

Dear Supporter and All,

I'm customizing pager control and it works almost fine for the functionality except that the look of the NumericPages text style I cannot do it.
Please code behind for the Grid for ItemCreated event

protected void RadGridSummaryView_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item is GridPagerItem)
{
GridPagerItem gridPager = e.Item as GridPagerItem;
Control numericPagerControl = gridPager.GetNumericPager();
Control placeHolder = gridPager.FindControl("NumericPagerPlaceHolderSummaryView");
placeHolder.Controls.Add(numericPagerControl);
placeHolder.Controls.Add(new LiteralControl("&nbsp;"));
}
}

Please the Grid definition for Pager Control as below

<NoRecordsTemplate>
    <span style="padding-left: 10px;">There are no items to show in this view.</span></NoRecordsTemplate>
<PagerTemplate>
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr class="">
            <td width="46%" class="itemPagingBg">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="25%">
                            Showing                                                    
                            <telerik:RadComboBox ID="RadCombo_PageSize_GridView" DataSource="<%# new object[]{20, 25, 30, 35, 40} %>"
                                Width="40px" SelectedValue='<%# DataBinder.Eval(Container, "Paging.PageSize") %>' Skin="Windows7"
                                runat="server">
                            </telerik:RadComboBox>
                             results per page
                        </td>
                    </tr>
                </table>
            </td>
            <td class="itemPagingBg" width="54%" style="padding-top: 10px;" align="right">
                <asp:Panel runat="server" ID="NumericPagerPlaceHolderGridView" />
            </td>
        </tr>
    </table>
</PagerTemplate>
<PagerStyle mode="NumericPages" alwaysvisible="True" />


Please see the attached image file result I got. Just below it I have included the desired look and feel of the NumericPage just below the image and this is exactly the same as customized NumericPage of Telerik Forum. Please advise how I can achieve this by extending my code.

Thank you in advance for all your inputs.
Regards,
Phyrom

phyrom
Top achievements
Rank 1
 answered on 12 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?