Mobiles :: Client Saving Data
Oct 28, 2010
I'm currently work on a Mobile Web project.Here is the thing i must do ;
Suppose that i've a web page that gets username from client .
When client enter a username and hit the button ; if there's a connection between IIS and client , username shall be sent to IIS.
but if there is no connection between IIS and client , username shall be stored at client side.
View 6 Replies
Similar Messages:
Oct 5, 2010
developed an application in Asp.net. It is a receipting system. I have deployed the system in a company which runs with various networks. The company uses VPN, LAN and so many. When I deployed the system they complain the speed is very slow when accessing through network. Specially in the receipt page where i have used Update Panels and AJAX Comboboxes, they complain that it takes time to load the combo boxes. Also they say that when the selected index is changed in the combo box, it takes time to post the data in the other relevant controls.
View 5 Replies
Mar 21, 2011
saving a static HTML page on the client, so that I can then upload it back to the server? I'm building a Gantt style page, then allowing the user to "draw" on it using VML (This will change to SVG once we are off IE6). I need to be able to save the page (including the VML) to temp and then upload it back to the server as a static HTML file.
View 2 Replies
Dec 10, 2010
Background: From a desktop application, users will navigate to an SSL-encrypted web portal where they will have to enter a username / password if it's their first time logging in. I want to be able to securely persist their user session. I was thinking of using encrypted cookies, storing their username and a unique session token / key, but was wondering what benefits client certificates offered in terms of security.
The way I see understand it currently:
Encrypted cookies:
Saved on the user's machine just like any other cookie Since the entire site is SSL, the contents of the cookie cnnot be tampered withEasily implementableWhen a user logs in again, invalidate the token / key and issue a new one
Problems:
Anyone attempting to access the web portal on the computer with a saved session will be able to, but this is a problem with any persisted session, right?
How do I know that computer A is computer A and not just computer B that copied computer A's cookie?
Client Certificates:
A pain in the ass to install Will uniquely identify that person's computer (or can it be restricted to the user account) to the web portal If the client certificate is stolen, then the account is compromised
Question: For persisting user sessions with the utmost security, would encrypted cookies be sufficient or would I need to install client certificates? How do they differ?
View 1 Replies
Mar 3, 2010
How can I develop Client-User and Web applications for BalckBerry using Visual Studio 2008.
View 1 Replies
Mar 31, 2011
I need to save a text file on the client side possibly without permission. The case is that I need to save this text file in a shared folder in this or in another machine in the lan. This text file is going to be read automatically by the fiscal printer which will print the fiscal invoice. I have a asp .net web application and the server is not on the same lan with the fiscal printer, so I have to write it on the client-side. how to do this without asking to the user every time for the security issue.
I can accept a solution like, the client is asked only one time a the first printing, but not every time he wants to print a bill. Some kind of asking permission to the client for allowing this website, in order to not repeat the permission asking.
View 4 Replies
Jan 1, 2010
wanted to know what is the easiest way to interface a mobile phone device with an online system. I have literally NO knowledge in this domain. However, I am brainstorming on possibility of an online application that will allow me to backup my data in nokia set 3110 such as my Address book in the application and restore it. This I want to achieve without connecting my phone to any PC. I am thinking on some way to achieve this by leveraging mobile phone line only. I beleive it may require my application to connect to mobile phone through mobile phone network. Currently my mobile phone line subscriber is offering Address Book backup/ restore service with some charge. I want to see if I can replicate similar features. I would really appreciate if you can give a direction to my random thoughts.If anything is not clear then please feel free to inquire. I look forward to your kind response.
View 2 Replies
Sep 30, 2010
I am Developing a mobile Application by using .Net the Application having forms which are having different options like textfields and radio buttons.date,...etc Now, After filling the data into those forms then, I want to Store that data into Mobile internal or external Memory Later when the GPRS connection is available then, I want to retrive that data and want to send it to a server by using http connection or something else
View 3 Replies
May 3, 2010
I have developed a data querying application for the Web, this is in a host. What steps should I take if I want this application can also be used with mobile devices.
View 3 Replies
Apr 21, 2010
I am using ObjectList control in mobile application, How to Add dynamic data in itemdatabound event & HOw to find the Itemtype in ObjectList ItemDatabound(HOw do i get the reference of label inside the itemtemplate) .
View 2 Replies
May 6, 2010
I have a webform that has multiple textboxes that the user fills in plus a datatable that could have one record or multiple records. Basically it's an order page, I'm still a newbie and I would like to save this information to a sql db table. The user would fill out the textboxes with name, address, ect.. and the datatable contains products that they selected from a previous screen. I'd like to have a "Submit Order" button, when that is pressed the information on the webform gets saved as a record within the db. If there are multiple records in the datatable the name and address information could be saved multiple times (one per each record in the datatable)
View 9 Replies
Jan 4, 2010
I have created an asp.net website that allows a valid user to add blogs to an sql database and then the blog can be viewed anonymously using the gridview tool.I have also created a a asp.net mobile webpage that allows anonymous users to view the blog but the problem i seem to be having is that when i view the mobile web page,the blog which has been created with using the gridview tool aswell its always the same size as the web browser and would like it to be of a fixed size so that it doesnt expand or shrink depending on how big the web browser is.
View 2 Replies
Apr 1, 2010
Using the Interop for Excel 2003 I had a nice little link that saved or opened the repeater content as .xls. Now we are using Excel 2007 and I get file format error messages. When I click the OK button on the error pop-up Excel closes. Does anyone out there know how to convert my code to handle the .xlsx format? I've been reading up on Interop for 2007 but none of the examples seem to work for this particular simple task. Here is my code from the "Export to Excel" button click:
Protected Sub btnExport_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnExport.Click
' Send HTTP headers that specify Excel filename, MIME type, and character set
Dim sTemp As String = "attachment;filename=CoverageCase" & Session("OpenCase").casekey.ToString & ".xlsx"
Response.AddHeader("content-disposition", sTemp)
Response.ContentType = "application/vnd.ms-excel"
Response.Charset = ""
' Create objects used to render the controls
Dim strw As New System.IO.StringWriter........
I found a thread from a couple of years ago dealing with this but there was no solution [URL]. There were a couple of tortureous work arounds but neither work for me.
View 10 Replies
Mar 26, 2010
I have a gridview, where I set the columns based on the columns in a datatable. I have a class that implements ITemplate, and creates a textbox template field. Everything works good, I can display my grid with the correct columns and headers. The probem comes up when I click a Save button, to save the user input. Of course the page postbacks, and I re-create the columns on PageInit. However, all the data the user entered is gone.
View 2 Replies
Jan 27, 2011
I am saving grid data. Grid contains one textbox in item template column. But it was not saving any data, which was entered in textbox(Just saving 'NULL'). There was not error while debugging. Below is code i am using.
[Code]....
View 2 Replies
May 7, 2015
I am using a viewstate to store the company Ids and splitting at hyphen.
protected void onCompanychange(object sender, EventArgs e) {
ViewState["companyID"] += companydropdown.SelectedValue + "-";
String companyids = ViewState["companyID"].ToString();
string pattern = "-";
company_array = Regex.Split(companyids, pattern);
company_length = company_array.Length;
}
Company array is a string array where i have stored the company ids
the problem is company_array[0] has the initial value of the dropdownlist(company) --select company which is why m getting the error(cannot convert data type nvarchar to int) . I have used the same logic in many places in my project it did not give any error.
int count = 0;
company_length = company_length - 1;
while (count < GridView3.Rows.Count && compid_counter < company_length ) {
cmd = new SqlCommand("insertWorkDetais", conn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@trainerId",trainerID);
[Code] .....
View 1 Replies
Dec 4, 2010
I am designing my database and wanted to know the best way to handle this problem. I have tabs on a page that looks like this:
Tab1
--SubTab1
----Data1
--SubTab1
--SubTab1
Tab2
--SubTab1
--SubTab1
--SubTab1
Tab3
--SubTab1
--SubTab1
--SubTab1
I can put this information in the database that will be stored in multiple rows like this
TypeID---------------Name
1--------------------Tab
2--------------------Data
ObjectID----------Parent-------------TypeID
1-----------------0------------------1
2-----------------0------------------1
3-----------------0------------------1
4-----------------1------------------1
Or I can just put this in the database like so:
<root>
<tab name="MyTab">
<tab name="MySubTab">
<data>1234567890</data>
</tab>
</tab>
</root>
If I pull just the xml from the database then I would not need to select multiple rows i just need to select one row then parse the xml into a class then pass that data to the controller. I just would like to know if this is a good idea? Will I be making a mistake if my site to scale in the future? Will this make more maintenance as the site gets bigger and want more features?
View 5 Replies
Mar 26, 2016
How I can save data into database using this method JSON Generic HTTP Handler example in ASP.Net?
View 1 Replies
Jan 27, 2011
I have a app that records some jobs and those jobs can have notes attached therefore i connected the table with a foreign key, my notes to a Job.
in the details view of the job i allow the user to view the jobs by sending the id and fulling all the notes that match the id in the index view for the notes table. in the list of notes i have a action link to create a new note, here i sent also the id of the job to the create action of the control and try to insert that intot he note JobId to make the reference. I get this error and the note is not created. the note creats from code but not via the note controller creat action.
i get this - An error occurred while updating the entries. See the inner exception for details. below is the create action in the note controller
public ActionResult Create(int id)
{
// var newnote = db.Jobs.Include("StatusNotes").Single(j => j.JobId == id);[code]...
View 4 Replies
Dec 31, 2010
I would like to save some data for use after a page postback. Here is an example of what I'd like to do:
Partial Class TestPage
Inherits System.Web.UI.Page
Private _CategoryID As String = ""
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
_CategoryID = "ABC"
Me.ViewState("CategoryID") = _CategoryID
Else
_CategoryID = CType(Me.ViewState("CategoryID"), String)
End If
End Sub
End Class
I've tried both session variables and view state. The page loads fine initially, but on postback I get the following error:
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
What am I doing wrong? How can I save this data for use after postback?
View 7 Replies
Oct 1, 2010
I need the ability for a user to browse to an Excel sheet stored on his local machine and save the contents into a database table.
View 1 Replies
Nov 5, 2010
I have an "Instruction" view, which have partial views for entering instruction details, different attributes for the instruction, different input values etc for the instruction. Each of which is seperate partial view. The main view have a save button which save all these details. "InstructionDetails" partial view have instruction name, description and its model is "Instruction". "Attribute" partial view have dropdown to select attribute and a textbox to enter its value. It also has an button "Add to list" which is intended to add attribute details to a table which is in the same partial view for attribute, its model is "Attribute". Same is the senario with input values. I have few problems where i am struck up with.When the "Add to list" is clicked in Attribute partial view, the values from the dropdown and textbx need to be listed to the table.When "Save" button is clicked the entire view need to be saved.
View 2 Replies
Nov 29, 2013
i want to show msg alert when record is inserted..when record is not inseted it show alert not inserted. how we can perform ..
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript">
function aa() {
alert("record insert!");
}</script>
<br />
<br />
[code]...
View 1 Replies
Mar 4, 2011
I am trying to code (.net) in the autosave functionality without clogging the network. I am trying to capture data from a webpage into a file on the local drive and automate save every 5 mins. Then finally when the user hits "save" the data should be pulled from the local file to update the data base.
View 1 Replies
Jun 11, 2010
I have a form where the user enters their first name, last name, email address etc.. and then they also have the ability to enter 'cottages' that they are interested in viewing (ie. The cottage name, cottage address). The user then needs to be able to 'save' this somewhere and enter another cottage into the same form.
Finally the user will submit the form, and all the user details, and cottage details will be emailed to admin.
View 2 Replies