|
You may find this article[^] useful.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
I've got the two following roleManager providers defined in my web.config file. The one "CustomRoleProvider" is the default one that needs to be used by the whole application.
I wrote another role manager provider "ModifiedCustomRoleProvider" that needs to be the roleProvider used by certain pages or need to be used by a certain page, based on the users role.
<br />
<rolemanager defaultprovider="CustomRoleProvider" enabled="true"><br />
<providers><br />
<clear /><br />
<add name="CustomRoleProvider" type="MyWebPagesStarterKit.Providers.CustomRoleProvider" /><br />
<add name="ModifiedCustomRoleProvider" type="MyWebPagesStarterKit.Providers.ModifiedCustomRoleProvider" /><br />
</providers><br />
</rolemanager><br />
If the page "useModifiedProvider.aspx" is loaded, it must make use of the "ModifiedCustomRoleProvider" provider for all the calls made to the Roles class.
Can someone please tell me how I can force a certain page to make use of another roleProvider other than the default one specified for the application.
Thanks in advance
JD Stuart
|
|
|
|
|
Hi,
I want to create a report in Excel through an ASP.NET application. What is the approach that I need to take. I will be picking up the necessary data from a database server and arranging the data in required cells with proper formatting.
|
|
|
|
|
Use a 3rd party tool. SQL Reporting, Crystal Reports, Aspose or something else.
Trying to program excel on the server is tough and it doesn't scale well.
I didn't get any requirements for the signature
|
|
|
|
|
I had install the vs2003 on win XP, after that configure the IIS server & frontpage extension as said in help files.
When i am creating a web application thru VS2003 it showing the error as:
Visual .Net has detected that the specified web server is not running ASP.Net version 1.1. You will be unable to run asp.net web services or application.
Configuration of my pc is
Win Xp sp2
VS 2003,
.net framework 1.1
.net framework 2.0(this i installed as for MSDN 2005)
Can any one know the what's wrong?
thanks in advance.
|
|
|
|
|
|
I have published an ASP.Net website, but when I want to open it this error apperas:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load the assembly 'App_Web_qghl5xlo'. Make sure that it is compiled before accessing the page.
Source Error:
Line 1: <%@ master language="C#" autoeventwireup="true" inherits="FDoctor_MasterPage, App_Web_qghl5xlo" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /FDoctor/MasterPage.master Line: 1
I have published it with Visual Studio 2005
Best wishes
|
|
|
|
|
Hi all....
hw to use Vbclrf in asp.net (with vb).....
i want to display a message in a label in a button click.....that message should be in two line....
Ex:-
Welcome to Oasys
Bangalore
i have done like this but not working....
label1.text="Welcome to Oasys" & vbCrLf & "Bangalore"
how can i achieve that?
|
|
|
|
|
sandhya14 wrote: label1.text="Welcome to Oasys" & vbCrLf & "Bangalore"
label1.text="Welcome to Oasys<br>Bangalore" <BR> is the line break tag in HTML.
|
|
|
|
|
sandhya14 wrote: Vbclrf in asp.net
The exact equivalent of VbCrLf (Carriage LineFeed) is Environment.NewLine. However, going by the example text you would like to have, you need to understand that HTML does not care about excess line breaks. You ought to indicate with a tag to squeeze a line break in the content that is presented.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
we can use in HTML...but am trying to do that in code behind......hw to do it there....
in a button click am trying to do that...
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Label1.Text = DateTime.Now & " feedback was sent from an ASP.NET " & vbCrLf & "Wheeler's Accident Investigation Form"
End Sub
|
|
|
|
|
Hi,
i have got the answer....thanku.....
|
|
|
|
|
I have the following section in my web.config file:
<location path="members" allowoverride="false">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
I thought that ALL files and folders inside the specified path were affected by this entry. In other words, access is denied to anyone not logged in to the site. It does work for *files* inside the "members" sub-folder, but in subfolders within members (like "members/xyz", files can be viewed by typing the whole path ("http://www.mysite.com/members/xyz/mypage.php").
I tried adding this (so I have both location path entries in the web.config):
<location path="members/xyz" allowoverride="false">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
but that doesn't appear to have any affect.
Does anyone know what I'm doing wrong?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
modified on Wednesday, January 23, 2008 6:53:59 AM
|
|
|
|
|
Can't see your angly bracket stuff.
|
|
|
|
|
Fixed
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: can be viewed by typing the whole path ("http://www.mysite.com/members/xyz/mypage.php").
AFAIK, ASP.NET will execute the request, if extension type is mapped to aspnet_isapi.dll in IIS. Usually PHP extension won't be mapped, which will ignore the settings written in web.config. This might be the problem.
|
|
|
|
|
I'm not using IIS...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: I'm not using IIS...
Then how come your ASP.NET pages are served ?
|
|
|
|
|
I'm using Apache. Don't you read the Lounge here?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: Don't you read the Lounge here?
Usually I won't. Now I read and understood your scenario, but I don't have any idea on this
|
|
|
|
|
John Simmons / outlaw programmer wrote: I'm not using IIS...
Which is your webserver? In any case, if the request can be mapped to aspnet_isapi.dll (which ultimately processes web.config), your objective can be achieved.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
It's one I wrote myself, and I have it running on a Nokia cell phone.
Actually, it's Apache.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hi all,
I need to open a third part site (external page), with a post call, in a page (page A) with my logo on top of the page (Frame A).
first step: I've used frames (page A) to do it, and it works without problems.
Second step: i need to call that external page with a post call, throwing params as hidden fields. There's no problem! I create a page (Page B) that do this, and i call this page in the frame (Frame B) Instead of the first one (external page). I use this call to make an auto-login into the second site. For make this i need to throw the info of the user calls the page.
The problem is this: In a frame page (page A) i cannot persist my session cookie into the frame (Frame B), i think. If i work without frames, calling directly the Page B, the post call works. In the frame no.
Someone can help me to resolve this problem? I wrong something or is a limit of frameset?
There are other ways to have my page A (with my logo and the external page) without frames?
Thank you
Ellis
|
|
|
|
|
AFAIK, Session and Frames are not related. If you are creating a session in PageA, you won't get access to this session inside your frame(pageB) until you refresh the pageB frame or the page that contains entire frameset.
|
|
|
|
|
Is it possible to edit different rows of a grid at the same time i mean give single edit and update buttons for all the rows?
|
|
|
|