Solved

How to bind data based on the view that has been selected using a MultiView control in asp.net 2.0 ?

Posted on 2008-10-17
4
348 Views
Last Modified: 2013-11-07
Hi,
I am trying to implement Tabs functionality using multiview control.
Could you please tell me how do we bind data based on the view that has been selected. Which event do we fire to do this?  I referred the following link to refer the MultiView control.
http://www.codeproject.com/KB/custom-controls/TabControl.aspx

Thanks for the help
0
Comment
Question by:ipjyo
  • 2
  • 2
4 Comments
 
LVL 13

Expert Comment

by:TechTiger007
ID: 22744374
you can have a hidden variable in the page
when ever the view is changed set the name of the view in the hidden control
when the user submits the page to save, get the value from this hidden control and bind data based on this value
0
 

Author Comment

by:ipjyo
ID: 22744569
Thanks for the response!
Actually, can you please clarify if we can bind the data based on the view that has been selected and without submitting the form. Because my requirement is that I need to show different data in each view and on page_load.  Please let me know if it is possible.

Thank you
0
 
LVL 13

Accepted Solution

by:
TechTiger007 earned 500 total points
ID: 22744712
Yes you can bind data based on the selected view.
If you want to do that without post back then you have to use ajax to achieve this
0
 

Author Comment

by:ipjyo
ID: 22745040
ok, thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now