Web Forms :: Store Lists For An Application In Different Dropdownboxes?

Sep 18, 2010

I have until now always stored my lists definitions for labels and values for dropdownboxes in my own defined Xml files. These lists labels I then match with a language file (.resx) ..... so far so good but now I am starting a new project. Should I continue with my old habbits or is there a better way of storing label constants for my dropdown boxes throughout my application?

I would be happy skipping my read and write rutines for my onw structure if there is a better dedicated one for the purpose.

View 2 Replies


Similar Messages:

Web Forms :: Dynamically Change 24 Dropdownboxes?

Jul 27, 2010

[Code]....

I've mad a function, that has a result of 24 rows.So the first row is LE1, the second LE2, the third LE3 ......But how can i programmically change the row.LE1 ? It should be LE + i ...Take a look at the code:

View 3 Replies

Web Forms :: Fill Multiple Dropdownboxes Dynamically?

Jun 14, 2010

I've got 23 dropdownboxes, every drp needs the same data.So can i do that dynamically instead of:

drpV1.DataSource = n;
drpV1.DataBind();
drpV2.DataSource = n;
drpV2.DataBind();
drpV3.DataSource = n;
drpV3.DataBind();
.....

View 4 Replies

Access "Application" Object In MVC To Store Application Wide Variables?

Aug 7, 2010

How do I store a variable or object application wide in ASP.net MVC. In regular ASP, you had the Application object, and in ASP.net too apparently.

View 1 Replies

How To Store Files In A Wcf Web Application

Jul 29, 2010

I'm creating a web application using asp.net & WCF as 3 tier architecture, which is mostly looks like a social website. Users can register with the system and they can upload their profile images, documents, video clips etc. So, what i want to know is what is the best way to store those files? In the wcf side or web application side ?

Also I want to know that, if i choose web application side to store those files as set of folders, how it makes those folders shared and allow access to another different project (such as a desktop client need to upload files into that shared folder) ?

View 2 Replies

How To Store An Application Variable By Javascript

Feb 10, 2010

how could i store a Asp.net Application variable by javascript.

View 2 Replies

MVC :: How And Where To Store Search Parameters In Application

Oct 14, 2010

I am working on a railway web application and I have following layers:

[Code]....

I pass Domain Entity Objects from Repository to Service layer and thinking of passing View Models from Service to Presentation layer. Website would require a login and after successful login I have to present a search screen with basic search (as default option) and option for advance search. Once user fills the
search criteria I have to gather data from DB & Web Services and present the results to user. User would select a particular Rail option and would move on to other additional options page BUT they should be allowed to change their previously selected Rail option by going back to Rail search results. I have to
always hold and present user's initial search criteria (basic and advance search options selected by user on the search wizard) on every screen and need these criteria in Service and Repository layers.

