We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

align list box items to the right

Thread ID:

Created:

Updated:

Platform:

Replies:

109011 May 26,2013 04:08 PM May 28,2013 01:21 AM Orubase 3
loading
Tags: Orubase
Yara
Asked On May 26, 2013 04:08 PM

How can align list box items to the right because I implement Arabic site
Thanks and Regards 



Thivya [Syncfusion]
Replied On May 27, 2013 07:39 AM

Hi Yara,

Please find the below code snippet to make the content of the list item to be position at the right side.

//Stylesheet
.sf-m-lb .sf-item
{
    float: right;
}

//View Page
@Html.Orubase().ListBox("Listbox").BindDataSource(Model, map =>
{
    map.MapTo<Application.Controllers.Product>(binding =>
    {
        binding.ItemDataBound((item, nd) =>
        {
            item.Html = "<div class='sf-item'>" + nd.Text + "</div>";
        });
    });
})

Please try this and let us know if it works.

Regards,
Thivya.


Yara
Replied On May 27, 2013 11:06 PM

thank you very much for your response
it Worked for me

Yara

Thivya [Syncfusion]
Replied On May 28, 2013 01:21 AM

Hi Yara,

We are glad to hear it helps. Please let us know if you need any further assistance.

Regards,
Thivya.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;