Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
146 views

HI ,

I tried following code to implement paging Concept  by using <PagerStyle Mode="Slider>.

Aspx:-

<div>

   

        <!-- content start -->

        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

            <AjaxSettings>

                <telerik:AjaxSetting AjaxControlID="RadGrid1">

                    <UpdatedControls>

                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />

                    </UpdatedControls>

                </telerik:AjaxSetting>

                <telerik:AjaxSetting AjaxControlID="rcbPagerMode">

                    <UpdatedControls>

                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />

                        <telerik:AjaxUpdatedControl ControlID="rcbPagerMode" />

                    </UpdatedControls>

                </telerik:AjaxSetting>

            </AjaxSettings>

        </telerik:RadAjaxManager>

<!----->

   

        <telerik:RadComboBox ID="RadComboBox1" Runat="server" Skin="Telerik">

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

        </telerik:RadComboBox>

   

        <telerik:RadGrid ID="RadGrid1" Skin="WebBlue" runat="server" AllowPaging="True" AllowCustomPaging="True"

            PageSize="10" onneeddatasource="RadGrid1_NeedDataSource" >

            <MasterTableView VirtualItemCount="100" />

            <PagerStyle Mode="Slider"></PagerStyle>

        </telerik:RadGrid>

 

   

    </div>

Aspx.cs:-

protected void Page_Load(object sender, EventArgs e)

    {

        SqlConnection con = new SqlConnection("server=.;database=Pubs;trusted_connection=true");

        SqlDataAdapter dap = new SqlDataAdapter("select * from authors", con);

        DataSet ds = new DataSet();

        dap.Fill(ds, "authors");

this.RadGrid1.DataSource = ds.Tables[0];

        this.RadGrid1.DataBind();

 

    }

    protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

    {

       

    }

Please guide me to Implemet paging with above example…

 

Thanks,

Ranganath.S

Deboshree
Top achievements
Rank 1
 answered on 23 Sep 2008
2 answers
141 views
Hi,
I have a scheduler in timelineview, a group by claus, and about 20 rows (groups) with quarterly timespan. The content of each in tex is quite large ca 60 characters (and the tooltip even more). I have a Appointementdatabound-function to format items individually.

Is ther any ways to render the page faster? Noe it takes about 30-40 sec.

