Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
150 views
Is there a way to disable the drag functionality on the popup windows used for uploads, adding new folders, and renaming items?
Anthony
Top achievements
Rank 1
 answered on 07 Dec 2009
8 answers
876 views
Hi Friends,

We have an requirement Like Merging Header columns in Grid.

                     Name                                                 Depeartment

FirstName                  Last Name              Engineering                  Management

I can add table in template column,if am doing that missing all the grid predifined functionality .(Like Reordering,Sorting,filtering,paging etc).Is there any way to add headers(Name,Department) statically with out missing any grid functionality to Grid Header section.Please Some body help on this.Telerik provided the solution for WPF,silverlight if somebody have any idea please help us.


Thanks in Advance,
Bhaskar.

cheburek
Top achievements
Rank 1
 answered on 07 Dec 2009
2 answers
78 views
Folks,

I have a web page that fully worked with IE6.  This web page, when the user clicks a button, opens a new window that contains a radgrid.  My company recently upgraded from IE6 to IE7 and the web page stopped working correctly.  The page with the RadGrid keeps triggering "onresize" (w/o even resizing the window).  Upon each "onresize", the grid shrinks until the height is 0.  Here's a snippet of the code:
<body id="body" enableviewstate="true" onload="setTimeout('onLoad()', 50);" onresize="onResize()" onmousedown="RememberMouseButtons(); HideTooltip();" 
    onmouseup="ResetMouseButtons();" onmousemove="RememberMouseButtons();"> 
 
[some more code here...] 
 
 
    <radG:RadGrid ID="RadGrid1" CssClass="CDSInstance" runat="server" AllowPaging="True" 
                        EnableViewState="true" AllowCustomPaging="true" PageSize="15" Width="95%" OnItemDataBound="RadGrid1_ItemDataBound" 
                        EnableAJAX="false" OnColumnCreated="RadGrid1_ColumnCreated" OnNeedDataSource="RadGrid1_NeedDataSource" 
                        OnPageIndexChanged="RadGrid1_PageIndexChanged" OnPreRender="RadGrid1_PreRender" 
                        AllowSorting="True" OnSortCommand="InstanceGrid_SortCommand" Skin="None" AllowMultiRowSelection="true" 
                        UseEmbeddedScripts="false"> 
                        <MasterTableView Width="100%" AllowCustomSorting="true" TableLayout="Fixed" DataSourcePersistenceMode="NoPersistence" 
                            EnableColumnsViewState="false"> 
                            <ItemStyle CssClass="OddContentRow" /> 
                            <AlternatingItemStyle CssClass="EvenContentRow" /> 
                            <RowIndicatorColumn Visible="False" UniqueName="RowIndicator"> 
                                <HeaderStyle Width="20px"></HeaderStyle> 
                            </RowIndicatorColumn> 
                            <PagerStyle CssClass="PagerRow" Mode="NextPrevAndNumeric" PageButtonCount="25" /> 
 
[some more code here...] 

Is there any difference between ie6 and ie7 that would create this kind of behavior?


Trip Hogger
Top achievements
Rank 1
 answered on 07 Dec 2009
5 answers
172 views
I have a hierarchical PanelBar (code below).  Would like to have a visual indicator on each item that has children. 
As a stopgap, have put ">" signs next to the text of these items, but is there a better way?

Thanks


<
telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Outlook">  
    <Items> 
        <telerik:RadPanelItem Text="Local" > 
            <Items> 
                <telerik:RadPanelItem Text="Charts >">  
                    <Items> 
                        <telerik:RadPanelItem Text="Summary"></telerik:RadPanelItem> 
                        <telerik:RadPanelItem Text="Detail >" > 
                            <Items> 
                                <telerik:RadPanelItem Text="Local, County, Statewide"></telerik:RadPanelItem> 
                                <telerik:RadPanelItem Text="Inventory"></telerik:RadPanelItem> 
                                <telerik:RadPanelItem Text="Prices"></telerik:RadPanelItem> 
                                <telerik:RadPanelItem Text="Sales"></telerik:RadPanelItem> 
                                <telerik:RadPanelItem Text="Market Time"></telerik:RadPanelItem> 
                            </Items> 
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem Text="Reports">  
                    <Items> 
                        <telerik:RadPanelItem Text="Recent Local Sales"></telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem runat="server" Text="Maps"><Items> 
                    <telerik:RadPanelItem runat="server" Text="Map 1"></telerik:RadPanelItem> 
                    <telerik:RadPanelItem runat="server" Text="Map 2"></telerik:RadPanelItem> 
                    </Items></telerik:RadPanelItem> 
            </Items> 
        </telerik:RadPanelItem> 
        <telerik:RadPanelItem Text="County"></telerik:RadPanelItem>      
        <telerik:RadPanelItem Text="State"></telerik:RadPanelItem>      
    </Items> 
</telerik:RadPanelBar> 

 

 

Schlurk
Top achievements
Rank 2
 answered on 07 Dec 2009
3 answers
449 views
Hi,

