Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
159 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
90 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
113 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
150 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
146 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
153 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
2 answers
102 views
Hello:

Two quick questions.  Do the DataFieldID and DataFieldParentID have to be numeric (like an integer data type)?  It doesn't seem to work if I have those fields as strings.  I'm trying to generate an org chart, using a string-based employee ID, but it comes up blank.

Second, to make it work, I converted the ID to an integer for the two fields.  It then works fine, but I noticed that I have to set the "root" item to have a "0" for the parent field.  Is this expected?  As an example, I want to generate an Org with me at the top.  In the dataset, the row that represents me has a parent employee ID, but that employee ID is not present in the data since I don't want my supervisor displayed.  In order to get the chart to render, I have to look through the records and ensure that my record as "0" for the parent.

Perhaps this second issue is related to the first.  If a string is in fact supported, does the top level item need to have the parent field set to a particular value?  Perhaps an empty string?

Thanks,
Chris
Christopher
Top achievements
Rank 1
 answered on 12 Mar 2012
1 answer
66 views
Hi,

I'm sure how to use this function clearSelection().  I'm trying the to put a menu item "Clear Selection" on the context menu.

Thanks

Vinh Vu
Rumen
Telerik team
 answered on 12 Mar 2012
3 answers
107 views
i had to upgrade my telerik controls to the latest version..
but this hasnt worked, and now i cant build my project due to lots of build errors.

on running the upgrade wizard i get this error popping up

Error executing cutom action
Telerik.web.ui.vsx.actions.multiprojectupdatereferencesaction: could not find file 'C:\Users\Documents\Visual Studio 2010\Projects\MyProject\Source Code\MyProject\bin\Telerik.web.design.dll'

any idea how i resolve this?
Chavdar Dimitrov
Telerik team
 answered on 12 Mar 2012
3 answers
61 views
Hello again, I have a problem with my timeslots. It works fine when I am using the dayview, but when I am in weekview my timeslots are not displaying. 

I have to timeslots in my weekview and it looks like this, and it's not working. It only shows one big gray field. 

EIDT: I fixed it now, thanks.

if (e.TimeSlot.Start <= new DateTime(2011, 8, 31, 10, 15, 00) || e.TimeSlot.Start >= new DateTime(2011, 8, 31, 15, 00, 00))
            {
                 
                Debug.WriteLine(e.TimeSlot.Start);
                //Debug.WriteLine(e.TimeSlot.Start);
                e.TimeSlot.CssClass = "Disabled";
            }
 
if (e.TimeSlot.Start <= new DateTime(2011, 8, 29, 10, 15, 00) || e.TimeSlot.Start >= new DateTime(2011, 8, 29, 15, 00, 00))
            {
                 
                Debug.WriteLine(e.TimeSlot.Start);
                //Debug.WriteLine(e.TimeSlot.Start);
                e.TimeSlot.CssClass = "Disabled";
            }
Sander
Top achievements
Rank 1
 answered on 12 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?