Looking For Very Basic Level Of .net Web Forms CMS?
Sep 1, 2010I m looking for very basic level of asp.net web forms CMS.. not very mature one like umbraco.
View 2 RepliesI m looking for very basic level of asp.net web forms CMS.. not very mature one like umbraco.
View 2 RepliesI have to handle error related to web application. I am not sure how its works. I am thinking that I will add an error page (error.aspx) and in global.asax ,application_onError, I will redirecting the user to error page and that should be enough ! i mean it will handle error automatically.
View 4 RepliesI am trying to figure out what are the basic assemblies required to run a basic ASP.NET 4.0 website. Say.. a website with just a label in it. I looked online and didn't find a list there. I know installing the framework 4.0 will give me all the dlls but I just need the basic ones that will make a basic site work on ASP.NET 4.0.
View 1 RepliesI want to be able specify to do the following: Specify configuration settings such as appSettings and connectionStrings for multiple web apps in IIS7 No editing Machine.config or the machine-level web.config Web apps are distinct web sites in IIS (not subfolder apps) Is this possible without just duplicating the configs for each app?
View 1 Replieshow to implement page level and control level security in MVC applications. Also I would like to know the definition for Page Level and Control Level Security in MVC. Please refer me if any third party tools avilable to implement security in MVC.
View 1 RepliesBeen doing web pages for years using html code and css. Recently decided to try asp.net and love it, probably because I'm an old C, C++ programmer. Every time I do a project the need for a database seems to come up which I've had no luck in setting up. So far I've worked around the need for a database by using text tiles in the App_Data folder. But this time I need a bunch of different text files or one text file and a lot of code finding the right entry. In short I believe a database would really fit here.
Can someone give me a "step by step" on accessing a database. I have an ip address my web host says I'll need. I believe the key is writing the connection string. I've been to connectionstrings.com and was unable to interpret anything there into what I need.
We have Novell's Access Manager protecting our site. After the user logs in, Access Manager forwards the request back to a web page. On that web page, I need to read a combination of some Basic Auth username information as well as some custom header variablest that AM is passing to the web page. AM will continue to send these variables/values on every page as long as the user stays logged in.
What I'd like to do is create a class that checks for these values to evaluate whether the user is logged in or not. How do I gain access to those variables from a .cs class file?
I am very new to thegridview control. As while searching for sample coding to edit the Gridview datas during runtime,i got the following codings protected void Edit(object sender, GridViewEditEventArgs e)
View 4 Repliesi would like to know how to get basic information about a multimedia file like avi, wmv, etc...
in windows explorer when i click property of those kind of file and go in Details tab, i can have width, height and duration of the video file.
is there a simple way to got those information in asp or c#?
i would like to prevent of extracting bitmap from those file, i just want the basic property i write above.
I have declared a variable as public (Visual Basic 2008). As a result I can call its value in all subroutines. However I cannot change its value in any of the subroutines?! How to do that? The variable I'm having trouble with (see code below) is called 'antwoordbestand' and I want to change its value in subroutine startKnop_Click.
[Code]....
Is there a way to delete an entire gridview with code? I have a gridview that is created based on a value is selected in another gridview, and the bound columns keep being created on top of the previously created gridview. I would like to completely delete it and create it anew based on the new selection.
View 4 RepliesFor my Dynamic Data site I have a table that has a join to a number of other tables. If I use the standard page for this table I get all of my columns from the primary table and related tables (which is good) and the appropriate literal values from the related table (which is great). The bad part is the order of the columns.
To address the order of the columns I created Custom Folder/Page for the table. I also have a partial class that controls date formatting. This takes care of the ordering of columns fine (which is a step forwared), but now I'm seeing the foreign key IDs instead of the literal values from related tables (which is a step backward).
All I did was copy the standard page to the Custom folder for the table, turn off AutoGenerateColumns, and specify the column order and display name. Why would the foreign key change occur? As a side note, if addressing column order in the partial class is the preferred method I could go that route, but I haven't been able to understand how to do that in VB (I've seen many examples in C#, but that's not my strong point).
i need to create an online html editor to be used in my asp.net application with the basic button of dataformating + adding/inserting images+creating templates
View 4 RepliesI want to create a search button and put the results in a data grid.
Select Company_Name,Contact_Name,Contact_Number From ClientSystem WHERE Company_Name=txtSearch.Text
I'm trying to pass a value (address) from a listview control using visual basic to a google map address control on the page load event. Here is the code I have so far in vb:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'Pass address from Listview to Googlemap address
GoogleMap1.Address = ???
GoogleMap1.Zoom = "14"
GoogleMap1.ShowScaleControl = True
GoogleMap1.EnableInfoWindow = True
[Code]....
how to set authentication level's in web config.
View 3 RepliesI am trying to make TreeView menu with three level deep. I have problems, and can't figure it out how to save TreeView position in third level, when I click it. When I click it in second level, It saves position(expanded), but when I click third level, the whole menu collapses into root level :In my example I search for selected node name, expand it with node.Expand(); .. that is for masternode, but how to expand childnodes of masternode with selectednode name? Just cant figure it out..my code:
[Code]....
my menu control is bound to a sitemap. I would like to be able to customize the second level of the menu (the dynamic level), so that I can insert an item image, link and text. An example is the top menu in [URL]
Is it possible to achieve using asp.net menu and sitemap ? maybe using the dynamic item template of the menu ?
Here's my code so far:
[Code]....
my site map:
[Code]....
code that binds to site map:
[Code]....
Is there a way to set tab order on each ListItem within a RadioButtonList? The listitem does not have a TabIndex attribute, so can this somehow be done via javascript?
A similar thread indicates there is not a way to do this [URL], other than using individual RadioButtons instead of a RadioButtonList.
I am trying to implement forms authentication in my application. It has a folder named
User and an .aspx Page named Welcome.aspx. I am trying to restrict Access to this page by directly typing address in the browser. For this I have done following setting in web.config:
<location path="User">
<system.web>
<authentication
mode="Forms">
<forms
loginUrl="Login.aspx"
name=".ASPXFORMSAUTH"></forms>
</authentication>
<authorization>
<deny
users="?"/>
</authorization>
</system.web>
</location>
It works fine for the first time and redirects to Login page when I type the URL directly in browser. But when I press back button in browser and again try to redirect, this time it redirects to Welcome.aspx. How can I avoid such a situation (Don;t want to disable back button). Also If i try to Set Location Path="User", it gices error i.e. I am not able to set folder level security
I am using VS 2010 for developing asp.net application. we have a requirment to display 3 level hierarchy data into the server controls, how can I do this implementation. My data look like.
Reporting Divisions (1st Level)
Reporting Groups (2nd Level)
Reporting Units. (3rd Level)
Ex:
Division1 Description (1st Level)
Group1 N/A (2nd Level)
Unit1 Unit1 Description (3rd Level)
Unit2 Unit2 Description (3rd Level)
Unit3 Unit3 Description (3rd Level)
Group2 Description (2nd Level)
Division2 (1nd Level)
Group1 Description (2nd Level)
DivisionN Description
how to implement this? And user need to edit the "description" data from the controls also.
Google usually solves my problems for me, but this one has me stumped. I have a page with the following code, in which lstPayments is a listview control:
public partial class frmPerson : System.Web.UI.Page
{
protected bool paymentWarning = false;
protected void Page_PreRender(object sender, EventArgs e)
{
if (paymentWarning == true)
{
string alertText = "alert('Hello World');";
if (!ClientScript.IsStartupScriptRegistered("Alerter"))
ClientScript.RegisterStartupScript(this.GetType(), "Alerter", alertText, true);
}
}
protected void lstPayments_ItemInserted(object sender, ListViewInsertedEventArgs e)
{
paymentWarning = true;
}
}
As you can see, I'm trying to get an alert box displayed after a new payment is entered. As I expect, lstPayments_ItemInserted is executed first, and paymentWarning is duly set to true. However, when Page_PreRender subsequently executes, paymentWarning has been re-initialised: it's false again!
The only way I can get the class-level variable paymentWarning to retain it's value between the two event handlers is to declare it static, which I don't want to do for obvious reasons. There must be something I am failing to understand about how class-level variables work in aspx pages.
I want to apply a css class to the level 1 menu item (parent) when it or any or it's children are selected. I've looked at MSDN documentation and any number of examples and walkthroughs but I haven't come up with a way of managing this. I was thinking something like this might work but the style is not being applied to the parent. To further complicate matters, if I try to apply a css style to StaticSelectedStyle it doesn't pick it up at all.
Menu Markup:
<StaticSelectedStyle Font-Bold="True" ForeColor="#3333CC" />
Code Behind:
protected void MenuItemClick_NavMenu(Object sender, MenuEventArgs e)
{menuItem parentItem = e.Item.Parent;
if (parentItem != null)
{
parentItem.Selected = true;
}
I have this control on a page. The selections are static. The "maximumlevels" is set to 6. When I click on an item at the 4th level, I can see the postback occur but the "click" event doesn't fire! I'm totally baffeled. I've tested this in the Page Load event. At this point the PRIOR menu selected value shows. On the next menu_click, the previous selection shows. The first menu item is "selected" and has a value of "Overview". The fourth level item has a value of "Child". No matter how many times I selected that item, my check in the Page Load shows the value to be "Overview". I've tested the 3rd level items and on click, I can see the prior menu item value. When I click a 4th level item, the value never changes from the last 3rd level or higher item selected.
View 7 RepliesUsing an ASP.NET 3.5 menu control set to horizontal, is there a way to specify that only a certain node of the menu displays? For example, let's say I have a vertical menu on the left side of the master page that is tied to a sitemap and displays these nodes. The submenus would be dynamic and only display when the root node is hovered.
Main Page
Second Page
Sub Menu 1
Page 1
Page 2
Page 3
Sub Menu 2
Page 1
Page 2
Page 3
A certain (powerful) group of my users will always be going straight to the pages in Sub Menu 1 and pretty much never touching the other pages. They would like a sub-master page that is based on the parent master page so that the primary vertical menu and the sitemappath are all still there but the sub-master page will contain a horizontal menu control that only displays the the Sub Menu 1 node, like this:
Sub Menu 1 Page 1 Page 2 Page 3
Is there a way to set up the menu control to start displaying at a certain node level so the parent nodes and sibling nodes aren't displayed or would this require maintaining a separate sitemap file? I hope this makes sense.