MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Sorting Blog Posts (Zatvorena) (Mono Support )

12955 put(a) pogledan, 5 odgovor(a) 18.4.2012. 12:37:29Kreirao(la) HüseyinDursun
HueseyinDursun

HüseyinDursun

18.4.2012. 12:37:29
Hi,

I'm using blog as categories to give information about specific topics. Is it possible to sort blog posts alphabetically (by title)?

Thanks...
Ovaj sadržaj još nije ocijenjen. 
450 Reputacija 66 Ukupno objava
kpeulic

kpeulic

19.4.2012. 10:08:53
Hi,

You can try do it by following these steps:

- create your BlogRepository class by inheriting the MonoX BlogRepository

- override the GetBlogPosts method in BlogRepository and set the sorter as you wish

- create your BlogPostList control by inheriting the MonoX BlogPostList control

- override the BindData method in BlogPostList and call your BlogRepository -> GetBlogPosts method to fetch the blog posts

- create your BlogContainer control by inheriting the MonoX BlogPostList and change in the mark-up MonoX BlogPostList control your BlogPostList control

- go to Blog page and change the MonoX BlogContainer control with your BlogContainer control

Let me know is this approach suits you.

Regards
Ovaj sadržaj još nije ocijenjen. 
1849 Reputacija 181 Ukupno objava
HueseyinDursun

HüseyinDursun

19.4.2012. 12:23:05
Hi,

I don't know any programming landuage. So It is really difficult for me to do these steps.

I have more than 200 blog posts on my website. If there is a way by changing some ceratin codes on certain pages (e.g. Blog.aspx), I can change the codes. Otherwise I will let it stay unchanged.

Thanks for your help..
Ovaj sadržaj još nije ocijenjen. 
450 Reputacija 66 Ukupno objava
kpeulic

kpeulic

19.4.2012. 12:38:17
Hi,

This cannot be done without extending. We can offer you a custom development service and implement these changes for you.

Regards.
Ovaj sadržaj još nije ocijenjen. 
1849 Reputacija 181 Ukupno objava
HueseyinDursun

HüseyinDursun

19.4.2012. 12:40:42
OK, thanks..

Ovaj sadržaj još nije ocijenjen. 
450 Reputacija 66 Ukupno objava