Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
192 views
Hello.
I seem to not be able to find a client side method that resizes/re-set's the TreeList's height.

the example code is pretty straight forward :

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
            <script type="text/javascript">

                Sys.Application.add_load(LoadValues);

                function LoadValues() {
                    var tl = $find("<%=tlHierarchy.ClientID %>");                 
                }

            </script>
</telerik:RadScriptBlock>

So basically .. how can i set a treelist's height from client side ?
Thank you.
bogdan
Top achievements
Rank 1
 answered on 28 May 2012
1 answer
159 views
I have a page with two raddatepickers. Both have ClientIDMode="Static".

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="datepicker.aspx.vb" Inherits="tests_datepicker" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
        <title></title>
</head>
<body>
        <form id="form1" runat="server">
        <div>
            <telerik:RadScriptManager runat="server" ID="rcm"></telerik:RadScriptManager>
            <telerik:RadDatePicker runat="server" ID="RadDatePicker1" ClientIDMode="Static" />
            <telerik:RadDatePicker runat="server" ID="RadDatePicker2" ClientIDMode="Static" />
 
        </div>
        </form>
</body>
</html>

Clicking the calendar icon next to RadDatePicker1 pops up the calendar aligned to RadDatePicker2 and if a date is selected RadDatePicker2 is filled in. The calendar never pops up when clicking the calendar icon next to 
RadDatePicker2.

I'm I doing something wrong?



Kevin
Top achievements
Rank 2
 answered on 28 May 2012
1 answer
217 views
Hi ,
I have blow scenario where i have 3 inputs for radwindow.

 Can i set the default path  for radupload ?? or is there any other way ?

Regards,
Akki


Princy
Top achievements
Rank 2
 answered on 28 May 2012
0 answers
93 views
HI Every Body,
I have an internship, and i have used the Telerik technologies (RadControls for Asp.NET Ajax, RadControls for WinForm, Telerik Reporting; ... ) and for my presentation I wanna use schemas, tables that explain the functionality of Telerik...but I dont find any thing about this so please help me .
THANKS TELERIK'S MASTERS :) 
Berrabah
Top achievements
Rank 1
 asked on 28 May 2012
0 answers
31 views
HI Every Body,
I have an internship, and i have used the Telerik technologies (RadControls for Asp.NET Ajax, RadControls for WinForm, Telerik Reporting; ... ) and for my presentation I wanna use schemas, tables that explain the functionality of Telerik...but I dont find any thing about this so please help me .
THANKS TELERIK'S MASTERS :) 
Berrabah
Top achievements
Rank 1
 asked on 28 May 2012
1 answer
104 views
Does anyone have any examples of doing client-side databinding on a RadGrid where one of the columns is a custom AJAX control?

I've been using a GridTemplateColumn for my custom control, but am unsure how to bind the data to the control at the client level.

Thanks,
Jason
Tsvetina
Telerik team
 answered on 28 May 2012
3 answers
182 views
HI,

I am following this documentation to have radWindow in my application as well. 
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

The trouble is the radWindow being popped-up has funny unwanted borders - series of rectangles in the bottom. Please see the attached screen being highlighted in YELLOW :)

Could you please anyone hint me the problem?

Many thanks.

MG
Munna
Top achievements
Rank 1
 answered on 28 May 2012
1 answer
182 views
Is there a way to set the focus to a treeview (such that the user can navigate the tree using arrow keys) without raising the OnNodeClick event?

I have a popup displaying a RadTreeView which closes once the user has selected a node on the tree, however when the popup is displayed the treeview does not have focus.

Edit:
I've realised the problem may be more to do with the ModalPopupExtender in which the TreeView is placed.  I believe the focus remains on the form behind the popup.  

Thanks in advance...

Michael
Bozhidar
Telerik team
 answered on 28 May 2012
4 answers
245 views
Hi,

I have a grid that's grouped by days of the week. What I would like is to group by specific categories, for example; today, yesterday. All entries for today's date grouped in "Today", all entries for yesterday grouped in "Yesterday" but I'm not sure how. Currently the grid is grouped by every new date. Can I manually set this up in code? I attached a screen shot of my current grid and here is the code for my most recent attempt:
protected void RadGrid2_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
    {
        this.grdRecentActivity.MasterTableView.GroupsDefaultExpanded = false;
        if (e.Item is GridGroupHeaderItem)
        {
            GridGroupHeaderItem item = (GridGroupHeaderItem)e.Item;
            DataRowView groupDataRow = (DataRowView)e.Item.DataItem;
            DateTime currentdate = DateTime.Now.Date;
            DateTime yesterdaysDate = DateTime.Now.AddDays(-1).Date;
            DateTime dayBeforeYesterday = DateTime.Now.AddDays(-2).Date;
            DateTime activityDate = DateTime.Parse(groupDataRow.Row.ItemArray[0].ToString());
 
            if (activityDate == currentdate)
                item.DataCell.Text = "Today";
            if (activityDate == yesterdaysDate)
                item.DataCell.Text = "Yesterday";
            if (activityDate == dayBeforeYesterday)
                item.DataCell.Text = "Day Before Yesterday";
 
            //item.DataCell.Text = groupDataRow.Row.ItemArray[0];
        }
    }
Ron
Top achievements
Rank 1
 answered on 28 May 2012
1 answer
174 views
I click on the save button in the toolbar. Select in the dialog Save Image to server. I save the image to database using the code below, but it even create a image file to the folder.
How do I get around the problem that it creates an image in the folder when I save? Just want the image changes are saved to the database when I choose "Save Image to server". Someone who can help me :-)
Protected Sub RadImageEditor1_ImageSaving(sender As Object, args As ImageEditorSavingEventArgs)
 
    Dim img As EditableImage = args.Image
    Dim s As New MemoryStream()
    img.Image.Save(s, img.RawFormat)
    Dim imgData As Byte() = s.ToArray()
Dobromir
Telerik team
 answered on 28 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?