I am using RadGrid control for ASp.net Ajax, i given Radgrid page size is 50 and vertical line for columns it is working fine, but  if two records are displayed in RadGrid the vertical line are hanging for two record,how to complte that,
how to give last row  buttom border for RadGrid control asp.net ajax?
Veli
Telerik team
 answered on 07 Dec 2009
2 answers
203 views
Hi All,

I have a rad grid that I am using to allow the user to enter in two different dates on each row along with a combo box drop down.  The calendars are both set to use a shared calendar and the combo is set to be load on demand.  The grid itself always shows the edit form for each row as most rows will need to be edited before being saved to the database.  The EditFormType is set to Template.

My routine uses the RadScheduler functions to generate a set of dates and these are used for the rows.  From watching what is going on it seems as though the whole server side of things is very fast, as soon as the page renders the whole thing drags.

The other aspect that is causing trouble is that I need an AJAX event to fire when the date fields change, this works but causes the whole grid to rerender itself again.

Any troubleshooting tips on speeding up the controls?

Regards,

Jon

Jon
Top achievements
Rank 1
 answered on 07 Dec 2009
5 answers
207 views
Hello,
I'm using Telerik Rad Grid (RadControls 'Prometheus' for ASP.NET Q1 2008RadControls 'Prometheus' for ASP.NET Q1 2008), and i'm trying to export the data by image buttons in grid command item, and the grid has filters (filter cell has Rad Combobox), every thing is working fine except that after export completed the filter combobox doesn't work at all, even it can be selected by the cursor.

any help Please,

Thanks in advance.
Daniel
Telerik team
 answered on 07 Dec 2009
1 answer
117 views
Hi,

Im having a problem with a JQuery function which is monitoring the radgrid when the page first loads the jquery does its job fine but if i send an ajax request to change the grid the jquery stops working! I looked atthe source before and after the request and the class the Jquery is looking for is applied ti the grid before and after request the jquery just isnt getting called after the request.

my jquery:

            (function($) { 
                $(document).ready(function() { 
                    $('.inputnormal').keydown(function(e) { 
                        if (e.keyCode == 46 || e.keyCode == 8 || e.keyCode == 9) { 
                            // let it happen, don't do anything 
                             
                        } 
                        else { 
                            // Ensure that it is a number and stop the keypress 
                            if (e.keyCode < 48 || e.keyCode > 57) { 
                                if (e.keyCode < 96 || e.keyCode > 105) { 
                                    e.preventDefault(); 
                                } 
                            } 
                        } 
                    }); 
                }); 
            })($telerik.$); 
Any ideas?

Thanks



Pavlina
Telerik team
 answered on 07 Dec 2009
2 answers
143 views

I'd like to implement my own check box control similar to or in place of the All Day check box.
I want a check box that will hide and show controls on toggle.

I've looked through the Advanced Form javascript file and pretty much get the jist of how the click event is setup.

If a developer wants to do something similar, would you recommend setting up a check box control in a similar fashion?

The only thing I can't figure out is where the label for the All Day check box is created and placed. I don't see it in the markup for the advanced form ascx file.

Thanks,

towpse
Top achievements
Rank 2
 answered on 07 Dec 2009
1 answer
112 views
Hi,

I have a hierarchy grid with 3 levels.  On line click of the 3rd level, I have a modal window showing where the user can select values for a specific column.  The column has complex selection criteria and must be retrieved from the modal window.

I have the modal window displaying and can return the selected value to the calling page, but can not get the value selected to populate on 3rd level hierarchy line and column that needs to be populated.

Can you tell me how to set a reference to the exact row in the 3rd level that executed the rconfirm function, before opening the modal window, and how to use this reference to set the new value of the column once the modal window is closed?

This is the javascript part of the code I am using to open the window and the function that is run at closing
Function rConfirm is running when the heirarchy grid level 3 line is clicked.
Function clientClose is run when the modal window is closed

 

 

 

 

function rConfirm(arg1, arg2, arg3) {

 

 

 

var cValue = "Selected Item: " + arg1;

 

argument1 = arg1;

reqg = arg2;

lineg = arg3;

 

 

 

alert(

 

" Input field value was '" + inputField + "'");

 

alert(

 

" Current line value was '" + lineg + "'");

 

 

 

 


//open window
var oWnd = window.radopen(null, "VendorDialog");

 

oWnd.setUrl(oWnd.get_navigateUrl());

 

 

}

 

 

 

 

function clientClose(sender, args) {

 

 

 

if (args.get_argument() != null) {

 

alert(

 

"'" + sender.get_name() + "'" + " was closed and returned the following argument: '" + args.get_argument() + "'");

 

alert(

 

" Input field value was '" + inputField + "'");

 

alert(

 

" Current Req value was '" + reqg + "'");

 

alert(

 

" Current line value was '" + lineg + "'");

 

 

}

 

 

//need to update row from level 3 of heirarchy for this column

}

Thanks

 

 

Iana Tsolova
Telerik team
 answered on 07 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?