Web Forms :: Allow Users To Select Metric/standard Measures?

Jan 25, 2011

I allow user to select metric or standard scale (KM/Miles) when setting up a profile. They can lookat a list of all users entries, which should be displayed as Std or Metric based on their selection.

View 4 Replies

Similar Messages:

C# - Security Measures For Applications Which Deal With Users Private Information?

May 20, 2010

I am currently working on an ASP.NET 3.5 and C# web application which deals with users private information like SSN numbers. What are some of the security measures which I need to take from an application development stand point to feel safe?

View 4 Replies

Forms Data Controls :: Changing The Standard Select Text On A Gridview?

Jul 10, 2010

but I it throws an out range exception on the highlighted line for me:


View 4 Replies

Web Forms :: Numeric Text Box That Supports Fractions And Imperial To Metric Conversion

Feb 12, 2010

I'm looking for third party components that support the following requirements:

1) Ability to enter information into a numeric (preferably spin button enabled) text box as fractions.

2) Support for conversion between fractions and decimal.

3) Support for conversion between metric and imperial units of measurement.

View 1 Replies

Set The Two Buttons So When US Is Clicked Metric Unclicks And Vise Versa C#?

Feb 28, 2011

I have two radio buttons for metric and US measurements. I load the page so the metric radio button is clicked. How do I set the two buttons so when US is clicked metric unclicks and vise versa?

View 4 Replies

Reg Security Measures While Developing A Website?

Feb 10, 2011

I am developing a website in asp.net and i want to know that what all security measures are we suppose to take when it comes to develop a website

View 3 Replies

C# - Basic Measures Upon Building A Good Form?

Mar 8, 2011

Basic measures when building forms that interact with the sql database. What are the security measures (check insert strings, sql injection etc), and Do people use special controllers in order to format their data? I am using GridView and realizing its tables, which I dont like. If so are there any suggestions for data formatting controllers?

View 3 Replies

Web Forms :: File Upload Control - Allow Users To Select Multiple Files

Apr 9, 2013

I know the asp.net file upload control only allows users to select one file at a time, however i am looking for another way using asp.net to allow the users to select multiple files?

View 1 Replies

AJAX :: Allow Users To Select Page Layout?

Oct 25, 2010

within my app, I'm allowing the users to selects their styles for their page, now I want to take it a step further and allow them to select a page layout, (nav - top or side, headers, footers, etc) I have several user controls predefined with different layouts and I show those layouts in a dropdown, now, my question is, how can I load the new layout for a preview to the user?

My page is using an updatepanel for the css changes, now I want that same updatepanel load the template with their selected layout. I looked at updatepanel.LoadTemplate and LoadControl and with no luck.

View 3 Replies

Forms Data Controls :: Want Users To Select A Record In The GridView And Then Have That Record Open Up In The Detailsview?

Oct 6, 2010

I want users to select a record in the GridView and then have that record open up in the Detailsview. How would I go about getting these two tools to communicate?

View 4 Replies

Data Controls :: Insert Null Into Database If Users Didn't Select Any Item From DropdownList

Jan 9, 2013

URL.... When I wrote this code in other page with different SP It didn't worked correctly I change SP in new SP I used INSERT code instead of UPDATE now when users didn't select Item from ddl3 it insert 'please select' in table these are my code

