By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,137 Members | 2,242 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,137 IT Pros & Developers. It's quick & easy.

How to use multiview in Datalist

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.comglsD: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 discussion thread is closed

Replies have been disabled for this discussion.