Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

manual call to FormView1_PageIndexChanging

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rodchar - 13 Feb 2008 21:37 GMT
hey all,

is there a way to call FormView1_PageIndexChanging manually and pass it a
specific index i want to go to?

thanks,
rodchar
Angel - 13 Feb 2008 23:43 GMT
you can drop a button and a textbox  on the page then on the button click
event do the following

FormView1.PageIndex = Convert.ToInt16(TextBox1.Text)
FormView1.DataBind()

it implies that the textbox has the page you want to go to.

In my opinion, PageIndexChanging is not the appropriate place for this.  
Unless I misunderstood your question.

Regards,

Are you trying to create your own custom paging?

Signature

aaa

> hey all,
>
[quoted text clipped - 3 lines]
> thanks,
> rodchar
rodchar - 16 Feb 2008 21:44 GMT
i have a dropdownlist that exists in my pagerTemplate. it contains all the
records of the formview's datasource. i'd like the 2 objects to be in sync.

> hey all,
>
[quoted text clipped - 3 lines]
> thanks,
> rodchar

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.