What is the best way to hold these search criteria and pass them from page to page within presentation layer and across layers? Should I create a View Model class for Search Options? Or a Domain Entity Object (I don't think so)? and best way to pass it across layers and from page to page with in presentation layer.

View 1 Replies

Use XML To Store Configuration Settings In C#.Net Application?

Mar 11, 2011

My question relates to the performance implications of reading application configuration data from an XML file.I am building an application that lists information from a database and needs to know how to display the lists, depending on the types of data returned.This is difficult to explain, but basically I would like to have an XML config file that lists the types and describes how to display them. This will allow me to change the display methods without re-compiling the application.

My question is really around performance. Given that my application will need to use this data many times during each page load...Should I be reading directly from the XML file and parse it each time I need it?
Or should I cache the XML object and parse it each time I need it?Or should I parse the XML once, generate some sort of object and cache that object?My guess is option 3, but I'm basically fishing for best practice around this.

View 1 Replies

C# - Encryption And Decryption Key Where To Store And What To Use For .net Application?

Sep 14, 2010

We are designing a .net web application that has an external and internal site.

Both sites need to encrypt data only the internal site needs to decrypt data.

We are wondering what are the best practices for:

Which encryption method to choose?
Where to store the encryption / decryption key?

View 2 Replies

C# - Store Shopping Cart In MVC Application?

Oct 20, 2010

I am working on a Railway Portal and would require maintaining a shopping cart of components user has selected, there could be multiple components of different type in the cart. I don't see a value in storing the cart in database, would like to store the final order in DB. Where can I store/hold (temporary) the cart data per user session in MVC? All MVC samples I saw online save the cart data in DB - not sure why.

MVC presentation layer will be communicating with external web services for pricing and availability of these components, so I can't store only the product IDs to do a lookup for actual product descriptions/prices during the shopping process... I have to store everything in the cart (Product IDs, Descriptions, Prices etc) some place in memory. My application will be running in WEB FARM environment and cannot use in-process session storage.

Options come to my mind are:

SESSION STATE in SQL SERVER Using some kind of Distributed Caching Mechanism to store Session data such as "Windows Server AppFabric"

View 4 Replies

Can Use SSIS To Parse Data From Application Before Store In Db

Mar 29, 2011

Exploring the feasibility of something here... We have a UI page in the mvc3 web-application that the admin will use to upload a 'csv' file. Is it possible to have an SSIS package that will be called by the application..that will validate/transform all these data and store into db if its all valid or throw back error details to application if there are invalid data?

Just trying to leverage the capabilities of SSIS to do the parsing of file and transformation of data. If this is not possible, is there a better way?

update: yes, need to execute ssis on the fly.. and give back a message on the UI page. telling the'uploader' if his upload failed or not based on message that SSIS would give back to the application.

View 4 Replies

DataSource Controls :: Store Formulas To Use Later In Web Application?

Feb 3, 2010

General Flow is : Receipt, Dispatch, Issue.Receipt & Dispatch are normal.Item Received, Qty...etc entered through UI database updated.Item Dispatched, Qty...etc entered through UI database updated.Further Issue is subdivided into 3 types :1. Qty entered through UI DB Updated.2.Rates are defined for items & after entering the Qty through UI Amount is calculated.3.Scales are defined for Items & based upon those scales & the strengths of Consumers formula for these items is calculated.

[code]...

View 2 Replies

Localization ::to Set Up Application That Can Store Content To Database?

May 21, 2010

I have VS 2008 and 3.5 framework.I want to set up my application that I can store my content to database.I have lots of controls that from labels to images, datagrids, telerik controls, etc to keep in mind.I use SQL server 2005.

View 1 Replies

Store / Access - Application Wide Variables Or Globals In Asp.net

Feb 8, 2010

What is the recommended or usual way an ASP.net web application(in C# language) can store/access values that are needed accross the various pages in a website. For example a basic company website might need the company's name and other related information available to multiple pages. Where do I declare these variables/values and how do I access them. Coming from c++ application programming I would usually store such data in a Singleton class object.

View 5 Replies

C# - How To Store Accounts Access Information's Inside Application

Mar 6, 2011

I need to keep access settings to different web pages inside of my asp.net application. These setting are logins and passwords for those pages. Is it safe enough to keep them in web.config in section?

View 1 Replies

C# - Where To Store The Global Settings To Allow The Application To Access Them Frequently

Mar 7, 2011

I have some global settings in my application that is going to be handled by the administrator and I store them in the database.

Settings like: board on/off, max items/page on different UserControls, language, hide/show modules.

What technique should I follow to read the values in the database and display the page or the application according to it .. Of course I could do it the easy way and fetch the required settings for each page in the Page_Load event handler but I think that will be a lot of database connection!

View 1 Replies

Configuration :: Application Directory Should Store Javascript Files?

Apr 3, 2010

Where is the best place to store a javascript file in my website?

Should they be stored in the App_Code folder allong with C# files or should I create a dedicated folder in the root of the website? Or are there any other options?

View 2 Replies

Develop An Application Which Will Directly Connect (store And Retrieve) To The ACT Databse Already Functional?

Apr 9, 2010

I have been asked to develop an ASP.Net application which will directly connect (store and retrieve) to the ACT! databse already functional. I am new to ACT and looking for a starting point to integrate it with ASP.Net application. In particular I am looking for answers to the following questions:1. What database technology is used by ACT? Is SQL Server? In that case, I should be able to connect just like any SQL Server database?2. Is there any class library or API for .Net from ACT which will help achieve this?3.

View 1 Replies

Web Forms :: How To Connect Two Dropdown Lists

Sep 30, 2010

i have two dropdown lists and i would like if i select lets say "1" the second list returns "A""B" but instead it returns "A" how to make the second list display A"B when i select "1" from the first list.

View 12 Replies

Web Forms :: AddRange Is Duplicating Lists

Feb 28, 2011

I am populating 4 drop down lists. The dropdownlists within the For loop work fine and I will ignore these for the rest of this post. Reading the code below should add 2 values to the dropdownlist ddlPost and should add 2 values to the dropdownlist ddlTailLength. Both values should be A and B. Both of these drop lists should show 2 values (A and B), but are showing 4 values each (A, B, A, B). The only loop on these pages is the one displayed below.

c#:

[Code]....

HTML:

[Code]....

View 3 Replies

Web Forms :: How To Sort Array Lists

Jan 30, 2010

I have the following array list:

1. AlbumName
2. AlbumName
3. AlbumName
4. AlbumName
5. AlbumName

I would like this sort as follows(Csharp.net):

5. AlbumName
4. AlbumName
3. AlbumName
2. AlbumName
1. AlbumName

View 14 Replies

Forms Data Controls :: Store Gridview Datatable In Session And Then Retrieve From Session And Store Database

Nov 11, 2010

Its related to datatable in gridview store in session and then session retrive and store to database. basically i am using gridview here creating new row for button click and these row adding untill user's last entry then submit all these entry to database. so i want to use session variable to store this data temporarily and after final entry user click on submit button and all data shold be save in db.

View 9 Replies

Web Forms :: How To Create Cascading DropDown Lists

Jul 6, 2010

I don't want to link my dropdownlists with a database like most of tutorials and forums show. I just want to link 2 dropdownlists, for instance if one says "Food" I want to show only the food producs in the other DropDownList. All this items are not from a database, I just inserted them in the DropDownList control.

View 9 Replies

Web Forms :: Cascading Dropdown Lists Without AJAX?

Jul 14, 2010

I have 3 dropdown lists. All 3 are using the same generic list for there items. I am using C# as the code behind. The code below shows the DTO list i am using and how I'm adding them to the drop downs...

[Code]....

View 1 Replies

Web Forms :: Dropdown Lists Disappear In The Modal Pop Up Using IE 6?

Nov 22, 2010

in all browers this works but in IE the dropdown list items in my modal pop up extender vanish when I make a selection. I even have a ddl in ajax panel and the same thing happens. it seems like a bug.

View 1 Replies







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