protected void ImageButton2_Click1(object sender, ImageClickEventArgs e) {
SqlCommand _cmd = new SqlCommand("insertSreg", _cn);
_cmd.CommandType = CommandType.StoredProcedure;


View 1 Replies

Web Forms :: Stop Users Users Using The Browser Back Button And Potentially Submitting An Old Version

Mar 25, 2011

I need to stop users users using the browser back button and potentially submitting an old version of a form.

I'm storing a guid in a session variable and also writing the value to a hidden form field and then checking the session value against the hidden field value if a user does try to navigate back and submit an old form.

If the form is submitted and the user wants to complete a new copy of the form then a new guid is generated both to the session and to the hidden form field. Now, if the user decides to hit the back button a few times to get the old form and tries to submit it again, the page checks the current guid in session against the guid stored in the form field and it finds a mismatch and prevents the form being submitted.

This works as expected in Chrome and Firefox, but in IE6, when the user hits the back button to view the old form, the new guid value appears in the hidden field of the old form! This means the user can submit the old form again, which we definitely do not want.

View 3 Replies

Web Forms :: Non - Standard Letters In QueryString

Feb 9, 2011

In short, I want to implement a search engine. I pass the search string as a http querystring and my database uses it as a filter in Select. The problem occurs when I enter some non-standard english letters. Let me elaborate: on Main.aspx page, when I click on "Search", a function calls "Main.apsx?search=something". The querystring is passed as a filter to the database which returns values depending on the filter. The database holds correct data at the moment.

After that, I dynamically modify some hyperlinks' url to something like this: hlink[i].NavigateUrl = "Detail.aspx?search=" + base.Request.QueryString["search"] + some integers;. I want users to be able to click on the link to get details on the result. If they click the link, since a new page is now opened, the database has to be refilled (from cache). The same function for filtering the main database is called with a querystring which should be the same as the search string, but somehow it isn't. It looks like something was lost in a conversion or something. If I use standard english letters, everything works fine. I noticed that prior clicking the link the query string had a value like /u0100d for the non-standard letter, but after clicking the link the value had changed to something like /u0ffff. It obviously isn't the same when typing something in the search box and hitting "search", and when putting this search string into NavigateUrl and clicking on it.

View 2 Replies

Web Forms :: Force IE8 To Render In Standard Mode?

Mar 5, 2010

We are developing a web application that will be used exclusively on intranets. We are designing the site to work on IE8 and have come across an issue where IE7 mode (or compatibility mode) really screw everything around. Is there a way to force IE8 to display in IE8 mode and not allow the user to override this?I have tried using the following:

<meta http-equiv="X-UA-Compatible" content="IE=8" >

Also note that all our users will be using IE8.

View 1 Replies

Web Forms :: PayPal Web Payments Standard Submission?

Feb 21, 2011

I have PayPal Web Payment standard successfully integrated in an ecomerce solution I'm developing. My problem is this, I want to store details of the order being placed before it is sent to PayPal but only if it is sent and not if the just fill in everything in the shopping cart and then leave the page. There are 3 ways I can think of how this might be acheived but I'm not sure how to implement them.

1. Put some code in the page_unload that stores the data fi the page the browser is being transferred to is the paypal site. However I don't a way to determine what the next page is going to be.

2. Submit the the information to PayPal from the code behind. I'm sure this should be possible but I don't know how to do it and haven't managed to find a good articles on it.

3. Assign a javascript function to the onclick on PayPal submit button that calls a servside function using PageMethods. However this just seems like a bit a bodge introduces a whole array of other problems.

View 4 Replies

Web Forms :: What Folder Is The Best Place To Put The Standard Aspx Pages

Sep 8, 2010

I always create a folder "App_Pages" and use it ot put my aspx pages but I see with VS 2010 that it has several default folders created when adding a page. Which one is most applicable. Is it App_LocalResource? I assume that "App_Code" is where custom classes go.

View 3 Replies

Forms Data Controls :: Programmatically Adding A Standard Gridview?

Apr 1, 2010

I need to add multiple gridviews to a page displaying different data but of the same structure - the data has a lot of columns and I need it formatting quite tightly - is there a way of creating a template gridview in design mode and then somehow using that however many time I need to in the page as a template.

View 5 Replies

Web Forms :: Custom ResourceProvider With A Fallback For Standard .NET Localization Mechanism?

May 7, 2010

I wrote my own custom ResourceProvider in order to move localization management to DB instead using standard resx files.The provider works fine, but now (after having bought a third part components for UI) I need to implement a fallback to standard ASP.NET localization mechanism from my own provider since these controls has been already localized from the author and are packaged with resx files.So what I would like to do, is keep the actual mechanism for all the resources except for the resoucers related to this controls.I'm able to distinct when a resource is belong to external components, so what I need is how to invoke for this resource the standard location management.

View 2 Replies

Forms Data Controls :: Gridview Header Freeze In IE8 Standard Mode?

Feb 17, 2011

i designed a gridview with the option of Freeze the header. below is the style i have applied in the headerstyle

background: #ecf5ff;
color: #333;
background-color: #6D91BF;
border-style: solid;
border-width: 1px;
border-color: #9cc9ed #5c9fde #6daddb #b4d2f0;
font-weight: bold;
text-align: center;
color: white;
text-decoration: none;
font-size: 12px;
position: relative;
top: expression(this.offsetParent.scrollTop);
z-index: 10;

but its not working in IE8 standard view but working in IE8 compatibility mode,

View 14 Replies

Forms Data Controls :: Display A Standard Picture On The GridView Field

Jul 19, 2010

I do have the following code for for a GridViewd that display pictures that are stored in a file. I am using AutoNumber(GUID) from the database to name the pictures before I stored them to the file. I can save up to 4 pictures using the same AutoNumber but adding these ending to it, Pic1, Pic2, Pic3 ,,,,etc.

The problem that I am having is that after I get the AutoNumber from the database, I want to display a standard picture on the GridView field if there is not particular picture associiated to this record in file. The name of the standard picture is located in the same file under the name of NoPicture.gif. How can I do this? So far this is my GridView code and it is working fine:

HeaderText="Click for information">
runat="server" Width="100px"
PostBackUrl='<%# string.Concat("~/Classifieds/DetailPage.aspx?AutoNumber=",Convert.ToString(Eval("AutoNumber")),"&amp;FlagForm=NoSubmitted")
ImageUrl='<%# string.Concat("~/UploadedImagesClassifieds/",Convert.ToString(Eval("AutoNumber")),"Pic1.jpg")
HeaderText="Listing Comment"

View 15 Replies

Web Forms :: If The User Doesnot Select Any Of The Above Three Then A Message Gets Displayed As "Please Select One Search Criteria?

Mar 2, 2011

Can any one let me know about the below issue. I have a page which has three labels, say startdate,enddate and username. My issue is if the user doesnot select any of the above three then a message gets displayed as "Please select one search criteria" or if the user doesnot enter the date in correct format then i dispaly "Please enter date in mm/dd/yy" format. But what is happening is first time if the user doesnot select any then "Please select one search criteria" is getting displayed and after this message gets displayed if the user enters wrong format of date then both the messages are displayed.

View 5 Replies

Forms Data Controls :: How To Select A Row In Gridview Without Select Command

Jan 25, 2011

I have gridview. some columns are data, and some are link buttons. now, I need move these link buttons to a hovermenu. this is done. but I got a javascript exception, and it is because if there is no row was selected in gridview, it will pop this.

so, the question is: how can I select a row in gridview without select command? simply by code?

View 3 Replies

Forms Data Controls :: Calendar Control - Distinguish Between Types Of Click Day/Week Select/Month Select?

Jul 23, 2010

Is there any way to do this? I can't find anything to latch on to.

View 2 Replies

C# - Administer Website (create New Users, Assign Users To Roles, Etc.) From A Windows App?

Feb 9, 2010

I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an encrypted password format), and a SqlRoleProvider. I need to know if it's possible to administer the users (create new users, assign them to roles, etc.) from a windows application - the powers that be don't want any administrative functionality in the web app itself.

Here is the membership provider definition from web.config:


So, obviously, I have a Sql Server database that contains the users and roles for the web app. I'd like to create a separate windows app that references the web app assembly, and use the configured MembershipProvider, RoleProvider, and machineKey to create users, assign users to roles, etc. If that's not possible, I can duplicate the configuration settings from web.config within the windows app. But I don't know how to do this either.

View 3 Replies

.net - Where Does Standard ASP.NET Header Appear From?

Feb 8, 2011

I'm trying to debug one specific issue with ASP.NET application and I suppose the problem could be somewhere in the server configuration.

Specifically the standard ASP.NET header is sent to the client instead of the header crafted by the ASP.NET application

Date: Fri, 04 Feb 2011 12:15:04 GMT
Server: Microsoft-IIS/5.1
X-Powered-By: ASP.NET

My question is - where does this header come from exactly? Who is responsible for producing it and sending it to the client? Why would is be sent to the client instead of the once crafted by the application?

View 4 Replies

Copyrights 2005-15 www.BigResource.com, All rights reserved