473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to use multiview in Datalist

Hi,
I try to add multiview in datalist, but how to change multiview's default
view page in datalist? Where it is ?
datalist1.itemtemplates.itemtemplates.multiview ??

thanks
TMT32
Jul 10 '06 #1
4 3261
Hi,

Can you little bit elaborate about what is your exact problem?
DataList doesn't have anything like Multiview as a property.

Thanks
--
Vadivel Kumar
http://www.vadivelk.net
va**@online.vadivelk.net (remove "online.")

TMT32 wrote:
Hi,
I try to add multiview in datalist, but how to change multiview's default
view page in datalist? Where it is ?
datalist1.itemtemplates.itemtemplates.multiview ??

thanks
TMT32

Jul 10 '06 #2
Hi Vadivel Kumar,
Thanks your reply. I drag and drop a multiview1 in Datalist1-(ItemTemplate).
And add 2 view in multiview1. Now I want to change multiview's default view
page number to show view1 or view2. But I can't find multiview1 object in
Datalist .

Please help.

TMT32

"Vadivel Kumar" <va******@vadivelk.net>
???????:%2******************@TK2MSFTNGP03.phx.gbl. ..
Hi,

Can you little bit elaborate about what is your exact problem?
DataList doesn't have anything like Multiview as a property.

Thanks
--
Vadivel Kumar
http://www.vadivelk.net
va**@online.vadivelk.net (remove "online.")

TMT32 wrote:
>Hi,
I try to add multiview in datalist, but how to change multiview's default
view page in datalist? Where it is ?
datalist1.itemtemplates.itemtemplates.multiview ??

thanks
TMT32

Jul 10 '06 #3
TMT32 wrote:
Hi Vadivel Kumar,
Thanks your reply. I drag and drop a multiview1 in
Datalist1-(ItemTemplate). And add 2 view in multiview1. Now I want to
change multiview's default view page number to show view1 or view2.
But I can't find multiview1 object in Datalist .
As with all objects on templated controls, use FindControl:

VB.NET:
Dim mv1 As MultiView =
CType(Datalist1.Items(x).FindControl("Multiview1") ,Multiview)

C#:
MultiView mv1 = (MultiView)Datalist1.Items(x).FindControl("Multivi ew1");

--

Riki
Jul 10 '06 #4
Hi,
Thanks yor help first. Now I can access my multiview control in datalist.
But how to get runtime "x" value ???

Please help.

Thanks

TMT32

"Riki" <ri**@dontnagme.com¼¶¼g©ó¶l¥ó·s»D:ei************** @TK2MSFTNGP03.phx.gbl...
TMT32 wrote:
>Hi Vadivel Kumar,
Thanks your reply. I drag and drop a multiview1 in
Datalist1-(ItemTemplate). And add 2 view in multiview1. Now I want to
change multiview's default view page number to show view1 or view2.
But I can't find multiview1 object in Datalist .

As with all objects on templated controls, use FindControl:

VB.NET:
Dim mv1 As MultiView =
CType(Datalist1.Items(x).FindControl("Multiview1") ,Multiview)

C#:
MultiView mv1 = (MultiView)Datalist1.Items(x).FindControl("Multivi ew1");

--

Riki

Jul 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: needin4mation | last post by:
I wanted easy tabs for my webpage and saw the new MultiView. I read and couldn't tell, but is the MultiView the same as having tabs? Or does MultiView bring everything at once and the user just...
0
by: Fabuloussites | last post by:
I have a page that has multiview control that has two dropdown lists on it. the dropdown controls ARE NOT inside of the multiview. Each drop down is bound using its own sqldatasource conrtol. The...
0
by: eric.olstad | last post by:
I want to create a web site that can dynamically creates tabs -- like firefox functionality built into a web site. Take a look at this site to get an idea of what I'm looking to do:...
0
by: Avon | last post by:
Hi friends, I am very sorry for my not perfect English. I have one question, I am using David Bauer's DynamicControlsPlaceholder to dinamically generate controls and I am tryig to generate...
1
by: Martin | last post by:
Hi, I have a FormView control with a MultiView control within it's EditItemTemplate (because using a Wizard doesn't maintain two way data binding - MS confirmed bug). Any how, I have the...
2
by: Alexander van Doormalen | last post by:
I have a MultiView control with 2 Views in it. In the first View I have a form which contains sereral input controls and a custom UserControl. In this custom UserControl I have a button which...
0
by: Jacob Donajkowski | last post by:
Once the user logs in I want to have the users switch from the Roster View to the Profile View and enter their profile infomation and save it. Then the next time they login and go to the Profile...
1
by: Nathan Sokalski | last post by:
When I include a MultiView control in my application, I receive the following error: MultiView cannot have children of type 'Label'. It can only have children of type View. I receive the...
0
by: James Crosswell | last post by:
I noticed something interesting when using the Multiview control and was wondering if someone could shed some light on the inner workings of all of this so I can better understand what's going on...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.