Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
67 views
Is there a way I can EnableKeyboardShortcuts but not allow InitInsertKey?
I want users to be able to do all the short cuts but insert.


Tsvetoslav
Telerik team
 answered on 16 Nov 2009
1 answer
88 views

Hi,

Is it possible to set up self-referencing hierarchy when using client-side data-binding?

I've successfully created such grid with 'regular' server side data-bindings but when i switch client-side ones (declarative or non-declarative) it remains flat.

Greetings,

Tom

Nikolay Rusev
Telerik team
 answered on 16 Nov 2009
3 answers
81 views
Hello,

RadGrid is a good tool ...but could be improved.

I discovered the finally integrated buttons to export to Excel, Word,pdf,csv...perfect.
But I am still disapointed we still have to add manually javascript to the page:
<script type="text/javascript">  
            function onRequestStart(sender, args)  
            {  
                if (args.get_eventTarget().indexOf("ExportToExcelButton") >= 0 ||  
                    args.get_eventTarget().indexOf("ExportToWordButton") >= 0 ||  
                    args.get_eventTarget().indexOf("ExportToPdfButton") >= 0 ||  
                    args.get_eventTarget().indexOf("ExportToCsvButton") >= 0)  
                {  
 
                    args.set_enableAjax(false);  
                }  
            }  
        </script> 
 

This should be done by control !

And we should have a way to add from codebehind several javascript functions which would be called OnRequestStart.


Thanks Telerik for this tool but thanks doing some more efforts.

CS



Daniel
Telerik team
 answered on 16 Nov 2009
3 answers
80 views
 I attached the image file where you can see what happens when scrolls are appearing within opened Page Size on client machine. I tried to reproduce it on development environment and couldn't. Can you give me any tips how to solve it (or reproduce).
Pavlina
Telerik team
 answered on 16 Nov 2009
1 answer
233 views
Hello,
I'm having some issues trying to use the Popup Edit Form in a RadGrid that is located inside a DIV with the overflow set to hidden.  When Insert/Edit is clicked in the RadGrid the PopupEdit form is displayed, but it is cut off due to the DIV overflow requirement (due to the rest of the layout, the div needs to retain the overflow: hidden).

Is there a way to get the Popup Edit form to show without the window contents being cut off despite the container div having a overflow setting of hidden, other that re-positioning the Popup so it does not appear near the edges (if this is the only way, then is it possible to not allow the user to move the Popup)?

        RadGrid1.MasterTableView.EditMode = GridEditMode.PopUp 
        RadGrid1.MasterTableView.EditFormSettings.PopUpSettings.Modal = True 

/* column container */ 
.containerinmulticolumn { 
    position:relative;   
    clear:both; 
    float:left; 
    width:100%;         /* width of whole page */ 
    overflow:hidden;        /* This chops off any overhanging divs...some some CSS left out of post */ 


Dimo
Telerik team
 answered on 16 Nov 2009
2 answers
162 views
Hi,
      I want to resize the RadGrid on the client side on window resize. Right now, i can do that. The issue is that the whole mastertable got resized as i set the height to be 100%. 
      I want the master table to be 100% but i do not want the rows to be resized (stretch). I want fix size for the rows. So, if there is no data i want empty grid with 100 % height and the pager right at the bottom. Similarly, for less records, show few records and then all empty space and then right at the bottom, show the pager.
       Right now , it strectches all the records height to fill the space. It does resize though which is great.
      Also, i have custom paging on, so i only fetch data page by page. The virtual count is also set programmatically. now, how can i achieve the functionality ?

Regards,

Osman
Senior Developer
Dimo
Telerik team
 answered on 16 Nov 2009
1 answer
154 views
Hi,
I am using Rad Calendar for selecting  multiple dates . I need to select many dates for some back end computation.
I also need to bind the dates again with the calendar control while retrieving the dates from DB. I dono the exact way of achieving this. I used the following code but it giving problem in "get_selectedDates()" function. I am using the latest Version only. Pls help me
 function getSelected() {
            var d, text = '';
            var calendar = "<%= RadCalendar1.ClientID %>";
            var dates = calendar.get_selectedDates();
            for (var i = 0; i < dates.length; i++) {
                var date = dates[i];
                d = date[1] + '/' + date[2] + '/' + date[0];

                if (i == dates.length - 1) {
                    text = text + d;
                }
                else {
                    text = d + ',' + text;
                }
            }
            var textbox = document.getElementById('TextBox1');
            textbox.value = text;
        } 

Thanks,
Jeevitha

Pavlina
Telerik team
 answered on 16 Nov 2009
1 answer
120 views
Hi,
i use RadAjaxManager in radgrid telerik q3 2009 in my dnn module and i see this error:
Object reference not set to an instance of an object.(i use this sample   http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/dynamicajaxsettings/defaultcs.aspx?product=grid   )
this is pieces my code that errror occur this:              
 (RadAjaxManager.GetCurrent(this.Page) as RadAjaxManager).AjaxSettings.AddAjaxSetting(editButton, this.Page.FindControl("pnlgrd"), this.Page.FindControl("RadAjaxLoadingPanel1") as RadAjaxLoadingPanel);
please help me to solve this problems.
very thanks.

Vlad
Telerik team
 answered on 16 Nov 2009
1 answer
236 views
Hello,

I would like to update my text to database and reloading it later from database. Problem is MyRadTextBox.Text replace carriage return by one space.
Is it possible to save carriage return ?

Thank you.
luc bonenfant
Top achievements
Rank 1
 answered on 16 Nov 2009
1 answer
169 views
Hi Everybody,

I developed a little project for try to undertand better the working of radcalendar control. In this development I havent knw how to change the special dates style.

In the page, there are two radcalendar controls and a button. The user selects any date from first radcalendar and then the user clicks on button.

There is a event button that gets all dates and then adds as special dates in the second  radcalendar. Well, both radcalendar control has the style of Web20. I'd like that the special dates will be the same style of disable dates or dates that be outside of period of time.

This is the event button code:

foreach

 

(RadDate item in RadCalendar1.SelectedDates)

 

{

 

RadCalendarDay day = new RadCalendarDay();

 

day.Date = item.Date;

day.IsDisabled =

true;

 

day.IsSelectable =

false;

 

day.ItemStyle.CssClass =

"calendarHolidays";

 

RadCalendar2.SpecialDays.Add(day);

 

}

Following, css:

 

.calendarHolidays

 

a

 

{

 

color: red !Important;

 

 

background-color: #f2f2f2 !Important;

 

}

this class is inside of Calendar.Web20 css.

Could anyone help me plase??/

Thank you for all attention,

Carlos

Pavlina
Telerik team
 answered on 16 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?