I have created a simple app with a page having a server side form, three fields and a button that submits and performs two operations - 1) adds the form fields to the database table 2) sends an email. Now everything works fine on the web browser on my machine but when I access the app through my mobile, the page does not seem to work. the UI and all are set but the button click functionality doesnt seem to be working and also the label which is set after a successful submit is already visible and showing the "thank you" message. Am i doing something wrong here?
I have checked the app on Nokia Smartphone browser, android phone, and iphone simulator.
1st i would try to access the site from a different computer or through a proxy. Just to make sure things work out well in different browsers. That may catch your bug. It may be working fine on your PC Locally, on a local web server, but may not be uploaded to the web.
Next, I would check to see if the devices you are using support Javascript. Chances are good that your script relies on it.
I strongly recommend you to use JQuery Mobile, it create Mobile friendly interface for your website. and for sure it work the same for each cell phone, but as Asp.net isnot easy to render for most of (old) phones, so that you're not able to use whatever you like.
Related
I'm currently using a simple Iframe source for my client login page. Now this works perfectly fine on PC. But whenever the client logins it shows their page and then immediately kicks them. Please advise what I can do different.
website page: [https://www.ksbin.com/client_login]
source code:
I'm very new to all of this, there isn't much I did differently as I don't have much experience.
At the bottom of the email content i have a tiny code
img src='https://www.......aspx?Name=David' height='1' width='1'
What it does is whenever an user open the email, it tried to download the image (if email client allow) then it loads the aspx page in the background and passing Name parameter: David as GET and in that aspx page pretty much insert David into a table.
However, this seem to be working if I open outlook via browser, rather than using outlook on windows & android app and it doesn't work in gmail via browser.
How can i make it work if an user open via outlook windows/android app
Seems like it has to do with email encoding or something?
The email clients where this works are old, poorly designed, or misconfigured. The email clients where it doesn't work are smart enough to recognize this attempt at invading the user's privacy and block it, by not allowing remote images to load. There's not a way around it, and the entire point of not loading remote images is to keep people like you from doing what you're trying to do.
Im building an app for iOS and Android and need to open urls in the app on mobile and in the browser on desktop.
All links should open in the app if possible, so I cant generate one link for each possible url.
Can I do this in Firebase or do I have to create links in advance?
I'm not sure this question is related specifically to Firebase, or a general one.
I can try answering about the general case:
For opening in App:
In order to use Universal Links in iOS and AppLinks in Android, you'll need your click server to host Apple's AASA file or Android's asset file. This means that you'll need to serve that file for the operating system.
For opening in browser on desktop:
You'll need your click server to be able to detect desktop user agent and redirect you to store.
I didn't understand your question about: All links should open in the app if possible, so I cant generate one link for each possible url. Actually one link can fit all use cases, but you'll need to develop that capability in your own click server.
Here is the requirement:
The application is developed in Visual Studio 2015. It has a responsive (bootstrap) UI and is developed in VB.NET. The application has two sets of .aspx pages: one for the main application (works great) and a second for the mobile application (also works great).
When the user logins in using a desktop/tablet, they are correctly redirected to the 'desktop' version of the site including the correct Site.Master and CSS. Clicking the 'ViewSwitcher' on a desktop correctly directs the user to the mobile site SiteMobile.Master and correct CSS. So the desktop works correctly in terms of detecting the device and directing the user. No issue there.
If Request.Browser.IsMobileDevice = True Then
Response.Redirect("~/Mobile/index.aspx")
Else
Response.Redirect("~/AccessSecurity/Dashboard.aspx")
End If
When the user accesses the application using a phone (Chrome, IE, Firefox, etc) the same code directs the user to the mobile version of the application. Great. Again, no issue.
But here is the problem. When the user accesses the application using a mobile and wants to switch to the desktop version, the switcher directs them to the correct page, however the mobile CSS is used (the one referenced in the SiteMobile.Master) and not the one referenced by the Site.Master. No matter what I do, I cannot get the application to use the correct CSS from a phone when switching from Mobile to Desktop view. Here's what I've tried:
I've tried to force the page.masterfile on pre_init
I've moved the SiteMobile.Master to a directory called "MobilePages" to get it out of the root directory of the project. The compiler did not like this and wants the file in the root directory of the Visual Studio projectFrown | :(
and so on...
So the issue again is only when using a mobile device that switching to desktop view (Site.Master) it retains the mobile css even though the mobile css is not referenced by site.master.
Boy, I really hope I've explained this correctly!
Any insight/experience you've had would be appreciated.
Cory
I'm getting a weird issue involving IIS and IE, and I'll try to describe it clearly.
I have a regular html-css-js/jquery website that I've developed locally. Now that it's ready, I'm trying to deploy it on a server.
Once it's hosted on the server, I see two problems in IE only:
The rendering is slightly different: there's a few pixels of additional white space all around my website (so the contents is actually more 'compressed' than when viewed locally).
Some JS issues: I'm using the Impromptu jQuery popup plug-in, and the callback I specify in its 'loaded' event pre-populates its forms fields. In FF it works, but in IE the fields don't get populated until I close the popup and open it again. This worked locally on all browsers.
As weird as it sounds, the text in my jQuery popup dialog does not seem to have the 'ClearType' technology applied. The text is like '1 pixel thin' and not anti-aliased like everywhere else.
I have uploaded my website to another server and it runs perfectly fine. The issue is that I need to put it on the first server and I don't know what's wrong. Both servers are on Win 2k3 with IIS 6, .NET 3.5.
Any pointers as to what is going wrong? Thanks a lot.
Make sure that the "security zone" in the Internet Explorer status bar is the same when viewing the site between the 2 servers.
Use the IE developer toolbar to debug your css. Could also be a caching issue if it looks like an older version.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=95e06cbe-4940-4218-b75d-b8856fced535