This is a migrated thread and some comments may be shown as answers.

[Solved] Pager mode selection does not work

13 Answers 203 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kia
Top achievements
Rank 1
Kia asked on 01 Apr 2008, 12:30 AM
Hi,

I'm trying to change the pager mode on my grid from the default PrevNext to Numeric only. but it makes no difference what I do to it. Advanced, slider, whatever. When I run the site, I just continue to see the default PrevNext at the bottom. Am I missing some step?

Thanks,
Kia

13 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Apr 2008, 06:45 AM
0
Kia
Top achievements
Rank 1
answered on 01 Apr 2008, 06:59 AM
Deleting accidental duplicate post.
0
Kia
Top achievements
Rank 1
answered on 01 Apr 2008, 07:00 AM
Thanks Vlad,

After playing around a bit, I've found that on many occasions(but not all the time), working in the properties menu and in design view will show temporary changes, but running the project or switching to code view causes the changes to revert to the original state. eg, Paging can not be modified by the properties window. In other situations(such as with docks), the code is messed up and will not compile untill you manually correct the problem.

This is very annoying. Are these controls designed for pure manual coding or have they been tested in VS Design View?
0
Vlad
Telerik team
answered on 01 Apr 2008, 07:06 AM
Hi Kia,

We are not aware for such problem - can you send us small example and/or step by step instructions how to reproduce this?

Regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kia
Top achievements
Rank 1
answered on 01 Apr 2008, 12:15 PM
No problem,

I'll start with this latest issue first... I just tested it out and can confirm the following:

Using Prometheus Q1 2008


Create a new AJAX Toolkit Website(I never tried a standard AJAX site).
Open default.aspx(should already have AJAX Script Manager)
From design view:
Place a RadGrid on page,
    set datasource(to some source with many records),
    set paging = true
    from properties window, scroll to PagerStyle - Pager Mode
    select a different Mode. Run project to test(Note that this works fine)

Now change the skin for the grid to a custom one.
    Select EnableEmbeddedSkinning = False
    Enter the appropriate imagePath
    enter name of custom skin
Now try modifying Pager Mode again(using designer). This won't work. Though it looks like it has taken the new value, the grid will not visibly change in design view and the code will not be modified. Now the only way to make this change is to do it manually in aspx code.

That's it. I also have a query regarding column widths on this same forum. I could be wrong, but I think there is a problem with that too. Using filter fields seems to overwrite the width settings.
http://www.telerik.com/community/forums/thread/b311D-bcheke.aspx

0
Kia
Top achievements
Rank 1
answered on 02 Apr 2008, 12:35 AM
I have the same issue with making changes to RadDock in design view. Seems they allow 2 copies of the same property to be stored. One of them is not reflected in the aspx code.
0
Vlad
Telerik team
answered on 02 Apr 2008, 07:43 AM
Hi Kia,

Unfortunately you are right. Please use as temporary workaround MasterTableView PagerStyle instead.
I have added 1000 telerik points to your account.

Kind regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kia
Top achievements
Rank 1
answered on 03 Apr 2008, 05:42 AM
Thanks Vlad,

Now that you know about it, you probably would be able to figure out the different issues with it, but incase it helps, here's an addition to my earlier description:

When EmbeddedSkin is set back to True, functionality does not seem to return. Control must be replaced. This is also not just confined to this property. There are several more, but not all properties on the grid and dock controls that have the same issue.

Also I'm not sure if this has been fixed now(haven't had a chance to check it out), but using prometheus 2007 dropping or dragging a grid into a dock control caused dock to lose the </contentTemplate> tag. This has to be re-typed in manually every time some work is done with a control inside a dock.

I wonder, is there a scheduled final release date for Prometheus? Is it safe for me to use the current Q1 Preview now, expecting to upgrade it to the final release latere? Will the next release be compatible enough just to replace the DLLs and continue work on new pages on the site?

Thanks
Kia
0
Sebastian
Telerik team
answered on 11 Apr 2008, 06:58 AM
Hello Kia,

We will do our best to address all reported issue with the Futures release of RadControls Prometheus until the official launch of Q1 2008, scheduled in the middle of the next week. You can consider the current Futures build as beta version/preview of the new major release of our Prometheus controls.

The upgrade process from the Futures build to the final release will not differ from any other upgrade. Detailed instructions about how to update our controls to another version or license you can find in the following section on our site:

http://www.telerik.com/support/kb/article/b454K-kad-b454T-bah-b454c-bah.aspx

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kia
Top achievements
Rank 1
answered on 24 Apr 2008, 02:48 PM
Hi,

I tried everything and even waited to try this new version.

I've followed the exact instructions for upgrading. After many different tests, I've come to the conclusion that the issue is deffinitely related to the custom skinning issue.

Though other issues from Prometheus were solved related to custom skins. This one seems to remain. Please follow instructions below to replicate:

On a aspx page add a new grid and connect to a datasource. Then using the Property Builder, add a detail level and click OK. Note that the expand column shows an image by default.

Now change the skin: Select EnableEmbeddedSkins=False, set the correct image folder, enter name of the custom skin, enter the skin CSS into the aspx. Now you will notice that the images in the expand column turn into buttons.

I find this to happenning consistency enough to look like a bug. Otherwise I'd love to know what I'm doing wrong.

Thanks,
Kia
0
Pavel
Telerik team
answered on 29 Apr 2008, 12:36 PM
Hello Kia,

In order to make the image apply you should also set the ExpandCollapseColumn button type to ImageButton on the page OnInit event like this:
protected override void OnInit(EventArgs e) 
    {    
        base.OnInit(e); 
        RadGrid1.MasterTableView.ExpandCollapseColumn.ButtonType = Telerik.Web.UI.GridExpandColumnType.ImageButton; 
    } 

A sample project is attached for reference.

Let us know if you need further assistance.

All the best,
Pavel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kia
Top achievements
Rank 1
answered on 29 Apr 2008, 01:49 PM
Pavel,

Thanks for the tip. This works, but I see this one is yet another variation on the above bug.

Have you noticed that using the aspx file, "ButtonType="ImageButton"" in the "ExpandCollapseColumn" tag does not seem to work? Also using the properties window in design view does not work.

It seems the only reliable way to get things working correctly is to type everything by code in different events. This is kind of counter intuitive to the idea of .Net quite time consuming.

Kia
0
Pavel
Telerik team
answered on 30 Apr 2008, 01:37 PM
Hi Kia,

Indeed you are right and the ButtonType property does not work for the ExpandCollapseColumn when set declaratively. Please excuse us for this temporary inconvenience. I have logged the issue in our bug-tracking system. As a token of gratitude for bringing this to our attention I have updated your Telerik points.

Greetings,
Pavel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Kia
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Kia
Top achievements
Rank 1
Sebastian
Telerik team
Pavel
Telerik team
Share this question
or