Questions tagged [viewpage]

79 questions
1
vote
1 answer

android: ViewPager with more than 100 webview

I've viewpager that has 604 webviews and i want to load 5 pages every time that user scrolling the pager, like that: {...[4][5][6][7][8]...} I assume that the current page that selected by user is page 6, so i want to load 2 pages before and after…
Khalid ElSayed
  • 278
  • 1
  • 5
  • 20
0
votes
2 answers

ASP .NET MVC 3 + Views Folder + ASPX ViewPage

I am developping a web application by using the ASP .NET MVC 3 framework. I have implemented an ASPX ViewPage containing a CrystalReportViewer control. I have got help by looking at the project downloadable at : http://hasibulhaque.com/?p=244 Here…
user1139666
  • 1,687
  • 4
  • 24
  • 45
0
votes
2 answers

ASP.NET MVC Deployed project not working: Inheritance System.web.mvc.viewpage fails?

i have a MVC project which runs perfectly local. When I deploy to the production server I receive a compilation error: BC30456: 'Title' is not a member of 'ASP.views_home_index_aspx'. It makes me think that the inheritance of…
Ropstah
  • 17,538
  • 24
  • 120
  • 194
0
votes
1 answer

viewpage contain fragment ,the fragment contain a inner viewPage, i found viewPage can`t skip when the fragment hide and inner viewpage don`t move

viewpage contain fragment ,the fragment contain a inner viewPage, i found viewPage cant skip when the fragment hide and inner viewpage dont move the lastest page.The out viewPage event has been Intercepted . how can i solve it 。
0
votes
2 answers

The Activity does not update the content of a ViewPager2

I implemented an Android application that must display the content of a list in an Activity, using ViewPager2. See an extract of the code below: public class MainActivity extends AppCompatActivity { ViewPager2 viewPager2; DataPageViewAdapter…
0
votes
2 answers

using viewpager, gallery or viewanimator

I'm trying to fling a view object (e.g an image) from left to right. First I used Gallery with a custom adapter. Then I tried ViewPager. I couldn't decide which one has a better performance. I guess ViewPager is better. By the way, I read about…
efeyc
  • 2,122
  • 2
  • 27
  • 39
0
votes
1 answer

Get an image to the right hand side of my information

I have been trying to put an image on the right-hand side of my information being displayed. Example: I keep getting the image to end up in between, below, or above the data. I just cannot figure out how to get it to run alongside. I tried to do…
user450157
  • 29
  • 3
  • 11
0
votes
1 answer

InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'System.Collections.Generics - How to fix this?

I have this issue when I use my view page to create a patient: InvalidOperationException: The model item passed into the ViewDataDictionary is of type 'System.Collections.Generic.List`1[PatientHut.Data.Models.Patient]', but this ViewDataDictionary…
user450157
  • 29
  • 3
  • 11
0
votes
1 answer

send data to one fragment to other fragment in viewpager

I am using 3 fragment in viewpager and try to communicate between all fragments(send data) I am using 3 fragment in viewpager and try to communicate between all fragments(send data)
0
votes
2 answers

How to add a viewPager for swiping between fragments without adding an activity

I am developing a Kotlin app and at some point I want to implement viewPager to swipe between fragments. I have one activity to navigate to the rest of the app through the navigation graph. I have not really understood how this swiping should…
0
votes
1 answer

Does/why does WebViewPage need to be inherited from twice, for generic+non-generic?

I've inherited a codebase, and found some code that I can't figure out why (and if) it's needed. It's a custom ViewPage, but we have the exact same code repeated twice - once for ViewPage and once for ViewPage. Basically: public class MyPageBase…
Sarov
  • 545
  • 6
  • 17
0
votes
1 answer

A way to randomly navigate to specific screen without unmounting that is created(pushed) multiple times

I need to know whether it is able to achieve the behavior I want using react-native. I am trying to find a way to navigate to specific screen that is created multiple times from one statically defined screen. First multiple screens are created by…
0
votes
2 answers

Problem calling extension method on a ViewPage

I created the following extension method for a ViewPage: using System.Web.Mvc; namespace G3Site { public static class ViewPage_Extensions { public static void Test(this ViewPage vp) { vp.Writer.Write("this is a test"); …
Ferruccio
  • 98,941
  • 38
  • 226
  • 299
0
votes
1 answer

What's wrong with this code to load image in jquery backstretch in view page?

i have below code for using jquery backstretch plugin in my login project. my project is asp.net core and login page is a view page. but the code has problem with local address of images. when i change address of image to a http address that work…
0
votes
1 answer

android activity containing viewpager opening slowly

I am trying to navigate from one activity to another. The second activity has a viewpager having three fragments. Two of the fragments have lots of views on it and one of it has less views. I tried keeping only one fragment in the viewpager that has…
Tsar
  • 63
  • 2
  • 10