I have tried to disable tooltips (can't be done?), minimize content to 20 chars,  and also

.EnableAdvancedForm = False

.StartEditingInAdvancedForm = False

.EnableAdvancedForm = False

.EnableResourceEditing = False

EnableTheming =

False

Peter
Telerik team
 answered on 23 Sep 2008
1 answer
53 views
Hello,

I'm using a grid with the Telerik skin and when I expand a row to show the details tables, on the left a few inches below the expand arrow I see a bunch of other arrows... I think they are part of the graphics file... is there some way to hide these?

Thanks,

Mike
Dimo
Telerik team
 answered on 23 Sep 2008
3 answers
95 views

Hi,
   im calling a radwindow from parent page and i need to call one more window from the first radwindow. I called it from the parent window by using the code

var oBrowserWnd = GetRadWindow().BrowserWindow;

oBrowserWnd.radopen(

"AssignUsers.aspx?Group_Id=" + GroupId, "AssignUsersWindow");

It is working fine. but when i click ok button in the 2nd radwindow, the window should close and the 1st window grid contents and parent window contents should be refreshed. but the window is not getting closed and the parent page is not getting refreshed.

Can anyone suggest me how to do these 2 tasks..

Thank you in advance

Georgi Tunev
Telerik team
 answered on 23 Sep 2008
1 answer
126 views
I have the problem with footer aggregate , i saw the post talk about that , you suggested to set EnableLinqExpressions to false , i did it and fixed
but i Want to say , I'm trying to trace the error i found the problem with casting in .net 3.5 SP1 , when I test it with 3.5 , it's working fine , I check your source files , i found the problem with Linq.Cast between double and deciaml , and i found it as a public bug in SP1 , can you suggest some other solution , if I want to use LinqExpressions
Thanks
Rosen
Telerik team
 answered on 23 Sep 2008
2 answers
118 views
Hi,

I'm using RadControls for ASPNET AJAX Q1 2008 and have encountered two unexpected behaviors of the RadTextBox:

 1. when the "width" property is set to a percentage value the control automatically resizes itself to accomodate the physical length of the text to the percentage width and still still reserves space as if the percentage property was set to 100% which ruins the page's layout. As a naive illustration consider the following example:
RadTextBox with width of 50% and content: "mmmmmmmm" (8 m's)
the control resizes to accomodate 4 m's yet it still reserves space for the other 4 m's as well (the control's physical size is 4m and the other 4m's are just empty space). The resizing occurs when the control looses focus or the mouse hovers over it.

 2. when the "width" property is set to a percentage value (again) the cut / delete functionalities do not work correctly: after typing some text in the control (enough for it to perform a resize) double-click the text content in order to select it and click either cut or delete from the context menu. The content of the textbox becomes empty, but when performing a click anywhere except in the textbox, the deleted content appears again as textbox content.

I have reproduced both these possible bugs and can supply a demo project and more detailed guidelines if needed.


Thank you for your time.

Adrian Muresan
misoft-systems
Adrian
Top achievements
Rank 1
 answered on 23 Sep 2008
8 answers
139 views
Hi there,

We implemented PanelBar in sharepoint. The control renders fine but the panel doesn't open or close; Also there always a javascript error on the page due to the panel bar.
Code implemented is below
  <telerik:RadScriptManager ID="ScriptManager" runat="server" />
            <telerik:header id="Header1" runat="server" NavigationLanguage="C#" XhtmlCompliant="False"></telerik:header>
            
            <telerik:RadPanelBar runat="server" ID="RadPanelBar1" Skin="Outlook" Height="380px" ExpandMode="FullExpandedItem">
                <Items>
                    <telerik:RadPanelItem Text="Mail" ImageUrl="Img/mail.gif" Expanded="True">
                        <Items>
                            <telerik:RadPanelItem ImageUrl="Img/mailPersonalFolders.gif" Text="Personal Folders"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/mailDeletedItems.gif" Text="Deleted Items"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/mailInbox.gif" Text="Inbox"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/mailFolder.gif" Text="My Mail"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/mailSent.gif" Text="Sent Items"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/mailOutbox.gif" Text="Outbox"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/mailSearch.gif" Text="Search Folders"></telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelItem>
                    <telerik:RadPanelItem Text="Calendar" ImageUrl="Img/calendar.gif">
                        <Items>
                            <telerik:RadPanelItem>
                                <ItemTemplate>
                                    <telerik:RadCalendar runat="server" ID="Calendar1" Skin="Outlook" style="margin: 30px auto 0" />
                                </ItemTemplate>
                            </telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelItem>
                    <telerik:RadPanelItem Text="Contacts" ImageUrl="Img/contacts.gif">
                    <Items>
                        <telerik:RadPanelItem ImageUrl="Img/contactsItems.gif" Text="My Contacts"></telerik:RadPanelItem>
                        <telerik:RadPanelItem ImageUrl="Img/contactsItems.gif" Text="Address Cards"></telerik:RadPanelItem>
                        <telerik:RadPanelItem ImageUrl="Img/contactsItems.gif" Text="Phone List"></telerik:RadPanelItem>
                        <telerik:RadPanelItem ImageUrl="Img/contactsItems.gif" Text="Shared Contacts"></telerik:RadPanelItem>
                    </Items>
                    </telerik:RadPanelItem>
                    <telerik:RadPanelItem Text="Tasks" ImageUrl="Img/tasks.gif">
                        <Items>
                            <telerik:RadPanelItem ImageUrl="Img/tasksItems.gif" Text="My Tasks"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/tasksItems.gif" Text="Shared Tasks"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/tasksItems.gif" Text="Active Tasks"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/tasksItems.gif" Text="Completed Tasks"></telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelItem>
                    <telerik:RadPanelItem Text="Notes" ImageUrl="Img/notes.gif">
                        <Items>
                            <telerik:RadPanelItem ImageUrl="Img/notesItems.gif" Text="My Notes"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/notesItems.gif" Text="Notes List"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/notesItems.gif" Text="Shared Notes"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/notesItems.gif" Text="Archive"></telerik:RadPanelItem>
                        </Items>                    
                    </telerik:RadPanelItem>
                    <telerik:RadPanelItem Text="Folders List" ImageUrl="Img/folderList.gif">
                        <Items>
                            <telerik:RadPanelItem ImageUrl="Img/mailOutbox.gif" Text="My Client.Net"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/mailOutbox.gif" Text="My Profile"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/mailOutbox.gif" Text="My Support Tickets"></telerik:RadPanelItem>
                            <telerik:RadPanelItem ImageUrl="Img/mailOutbox.gif" Text="My Licenses"></telerik:RadPanelItem>
                        </Items>                    
                    </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelBar>

We are using telerik version 2008.1.619.20
Javascript error:- Object doesn't support this property or method;

Thanks
Simon
Top achievements
Rank 1
 answered on 23 Sep 2008
2 answers
96 views
Hi

Do you have any vb.net demo to translate RadGrid messages?

Regards
Quim
Top achievements
Rank 1
 answered on 23 Sep 2008
1 answer
82 views

Hi,

I am facing "Internet Explorer can not diplay the page. Operation Aborted" with Rad Window.
I face this pop-up while rendering the page.
I tried with defer="defer" but to no avail.

My  page is associated with heavy javascript.

Please suggest.

-Prakash
Georgi Tunev
Telerik team
 answered on 23 Sep 2008
5 answers
191 views
Hello,$0$0$0$0I am using the RadScheduler from the 2007.3.1218.20 build, and have encountered a problem when running my website with an SSL certificate.  When I load up the scheduler's page, everything is fine.  However, when I double click a time slot to open a new appointment, or when I switch between Day/Week/Month views, basically anything that causes the first asynchronous post back, I get the "This page contains both secure and non-secure items..." prompt.$0$0$0$0$0I had the scheduler inside a RadAjaxPanel from the same build, and noticed that when I removed the scheduler from the ajax panel, there was no such prompt, in other words if the scheduler is not ajaxified then it runs fine under SSL.  I then used a RadAjaxManager from the same build to ajaxify it, wondering if it had something to do with the ajax panel, but no, unfortunately it resulted in the same prompt.$0$0$0$0$0I then made an entirely new page, dropped the RadScheduler onto it, gave it a datasource, and ajaxified it with an ajax manager, wondering if perhaps it had something to do with my edit/insert templates in the Scheduler on the actual page.  This is not the case, as even with this bare-bones Scheduler page the SSL prompt still occurrs.  If I disable ajax on the Scheduler, then it works fine.$0$0$0$0$0I know that this version of the Rad Toolkit probably isn't supported anymore, but I basically have two questions:$0$01) Is this a known genuine issue with the RadScheduler or Ajax capabilities of this toolkit version?$02) If so, is there a workaround for this?$0$0$0$0Thanks for the replies.$0
T. Tsonev
Telerik team
 answered on 23 Sep 2008
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?