Hello expertise!
I am developing a CMS application. Its a very huge deep and with full of configurable features. Current, I am developing it using Asp.net C#, form authentication and by creating UserControls.
There are lot of configurable items need to decide at run time as per user roles and some rules are predefined and some will be ...
Hi,
I currently have a method in my controller which accepts a form collection, saves the data, and then displays the data in a 'Details' page. At the moment, the code currently looks something like:
[HttpPost]
public ActionResult Create(PersonModel person)<br>
{
if (person.IsValid())
{
person.additionalData = "Person c...
How do I include CSS reference in only certain pages on my asp.net website? If I include the reference in my master page, all pages of the website share the CSS reference.
...
Hi guys,
am newbie in asp.net i have css layout. i dont know why the aspx page doesn't render correctly. in design mode page showing perfectly but at running time page showing incorrectly in explorer. let me know if am doing anything wrong. thanks in advance
...
I just discovered ASP.net uses its own profile system to register users and there seems to be a lot of features available as bonus with it (such as secure authentication). However it seems rather specific to have such a feature for a general purpose development environment and things which work in the background the way the profiles syst...
I have 1 page, 2 controls and 2 update panels. Control (A) has and update panel inside it. Control (B) doesn't. Both Control A and Control B are on the same Page and I have wrapped an update panel around Control (B) in the page.
Now my question is: Given an event that causes a postback on Control(A)(the control with the update panel in...
Hi All,
I want to know no. of active users on my website with sessionstate set as sqlserver.
And what if a person closes his browser then how to maintain the user count?
Any help appreciated.
Thanks in advance
...
i red on internet about reflection, i have understood a few codes too, but the problem is that i am really unable to get what is the use of reflection and where should i use it.
could some body please explain me about this using an example.
...
I have a webservice project and a web project in the same solution.
The web project implements a membershipprovider.
I want to be able to authenticate user via the webservice project but when i call this method in the webproject:
public static bool AuthUser(string userName, string password)
{
return Membership.Vali...
I want to display the previous month name. My code is given below but it displays the index of that month. I want the name of that month.
According to this given code it dipslays the tool tip as "Balance up to 9", but I want to display "Balance up to September".
How get the name of that month?
lblPreviousBalance.ToolTip = "Balance up t...
Hello,
I have inherited a database that is throwing me for a loop. Each user in this database has a "Password" and a "HashedPassword". I changed my password to "Testing" and discovered that the database stores the password like the following:
Original: "Testing"
Password Field: 211216058087052117197079019018007020147229039085161161
Ha...
I have a GridView like this
<asp:GridView ID="gv_FilesList" runat="server" AutoGenerateColumns="false" onrowcommand="gv_FilesList_RowCommand">
<Columns>
<asp:BoundField DataField="f_Id" Visible="false" HeaderText="File Name" />
</Columns>
<Columns>
<asp:BoundField DataField="f_Name" HeaderText="File Name" />
</Columns> ...
I'm trying to wrap up a custom authentication system for internal use for a project I'm working on in MVC.
We currently have a partner that hosts an external site with forms authentication. Certain sections of this site redirect to a section on our internal site. Passed along with this redirection is an id and a session id. They pr...
Part of a web application we have uses an in-house web control assembly. This assembly contains several web user controls where several of these are used by other web controls within the same assembly.
The assembly is built as a website with a web deployment project.
The main web application's pages are dynamically compiled through a s...
Hi,
I am returning a DataTable from a WebService which contains 10-100 rows depending on the query.
Sometimes in this DataTable, i have some special characters coming in, like "$", which causes the problem and i get XML Parsing Error.
One way i found was to Encode the string but I don't want to loop through each rows and column and en...
For instance, log4net.dll comes with log4net.xml. What's the use of this xml?
...
I have an aspx page which has 18 (yes 18) dropdown lists and 18 text boxes. Each dropdown needs to be selected and each textbox needs to be filled. Dragging and dropping required field validators on these 36 controls and maintaining them is a painful task and does not seem to be the logical option as all I need is for the user to select ...
I realize that this question can start a discussion but that's really not my intention. We've created a Flex Application to take tests from candidates. The advantage of the Flex Application is that all state can be stored in the application running in the browser of the client. Things like time limits, navigation, scoring, ... can all be...
I have a button when i click it, some text from a textbox is got and written inside a p tag via javascript. I have another button that cause page postback. But after postback, contents which added by javascript are disappearing.
Is there a way to solve this problem ?
...