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.
Syncfusion Feedback

how to create user control following requirment?

Thread ID:

Created:

Updated:

Platform:

Replies:

74953 Jul 4,2008 12:59 PM UTC Jul 7,2008 09:50 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On July 4, 2008 12:59 PM UTC

previous

1
2

7
8
9
10
11



next




iam having total 11 pages.

if the cursor is one previous button should be disabled.

if the cursor is 11 next button should be disabled..

plz send me code .






Melba Winshia [Syncfusion]
Replied On July 7, 2008 09:50 AM UTC

Hi Kathyani,

Thank you for your interest in Syncfusion Products.

You can use Syncfusion Multipage control to achieve this. Please use below code to disable previous button when the first button is clicked:

[Javascript]
function GoFirst()
{
_sfMultiPage1.GoFirst();
DisableFirstSet();
document.getElementById("PageOptions").value=0;
}

function DisableFirstSet()
{
document.form1.btnFirst.disabled=true;
document.form1.btnPrevious.disabled=true;
document.form1.btnNext.disabled=false;
document.form1.btnLast.disabled=false;
}


Please refer the sample in the below link which illustrates the above:

http://www2.syncfusion.com/infrastructure/web/tools.web/samples/2.0/TabsPackage/Multipage/CoreFeatures/CS/CoreFeature.aspx

Please try this and let me know if this helps.

Thanks,
Melba




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.

Warning Icon 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.Close Icon

;