|
|
|
Well, thanks. But if it is possible to include it inside "response.write" object?..How?
Thanks..
|
|
|
|
|
Hi please can any one help out
I have file upload issue here.. whenever a page postback it lost it state, even i have set it attribute EnabledViewState to "True".
i dont figure out what is the problem y it is behaving like that
if any one help me out i shall be thanxful
|
|
|
|
|
HEllo frnd
i want to know how can i send email through
Asp.net with C# to send email
(2) Do i need an IIS to send an email
|
|
|
|
|
Is Google[^] broken in America today?
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
"Do i need an IIS to send an email "
One has to wonder how he's serving ASP.NET pages without IIS ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
I wrote this[^] article for people with your specific problem.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Would like best advise on following situation (been looking and haven't found much). Have a .net 2 site with custom forms authentication enabled for subfolder /calendar working fine (uses an already existing sql2005 database to lookup user/pwd combinations).
authentication mode="Forms" loginUrl="calendar/login.aspx" name=".myName" <br />
path="calendar/" defaultUrl="calendar/default.aspx" enableCrossAppRedirects="false"
<location path="calendar/admin"><br />
<system.web><br />
<authorization><br />
<allow roles="adm"/><br />
<deny users="*"/><br />
</authorization><br />
</system.web><br />
</location>
But, I now have a need for a smaller subset of folks to gain access to another subfolder /conference with a DIFFERENT lookup to an sql2005 database for it's subfolder /conference/admin. Totally separate from the scenario in paragraph 2.
If I put a stripped-out webconfig in the /conference subfolder with only the location path information and the login information using a different cookie name, will that work?
Or, how can I do this?
Janet
|
|
|
|
|
janetb99 wrote: If I put a stripped-out webconfig in the /conference subfolder with only the location path information and the login information using a different cookie name, will that work?
Will what work? Putting a webconfig in a subfolder? They hide that information in the documentation[^]
led mike
|
|
|
|
|
Sorry to have offended, I was asking for a more experienced developer's advice. Hence a forum??? I know you referenced the documentation page, which I've tried to look through, but doesn't seem to address what I'm speaking of?
The items I've found referencing this topic tend to imply that one must include a subWeb config file. That, however, stops any pages from within that sub area from referencing higher heirarchy master pages, sitemap files, etc. That seems terribly wasteful to me - duplicating everything in a subFolder/subWeb? So, is there a way to perhaps have two very different folders/login pages/roles referenced in the root webconfig file?
OR, is there another way to do this of which I'm not aware?
Better?
|
|
|
|
|
Well I just read your latest post and your first post several times again attempting to gain an understanding of what you are trying to ask and/or do but I just can't get there. I guess you do need a more experienced developers advice. Good luck
led mike
|
|
|
|
|
Umm, let me try again. I'll do my best to be a bit clearer. (IIS6, Server2003)
I have a web app that has a subfolder (/subfolderA) requiring a login page with forms authentication and roles. Goes against a custom sql2005 database for authentication and that's working fine.
But, I have another subfolder (/subfolderB) that requires its own login that goes against a different sql2005 database for authentication - one having nothing to do with the other.
When I tried to put a separate webconfig file in /subfolderB, it required that the subfolder be a separate app. That meant that references to MasterPages, images, etc., be in /subfolderB (or referenced explicitly). That seems to be contrary to what I've read on good development?
Does anyone know a way in the original webconfig to have two separate login page references, or is there a better way to do this?
Sorry for the confusion, and thanks.
Janet
|
|
|
|
|
That seems mostly clear now. Yes you do seem to be running into an inherent premise that different logins means different applications. I assume there is some reason beyond your control that there are different membership databases since that would certainly not be a typical good practice design.
Before accepting the situation and therefore solution as you have described it, I would certainly make an exhaustive effort to look for a way to make those two membership systems look like one from a project perspective. That would allow you to have a single sign on scenario for the site, the users and your project thereby eliminating all the added complexity for everyone just because of the poor membership database design. I would imagine this is possible and there might be a variety of choices in regards to how to do it. The first options would be to look at using database technology to integrate the two disparate systems.
led mike
|
|
|
|
|
I use a dataset as a temp. table. This dataset is created during running time. After input all the data, I need to sort dataset table. How can I do multi-column sorting on dataset table? Can I use 'Select ... Order By ' on dataset table? Please let me know. Thanks
|
|
|
|
|
I think you can do order by, and then put the order of the columns you wanted ordered i.e order by person_id, name
something like that, hope it makes sense!
|
|
|
|
|
Dong Kim wrote: Can I use 'Select ... Order By ' on dataset table? Please let me know. Thanks
You might not be able to sort a DataSet since it is designed to house multiple tables and relationships. However you can sort a DataView[^] which can be obtained from a DataTable of the DataSet.
led mike
|
|
|
|
|
I need to export to data from gridview in ASP.NET page to excel workbook at client computer. How can I do that? Can i do same way with windows application? Please let me know. Thanks.
|
|
|
|
|
this post may help
http://forums.asp.net/t/1235721.aspx
|
|
|
|
|
Hi,
My application is online Hotel booking,in which i have two langauge selection English and German, and i am using the AjaxCalendar control to display the dates.
i have Fromdate and Todate Textboxes to save the Dates,and i am following Server side validation.In which i am using RangeValidation Control and Compare validator control.It' s working for English language selection(date format will be mm/dd/yyyy default). when i am select the German language the format of the dates will be dd.mm.yyy, which is the validation is not support.
Please help me.which control will help to validaton the dates.
its very urgent.
Thanks & Regards
Mohan.
|
|
|
|
|
Hi
I'm guessing you still havent solved your problem as you are posting this again!
|
|
|
|
|
i tried but, i am unable to get solution.
please help me.
|
|
|
|
|
udaymohan wrote: its very urgent.
Ignore, then...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Im not sure if this can help you
I had an app that was working fine on my local machine, then when i uploaded it to another server the validation control started failing (actually the whole page would fail), i solved it by placing this in the web.config
<globalization culture="es-MX" uiculture="es-MX" />
This is at app level, but you can set at page level depending on the language selected by the user or the default language of the browser
Hope you fix your problem
Alexei Rodriguez
|
|
|
|
|
<globalization culture="es-MX" uiculture="es-MX" />
You didn't check ignore html and you mustn't have auto encode checked, either.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|