Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
73 views
I have a radgrid with an entity datasource as datasource.

    <telerik:RadGrid ID="rgInmuebles" runat="server" AllowPaging="true" ShowHeader="false" 
    EnableViewState="false" OnItemDataBound="rgInmuebles_ItemDataBound" OnInit="rgInmuebles_Init">   
         ...... 
         ...... 
        <PagerStyle Mode="NumericPages" EnableSEOPaging="false" />         
    </telerik:RadGrid> 

The problem is when I have more than 10 pages. I click the "..." to go to the next block of pages and it places in page #11 but but after that when I click page #12 it goes to page #3. If I click the page #13 it goes to page #4 and so on.

What am I doint wrong?
Pavlina
Telerik team
 answered on 02 Aug 2010
5 answers
235 views
Hi!

I have a grid with a detailtable, which contains a detailtable.

I wants to localize the Pager tooltips (FirstPageToolTip, LastPageToolTip etc) and the Pager texts (PageSizeLabelText, PageTextFormat).

But it doesn't work on all tables.

I've tried to set it in Pre_Render
protected void RadGrid1_PreRender(object sender, EventArgs e) 
            RadGrid grd = (RadGrid)sender; 
            grd.PagerStyle.FirstPageToolTip = "Första sidan"
            grd.PagerStyle.AlwaysVisible = true
 

I've also tried to set PagerStyle-FirstPageToolTip="Första sidan" in <telerik:RadGrid> and <telerik:GridTableView>

Also tried to set <PagerStyle FirstPageToolTip="Första sidan" /> within the <mastertableview> and <telerik:GridTableView>

Independent on the settings above, I get English tooptips and texts.

Telerik version used is "2010.1.519.35"
Pavlina
Telerik team
 answered on 02 Aug 2010
10 answers
213 views

Hello all,

i am using rad grid with contextmenu to show and hide columns

when i hide all columns the contextmenu disapear and i am not able to add columns again

i am using javascript function to restore all columns
 function RestoreColumns() {
                    var grid = $find("<%=RadGrid1.ClientID %>");

                    for (i = 0; i < grid.get_masterTableView().get_columns().length; i++) {
                        grid.get_masterTableView().showColumn(i);
                    }
                }

how can i use my script or check if number of radgrid columns equal to 0 (no columns) so i can display the context menu again
or use a visible button to show all columns
Any suggestions or help will be appreciated !
sam
Top achievements
Rank 1
 answered on 02 Aug 2010
1 answer
56 views
I have custom user control that contains a radgrid.
I have placed the user control inside page1.aspx.
I want the radgrid to show the loading effect when it changed to insert mode or edit mode.
I would do it like that:

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                <telerik:AjaxUpdatedControl ControlID="RadInputManager1" />
                <telerik:AjaxUpdatedControl ControlID="ReportBox1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
  
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Outlook" />

The problem is that i cannot have access to the radgrid inside the user control from page1.aspx, plus there is only one radajaxmanager allowed per page so i cannot include one in the user control.

Does anyone knows if there is a way to resolve this?
Thanks in advance!
Maria Ilieva
Telerik team
 answered on 02 Aug 2010
1 answer
376 views
Hi,

I have 24hrs time in time panel like 17:30 pm .. But i need 12 hrs time like 5:30 pm..
please help me with this.

Thank You

Warm Regards
Gokoulane Ravi
Veronica
Telerik team
 answered on 02 Aug 2010
1 answer
59 views
Hi,

I have a scheduler bound and initially displaying a week view. In the calendar interface, I try advancing to the next week using the built-in right and left arrows. If I try advancing to the next week by clicking the right arrow, the dates that display in the calendar interface switch to

1/7/0001 - 1/13/0001


In code behind, the selected date is also this. Any idea why this would happen? Thanks.
Veronica
Telerik team
 answered on 02 Aug 2010
1 answer
63 views
I have a recurring event on my RadScheduler.  In some cases (for the whole Schedular) I would like the double click action (opening the event) to not display the Telerik dialog asking if I would like to edit the occurrence or the series.  That is, I would simply like to have it show the occurrence and not the series.  Is there anyway to do this?
Veronica
Telerik team
 answered on 02 Aug 2010
3 answers
143 views
Hi, is it correct to use the NeedDataSource event handler when the grid is created entirely on code behind (including the datasource) on page init?  Is there any recommendation on how to bind a grid created on page init to an SQLDataSource control created on code behind or initialized in client code but manipulated server side (the datasource)?  Is there any way in which I can prevent the grid from databinding every time page init is invoked (eg: initializing the datasource on Not Page.IsPostBack)?

Thank you,
Manuel
Pavlina
Telerik team
 answered on 02 Aug 2010
4 answers
83 views
Currently when I call set_rangeMaxDate in javascript, the calendar does not update (i.e. apply the change) until a postback occurs. It then properly greys out any dates out of range. How do I get it to apply this effect immediately client side?

Levi
Maria Ilieva
Telerik team
 answered on 02 Aug 2010
4 answers
244 views
I have a standard asp.net validation summary control with the "showmessagebox" property set to "true".  Is there a way to replace the "generic" popup window with the RadAlert?
Georgi Tunev
Telerik team
 answered on 02 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?