Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
Is it possible to change the appearance of the text that is actively being dragged from the Tree View? By default all you see is the text of the node positioned to the bottom-right of the mouse pointer. I would like to (for example) put a border with a solid background color around the node text to make it stand out a bit better.

Thanks.

Tye
Yana
Telerik team
 answered on 04 Mar 2009
1 answer
87 views
Hi everyone,

I found the following code to place rows in the grid into edit mode without requiring a rebind().

 

for (int i = 0; i < RadGrid1.PageSize; i++)

 

{

    RadGrid1.EditIndexes.Add(i);

}

Am I missing something or will this only work for the first page of data?
How do I determine what the current Page Index is during Page_Load, the CurrentPageIndex property seems to always be 0?

Many thanks
Antony

Yavor
Telerik team
 answered on 04 Mar 2009
3 answers
165 views
im using alphabet paging in Radgrid, whenever we do paging the grid height increases or decreases as according to no. of records and pager(which is showing alphabets) doesn't remain in one location i.e i want it should get freezed at one location so that it does't look like flickering. is it possible?

here is my code:-

<

telerik:RadGrid ID="rdgCustomers" AllowMultiRowSelection="false" runat="server"

 

 

Skin="Outlook" Width="100%" BorderStyle="None" AllowPaging="true"

 

 

AutoGenerateColumns="true" ItemStyle-Wrap="false" GridLines="None" OnItemCreated="rdgCustomers_ItemCreated"

 

 

OnItemCommand="rdgCustomers_ItemCommand" OnPreRender="rdgCustomers_PreRender"

 

 

oncolumncreated="rdgCustomers_ColumnCreated"

 

 

onsortcommand="rdgCustomers_SortCommand" AllowSorting="true">

 

 

<ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="true">

 

 

<ClientEvents OnRowDblClick="OpenCustomer"/>

 

 

<Resizing AllowRowResize="False" EnableRealTimeResize="True" ResizeGridOnColumnResize="true"

 

 

AllowColumnResize="True"></Resizing>

 

 

<Scrolling AllowScroll="false" UseStaticHeaders="True" />

 

 

<Selecting AllowRowSelect="True" />

 

 

</ClientSettings>

 

 

<MasterTableView CommandItemDisplay="None" TableLayout="Fixed" ClientDataKeyNames="ID,Name"

 

 

ItemStyle-Wrap="false" AutoGenerateColumns="true" DataKeyNames="ID,Name" Width="100%">

 

 

<PagerStyle Wrap="false" Mode="NextPrevAndNumeric" PrevPageImageUrl="Images/arrowLeft.gif"

 

 

NextPageImageUrl="Images/arrowRight.gif" NextPageText="Next" PrevPageText="Prev"

 

 

AlwaysVisible="true" />

 

 

</MasterTableView>

 

 

</telerik:RadGrid>

 

Dimo
Telerik team
 answered on 04 Mar 2009
9 answers
340 views
Hello,

I'm trying to bind on the client-side for a grid.  But it's not working; I get the error:

return

$find(this._masterClientID);

Argument can't be null: ID

_masterClientID is null.

Why is that?

Thanks.

 

Nikolay Rusev
Telerik team
 answered on 04 Mar 2009
2 answers
116 views
Is there any possiblity to Remove the HTML source option using ListConfigFile.xml?  or even workaround.
Im using FREE RadEditor Lite Edition version 4.5.4.0

thanks,
Husseiny
Husseiny
Top achievements
Rank 1
 answered on 04 Mar 2009
1 answer
87 views
Hello,
May be this is a simple question but I am not getting solution.
How to find template Column in any grid event(DataBound etc.)?
Is it necessary to use event.Can't I use GridItemCollection like MS grid?
Please give solution for both questions?
Thanks in advance.
-Mahesh
Daniel
Telerik team
 answered on 04 Mar 2009
5 answers
156 views
I have a page using the Telerik tab control with three tabs. Inside the second tab is the Toolbar control and a CheckboxList (bound in the code-behind). Inside the third tab is a RadGrid that is bound in the code-behind. The Toolbar control has a single button that opens a RadWindow instance with a new page as a modal. When you save the contents of the page in the modal the CheckboxList control should update. The AjaxManager on the page looks like this:

    <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1" OnAjaxRequest="RadAjaxManager1_AjaxRequest"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="cklProjects" /> 
                    <telerik:AjaxUpdatedControl ControlID="grdContacts" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 

If I comment out the line where I include "grdContacts" as an UpdatedControl, everything works great. You can hit the Toolbar button which opens the modal, save the changes in it which automatically closes the window and calls the Javascript function on the parent page telling the AjaxManager to do a callback:

            function __refreshProjectGrid(args) { 
                $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest(args); 
            } 
 

If the line is left uncommented (because the end result is that I will want to update the CheckboxList sometimes and the RadGrid other times) everything gets called as I would expect (I can see this when I debug), but the CheckboxList doesn't actually update itself.

Any thoughts?
Kaloyan Simeonov
Telerik team
 answered on 04 Mar 2009
2 answers
111 views
Hi

I deployed my application in server and browse from two differt client machine and export the grid to excel.
one machine its coming proper format but in some browser its giving the aspx file.what is the problem.Both machine we are using IE 7.

Regards
Vairam
vairam
Top achievements
Rank 1
 answered on 04 Mar 2009
0 answers
112 views
On my aspx page i use RadProgressArea, and manual update progress, using code below

 protected void buttonSubmit_Click(object sender, EventArgs e)
        {
                RadProgressContext context = RadProgressContext.Current;
                context.SecondaryTotal = value;
                context.SecondaryValue = value;
                context.SecondaryPercent = value;
        }

So, if i click submit button, and try to update progress on several pages, all pages use same RadProgressContextm and i see rubbish in progress area (percentage jumps forward and backward).
Any workaround for this bug?
zxc ccc
Top achievements
Rank 1
 asked on 04 Mar 2009
8 answers
173 views

I'm working on a project that has multiple resources that are able to be reserved for certain periods of time.  Ex: projectors, laptops, conference rooms.

 

What I'm trying to do is set an availability to those resources that aren't being reserved and take those that are in use off of the resource list.    I am also trying to make sure that if there's a recurring reservation, (ex: conference room A is needed every Wednesday from 9:00-10:00am) the resource  is only blocked during that time on Wednesday and not completely unavailable.

Any help on this would be appreciated.
Amanda

Peter
Telerik team
 answered on 04 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?