Click here to Skip to main content
16,016,643 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Problem with Regular Expression Validator Control In ASP.net Pin
Chwins27-Jan-07 19:43
Chwins27-Jan-07 19:43 
QuestionProblem by Validator controls in ASP.net Pin
Chwins26-Jan-07 3:54
Chwins26-Jan-07 3:54 
AnswerRe: Problem by Validator controls in ASP.net Pin
badgrs26-Jan-07 3:59
badgrs26-Jan-07 3:59 
QuestionSubmit button, onClick does not work automaticlly Pin
nour12326-Jan-07 3:12
nour12326-Jan-07 3:12 
AnswerRe: Submit button, onClick does not work automaticlly Pin
badgrs26-Jan-07 3:48
badgrs26-Jan-07 3:48 
GeneralRe: Submit button, onClick does not work automaticlly Pin
nour12326-Jan-07 5:11
nour12326-Jan-07 5:11 
GeneralRe: Submit button, onClick does not work automaticlly Pin
badgrs26-Jan-07 5:16
badgrs26-Jan-07 5:16 
GeneralRe: Submit button, onClick does not work automaticlly Pin
peshawarcoder26-Jan-07 7:15
peshawarcoder26-Jan-07 7:15 
web.config is as under:

<configuration>
<configsections>




<appsettings file="objectAConfiguration">


web2.config is as under:

<configuration>
<configsections>



<objectaconfiguration
="" property1="70.00" property2="2.5" startingcost="257.20">


ObjectAConfiguration class is as under:
using System;
using System.Collections.Generic;
using System.Text;

using System.Configuration;
using System.Xml;

namespace MyApp
{
[Serializable]
public class ObjectAConfiguration:ConfigurationSection
{

#region Properties
[ConfigurationProperty("property1", DefaultValue = 60.00F)]
public float Property1
{
get { return (float)this["property1"]; }
set { this["property1"] = value; }
}

[ConfigurationProperty("property2", DefaultValue = 1.50F)]
public float Property2
{
get { return (float)this["property2"]; }
set { this["property2"] = value; }
}
#endregion
}
}

Problem Area is bellow:
MyApp.ObjectAConfiguration objAConf= (MyApp.ObjectAConfiguration)ConfigurationManager.GetSection("objectAConfiguration");

The above did not find the web2.config file and thus objectASection section.

Thanks.

GeneralRe: Submit button, onClick does not work automaticlly Pin
Guffa26-Jan-07 9:12
Guffa26-Jan-07 9:12 
GeneralRe: Submit button, onClick does not work automaticlly Pin
peshawarcoder26-Jan-07 7:18
peshawarcoder26-Jan-07 7:18 
GeneralRe: Submit button, onClick does not work automaticlly Pin
nour12326-Jan-07 9:55
nour12326-Jan-07 9:55 
GeneralRe: Submit button, onClick does not work automaticlly Pin
badgrs27-Jan-07 11:13
badgrs27-Jan-07 11:13 
Questionfile upload in asp.net 1.1 Pin
Pradip Kishore26-Jan-07 2:28
Pradip Kishore26-Jan-07 2:28 
AnswerRe: file upload in asp.net 1.1 Pin
NKandwal26-Jan-07 3:30
NKandwal26-Jan-07 3:30 
GeneralRe: file upload in asp.net 1.1 Pin
Pradip Kishore28-Jan-07 18:27
Pradip Kishore28-Jan-07 18:27 
GeneralRe: file upload in asp.net 1.1 Pin
Pradip Kishore28-Jan-07 18:37
Pradip Kishore28-Jan-07 18:37 
Questionre-setting text box in webforms Pin
Pradip Kishore26-Jan-07 1:48
Pradip Kishore26-Jan-07 1:48 
GeneralRe: re-setting text box in webforms Pin
badgrs26-Jan-07 3:50
badgrs26-Jan-07 3:50 
QuestionQUERY: Client-side DataGrid for faster fluid feel? Pin
dhruba.bandopadhyay26-Jan-07 0:27
dhruba.bandopadhyay26-Jan-07 0:27 
AnswerRe: QUERY: Client-side DataGrid for faster fluid feel? Pin
badgrs26-Jan-07 3:53
badgrs26-Jan-07 3:53 
QuestionWeb programming in tiers Pin
Member 374156225-Jan-07 21:09
Member 374156225-Jan-07 21:09 
AnswerRe: Web programming in tiers Pin
Colin Angus Mackay25-Jan-07 21:30
Colin Angus Mackay25-Jan-07 21:30 
AnswerRe: Web programming in tiers Pin
badgrs26-Jan-07 3:55
badgrs26-Jan-07 3:55 
QuestionSQLDATA Source -Multiple Resultset... Pin
Amit Kumar G25-Jan-07 14:56
Amit Kumar G25-Jan-07 14:56 
AnswerRe: SQLDATA Source -Multiple Resultset... Pin
Sylvester george26-Jan-07 3:41
Sylvester george26-Jan-07 3:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.