Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
195 views
How to change width and select button text in radupload?
Iana Tsolova
Telerik team
 answered on 13 Mar 2012
2 answers
126 views
Hi all,

Been some years since I've been on these forums..anyway.
version = 2009.2

I open my Radwindow (login) from codebeind. (No default behaviours...just login button which if clicked and login is valid ,  must close the radwindow)
On users click of "login"  button"..I do the usual to close the popup(radwindow login)

 

function GetRadWindow() { 
    var oWindow = null
    if (window.radWindow) oWindow = window.radWindow; 
    else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; 
    return oWindow; 
    
  
function Close() { 
    var oWindow = GetRadWindow(); 
    alert (oWindow);
    oWindow.argument = null
    oWindow.close(); 
    

but


On first "login " click" ...nothing,..does not close...the Close function gets the oWindow var from GetRadWindow,..
and the alert shows it as id ctl003
On 2nd "login " click  ..the alert shows id ctl002
and it closes.

Tried a few javascripts , loading it from javascript as oppposed to from code behind, ..but no joy.
There must be a way I'm sure, but ..how?
TIA
Neal
Neal
Top achievements
Rank 1
 answered on 13 Mar 2012
1 answer
56 views
Hi,

I have successfuly created a self referencing heirarchy grid and it is pretty much working great. The problem I have is that the child grids are left justified with the right side indented. What I need to do is to have the inner grids be left justified. Also I would really like to change the style of the headers so that they are more prominently noticed.

Any help would be greatly appreciated.
Tsvetina
Telerik team
 answered on 13 Mar 2012
3 answers
62 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
510 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
125 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
130 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
164 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
95 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
118 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?